:root {
  --ink: #191713;
  --muted: #6f6b62;
  --paper: #f7f2e8;
  --surface: #fffaf0;
  --line: #e5dbc7;
  --charcoal: #23201b;
  --green: #2f7d4a;
  --mint: #dcebd7;
  --gold: #d99a25;
  --orange: #e46f2e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(35, 32, 27, 0.1);
  background: rgba(255, 250, 240, 0.92);
  color: var(--charcoal);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 96px clamp(20px, 6vw, 86px);
  overflow: hidden;
  background: #efe3cf;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
}

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

.hero-wash {
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.98) 0%, rgba(247, 242, 232, 0.9) 38%, rgba(247, 242, 232, 0.25) 72%, rgba(247, 242, 232, 0) 100%),
    linear-gradient(0deg, rgba(247, 242, 232, 0.72), rgba(247, 242, 232, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: #474239;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.claim-link,
.feature-main a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-action,
.claim-link,
.feature-main a {
  background: var(--charcoal);
  color: var(--white);
}

.secondary-action {
  border: 1px solid rgba(35, 32, 27, 0.22);
  background: rgba(255, 250, 240, 0.74);
  color: var(--charcoal);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.benefit-strip div {
  min-height: 116px;
  padding: 24px clamp(18px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.benefit-strip div:last-child {
  border-right: 0;
}

.benefit-strip strong,
.benefit-strip span {
  display: block;
}

.benefit-strip strong {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 22px;
}

.benefit-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.products-section {
  background: #fffdf7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.product-image-link {
  display: block;
  background: #efe7d8;
}

.product-image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-tag {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.product-info h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

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

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price-row strong {
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
}

.price-row del {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.bundle-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--white);
}

.bundle-panel .label {
  margin-bottom: 12px;
}

.bundle-panel h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.bundle-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.bundle-price {
  min-width: 170px;
  text-align: right;
}

.bundle-price span,
.bundle-price strong {
  display: block;
}

.bundle-price span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 900;
}

.bundle-price strong {
  color: var(--gold);
  font-size: 44px;
  line-height: 1.1;
}

.product-actions,
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.product-actions button,
.detail-actions button,
.cart-summary button,
.checkout-form button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.product-actions .buy-button,
.detail-actions .buy-button,
.checkout-form button,
.cart-summary button {
  background: var(--gold);
  color: var(--charcoal);
}

.detail-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.shop-page,
.detail-section {
  padding: 70px clamp(20px, 6vw, 86px);
}

.detail-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.detail-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.detail-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-info h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
}

.detail-desc {
  color: var(--muted);
  font-size: 18px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 24px 0;
}

.detail-price strong {
  color: var(--orange);
  font-size: 46px;
}

.detail-price del,
.detail-price span {
  color: var(--muted);
  font-weight: 900;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.spec-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.related-card strong,
.related-card span {
  display: block;
  padding: 0 16px;
}

.related-card strong {
  padding-top: 14px;
}

.related-card span {
  padding-bottom: 16px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
}

.cart-page,
.checkout-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.cart-item img,
.checkout-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.cart-item h3,
.cart-item p {
  margin-bottom: 4px;
}

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

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-control button,
.remove-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.remove-button {
  width: auto;
  padding: 0 12px;
  color: var(--orange);
}

.cart-summary,
.checkout-summary {
  position: sticky;
  top: 88px;
  padding: 24px;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--white);
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
}

.cart-summary button {
  width: 100%;
  margin-top: 16px;
}

.checkout-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
}

.checkout-form textarea {
  min-height: 92px;
  resize: vertical;
}

.checkout-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.checkout-item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.checkout-total strong {
  color: var(--gold);
  font-size: 26px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 54px;
  border-radius: 18px;
  background: var(--surface);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
}

.feature-main,
.feature-stack article,
.series-grid article,
.step-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.feature-main {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(47, 125, 74, 0.14), rgba(217, 154, 37, 0.12)),
    var(--surface);
}

.label {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.feature-main h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

.feature-main p {
  max-width: 620px;
  color: var(--muted);
}

.feature-main a {
  width: fit-content;
  margin-top: 16px;
}

.feature-stack {
  display: grid;
  gap: 22px;
}

.feature-stack article {
  min-height: 199px;
  padding: 28px;
}

.feature-stack span,
.series-grid span,
.step-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.feature-stack h3,
.series-grid h3,
.step-grid h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-stack p,
.series-grid p,
.step-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.series-section {
  background: #efe7d8;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.series-grid article {
  min-height: 240px;
  padding: 26px;
  background: #fffdf7;
}

.fit-section {
  background: var(--surface);
}

.fit-table {
  border-top: 2px solid var(--charcoal);
}

.fit-row {
  display: grid;
  grid-template-columns: 180px 1fr 120px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.fit-row strong {
  font-size: 22px;
}

.fit-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-row span {
  justify-self: end;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.guide-section {
  background: var(--paper);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-grid article {
  min-height: 260px;
  padding: 28px;
}

.step-grid span {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--gold);
  font-size: 18px;
}

.claim-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  padding: 84px clamp(20px, 6vw, 86px);
  background: var(--charcoal);
  color: var(--white);
}

.claim-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}

.claim-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.claim-tool {
  align-self: start;
}

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.topic-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.topic-tab.active,
.topic-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.topic-output {
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.topic-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.topic-output p {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.5;
}

.claim-link {
  margin-top: 18px;
  background: var(--gold);
  color: var(--charcoal);
}

.faq-section {
  background: var(--surface);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #15130f;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-top: 76px;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(247, 242, 232, 0.98), rgba(247, 242, 232, 0.86) 54%, rgba(247, 242, 232, 0.35)),
      linear-gradient(90deg, rgba(247, 242, 232, 0.92), rgba(247, 242, 232, 0.28));
  }

  .benefit-strip,
  .feature-layout,
  .series-grid,
  .product-grid,
  .step-grid,
  .claim-section,
  .detail-section,
  .related-grid,
  .cart-page,
  .checkout-page {
    grid-template-columns: 1fr;
  }

  .product-card.highlight {
    grid-column: auto;
  }

  .bundle-panel {
    grid-template-columns: 1fr;
  }

  .bundle-price {
    text-align: left;
  }

  .benefit-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-strip div:last-child {
    border-bottom: 0;
  }

  .section-heading.compact {
    display: block;
  }

  .fit-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fit-row span {
    justify-self: start;
  }

  .cart-item {
    grid-template-columns: 88px 1fr;
  }

  .cart-item > strong,
  .qty-control,
  .remove-button {
    grid-column: 2;
    justify-self: start;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    min-height: 640px;
    padding-inline: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy,
  .topic-output p {
    font-size: 18px;
  }

  .hero-actions a,
  .claim-link {
    width: 100%;
  }

  .section,
  .claim-section {
    padding: 60px 18px;
  }
}
