@charset "utf-8";
.product-detail-container {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  max-width: 1400px;
  margin: 0 auto;
}
.product-recommendation {
  max-width: 1400px;
  margin: 0 auto;
}
/* 选项卡优化 */
.product-specs-tabs {
  margin-top: 30px;
}
.tabs-header {
  display: flex;
  border-bottom: 2px solid #f0f6ff;
  margin-bottom: 20px;
}
.tab {
  padding: 12px 20px;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}
.tab:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff6600;
  transition: all 0.3s ease;
}
.tab.active {
  color: #ff6600;
}
.tab.active:after {
  width: 100%;
}
.tab:hover:not(.active):after {
  width: 50%;
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FAQ 美化 */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.faq-question {
  padding: 15px;
  background-color: #f9fbff;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.faq-question:after {
  content: 'expand_more';
  font-family: 'Material Icons';
  position: absolute;
  right: 15px;
  transition: all 0.3s ease;
}
.faq-item.open .faq-question {
  color: #ff6600;
}
.faq-item.open .faq-question:after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: all 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 15px;
}
/* 推荐卡片美化 */
.recommendation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.promo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 0;
}
.promo-section > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.promo-title-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.back-button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #505050;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  background-color: #f5f5f5;
  transition: all 0.3s;
}
.back-button:hover {
  background-color: #e0e0e0;
}
/* 网络测试部分美化 */
.network-info {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}
.network-test-container,
.isp-compatibility {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.network-test-container:hover,
.isp-compatibility:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.network-test-container h3,
.isp-compatibility h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f6ff;
}
.network-test-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}
.test-item {
  background: #f9fbff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border-left: 3px solid #ff6600;
}
.test-item:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.test-location {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.test-latency {
  color: #ff6600;
  font-size: 15px;
  font-weight: 500;
}
.isp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}
.isp-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fbff;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}
.isp-item:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.isp-name {
  font-weight: 600;
  color: #333;
}
.isp-rating {
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
}
.isp-rating.excellent {
  background-color: #e6f7ee;
  color: #00a854;
}
.isp-rating.good {
  background-color: #fff7e6;
  color: #fa8c16;
}
.isp-rating.fair {
  background-color: #f2f6fb;
  color: #7d9ec0;
}
@media (max-width: 768px) {
  .network-info {
    flex-direction: column;
  }
  .network-test-results,
  .isp-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .network-test-results,
  .isp-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 992px) {
  .recommendation-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .recommendation-cards {
    grid-template-columns: 1fr;
  }
}
/* 服务器卡片样式 */
.server-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.server-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.server-card-header {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-bottom: 1px solid #eee;
}
.server-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}
.server-specs {
  padding: 20px;
  background-color: #fff;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
  gap: 20px !important;
}
.spec-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.spec-item {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.spec-label {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}
.spec-value {
  color: #333;
  text-align: right;
}
.server-price-container {
  padding: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-align: right;
}
.server-price {
  font-size: 28px;
  font-weight: 700;
  color: #ff6600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.price-currency {
  font-size: 18px;
  margin-right: 2px;
}
.price-period {
  font-size: 16px;
  color: #666;
}
.server-actions {
  padding: 20px;
  display: flex;
  gap: 15px;
  background-color: #fff;
}
.server-btn {
  flex: 1;
  padding: 10px 15px;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.server-btn-primary {
  background: linear-gradient(135deg, #ff6600, #ff9966);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
  color: #fff;
  border: none;
}
.server-btn-primary:hover {
  background: linear-gradient(135deg, #ff5500, #ff8855);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}
.server-btn-secondary {
  border: 2px solid #ff6600;
  color: #ff6600;
}
.server-btn-secondary:hover {
  background-color: rgba(255, 102, 0, 0.1);
  border-color: #ff5500;
  color: #ff5500;
}
/* 响应式调整 */
@media (max-width: 768px) {
  .spec-row {
    flex-direction: column;
  }
  .spec-item {
    margin-bottom: 8px;
  }
  .spec-item:last-child {
    margin-bottom: 0;
  }
}
/* 从PHP文件提取的内联样式 */
.my1 {
  gap: 20px !important;
}
/* 客户评价卡片美化 */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.review-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  padding: 24px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.7s;
  position: relative;
}
.review-rating {
  color: #ff6600;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.review-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.7;
}
.reviewer {
  color: #888;
  font-size: 14px;
  font-style: italic;
  text-align: right;
}
@media (max-width: 600px) {
  .review-item {
    padding: 16px 10px 12px 10px;
  }
}
/* 产品特性卡片统一宽度与四列布局 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-top: 10px;
}
.feature-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  text-align: center;
  min-width: 0;
}
.feature-item:hover {
  box-shadow: 0 8px 28px rgba(255, 102, 0, 0.13);
  transform: translateY(-6px) scale(1.03);
}
.feature-item .material-icons {
  font-size: 38px;
  color: #ff6600;
  background: #fff3eb;
  border-radius: 50%;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.08);
}
.feature-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}
.feature-content p {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
  .feature-item {
    padding: 16px 4px 10px 4px;
  }
}
/* 规格参数卡片美化 */
.specs-container {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  padding: 32px 24px 18px 24px;
  margin-bottom: 30px;
}
.spec-group {
  margin-bottom: 28px;
}
.spec-group-title {
  font-size: 17px;
  font-weight: 700;
  color: #ff6600;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
@media (max-width: 700px) {
  .specs-container {
    padding: 14px 4px 8px 4px;
  }
  .spec-label {
    flex: 0 0 80px;
    margin-right: 8px;
    font-size: 14px;
  }
  .spec-value {
    font-size: 14px;
  }
}
/* 错误信息容器样式 */
.error-container {
  text-align: center;
  padding: 50px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.error-container h2 {
  color: #e74c3c;
  margin-bottom: 20px;
}
.error-container p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}
.error-container div {
  margin-top: 30px;
}
.error-container a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.error-container a:hover {
  background-color: #2980b9;
}