:root {
  --ink: #1f2a24;
  --muted: #69756e;
  --paper: #f8f4eb;
  --panel: #fffdf7;
  --line: rgba(54, 72, 61, 0.14);
  --forest: #264f3d;
  --forest-2: #3f725a;
  --clay: #c46f4f;
  --sand: #e7d6ba;
  --gold: #c9973f;
  --shadow: 0 24px 70px rgba(31, 42, 36, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body: "LXGW WenKai", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 10%, rgba(196, 111, 79, 0.18), transparent 28%),
    radial-gradient(circle at 90% 4%, rgba(63, 114, 90, 0.20), transparent 28%),
    linear-gradient(135deg, #fbf7ee 0%, #f0eadf 42%, #f8f4eb 100%);
}

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

img,
svg {
  max-width: 100%;
}

.site-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(248, 244, 235, 0.82);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  box-shadow: 0 14px 30px rgba(38, 79, 61, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 15px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(38, 79, 61, 0.08);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--forest);
  background: transparent;
  font-size: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  min-height: 680px;
  padding: 72px 0;
}

.eyebrow {
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-panel h1,
.section-heading h2,
.success-card h1 {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 92px);
}

.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), #1b3b2d);
  box-shadow: 0 18px 36px rgba(38, 79, 61, 0.22);
}

.btn-ghost {
  color: var(--forest);
  border-color: rgba(38, 79, 61, 0.2);
  background: rgba(255, 255, 255, 0.55);
}

.hero-card {
  position: relative;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 253, 247, 0.88), rgba(231, 214, 186, 0.62));
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px dashed rgba(38, 79, 61, 0.22);
  border-radius: 28px;
}

.hero-card__shelf {
  position: absolute;
  right: 8%;
  bottom: 16%;
  left: 8%;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b98b54, #e5c28d);
  box-shadow: 0 22px 34px rgba(101, 74, 45, 0.22);
}

.hero-card__object {
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 22px 46px rgba(31, 42, 36, 0.15);
}

