:root {
  /* 品牌色：取自 CoralBear/珊瑚熊 logo，藏蓝为主 + 珊瑚橙 + 青绿点缀，避免沉闷 */
  --navy: #073248;
  --navy-dark: #052639;
  --ocean: #0e7a98;
  --coral: #f4683d;
  --coral-dark: #e2542c;
  --sea: #17a88f;
  --sand: #f6f1e6;
  --cream: #fcf9f2;
  --ink: #14252d;
  --muted: #5f7280;
  --line: #e4ded2;
  --soft-line: #ece8de;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(7, 50, 72, 0.10);
  --shadow-lg: 0 30px 70px rgba(7, 50, 72, 0.22);
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(244, 104, 61, 0.72);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, p, ul, blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 顶部通告条 */
.announce {
  background: var(--navy);
  color: #dbeef5;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 34px;
  background: rgba(252, 249, 242, 0.92);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: saturate(160%) blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}

.nav-link {
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: var(--sand);
  color: var(--navy);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  transition: background 0.15s ease;
}

.icon-btn:hover {
  background: var(--sand);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-btn {
  display: none;
}

/* 站内产品搜索 */
.site-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 34px;
  z-index: 80;
  width: min(540px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.site-search-panel[hidden] {
  display: none;
}

.site-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.site-search-field > svg {
  position: absolute;
  left: 15px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.site-search-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 48px 0 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.site-search-field input::placeholder {
  color: #8796a0;
}

.site-search-field input::-webkit-search-cancel-button,
.site-search-field input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.site-search-clear {
  position: absolute;
  right: 7px;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.site-search-clear:hover {
  background: var(--sand);
  color: var(--navy);
}

.site-search-clear svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px 8px;
  color: var(--muted);
  font-size: 12px;
}

.site-search-heading strong {
  color: var(--navy);
  font-size: 13px;
}

.site-search-results {
  display: grid;
  gap: 5px;
  max-height: min(55vh, 440px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  background: var(--sand);
}

.site-search-result-copy {
  min-width: 0;
}

.site-search-result-copy strong,
.site-search-result-copy span {
  display: block;
}

.site-search-result-copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search-result-copy span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.site-search-result-category {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e7f3f6;
  color: var(--ocean);
  font-size: 11px;
  white-space: nowrap;
}

.site-search-result-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ocean);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search-empty {
  padding: 22px 12px 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(244, 104, 61, 0.30);
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-small {
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: none;
}

.btn-small:hover {
  background: var(--ocean);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--sand);
  border-color: var(--navy);
}

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  background: #041621;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 22, 33, 0.86) 0%, rgba(4, 22, 33, 0.48) 44%, rgba(4, 22, 33, 0.25) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 34px 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8fd4e6;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 560px;
  margin: 18px 0 26px;
  font-size: 17px;
  line-height: 1.7;
  color: #e4f2f6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin: 22px 0 0;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #b9e2ec;
}

/* 信任 / 权益条 */
.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--white);
  padding: 24px 30px;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  flex: none;
  fill: none;
  stroke: var(--ocean);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}

.trust-item span {
  font-size: 13px;
  color: var(--muted);
}

/* 通用分区 */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 34px;
}

.section-alt {
  max-width: none;
  background: var(--sand);
}

.section-alt > .rail-head,
.section-alt > .rail {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.rail-head.center {
  justify-content: center;
  text-align: center;
}

.rail-head h1,
.rail-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.rail-head p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.content-page {
  max-width: 980px;
}

.content-blocks {
  display: grid;
  gap: 24px;
}

.content-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.content-panel h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.3;
}

.content-panel p {
  color: var(--muted);
}

.content-panel p + p {
  margin-top: 12px;
}

.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 34px 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--ocean);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--navy);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.product-gallery {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-price-row .price {
  color: var(--coral);
  font-size: 32px;
}

.product-price-note {
  color: var(--muted);
  font-size: 13px;
}

.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-detail-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.product-detail-sections .content-panel:first-child {
  grid-column: 1 / -1;
}

.product-detail-sections.product-detail-tail .content-panel:first-child {
  grid-column: auto;
}

.product-detail-infographic {
  width: min(100%, 990px);
  margin: 52px auto 0;
}

.product-detail-infographic picture,
.product-detail-infographic img {
  display: block;
  width: 100%;
}

.product-detail-infographic img {
  height: auto;
}

.product-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.product-feature-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.product-feature-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 17px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--sea);
  border-radius: 50%;
}

.inline-link {
  color: var(--ocean);
  font-weight: 700;
  margin: 0 3px;
}

.inline-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.wechat-qr {
  display: block;
  width: min(180px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  object-fit: contain;
}

.content-list {
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
  list-style: decimal;
  color: var(--muted);
}

.section-link {
  color: var(--ocean);
  font-weight: 700;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.section-link:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 14px;
}

/* 产品网格 */
.rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.rail > * {
  min-width: 0;
}

/* 商品卡片 */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  background: var(--cream);
}

.product-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
}

.product-body h3 {
  font-size: 17px;
  color: var(--navy);
}

.product-body p {
  font-size: 14px;
  color: var(--muted);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.price {
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}

.price-was {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
}

/* 主推款自动轮播 */
.spotlight {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 34px 64px;
}

.spotlight-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.spotlight-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.spotlight-controls {
  display: flex;
  gap: 10px;
}

.spot-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.spot-arrow:hover {
  background: var(--sand);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.spot-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spot-viewport {
  overflow: hidden;
}

.spot-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.spot-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 5 / 2;
  min-height: 320px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spot-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
  }

.spot-media {
  position: absolute;
  inset: 0;
  background: var(--cream);
}

.spot-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-body {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 48px 52px;
    color: var(--navy);
    text-shadow: none;
  }

.spot-body h3 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--navy);
    text-shadow: none;
  }

