:root {
  color-scheme: light;
  --ink: #15201c;
  --muted: #64736c;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --line: #ded8ce;
  --sage: #3f6f5a;
  --sage-dark: #244d3d;
  --rust: #b65f2a;
  --gold: #e5b348;
  --blue: #386b88;
  --shadow: 0 18px 40px rgba(21, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

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

.announcement {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-align: center;
  padding: 6px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--sage-dark);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #33443d;
  font-size: 0.96rem;
}

.site-header nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  border-color: var(--rust);
}

.cart-button,
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, color 160ms ease;
}

.cart-button {
  min-height: 42px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.cart-button:hover,
.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.cart-button svg,
.button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.cart-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #271b05;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
}

.hero {
  position: relative;
  min-height: min(640px, 68vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #21372f;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 16, 13, 0.78), rgba(7, 16, 13, 0.34) 50%, rgba(7, 16, 13, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 90vw);
  margin-left: 5vw;
  color: #fff;
  padding: 72px 0;
}

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

.hero .eyebrow {
  color: #ffd27a;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #251906;
}

.button.primary.purple {
  background: #5633ea;
  color: #fff;
}

.button.outline {
  background: transparent;
  color: #0f2355;
  border: 1px solid #0f2355;
}

.compact-button {
  width: auto;
  min-width: 144px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
}

.button.secondary.dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.button.full-width {
  width: 100%;
}

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

.trust-strip div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  padding: 20px 5vw;
}

.trust-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.trust-strip span,
.section-heading p,
.product-copy,
.split-section p,
.site-footer p,
.page-title p,
.policy-content p,
.evidence-grid p,
.checkout-note,
.small-note {
  color: var(--muted);
}

.section,
.split-section,
.contact-band,
.policy-page {
  padding: clamp(56px, 8vw, 104px) 5vw;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 32px;
}

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

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(21, 32, 28, 0.08);
}

.product-card img,
.product-image-panel {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef0e9;
}

.product-image-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #edf2e7, #d7e7de 55%, #efe4d3);
  color: var(--sage-dark);
  font-weight: 800;
}

.product-image-panel svg {
  width: 72px;
  height: 72px;
  stroke-width: 1.6;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.category {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price {
  font-size: 1.32rem;
  font-weight: 900;
}

.icon-button {
  width: 42px;
  height: 42px;
  background: var(--sage-dark);
  color: #fff;
  border-radius: 8px;
}

.text-link,
.more-options {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-hero {
  padding: clamp(44px, 7vw, 86px) 5vw clamp(64px, 8vw, 108px);
  background: var(--surface);
}

.store-intro {
  width: min(800px, 100%);
  margin: 0 auto clamp(54px, 7vw, 86px);
  text-align: center;
}

.store-intro h1 {
  margin-inline: auto;
  color: #050505;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.04;
}

.store-intro p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #676767;
  font-size: 1.08rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.main-product-image {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
}

.gallery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: #f6f6f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--sage-dark);
  font-weight: 800;
}

.gallery-note svg {
  flex: none;
}

.product-buy-box {
  padding-top: 18px;
}

.product-buy-box h2 {
  color: #050505;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  font-size: 1.1rem;
}

.price-row strong {
  font-size: 1.2rem;
}

.compare-price {
  color: #777;
  text-decoration: line-through;
}

.sale-badge {
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: #555;
  font-size: 0.82rem;
}

.installment-copy {
  margin-bottom: 18px;
  color: #4f4f4f;
  font-size: 1.02rem;
}

.quantity-label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 0.88rem;
}

.quantity-picker {
  display: grid;
  grid-template-columns: 42px 56px 42px;
  width: max-content;
  min-height: 50px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 999px;
}

.quantity-picker button,
.quantity-picker input {
  border: 0;
  background: #fff;
  text-align: center;
}

.quantity-picker button {
  cursor: pointer;
  color: #444;
  font-size: 1.2rem;
}

.product-buy-box .button {
  margin-bottom: 10px;
}

.more-options {
  display: block;
  width: max-content;
  margin: 2px auto 28px;
  color: #444;
  font-size: 0.86rem;
  font-weight: 500;
}

.product-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.checkout-body {
  background: #f5f5f1;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 0 5vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.checkout-page {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(36px, 6vw, 72px) 5vw;
}

.checkout-form-panel,
.order-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 32, 28, 0.08);
}

