/* ----- 全局重置 ----- */
body {
  font-family: "Chakra Petch", sans-serif;
  margin: 0;
  text-align: center;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ----- 导航 ----- */
.navbar {
  background: #1f2f4a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 55px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
}
.logo a,
.logo a:hover {
  text-decoration: none;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}
.nav-links a {
  color: white;
  text-decoration: none;
}

.cart-badge {
  background: #2fb36d;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-left: 5px;
  font-weight: 700;
}

.btn-cart-link {
  background: transparent;
  border: 2px solid #2fb36d;
  color: #2fb36d;
}
.btn-cart-link:hover {
  background: #2fb36d;
  color: white;
}

/* 导航悬停完全无反应 */
.nav-links a:hover {
  color: inherit;
  text-decoration: none;
  background: none;
  transform: none;
}

/* ----- 内容区域 ----- */
.content {
  padding: 40px 20px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.content h1 {
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
}
.content p {
  text-align: justify;
  max-width: 800px;
  margin: 10px 0 0;
}

/* ----- 产品网格 ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* ----- 产品卡片 ----- */
.product-card {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 20px 40px -12px rgba(0, 20, 30, 0.25),
              0 8px 24px -6px rgba(0, 0, 0, 0.05);
  padding: 1.8rem 1.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  box-sizing: border-box;
}

/* ======================================================
   ★ 图片样式：统一尺寸 + 放大 + 完整显示（不裁剪）
   ====================================================== */
.product-card img {
  width: 100%;
  max-width: 280px;           /* 放宽宽度，让图片更大 */
  height: 280px;              /* 固定高度，统一所有卡片图片大小 */
  object-fit: contain;        /* 完整显示，不变形，不裁剪 */
  display: block;
  margin: 0 auto 1.2rem;
  border-radius: 1.5rem;
  background: #f6faff;        /* 空白区域底色，统一视觉 */
  padding: 6px;               /* 微距内边距，更美观 */
}

.product-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b1e2b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* ----- 折叠区域（恢复） ----- */
.collapse-section {
  margin: 1.2rem 0 1.5rem;
  border-radius: 1.8rem;
  background: #f6faff;
  padding: 0 0.2rem;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem 0.6rem 1.4rem;
  background: #ffffff;
  border-radius: 60px;
  box-shadow: 0 2px 8px rgba(0, 20, 30, 0.06);
  border: 1px solid #e2edf5;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.toggle-row:hover {
  background: #f9fcff;
  border-color: #b4d0e3;
}
.toggle-row:active {
  background: #e9f2fa;
  transform: scale(0.99);
}
.toggle-label {
  font-weight: 500;
  color: #1e3b4d;
  font-size: 1rem;
  letter-spacing: 0.3px;
}
.plus-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 40px;
  background: #0b2a3b;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 4px 8px rgba(0, 30, 50, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.plus-btn.open {
  transform: rotate(45deg);
  background: #c44536;
  box-shadow: 0 4px 10px rgba(196, 69, 54, 0.25);
}
.collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.3s ease,
              opacity 0.25s ease;
  opacity: 0;
  padding: 0 0.8rem;
  background: #f6faff;
  border-radius: 0 0 2rem 2rem;
  text-align: left;
}
.collapse-body.open {
  max-height: 2000px;
  opacity: 1;
  padding: 1.4rem 0.8rem 1.6rem;
}

/* 规格列表（无表格，纯列表） */
.spec-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.spec-ul li {
  display: flex;
  align-items: flex-start;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a3345;
  border-bottom: 1px solid #eef4f9;
  word-break: break-word;
}
.spec-ul li:last-child {
  border-bottom: none;
}
.spec-ul li::before {
  content: "•";
  color: #000000;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 0.5rem;
  flex-shrink: 0;
  line-height: 1.4;
}
.spec-ul li.payment-title::before {
  content: none;
}
.spec-ul li.payment-title {
  font-weight: 700;
  color: #004466;
  padding-top: 0.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #d0dfea;
  font-size: 1rem;
}

/* ----- Talk to our team 按钮（无下划线） ----- */
.btn-quote {
  display: inline-block;
  background: #1e3f57;
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.7rem 2.5rem;
  border-radius: 60px;
  font-size: 1rem;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 10px rgba(20, 50, 70, 0.15);
  border: 1px solid #2f5775;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
  margin-top: 0.8rem;
}
.btn-quote:hover {
  background: #14303f;
  transform: scale(1.02);
  text-decoration: none;   /* 悬停无下划线 */
}
.btn-quote:active {
  transform: scale(0.96);
}

/* ----- 页脚 ----- */
.footer {
  background: linear-gradient(135deg, #1f2f4a, #2fb36d);
  color: #eee;
  padding: 60px 20px 20px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.footer-left, .footer-right {
  width: 45%;
}
.footer h3 {
  color: #fff;
  margin-bottom: 15px;
}
.footer p {
  margin: 6px 0;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
a:link, a:visited {
  color: white;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;  /* 页脚链接保留下划线，但 .btn-quote 已覆盖 */
}

/* ----- 响应式 ----- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px 20px;
    gap: 10px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-left, .footer-right {
    width: 100%;
  }

  /* ★ 平板：图片适度缩小，保持统一 ★ */
  .product-card img {
    max-width: 240px;
    height: 220px;
  }
}

@media (max-width: 460px) {
  .product-card {
    padding: 1.25rem;
  }
  .product-card h2 {
    font-size: 1.3rem;
  }
  .plus-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.8rem;
  }
  .toggle-row {
    padding: 0.4rem 0.6rem 0.4rem 1rem;
  }
  .spec-ul li {
    font-size: 0.88rem;
  }
  .btn-quote {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
  }

  /* ★ 手机：进一步缩小，适应小屏 ★ */
  .product-card img {
    max-width: 200px;
    height: 180px;
  }
}