.spot-body p {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.75;
    color: #34505f;
    text-shadow: none;
  }

.spot-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.spot-foot .price {
  font-size: 24px;
  color: var(--coral);
}

.spot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.spot-dot {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.spot-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s ease, transform 0.2s ease;
}

.spot-dot.active::after {
  background: var(--coral);
  transform: scale(1.3);
}

/* 主推左右分栏 */
.showcase {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase-copy h2 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.showcase-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.showcase-list {
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.showcase-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink);
}

.showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(23, 168, 143, 0.18);
}

.showcase-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sea);
}

.showcase-foot {
  display: flex;
  align-items: center;
  gap: 20px;
}

.showcase-foot .price {
  font-size: 26px;
}

/* 特色区块 */
.feature {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
}

.feature-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.feature .kicker {
  color: #f9a48a;
}

.feature h2 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 800;
}

.feature-copy > p {
  font-size: 16px;
  line-height: 1.75;
  color: #cfe4ea;
}

.feature-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat span {
  margin-top: 6px;
  display: block;
  font-size: 14px;
  color: #9fc4d0;
}

.feature-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

/* 三步 */
.grid-3-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ocean);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 空白商品模块 */
.placeholder-media {
  aspect-ratio: 1 / 1;
}

.placeholder-body {
  flex: 1;
  min-height: 174px;
}

.placeholder-title {
  min-height: 27px;
}

.placeholder-copy {
  min-height: 45px;
}

.placeholder-foot {
  margin-top: auto;
}

.placeholder-price {
  display: block;
  min-height: 28px;
}

/* 小配件卡片 */
.rail-mini {
  grid-auto-columns: minmax(200px, 220px);
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.mini-card h3 {
  font-size: 15px;
  color: var(--navy);
}

.mini-card .price {
  font-size: 16px;
}

/* 评价 */
.grid-3-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.quote p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.quote footer {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* 订阅 */
.newsletter {
  background: var(--ocean);
  color: #fff;
  text-align: center;
  padding: 80px 34px;
}

.newsletter h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}

.newsletter p {
  margin: 14px 0 26px;
  font-size: 16px;
  color: #d8eff4;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: min(360px, 100%);
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.newsletter-form input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.45);
}

.newsletter-form .btn-primary {
  background: var(--navy);
}

.newsletter-form .btn-primary:hover {
  background: var(--navy-dark);
}

/* 页脚 */
.site-footer {
  background: var(--navy-dark);
  color: #c4d6de;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 34px 44px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand .brand-name {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}

.footer-brand p {
  margin: 16px 0 0;
  color: #9db4bf;
  max-width: 280px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
}

.footer-col a {
  color: #9db4bf;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #7f96a1;
  font-size: 13px;
}
.footer-bottom > :last-child {
  margin-left: auto;
  text-align: right;
}

.breadcrumb a,
.inline-link,
.footer-col a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner,
  .showcase,
  .feature-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 12px 18px;
    gap: 14px;
  }

  .site-search-panel {
    right: 18px;
    width: min(540px, calc(100vw - 36px));
  }

  .menu-btn {
    display: inline-grid;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 18px 18px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 13px 8px;
    border-bottom: 1px solid var(--soft-line);
  }

  .hero-inner {
    padding: 72px 20px 80px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-visual {
    max-width: 460px;
  }

  .section,
  .showcase {
    padding: 60px 20px;
  }

  .feature-inner {
    padding: 60px 20px;
  }

  .grid-3-steps,
  .grid-3-reviews {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 52px 20px 36px;
  }

  .footer-bottom {
    padding: 20px;
  }

  .spotlight {
    padding: 54px 20px 58px;
  }

  .spotlight-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .spot-slide {
    aspect-ratio: auto;
    min-height: 0;
    display: block;
    background: var(--white);
  }

  .spot-media {
    position: relative;
    inset: auto;
  }

  .spot-media img {
    position: relative;
    inset: auto;
    height: auto;
    object-fit: contain;
  }

  .spot-body {
    max-width: none;
    padding: 28px 26px;
  }

  .spot-body h3 {
    font-size: 24px;
  }

  .product-detail {
    padding: 34px 20px 60px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-sections {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .product-detail-sections .content-panel:first-child {
    grid-column: auto;
  }

  .product-detail-infographic {
    margin-top: 36px;
  }

  .product-feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-search-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .site-search-heading span:last-child {
    display: none;
  }

  .site-search-result {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-search-result-category {
    display: none;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 20px 22px;
  }

  .rail-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rail-head h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .showcase-copy h2,
  .feature h2 {
    font-size: 30px;
  }

  .feature-stats {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .newsletter h2 {
    font-size: 27px;
  }

  .spotlight-head h2 {
    font-size: 26px;
  }

  .spot-body {
    padding: 22px 20px;
  }

  .spot-body h3 {
    font-size: 22px;
  }

  .spot-body p {
    font-size: 15px;
  }

  .product-summary h1 {
    font-size: 32px;
  }

  .product-actions .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* 主推第4款白底横幅图：保持商品在右侧；文字颜色由通用轮播样式统一控制 */
/* [data-spot-board="4"] */
.spot-slide:nth-of-type(4) .spot-media img {
  object-position: right center;
}

.spot-slide:nth-of-type(4) .spot-body,
.spot-slide:nth-of-type(4) .spot-body h3 {
  color: var(--navy);
  text-shadow: none;
}

.spot-slide:nth-of-type(4) .spot-body p {
  color: #34505f;
  text-shadow: none;
}

[id] {
  scroll-margin-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .spot-track {
    transition: none;
  }
}