.checkout-form-panel {
  padding: clamp(24px, 4vw, 46px);
}

.checkout-form-panel h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.checkout-intro {
  color: var(--muted);
}

.checkout-form {
  display: grid;
  gap: 24px;
}

fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: #34453f;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cfc8bb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three {
  grid-template-columns: 1fr 120px 130px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-methods span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  font-weight: 850;
}

.order-summary {
  position: sticky;
  top: 96px;
  height: max-content;
  padding: 24px;
}

.order-summary h2 {
  font-size: 1.45rem;
}

.summary-item,
.summary-lines > div,
.secure-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.summary-item {
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item h3 {
  margin-bottom: 3px;
  font-size: 1rem;
}

.summary-item p {
  margin: 0;
  color: var(--muted);
}

.summary-lines {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.summary-total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.24rem;
}

.secure-note {
  align-items: flex-start;
  padding: 14px;
  background: #eef4ef;
  border-radius: 8px;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.icon-button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
  background: var(--surface);
}

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

.info-list div,
.policy-grid a,
.evidence-grid article,
.check-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list div {
  padding: 18px;
}

.info-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.info-list strong {
  overflow-wrap: anywhere;
}

.small-note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}

.policy-preview {
  background: #eef4ef;
}

.catalog-page {
  min-height: 72vh;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.catalog-pagination span {
  color: var(--muted);
  font-weight: 800;
}

.catalog-next,
.button.secondary.catalog-next {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--sage-dark);
}

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

.policy-grid a {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  font-weight: 800;
}

.policy-grid svg {
  flex: none;
  color: var(--rust);
}

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

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

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: var(--sage-dark);
  color: #fff;
}

.contact-band p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 36px 5vw;
  background: #121a17;
  color: #fff;
}

.footer-brand .brand-mark {
  background: var(--gold);
  color: #201401;
}

.site-footer p {
  max-width: 480px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(8, 13, 11, 0.52);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(430px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px;
  overflow: auto;
}

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

.cart-line h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
}

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

.quantity-controls button {
  width: 32px;
  height: 32px;
}

.cart-empty {
  padding: 22px;
  color: var(--muted);
}

.cart-summary {
  margin-top: auto;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.checkout-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.page-title {
  width: min(820px, 100%);
  margin-bottom: 36px;
}

.page-title h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}

.policy-nav a {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-content article {
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-content h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

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

.evidence-grid article {
  padding: 24px;
  background: var(--surface);
}

.evidence-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--rust);
}

.evidence-grid h2 {
  font-size: 1.28rem;
}

.checklist-section {
  padding-inline: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  background: var(--surface);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cart"
      "nav nav";
    gap: 14px;
    padding-block: 12px;
    width: 100vw;
    max-width: 100vw;
  }

  .brand {
    grid-area: brand;
  }

  .site-header nav {
    grid-area: nav;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cart-button {
    grid-area: cart;
  }

  .hero {
    min-height: 600px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(7, 16, 13, 0.82), rgba(7, 16, 13, 0.22));
  }

  .hero-copy {
    align-self: flex-end;
    padding-bottom: 48px;
  }

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

  .split-section,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail,
  .checkout-page {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    order: -1;
  }

  .form-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .announcement {
    font-size: 0.78rem;
  }

  .site-header {
    min-height: auto;
    grid-template-columns: auto 48px;
    justify-content: start;
    padding-inline: 20px;
  }

  .brand {
    min-width: 0;
    font-size: 0.95rem;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .cart-label {
    display: none;
  }

  .cart-button {
    width: 48px;
    min-height: 42px;
    padding: 0;
    justify-self: end;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    width: min(calc(100vw - 40px), 350px);
    margin: 0 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.02;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .checkout-header {
    padding-inline: 20px;
  }

  .product-hero,
  .checkout-page {
    padding-inline: 20px;
  }

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

  .trust-strip,
  .product-grid,
  .policy-grid,
  .evidence-grid,
  .policy-nav {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 86px;
    padding-inline: 20px;
  }

  .section,
  .split-section,
  .contact-band,
  .policy-page {
    padding-inline: 20px;
  }

  .site-footer {
    padding-inline: 20px;
  }
}
