:root {
  --ink: #151713;
  --muted: #687168;
  --paper: #f6f1e8;
  --surface: #ffffff;
  --line: #ded5c8;
  --sage: #3f5d4c;
  --cedar: #8e4f3a;
  --gold: #b98d56;
  --charcoal: #22231f;
  --shadow: 0 24px 70px rgba(28, 29, 25, 0.12);
  --soft-shadow: 0 12px 32px rgba(28, 29, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(185, 141, 86, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 232, 0.95);
  box-shadow: 0 10px 30px rgba(31, 35, 32, 0.08);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-action,
.hero-actions,
.site-footer,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.75rem;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0.92;
}

.header-action {
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.site-header:not(.is-scrolled) .header-action {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 16, 14, 0.82) 0%, rgba(15, 16, 14, 0.54) 42%, rgba(15, 16, 14, 0.14) 86%),
    linear-gradient(0deg, rgba(15, 16, 14, 0.38) 0%, rgba(15, 16, 14, 0) 48%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin: 88px 0 0 clamp(18px, 7vw, 96px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cedar);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4c98b;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29, 33, 30, 0.18);
}

.button.primary {
  background: var(--sage);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button.outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

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

.trust-strip div {
  min-height: 112px;
  padding: 24px clamp(18px, 3vw, 36px);
  background: #fff;
}

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

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 72px);
}

.collection-grid,
.product-grid,
.feature-grid,
.payment-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-grid article,
.product-card,
.feature-grid article,
.payment-grid article,
.review-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.collection-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
  background: #efe7dc;
}

.collection-grid div {
  padding: 20px;
}

.collection-grid span,
.product-tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cedar);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.product-section {
  width: min(1280px, calc(100% - 36px));
}

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

.product-card {
  display: flex;
  flex-direction: column;
}

.product-media {
  display: block;
  overflow: hidden;
  background: #f0ebe3;
}

.product-card.featured {
  grid-column: span 2;
}

.product-card img,
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  background: #f0ebe3;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.product-card p {
  margin-bottom: 14px;
}

.product-card ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-card .button {
  margin-top: auto;
}

.buy-row {
  display: grid;
  width: 100%;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
}

.store-card {
  background: var(--charcoal);
  color: #fff;
}

.store-card p,
.store-card li {
  color: rgba(255, 255, 255, 0.74);
}

.product-page {
  background: var(--paper);
}

.product-detail {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.product-gallery,
.product-purchase,
.product-info-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.product-gallery {
  overflow: hidden;
}

.main-product-image {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
  background: #f0ebe3;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: #f0ebe3;
}

.product-purchase {
  position: sticky;
  top: 86px;
  padding: clamp(24px, 4vw, 38px);
}

.product-summary {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.detail-price {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f2;
}

.detail-price span {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
}

.detail-price small {
  color: var(--muted);
  line-height: 1.55;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-bullets {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.product-info-grid article {
  padding: 24px;
}

.product-info-grid h2 {
  font-size: 1.25rem;
}

.detail-band {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: #ebe2d5;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.payment-grid article,
.review-grid article {
  padding: 26px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 900;
}

.payment {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.45fr);
  gap: clamp(28px, 5vw, 72px);
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
}

.checkout-copy {
  align-self: start;
}

.payment-status {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.payment-status span {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-form,
.cart-summary {
  display: grid;
  gap: 16px;
}

.checkout-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.cart-summary {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5dbcf;
  border-radius: 8px;
  background: #fff;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span,
.empty-cart {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  justify-items: center;
}

.quantity-control button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.quantity-control button {
  width: 34px;
  height: 34px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-drawer {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(15, 16, 14, 0.46);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 160ms ease;
}

.cart-drawer[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 18px;
  width: min(420px, 100%);
  min-height: 100%;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-panel-header h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.icon-button {
  width: 38px;
  height: 38px;
}

.payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-band {
  background: var(--charcoal);
  color: #fff;
}

.reviews {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

.reviews p {
  color: rgba(255, 255, 255, 0.74);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.stars {
  margin-bottom: 16px;
  color: #f4c98b;
  font-size: 1rem;
  letter-spacing: 0;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.support-band {
  background: #fff;
}

.support {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6cabc;
  border-radius: 6px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.field-help,
.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--charcoal);
  color: #fff;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-cta {
  display: none;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .trust-strip,
  .collection-grid,
  .feature-grid,
  .payment-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .payment,
  .checkout-section,
  .product-hero-detail,
  .reviews,
  .support {
    grid-template-columns: 1fr;
  }

  .product-purchase {
    position: static;
  }

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

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

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

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    margin: 72px 18px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .trust-strip,
  .collection-grid,
  .product-grid,
  .feature-grid,
  .payment-grid,
  .detail-actions,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .site-footer {
    display: grid;
    padding-bottom: 92px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 30;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: block;
  }

  .mobile-cta .button {
    width: 100%;
    box-shadow: 0 14px 34px rgba(20, 23, 20, 0.22);
  }
}