.hero-card__object.one {
  width: 42%;
  height: 42%;
  right: 13%;
  bottom: 24%;
  background: linear-gradient(145deg, #fef8ec, #e3c397);
}

.hero-card__object.two {
  width: 29%;
  height: 34%;
  left: 14%;
  bottom: 24%;
  background: linear-gradient(145deg, #315f49, #78a887);
}

.hero-card__object.three {
  width: 34%;
  height: 24%;
  top: 15%;
  left: 21%;
  background: linear-gradient(145deg, #d9825f, #f4c49b);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -26px;
}

.trust-strip article,
.policy-card,
.feature-grid article,
.contact-card,
.order-summary,
.checkout-form,
.success-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 18px 46px rgba(31, 42, 36, 0.09);
}

.trust-strip article {
  padding: 22px;
  border-radius: var(--radius-md);
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
}

.trust-strip span,
.policy-card p,
.feature-grid p,
.product-card span,
.form-tip,
.order-summary small {
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 22px;
}

.section-heading p {
  margin: 0;
  color: var(--clay);
  font-weight: 800;
}

.section-heading h2,
.page-hero h1,
.detail-panel h1,
.success-card h1 {
  font-size: clamp(34px, 4.3vw, 62px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 18px 46px rgba(31, 42, 36, 0.09);
}

.product-card__media {
  position: relative;
  display: block;
}

.product-card__media em {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  color: #fff;
  border-radius: 999px;
  background: rgba(31, 42, 36, 0.72);
  font-size: 13px;
  font-style: normal;
}

.product-card__body {
  padding: 20px;
}

.product-card p {
  margin: 0 0 8px;
  color: var(--clay);
  font-weight: 800;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.product-card__meta strong,
.price-line strong {
  color: var(--clay);
  font-size: 26px;
}

.product-card__meta del,
.price-line del {
  color: #9b9f98;
}

.product-card__meta small {
  margin-left: auto;
  color: var(--muted);
}

.product-photo,
.product-visual {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, #f8e9d2, #e8c596);
}

.product-photo {
  margin: 0;
  background: #efe4d3;
}

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

.product-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(31, 42, 36, 0) 45%, rgba(31, 42, 36, 0.36) 100%);
}

.product-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 10px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(31, 42, 36, 0.48);
  backdrop-filter: blur(10px);
}

.product-photo figcaption span {
  font-size: 12px;
  opacity: 0.84;
}

.product-photo figcaption strong {
  font-size: 14px;
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.product-visual::before {
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.44);
}

.product-visual::after {
  width: 110px;
  height: 74px;
  transform: translateY(44px);
  background: rgba(38, 79, 61, 0.72);
  box-shadow: 0 18px 30px rgba(31, 42, 36, 0.18);
}

.product-visual span,
.product-visual strong {
  position: relative;
  z-index: 2;
  display: block;
  text-align: center;
}

.product-visual span {
  padding: 7px 12px;
  color: var(--forest);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.product-visual strong {
  margin-top: 12px;
  color: #fff;
  font-size: 26px;
  text-shadow: 0 4px 14px rgba(31, 42, 36, 0.28);
}

.product-visual--cable {
  background: linear-gradient(140deg, #d9e5dc, #9ab49d);
}

.product-visual--rack {
  background: linear-gradient(140deg, #f2d5bd, #ce8463);
}

.product-visual--laundry {
  background: linear-gradient(140deg, #e7eef2, #9fb6c5);
}

.product-visual--basket {
  background: linear-gradient(140deg, #eee0c7, #b98557);
}

.product-visual--cloth {
  background: linear-gradient(140deg, #f5ddd5, #c77166);
}

.page-hero {
  padding: 72px 0 34px;
}

.page-hero p {
  max-width: 760px;
}

.detail-layout,
.checkout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
  padding: 64px 0 20px;
}

.detail-visual,
.detail-panel {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 247, 0.74);
  box-shadow: var(--shadow);
}

.detail-visual {
  overflow: hidden;
}

.detail-visual .product-visual {
  min-height: 520px;
}

.detail-visual .product-photo {
  min-height: 520px;
}

.detail-note {
  padding: 18px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.detail-panel {
  padding: 34px;
}

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

.price-line span {
  margin-left: auto;
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.policy-card,
.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-grid b {
  display: block;
  width: 36px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--clay);
}

.policy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 78px;
}

.policy-card h2,
.contact-card h2 {
  margin-top: 0;
}

.policy-card li {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.75;
}

.checkout-form,
.order-summary,
.success-card {
  border-radius: var(--radius-xl);
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding: 32px;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(38, 79, 61, 0.18);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(63, 114, 90, 0.12);
}

.order-summary {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.order-summary .product-visual {
  min-height: 260px;
  border-radius: 24px;
}

.order-summary .product-photo {
  min-height: 260px;
  border-radius: 24px;
}

.order-summary div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-summary .total strong {
  color: var(--clay);
  font-size: 24px;
}

.success-card {
  max-width: 720px;
  margin: 86px auto;
  padding: 46px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  color: #fff;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  font-size: 38px;
}

.success-card dl {
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin: 28px auto;
  text-align: left;
}

.success-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(38, 79, 61, 0.06);
}

.center {
  justify-content: center;
}

.footer {
  margin-top: 40px;
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #1e352b;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer small {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 26px, 720px);
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 13px;
    left: 13px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 24px;
    background: rgba(255, 253, 247, 0.96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .detail-layout,
  .checkout-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-card {
    min-height: 420px;
  }

  .trust-strip,
  .products-grid,
  .feature-grid,
  .policy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .detail-visual .product-visual,
  .detail-visual .product-photo {
    min-height: 360px;
  }

  .order-summary {
    position: static;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero p,
  .hero-actions,
  .hero-card,
  .product-card,
  .trust-strip article {
    animation: rise 0.7s ease both;
  }

  .hero-card {
    animation-delay: 0.12s;
  }

  .product-card:nth-child(2),
  .trust-strip article:nth-child(2) {
    animation-delay: 0.08s;
  }

  .product-card:nth-child(3),
  .trust-strip article:nth-child(3) {
    animation-delay: 0.16s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
