/* =========================================================
   Cybele Life: shop, account and content-page components.
   Extends the homepage design system (styles.css): the same tokens,
   type, hairlines, pill buttons, pack colours and gold motifs.
   No new colours are introduced here except the pack panels,
   which come from the homepage's pack cards.
   ========================================================= */

:root {
  --pack-brown: #6E400C;
  --pack-amber: #C67D2B;
  --pack-forest: #233A27;
  --shadow-card: 0 30px 60px -44px rgba(29, 36, 32, .35);
  --shadow-float: 0 24px 60px -24px rgba(20, 32, 24, .45);
}

/* ---------- Small shared pieces ---------- */
.muted { color: var(--ink-3); }
.section-sm { padding-block: clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.page-title { font-family: var(--serif); font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.022em; margin-bottom: 1.5rem; }
.pdp-h2 { font-size: var(--fs-h3); margin: 3rem 0 1.5rem; }
.icon-btn-round {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn-round:hover { border-color: var(--forest); color: var(--forest); background: rgba(38, 64, 43, .04); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link--danger { color: var(--problem); text-decoration-color: rgba(154, 74, 50, .45); }
button.text-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: var(--fs-small); }
.kicker--light { color: var(--gold-soft); }
.loading-line { color: var(--ink-3); font-size: var(--fs-small); padding: 2rem 0; }
.notice { padding: 1.1rem 1.25rem; border-left: 2px solid var(--gold); background: var(--paper-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--fs-small); color: var(--ink-2); margin-bottom: 1.5rem; }
.notice p { margin: 0 0 .5rem; } .notice p:last-child { margin: 0; }
.notice h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.notice--warn { border-left-color: var(--problem); background: rgba(154, 74, 50, .06); }
.notice--pay { border-left-color: var(--forest); background: var(--sage-wash); }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 4px; }
.tag:not(.tag-problem):not(.tag-support) { display: inline-block; font-size: var(--fs-xs); font-weight: 500; padding: .15rem .55rem; border-radius: 999px; background: var(--sage-wash); color: var(--forest); margin-bottom: .75rem; }
.optional { font-weight: 400; }
.field-row--3 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row--3 { grid-template-columns: .8fr 1fr 1fr; } }
.field input:disabled { background: var(--paper-2); }

/* Breadcrumbs */
.crumbs { font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .1rem .5rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--gold); }
.crumbs a { color: var(--ink-3); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* Chips (filters on the blog and press pages) */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: var(--fs-small); color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease); }
.chip span { font-size: var(--fs-xs); color: var(--ink-3); }
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-on { background: var(--forest); border-color: var(--forest); color: var(--on-dark); }
.chip.is-on span { color: var(--on-dark-2); }

/* ---------- Header additions: search, cart, account ---------- */
.header-actions { gap: .25rem; }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--forest); color: var(--on-dark);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums;
}
.cart-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.header-actions .header-cta { margin-left: .5rem; }
.header-actions .menu-toggle { margin-left: .35rem; }
@media (max-width: 419px) { .header-actions .account-link { display: none; } .brand img { width: 118px; } }
.mobile-menu-account { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; width: 100%; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mobile-menu-account a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; color: var(--forest); }

/* Checkout header: the logo, reassurance and a way back */
.checkout-header::before { opacity: 1; }
.checkout-header .header-inner { justify-content: space-between; }
.checkout-secure { display: none; margin: 0; align-items: center; gap: .5rem; font-size: var(--fs-small); color: var(--ink-2); }
@media (min-width: 700px) { .checkout-secure { display: inline-flex; } }
.checkout-footer { border-top: 1px solid var(--line); padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-xs); color: var(--ink-3); }
.checkout-footer p { margin: 0 0 .35rem; }

/* ---------- Drawers (cart, mobile filters) ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(20, 28, 23, .42); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-scrim.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--paper);
  box-shadow: -30px 0 80px -40px rgba(20, 32, 24, .5);
  transform: translateX(100%); transition: transform .45s var(--ease-slow);
  padding-top: env(safe-area-inset-top, 0px);
}
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-count { font-family: var(--sans); font-size: var(--fs-small); color: var(--ink-3); }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .6rem; background: var(--card); }
.drawer-foot .sum-list { margin-bottom: .5rem; }
.drawer-progress { font-size: var(--fs-xs); color: var(--ink-2); }
.drawer-progress i { display: block; height: 3px; background: var(--line); border-radius: 3px; margin-top: .5rem; overflow: hidden; }
.drawer-progress i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--gold); transition: width .5s var(--ease); }
.drawer-empty { text-align: center; padding: 3rem 0; }
.drawer-empty p { color: var(--ink-2); }
.drawer-empty .btn { margin-top: 1rem; }

/* Cart lines (drawer and cart page) */
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: .5rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { display: block; width: 76px; height: 76px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-info { min-width: 0; }
.cart-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; text-decoration: none; color: var(--ink); display: block; }
.cart-name:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); }
.cart-variant { font-size: var(--fs-xs); color: var(--ink-3); margin: .2rem 0 .6rem; }
.cart-price { text-align: right; font-variant-numeric: tabular-nums lining-nums; font-weight: 500; white-space: nowrap; }
.cart-price s { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; }
.cart-controls { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.cart-remove { background: none; border: 0; padding: 0; font-size: var(--fs-xs); color: var(--ink-3); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 32px; }
.cart-remove:hover { color: var(--problem); }
.cart-notice { font-size: var(--fs-xs); color: var(--problem); margin: .75rem 0 0; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; height: 52px; }
.qty-btn { width: 44px; height: 100%; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: 999px; }
.qty-btn:hover { color: var(--forest); background: rgba(38, 64, 43, .05); }
.qty-btn:disabled { color: var(--line-strong); cursor: default; background: none; }
.qty-input { width: 2.5rem; border: 0; background: transparent; text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }
.qty:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(38, 64, 43, .15); }
.qty--sm { height: 38px; }
.qty--sm .qty-btn { width: 34px; }
.qty--sm .qty-input { width: 2rem; font-size: var(--fs-small); }

/* Totals */
.sum-list { margin: 0; display: grid; gap: .55rem; font-size: var(--fs-small); }
.sum-list div { display: flex; justify-content: space-between; gap: 1rem; }
.sum-list dt { color: var(--ink-2); }
.sum-list dd { margin: 0; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.sum-save dd, .sum-save dt { color: var(--forest); }
.sum-total { border-top: 1px solid var(--line-strong); padding-top: .85rem; margin-top: .35rem; align-items: baseline; }
.sum-total dt { color: var(--ink); font-weight: 500; font-size: 1rem; }
.sum-total dd { font-family: var(--serif); font-size: 1.75rem; color: var(--ink); }
.sum-note { font-size: var(--fs-xs); color: var(--ink-3); margin: .75rem 0 0; }

/* ---------- Search layer ---------- */
.search-layer { position: fixed; inset: 0; z-index: 170; background: rgba(20, 28, 23, .42); opacity: 0; transition: opacity .25s var(--ease); }
.search-layer.is-open { opacity: 1; }
.search-panel { background: var(--paper); padding: calc(1rem + env(safe-area-inset-top, 0px)) 0 2rem; box-shadow: var(--shadow-float); transform: translateY(-16px); transition: transform .35s var(--ease); max-height: 100%; overflow-y: auto; }
.search-layer.is-open .search-panel { transform: none; }
.search-form { display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line-strong); padding-bottom: .9rem; }
.search-form > svg { flex: none; color: var(--ink-3); }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); padding: .4rem 0; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-clear { background: none; border: 0; color: var(--ink-3); cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.search-clear:hover { color: var(--ink); background: rgba(29,36,32,.05); }
.search-suggest { padding-top: 1.5rem; }
.search-label { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); margin-bottom: .75rem; letter-spacing: .02em; }
.search-quick ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: var(--fs-small); }
.search-quick a:hover { border-color: var(--forest); color: var(--forest); }
.suggest-group + .suggest-group { margin-top: 1.5rem; }
.suggest-list { border-top: 1px solid var(--line); }
.suggest-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 1rem; padding: .75rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 6px; }
.suggest-list a:hover, .suggest-list a.is-active { background: var(--sage-wash); }
.suggest-list a.no-thumb { grid-template-columns: 1fr auto; }
.suggest-thumb { width: 56px; height: 56px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.suggest-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; display: block; }
.suggest-meta { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
.suggest-price { font-variant-numeric: tabular-nums; font-size: var(--fs-small); white-space: nowrap; }
.suggest-all { display: inline-flex; margin-top: 1rem; }
.suggest-none { color: var(--ink-2); font-size: var(--fs-small); }
mark.q { background: transparent; color: var(--forest); font-weight: 600; }

/* ---------- Shop: collection ---------- */
.shop-hero { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.shop-hero-grid { display: grid; gap: 1rem 4rem; align-items: end; padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line-strong); }
.shop-title { font-size: clamp(3rem, 2rem + 4.5vw, 5.5rem); line-height: .95; letter-spacing: -.03em; }
.shop-intro { font-size: 1.125rem; color: var(--ink-2); max-width: 52ch; margin: 0; }
@media (min-width: 960px) { .shop-hero-grid { grid-template-columns: 1.2fr 1fr; } }

.shop-body { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.shop-layout { display: grid; gap: 2rem 3.5rem; }
@media (min-width: 1080px) { .shop-layout { grid-template-columns: 220px 1fr; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.toolbar-count { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.toolbar-actions { display: flex; align-items: center; gap: .75rem; }
.sort { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-small); color: var(--ink-3); }
.sort select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 2.4rem 0 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8l4-3.5' fill='none' stroke='%2348524C' stroke-width='1.5'/%3E%3C/svg%3E") right 1rem center no-repeat;
  font-size: var(--fs-small); color: var(--ink); cursor: pointer;
}
.sort select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(38, 64, 43, .15); }
@media (max-width: 479px) { .sort span { display: none; } }

/* Filters: a quiet sidebar on desktop, a drawer on smaller screens */
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.filters-head h2 { font-size: 1.5rem; }
.filter-group { border: 0; margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--line); min-width: 0; }
.filter-group h3, .filter-group legend { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-3); padding: 0; margin-bottom: .75rem; }
.filter-group legend { float: left; width: 100%; }
.filter-group legend + * { clear: both; }
.filter-links a { display: flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--ink-2); font-size: var(--fs-small); }
.filter-links a:hover { color: var(--forest); }
.filter-links a[aria-current] { color: var(--ink); font-weight: 600; }
.filter-links a[aria-current]::before { content: ""; width: 14px; height: 1px; background: var(--gold); margin-right: .5rem; }
.filter-group .check { min-height: 36px; align-items: center; clear: both; }
.filter-group .check input { margin-top: 0; }
.price-range { display: flex; align-items: center; gap: .5rem; clear: both; }
.price-range input { width: 100%; min-height: 42px; padding: .4rem .7rem; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; font-size: var(--fs-small); }
.price-range input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(38, 64, 43, .15); }
.filter-actions { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.js .filter-actions .btn { display: none; }
.filters-close { display: none; }
@media (min-width: 1080px) {
  .filters-open { display: none; }
  .filters { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
}
@media (max-width: 1079px) {
  .js .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 160; width: min(360px, 90vw); overflow-y: auto;
    background: var(--paper); padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.5rem 2rem;
    transform: translateX(-102%); transition: transform .4s var(--ease-slow); box-shadow: 30px 0 80px -40px rgba(20, 32, 24, .5);
    visibility: hidden;
  }
  .js .filters.is-open { transform: none; visibility: visible; }
  .js .filters-close { display: inline-grid; }
  .js .filter-actions .btn { display: inline-flex; }
  .no-js .filters { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
}

/* Product grid and card */
.product-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.p-card { display: flex; flex-direction: column; min-width: 0; }
.p-card[hidden] { display: none; }
.p-card-media { position: relative; display: block; border-radius: var(--radius-m); overflow: hidden; background: var(--pack-forest); isolation: isolate; }
.p-card-media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; pointer-events: none; transition: border-color .5s var(--ease); }
.p-card-media:hover::after { border-color: rgba(255, 255, 255, .42); }
.p-card-media img { width: 100%; aspect-ratio: 820 / 592; object-fit: cover; transition: transform 1.2s var(--ease-slow); }
.p-card:hover .p-card-media img { transform: scale(1.035); }
.p-card-media.is-shot { background: var(--card); border: 1px solid var(--line); }
.p-card-media.is-shot img { aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.p-card-media.is-shot::after { border-color: var(--line); }
.tone-brown { background: var(--pack-brown); } .tone-amber { background: var(--pack-amber); } .tone-forest { background: var(--pack-forest); }
.tone-sage { background: var(--sage-wash); } .tone-ivory { background: var(--card); }
.p-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1; display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: 999px; background: rgba(251, 250, 246, .94); color: var(--forest-2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em;
}
.p-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.p-badge--muted { left: auto; right: 18px; color: var(--ink-2); }
.p-badge--muted::before { background: var(--ink-3); }
.p-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 1.2rem; }
.p-card-kicker { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); margin-bottom: .35rem; letter-spacing: .01em; }
.p-card-title { font-family: var(--serif); font-size: clamp(1.4rem, 1.25rem + .4vw, 1.65rem); line-height: 1.12; margin: 0; }
.p-card-title a { text-decoration: none; color: var(--ink); }
.p-card-title a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
.p-card-sub { font-size: var(--fs-small); color: var(--ink-2); margin: .25rem 0 0; }
.p-card-price { display: grid; gap: .35rem; margin: .9rem 0 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.p-card-price .price { margin: 0; }
.p-card-actions { display: flex; gap: .5rem; margin-top: auto; }
.p-card-actions .btn { flex: 1; }
.per-day { font-size: var(--fs-xs); color: var(--ink-3); margin: 0; }

/* Prices */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; margin: 0; font-variant-numeric: lining-nums tabular-nums; }
.price-now { font-family: var(--serif); font-size: 1.55rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.price-was { font-size: var(--fs-small); color: var(--ink-3); }
.price-save { font-size: var(--fs-xs); font-weight: 600; color: var(--forest); background: var(--sage-wash); padding: .15rem .5rem; border-radius: 999px; }
.price--lg .price-now { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); }
.price--lg .price-was { font-size: 1rem; }

/* Compare packs */
.compare-table, .data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: lining-nums tabular-nums; min-width: 620px; }
.compare-table th, .compare-table td, .data-table th, .data-table td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th, .data-table thead th { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); letter-spacing: .03em; border-bottom-color: var(--line-strong); }
.compare-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.compare-table tbody th small { display: block; font-family: var(--sans); font-size: var(--fs-xs); color: var(--ink-3); }
.compare-table s { color: var(--ink-3); font-size: var(--fs-xs); }
.compare-table td:last-child { text-align: right; padding-right: 0; }
.pack-compare-section { border-top: 1px solid var(--line); }
.pack-compare-section .assure { margin-top: 2rem; }

/* Reassurance row (product page, shop, cart) */
.assure { display: grid; gap: .9rem 2rem; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.assure li { display: flex; gap: .75rem; align-items: center; color: var(--ink-2); font-size: var(--fs-small); }
.assure svg { flex: none; color: var(--forest); }
.assure a { color: var(--ink); }
@media (min-width: 800px) { .assure:not(.assure--compact) { grid-template-columns: repeat(3, 1fr); } }
.assure--compact { gap: .65rem; padding: 1rem 0; border-bottom: 0; }
.assure--compact li { font-size: var(--fs-xs); }

/* Help band (closing deep-green band on shop pages) */
.help-band h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); }

/* ---------- Product page ---------- */
.pdp { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem) 0 clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.pdp-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .pdp-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5.5rem); } }

.gallery { position: relative; min-width: 0; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.gallery-stage {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  border-radius: var(--radius-m); background: var(--card); border: 1px solid var(--line); box-shadow: 0 50px 90px -70px rgba(20, 32, 24, .5);
}
.gallery-stage::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; margin: 0; position: relative; overflow: hidden; }
.gallery-zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-zoom:focus-visible { outline: 2px solid var(--forest); outline-offset: -4px; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-slide.is-pack img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
@media (hover: hover) and (pointer: fine) { .gallery-slide.is-zoomed img { transform: scale(1.7); } }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .9rem; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.gallery-thumb { flex: none; width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); overflow: hidden; cursor: pointer; transition: border-color .25s var(--ease); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[data-variant] img { object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.gallery-thumb:hover { border-color: var(--line-strong); }
.gallery-thumb.is-current { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.gallery-dots { display: none; justify-content: center; gap: .4rem; margin: .9rem 0 0; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease), background-color .3s var(--ease); }
.gallery-dots span.is-current { width: 18px; background: var(--gold); }
@media (max-width: 599px) { .gallery-thumbs { display: none; } .gallery-dots { display: flex; } }

.buybox { min-width: 0; }
.pdp-title { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); line-height: .98; letter-spacing: -.028em; margin-bottom: .6rem; }
.pdp-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); color: var(--ink-2); margin-bottom: 1.25rem; }
.pdp-rating { display: inline-flex; text-decoration: none; margin-bottom: 1rem; }
.pdp-price { padding: 1.25rem 0; border-block: 1px solid var(--line); margin-bottom: 1.25rem; }
.pdp-price .per-day { margin-top: .45rem; }
.pdp-short { color: var(--ink-2); font-size: 1.0625rem; max-width: 52ch; }

.pack-options { border: 0; padding: 0; margin: 1.5rem 0 1.25rem; min-width: 0; }
.pack-options legend { font-size: var(--fs-small); font-weight: 500; margin-bottom: .75rem; padding: 0; }
.pack-option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.pack-option { position: relative; cursor: pointer; }
.pack-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pack-option-box {
  height: 100%; display: flex; flex-direction: column; gap: .15rem; padding: .9rem .9rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pack-option:hover .pack-option-box { border-color: var(--forest); }
.pack-option input:checked + .pack-option-box { border-color: var(--forest); background: var(--sage-wash); box-shadow: inset 0 0 0 1px var(--forest); }
.pack-option input:focus-visible + .pack-option-box { outline: 2px solid var(--forest); outline-offset: 2px; }
.pack-option.is-out { cursor: not-allowed; }
.pack-option.is-out .pack-option-box { opacity: .55; background: var(--paper-2); }
.pack-option-days { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); line-height: 1.1; font-variant-numeric: lining-nums; }
.pack-option-sub { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.35; min-height: 2.7em; }
.pack-option-price { margin-top: .4rem; font-weight: 600; font-size: var(--fs-small); font-variant-numeric: tabular-nums lining-nums; }
.pack-option-price s { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); }
.pack-option-day { font-size: var(--fs-xs); color: var(--forest); }
.pack-option-out { font-size: var(--fs-xs); color: var(--problem); }
@media (max-width: 559px) {
  .pack-option-grid { grid-template-columns: 1fr; }
  .pack-option-box { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .1rem; padding: .85rem 1rem; }
  .pack-option-days { grid-column: 1; }
  .pack-option-sub { grid-column: 1; min-height: 0; }
  .pack-option-price { grid-column: 2; grid-row: 1; margin: 0; text-align: right; }
  .pack-option-day, .pack-option-out { grid-column: 2; grid-row: 2; text-align: right; }
}

.buy-row { display: flex; gap: .75rem; margin-bottom: .75rem; }
.buy-add { flex: 1; --bh: 52px; }
.buy-now { --bh: 52px; }
.buy-stock { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-small); color: var(--forest); margin: 1rem 0 0; }
.buy-stock.is-out { color: var(--problem); }
.pdp-facts { margin: 1.75rem 0 0; display: grid; border-top: 1px solid var(--line); }
.pdp-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.pdp-facts dt { color: var(--ink-3); }
.pdp-facts dd { margin: 0; }

/* Sticky in-page navigation */
.pdp-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50; background: rgba(245, 243, 236, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.pdp-nav ul { display: flex; gap: .25rem 1.75rem; overflow-x: auto; scrollbar-width: none; }
.pdp-nav ul::-webkit-scrollbar { display: none; }
.pdp-nav a { position: relative; display: inline-flex; align-items: center; min-height: 52px; white-space: nowrap; text-decoration: none; font-size: var(--fs-small); font-weight: 500; color: var(--ink-3); }
.pdp-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pdp-nav a:hover, .pdp-nav a.is-current { color: var(--ink); }
.pdp-nav a.is-current::after { transform: scaleX(1); }
.is-pdp { scroll-padding-top: calc(var(--header-h) + 72px); }
html:has(.is-pdp) { scroll-padding-top: calc(var(--header-h) + 72px); }

.pdp-section { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); border-bottom: 1px solid var(--line); }
.pdp-section.faq { border-bottom: 0; }
.pdp-overview { display: grid; gap: 2rem 5rem; }
.pdp-overview-head h2 { font-size: var(--fs-h2); letter-spacing: -.022em; line-height: 1.02; }
@media (min-width: 960px) { .pdp-overview { grid-template-columns: .9fr 1.1fr; } }
.highlights { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlights li { display: grid; gap: .75rem; align-content: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); }
.highlights svg { color: var(--gold); }
.highlights h3 { font-size: 1.25rem; line-height: 1.2; }
.highlights p { font-size: var(--fs-small); color: var(--ink-2); margin: .35rem 0 0; }

.pdp-blocks { background: var(--paper-2); }
.block-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .block-grid { grid-template-columns: 1fr 1fr; } .info-card--lead { grid-row: span 2; } }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); min-width: 0; }
.info-card h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 1.1; margin-bottom: .75rem; }
.info-card h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.info-card--lead { background: var(--forest-2); color: var(--on-dark); border-color: transparent; }
.info-card--lead h2 { color: var(--on-dark); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
.info-card--lead .info-intro, .info-card--lead .tick-list li { color: var(--on-dark-2); }
.info-card--lead .tick-list svg { color: var(--gold-soft); }
.info-card--lead .info-kicker { color: var(--gold-soft); }
.info-card--lead .info-note { color: var(--gold-soft); border-top-color: rgba(243, 241, 232, .16); }
.info-kicker { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--gold); margin-bottom: .9rem; }
.info-kicker svg { width: 18px; height: 18px; }
.info-intro { color: var(--ink-2); }
.info-sub { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-3); margin: 1.5rem 0 .5rem; }
.info-note { font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--forest); margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.tick-list { display: grid; gap: .65rem; }
.tick-list li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; color: var(--ink-2); }
.tick-list svg { margin-top: .2rem; color: var(--forest); }
.dash-list li { position: relative; padding-left: 1.25rem; margin-bottom: .5rem; color: var(--ink-2); font-size: var(--fs-small); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold); }

.usage-grid { counter-reset: use; display: grid; gap: 1rem; }
@media (min-width: 700px) { .usage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .usage-grid { grid-template-columns: repeat(4, 1fr); } }
.usage-card { counter-increment: use; padding: 1.5rem; border-top: 2px solid var(--gold); background: var(--card); border-radius: 0 0 var(--radius-m) var(--radius-m); }
.usage-card::before { content: counter(use, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; }
.usage-card h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 1rem; }
.usage-card dl { margin: 0 0 1rem; display: grid; gap: .35rem; font-size: var(--fs-small); }
.usage-card dl div { display: grid; grid-template-columns: 3.5rem 1fr; gap: .5rem; }
.usage-card dt { color: var(--ink-3); }
.usage-card dd { margin: 0; font-weight: 500; }
.usage-card p { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }

.formulation-title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 1rem; max-width: 14ch; }
.ingredients .formulation { margin-bottom: 0; align-items: start; }
@media (min-width: 960px) { .ingredients .formulation-figure { position: sticky; top: calc(var(--header-h) + 90px); } }
.herb-details { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.herb-detail { border-bottom: 1px solid var(--line); }
.herb-detail summary { list-style: none; display: grid; grid-template-columns: 1fr auto 14px; align-items: baseline; gap: 1rem; padding: 1rem 0; min-height: 56px; cursor: pointer; }
.herb-detail summary::-webkit-details-marker { display: none; }
.herb-detail summary::after { content: ""; width: 12px; height: 12px; align-self: center; background: linear-gradient(var(--forest), var(--forest)) center / 12px 1.5px no-repeat, linear-gradient(var(--forest), var(--forest)) center / 1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.herb-detail[open] summary::after { transform: rotate(45deg); }
.herb-detail summary:hover .herb-name { color: var(--forest); }
.herb-detail p { color: var(--ink-2); font-size: var(--fs-small); max-width: 62ch; padding-bottom: 1.25rem; margin: 0; }

.evidence-band { background: var(--forest-2); color: var(--on-dark); border-bottom: 0; }
.evidence-band .section-head p { color: var(--on-dark-2); }
.evidence-band .kicker { color: var(--gold-soft); }
.evidence-band .fine-print { color: var(--on-dark-2); margin-top: 0; }
.evidence-band .text-link { color: var(--gold-soft); }
.evidence-band :focus-visible { outline-color: var(--gold-soft); }
.metric-row { margin: 0; display: grid; border-top: 1px solid rgba(243, 241, 232, .16); }
@media (min-width: 700px) { .metric-row { grid-template-columns: repeat(3, 1fr); } }
.metric { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid rgba(243, 241, 232, .16); }
@media (min-width: 700px) { .metric { border-bottom: 0; } .metric + .metric { border-left: 1px solid rgba(243, 241, 232, .16); padding-left: 1.75rem; } }
.metric dt { display: grid; gap: .4rem; }
.metric-value { font-family: var(--serif); font-size: clamp(3rem, 2rem + 4vw, 5.2rem); line-height: .9; letter-spacing: -.03em; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.metric-label { font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); }
.metric dd { margin: .5rem 0 0; font-size: var(--fs-small); color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.evidence-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 3rem; margin-top: 2rem; }

.review-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; }
.review h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 1rem; color: var(--ink-2); }
.review-by { font-size: var(--fs-small); color: var(--ink-3); margin: 0; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--line-strong); }
.stars .on { color: var(--gold); }
.stars-count { margin-left: .5rem; font-size: var(--fs-small); color: var(--ink-2); }

.delivery-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .delivery-grid { grid-template-columns: 1fr 1fr; } }
.delivery-grid .text-link { margin-top: .5rem; }

/* Mobile buy bar on the product page */
.buy-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(251, 250, 246, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); transition: transform .35s var(--ease); }
.buy-sticky.is-visible { transform: none; }
.buy-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--wrap); margin: 0 auto; }
.buy-sticky-info { min-width: 0; display: grid; }
.buy-sticky-name { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-sticky-meta { font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.buy-sticky .btn { --bh: 46px; flex: none; }
@media (min-width: 960px) { .buy-sticky { display: none; } }
body.has-buy-sticky { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { body.has-buy-sticky { padding-bottom: 0; } }

/* ---------- Cart page ---------- */
.cart-page, .checkout, .order-page, .search-page, .account { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem) 0 clamp(4rem, 3rem + 4vw, 7rem); }
.cart-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .cart-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4rem; } }
.cart-page .cart-lines { border-top: 1px solid var(--line-strong); }
.cart-page .cart-line { grid-template-columns: 104px 1fr auto; padding: 1.5rem 0; }
.cart-page .cart-thumb { width: 104px; height: 104px; }
.cart-page .cart-name { font-size: 1.45rem; }
@media (max-width: 479px) { .cart-page .cart-line { grid-template-columns: 76px 1fr; } .cart-page .cart-thumb { width: 76px; height: 76px; } .cart-page .cart-price { grid-column: 2; text-align: left; } }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); box-shadow: var(--shadow-card); display: grid; gap: 1rem; min-width: 0; }
.summary-card h2 { font-size: 1.6rem; }
.summary-card > .text-link { justify-self: center; }
@media (min-width: 960px) { .summary-card--sticky, .cart-grid .summary-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.cart-suggest { border-top: 1px solid var(--line); }
.cart-suggest .pdp-h2 { margin-top: 0; }

.sum-lines { display: grid; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; font-size: var(--fs-small); }
.sum-thumb { position: relative; width: 64px; height: 64px; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); }
.sum-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: var(--radius-s); }
.sum-qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 11px; line-height: 22px; text-align: center; font-weight: 600; }
.sum-name { display: grid; min-width: 0; }
.sum-name span { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.sum-name small { color: var(--ink-3); font-size: var(--fs-xs); }
.sum-price { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* ---------- Checkout ---------- */
.is-checkout main { min-height: 70vh; }
.checkout-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3.5rem; } }
@media (max-width: 959px) { .checkout-grid .summary-card { order: -1; } }
.checkout-account { display: flex; gap: .75rem; align-items: center; font-size: var(--fs-small); color: var(--ink-2); padding: 1rem 1.25rem; background: var(--paper-2); border-radius: var(--radius-m); margin-bottom: 1.5rem; }
.checkout-account svg { flex: none; color: var(--forest); }
.co-step { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); margin: 0 0 1.25rem; min-width: 0; }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .75rem; font-family: var(--serif); font-size: 1.45rem; padding: 0; margin-bottom: 1.25rem; }
.co-step legend + * { clear: both; }
.co-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: .95rem; font-variant-numeric: lining-nums; }
.co-subhead { font-size: 1.2rem; margin: 1.25rem 0 1rem; }
.co-step > .check { clear: both; margin-top: .25rem; }
.co-submit { --bh: 58px; font-size: 1.05rem; margin-top: .5rem; }
.co-legal { font-size: var(--fs-xs); color: var(--ink-3); margin-top: 1rem; }
.saved-addresses { display: grid; gap: .6rem; margin-bottom: 1.25rem; clear: both; }
@media (min-width: 640px) { .saved-addresses { grid-template-columns: 1fr 1fr; } }
.saved-address, .pay-option { position: relative; cursor: pointer; display: block; }
.saved-address input, .pay-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.saved-address > span, .pay-box { display: block; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: #fff; font-size: var(--fs-small); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.saved-address input:checked + span, .pay-option input:checked + .pay-box { border-color: var(--forest); background: var(--sage-wash); box-shadow: inset 0 0 0 1px var(--forest); }
.saved-address input:focus-visible + span, .pay-option input:focus-visible + .pay-box { outline: 2px solid var(--forest); outline-offset: 2px; }
.saved-address .addr { font-size: var(--fs-small); }
.pay-options { display: grid; gap: .6rem; margin-bottom: 1.25rem; clear: both; }
.pay-label { display: block; font-weight: 600; }
.pay-note { display: block; color: var(--ink-2); font-size: var(--fs-xs); margin-top: .25rem; }
.trust-list { display: grid; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.trust-list li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; font-size: var(--fs-xs); color: var(--ink-2); }
.trust-list svg { color: var(--forest); margin-top: .1rem; }
.field [aria-invalid="true"] { border-color: var(--problem); box-shadow: 0 0 0 3px rgba(154, 74, 50, .12); }
.field-error { display: block; }
.form-status--ok { color: var(--forest); font-weight: 500; }

/* ---------- Auth pages ---------- */
.auth { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(4rem, 3rem + 4vw, 7rem); }
.auth-grid { display: grid; gap: 2rem; align-items: stretch; }
@media (min-width: 960px) { .auth-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } .auth-grid--single { grid-template-columns: minmax(0, 520px); justify-content: center; } }
.auth--single .auth-card { max-width: 520px; margin: 0 auto; }
.auth-aside {
  position: relative; overflow: hidden; border-radius: var(--radius-m); padding: clamp(2rem, 1.5rem + 2vw, 3.25rem); color: var(--on-dark);
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23D9C69C' stroke-opacity='.22'%3E%3Cellipse cx='200' cy='200' rx='196' ry='124'/%3E%3Cellipse cx='200' cy='200' rx='158' ry='98'/%3E%3Cellipse cx='200' cy='200' rx='118' ry='72'/%3E%3C/svg%3E") no-repeat right -40% bottom -30% / 130%;
  display: flex; flex-direction: column;
}
.auth-aside-title { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 2rem; }
.auth-benefits { display: grid; gap: 1rem; margin-bottom: 2rem; }
.auth-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; color: var(--on-dark-2); font-size: var(--fs-small); }
.auth-benefits svg { color: var(--gold-soft); }
.auth-pack { width: min(260px, 60%); margin: auto 0 -1rem auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); mix-blend-mode: normal; border-radius: var(--radius-m); background: var(--card); }
@media (max-width: 959px) { .auth-aside { display: none; } }
.auth-card { align-self: center; }
.auth-title { font-family: var(--serif); font-size: clamp(2.2rem, 1.7rem + 1.8vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: .5rem; }
.auth-lead { color: var(--ink-2); margin-bottom: 1.75rem; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .25rem 0 1.25rem; font-size: var(--fs-small); }
.auth-row a { color: var(--forest); }
.auth-card form > .check { margin: .5rem 0 1.25rem; }
.auth-switch { text-align: center; font-size: var(--fs-small); color: var(--ink-2); margin: 1.25rem 0 0; }
.auth-switch a { color: var(--forest); font-weight: 500; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 4.5rem; }
.pw-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 .8rem; border: 0; background: none; color: var(--forest); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; border-radius: 999px; }
.pw-toggle:hover { background: var(--sage-wash); }

/* ---------- Account ---------- */
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line-strong); }
.account-head .page-title { margin-bottom: .25rem; }
.account-head p { margin: 0; font-size: var(--fs-small); }
.account-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .account-grid { grid-template-columns: 240px 1fr; gap: 3.5rem; } .account-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.account-nav ul { display: grid; gap: .25rem; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 48px; padding: 0 1rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); font-size: var(--fs-small); font-weight: 500; background: none; border: 0; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: rgba(29, 36, 32, .05); color: var(--ink); }
.account-nav a[aria-current] { background: var(--sage-wash); color: var(--forest); }
.account-nav svg { flex: none; }
@media (max-width: 959px) {
  .account-nav ul { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .account-nav ul::-webkit-scrollbar { display: none; }
  .account-nav a, .account-nav button { width: auto; white-space: nowrap; border: 1px solid var(--line-strong); border-radius: 999px; min-height: 44px; }
  .account-nav a[aria-current] { border-color: var(--forest); }
  .account-nav svg { width: 16px; height: 16px; }
}
.dash-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.dash-card h2, .account-main .info-card > h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; margin-bottom: 1rem; }
.dash-card h2 svg { color: var(--gold); }
.dash-figure { font-family: var(--serif); font-size: 3.4rem; line-height: 1; margin: 0 0 .25rem; color: var(--forest); font-variant-numeric: lining-nums; }
.dash-card .text-link, .address-card .text-link { margin-top: .5rem; }
.addr { font-style: normal; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
.order-list { border-top: 1px solid var(--line); }
.order-row a { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem; padding: 1rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 6px; transition: background-color .2s; }
.order-row a:hover { background: var(--sage-wash); }
.order-row-thumbs { display: flex; }
.order-row-thumbs img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); }
.order-row-thumbs img + img { margin-left: -12px; }
.order-row-main { display: grid; min-width: 0; }
.order-row-main strong { font-weight: 600; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.order-row-main small { color: var(--ink-3); font-size: var(--fs-xs); }
.order-row-total { font-variant-numeric: tabular-nums; font-size: var(--fs-small); }
@media (max-width: 559px) { .order-row a { grid-template-columns: 1fr auto; } .order-row-thumbs { display: none; } .order-row-status { grid-column: 1; grid-row: 2; } .order-row-total { grid-row: 1 / span 2; grid-column: 2; } }
.status-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .65rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-confirmed, .status-processing { background: var(--sage-wash); color: var(--forest); }
.status-shipped, .status-out_for_delivery { background: #F1E9D8; color: #6E5423; }
.status-delivered { background: var(--forest); color: var(--on-dark); }
.status-cancelled { background: rgba(154, 74, 50, .1); color: var(--problem); }
.address-grid { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 700px) { .address-grid { grid-template-columns: 1fr 1fr; } }
.address-card { position: relative; }
.address-actions { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .75rem; }
.address-card--add { display: grid; place-items: center; min-height: 180px; border: 1px dashed var(--line-strong); border-radius: var(--radius-m); }
.dash-grid--2 { align-items: start; }

/* ---------- Order page and progress ---------- */
.order-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: start; margin-bottom: 2rem; }
.order-meta { color: var(--ink-2); font-size: var(--fs-small); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.order-lead { color: var(--ink-2); max-width: 60ch; }
.order-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.order-progress { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin-bottom: 1.5rem; }
.order-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 960px) { .order-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.order-side { display: grid; gap: 1.25rem; }
.order-side .info-card h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.order-side .info-card p { font-size: var(--fs-small); margin: 0 0 .25rem; }
.tracking-info { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 3rem; font-size: var(--fs-small); }
.tracking-info dt { color: var(--ink-3); font-size: var(--fs-xs); }
.tracking-info dd { margin: 0; font-weight: 500; }

.tracker { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.tracker-step { position: relative; display: grid; justify-items: center; text-align: center; gap: .45rem; padding: 0 .25rem; }
.tracker-step::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.tracker-step:first-child::before { display: none; }
.tracker-step.is-done::before, .tracker-step.is-current::before { background: var(--forest); }
.tracker-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line-strong); color: var(--on-dark); }
.tracker-dot svg { width: 14px; height: 14px; }
.is-done .tracker-dot { background: var(--forest); border-color: var(--forest); }
.is-current .tracker-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(169, 132, 63, .18); }
.tracker-label { font-size: var(--fs-small); font-weight: 500; color: var(--ink); line-height: 1.25; }
.is-todo .tracker-label { color: var(--ink-3); font-weight: 400; }
.tracker-time { font-size: var(--fs-xs); color: var(--ink-3); min-height: 1.2em; }
@media (max-width: 759px) {
  .tracker { grid-template-columns: 1fr; gap: 0; }
  .tracker-step { grid-template-columns: 30px 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 1rem; padding: 0 0 1.4rem; }
  .tracker-step::before { left: 14px; right: auto; top: -1.4rem; bottom: auto; width: 2px; height: calc(1.4rem + 0px); }
  .tracker-step:last-child { padding-bottom: 0; }
}
.tracker--cancelled { padding: 1rem 1.25rem; border-left: 2px solid var(--problem); background: rgba(154, 74, 50, .06); }
.tracker--cancelled p { margin: 0; }

/* ---------- Search page ---------- */
.search-inline { display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; max-width: 680px; margin-bottom: 1.5rem; }
.search-inline svg { flex: none; color: var(--ink-3); }
.search-inline input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.05rem; min-height: 44px; }
.search-inline input:focus { outline: none; }
.search-inline:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(38, 64, 43, .15); }
.result-list { border-top: 1px solid var(--line-strong); }
.result-list a { display: grid; gap: .2rem; padding: 1.25rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 6px; }
.result-list a:hover { background: var(--sage-wash); }
.result-kind { font-size: var(--fs-xs); color: var(--gold); font-weight: 600; letter-spacing: .03em; }
.result-title { font-family: var(--serif); font-size: 1.4rem; }
.result-text { font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- Empty states ---------- */
.empty-state { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: clamp(2.5rem, 2rem + 3vw, 5rem) 1rem; }
.empty-state--left { justify-items: start; text-align: left; padding-left: 0; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage-wash); color: var(--forest); margin-bottom: .75rem; }
.empty-state h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.empty-state p { color: var(--ink-2); max-width: 46ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }

/* ---------- Quick view and lightbox ---------- */
.qv { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100% - 2rem)); width: 100%; max-height: calc(100% - 2rem); overflow: visible; }
.qv::backdrop { background: rgba(20, 28, 23, .5); }
.qv-inner { position: relative; display: grid; background: var(--paper); border-radius: var(--radius-m); overflow: auto; max-height: calc(100vh - 2rem); box-shadow: var(--shadow-float); }
@media (min-width: 760px) { .qv-inner { grid-template-columns: 1fr 1fr; } }
.qv-media { background: var(--card); display: grid; place-items: center; aspect-ratio: 1; }
.qv-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.qv-body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; gap: .5rem; }
.qv-body h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); line-height: 1.02; }
.qv-body .pdp-sub { margin-bottom: .5rem; }
.qv-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; background: var(--paper); }
.qv .pack-options { margin: .75rem 0; }
.qv-actions { display: grid; gap: .6rem; margin-top: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 20, 17, .92); display: grid; grid-template-rows: auto 1fr auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); opacity: 0; transition: opacity .25s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; color: var(--on-dark-2); font-size: var(--fs-small); }
.lightbox .icon-btn-round { color: var(--on-dark); border-color: rgba(243, 241, 232, .3); }
.lightbox .icon-btn-round:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); color: #fff; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: 0 1rem; position: relative; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; }
.lightbox-caption { color: var(--on-dark); font-family: var(--serif); font-size: 1.15rem; text-align: center; padding: 1rem; margin: 0; }
.lightbox :focus-visible { outline-color: var(--gold-soft); }

/* Toast (added to cart, saved…) */
.toast-host { position: fixed; z-index: 180; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: .5rem; width: max-content; max-width: calc(100% - 2rem); pointer-events: none; }
.site-toast { pointer-events: auto; display: flex; align-items: center; gap: .75rem; background: var(--forest-2); color: var(--on-dark); padding: .8rem 1.1rem; border-radius: 999px; font-size: var(--fs-small); box-shadow: var(--shadow-float); animation: toast-in .35s var(--ease) both; }
.site-toast svg { color: var(--gold-soft); flex: none; }
.site-toast a { color: var(--gold-soft); font-weight: 600; }
.site-toast.is-error { background: var(--problem); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
body.has-buy-sticky .toast-host { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Content pages (CMS section types) ---------- */
.page-intro { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.page-intro-grid { display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 960px) { .page-intro-grid { grid-template-columns: 1.15fr 1fr; } }
.page-intro-title { font-size: clamp(2.8rem, 1.7rem + 4.4vw, 5.4rem); line-height: .98; letter-spacing: -.03em; max-width: 15ch; }
.page-intro-text p { font-size: 1.125rem; color: var(--ink-2); max-width: 54ch; }
.page-intro-figure { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-intro-figure img { width: 100%; border-radius: var(--radius-m); aspect-ratio: 21 / 9; object-fit: cover; box-shadow: 0 50px 90px -60px rgba(20, 32, 24, .55); }
@media (max-width: 699px) { .page-intro-figure img { aspect-ratio: 4 / 3; } }

.profile-list { display: grid; border-top: 1px solid var(--line-strong); }
.profile { display: grid; gap: 1.5rem 4rem; padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .profile { grid-template-columns: 230px 1fr; } }
@media (min-width: 1080px) { .profile { grid-template-columns: 260px 1fr; } .profile-body { max-width: 68ch; } }
.profile-photo { align-self: start; width: min(230px, 60vw); background: var(--card); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.profile-photo img { width: 100%; aspect-ratio: 23 / 30; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.92); }
@media (min-width: 760px) { .profile-photo { position: sticky; top: calc(var(--header-h) + 2rem); } }
.profile-role { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .05em; color: var(--gold); margin-bottom: .5rem; text-transform: uppercase; }
.profile-name { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1.25rem; }

.pub-list { border-top: 1px solid var(--line-strong); }
.pub { display: grid; grid-template-columns: 2.75rem 1fr; gap: .25rem 1rem; }
.pub-no { font-family: var(--serif); color: var(--gold); font-size: 1.15rem; line-height: 1.6; font-variant-numeric: lining-nums; }
.pub h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.25; margin-bottom: .6rem; max-width: 52ch; }
.pub-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: .25rem 0 0; }
.pub-links .text-link { min-height: 40px; }
.badge-review { background: #E8E4F0; color: #4A3F6B; }

.res-group { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin: 2.5rem 0 1rem; }
.section-head + .res-group { margin-top: 0; }
.res-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; display: grid; gap: .5rem; align-content: start; }
.res-name { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); margin: 0; }
.res-change { font-family: var(--serif); font-size: clamp(2.2rem, 1.8rem + 1.3vw, 3rem); line-height: 1; color: var(--forest); margin: 0; font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.res-vals { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .5rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.res-vals dt { font-size: var(--fs-xs); color: var(--ink-3); }
.res-vals dd { margin: 0; font-variant-numeric: tabular-nums lining-nums; font-weight: 500; }
.res-vals small { color: var(--ink-3); font-weight: 400; }
.res-bars { display: grid; gap: 4px; margin-top: .4rem; }
.res-bars span { display: block; height: 6px; width: var(--w); border-radius: 3px; background: var(--line-strong); }
.res-bars span + span { background: var(--forest); }
.cms-tone-forest .res-card { background: rgba(255,255,255,.04); border-color: rgba(243,241,232,.16); }

.data-table tbody th { font-weight: 500; }
.data-table td { font-variant-numeric: tabular-nums lining-nums; }
.data-table td:last-child { font-weight: 600; color: var(--forest); }
.dt-group th { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; padding-top: 1.75rem; color: var(--ink); background: transparent; }
@media (max-width: 699px) { .data-table tbody th { position: sticky; left: 0; background: var(--paper); } .cms-tone-paper2 .data-table tbody th { background: var(--paper-2); } }

.office-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .office-grid { grid-template-columns: 1fr 1fr; } }
.office { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.office-map { aspect-ratio: 16 / 9; background: var(--paper-2); }
.office-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.office-body { padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); display: grid; gap: .6rem; align-content: start; }
.office-body h3 { font-size: 1.6rem; }
.office-body address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.office-body p { margin: 0; }
.office-body a:not(.text-link) { color: var(--ink); text-decoration: none; }
.office-body a:not(.text-link):hover { color: var(--forest); text-decoration: underline; }

.press-grid { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.press-grid li[hidden] { display: none; }
.press-grid figure { display: grid; gap: .6rem; }
.press-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper-2); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.press-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-slow), filter .6s var(--ease); filter: saturate(.85); }
.press-open:hover img { transform: scale(1.04); filter: none; }
.press-grid figcaption { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.35; }

.post-grid { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, 1fr); } .post-grid--feature .post-card--feature { grid-column: span 3; } }
.post-card[hidden] { display: none; }
.post-card a { display: grid; gap: 1rem; text-decoration: none; height: 100%; }
.post-media { display: block; border-radius: var(--radius-m); overflow: hidden; background: var(--paper-2); }
.post-media img { width: 100%; aspect-ratio: 3 / 1.4; object-fit: cover; transition: transform 1.2s var(--ease-slow); }
.post-media-empty { display: block; aspect-ratio: 3 / 1.4; background: var(--sage-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23A9843F' stroke-opacity='.35'%3E%3Cellipse cx='200' cy='200' rx='196' ry='124'/%3E%3Cellipse cx='200' cy='200' rx='166' ry='104'/%3E%3C/svg%3E") center / 70% no-repeat; }
.post-card a:hover img { transform: scale(1.03); }
.post-body { display: grid; gap: .4rem; }
.post-tag { font-size: var(--fs-xs); font-weight: 600; color: var(--gold); letter-spacing: .03em; }
.post-title { font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.65rem); line-height: 1.2; color: var(--ink); }
.post-card a:hover .post-title { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
.post-excerpt { font-size: var(--fs-small); color: var(--ink-2); }
.post-meta { font-size: var(--fs-xs); color: var(--ink-3); }
@media (min-width: 1080px) {
  .post-card--feature a { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; }
  .post-card--feature .post-title { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1.05; letter-spacing: -.02em; }
  .post-card--feature .post-media img, .post-card--feature .post-media-empty { aspect-ratio: 3 / 1.5; }
}
.posts--related .post-grid { margin-top: 0; }

.article-head { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.article-head-inner { max-width: 820px; }
.article-title { font-size: clamp(2.4rem, 1.6rem + 3.3vw, 4.4rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.article-excerpt { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.4; color: var(--ink-2); max-width: 46ch; }
.article-meta { font-size: var(--fs-small); color: var(--ink-3); }
.article-figure { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.article-figure img { width: 100%; border-radius: var(--radius-m); aspect-ratio: 3 / 1; object-fit: cover; }

.shop-strip { background: var(--card); border-block: 1px solid var(--line); padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.shop-strip-inner { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
@media (min-width: 760px) { .shop-strip-inner { grid-template-columns: 140px 1fr auto; } }
.shop-strip-img { width: 140px; height: 140px; object-fit: contain; mix-blend-mode: multiply; }
.shop-strip-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; margin-bottom: .4rem; }
.shop-strip-copy p { color: var(--ink-2); margin: 0; }
.shop-strip-copy .kicker { margin-bottom: .6rem; }

/* ---------- Reveal on scroll (one gentle rise, only below the fold) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-slow), transform .8s var(--ease-slow); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Print: orders print cleanly ---------- */
@media print {
  .cart-drawer, .search-layer, .drawer-scrim, .buy-sticky, .order-actions, .crumbs, .checkout-header, .checkout-footer, .account-nav { display: none !important; }
  .order-progress, .summary-card, .info-card { box-shadow: none; border-color: #ccc; }
}

/* =========================================================
   Header: language button, Buy Now
   ========================================================= */
.nav-list a { white-space: nowrap; }
.lang-link { width: auto; min-width: 44px; padding: 0 .55rem; gap: .3rem; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; font: 500 .8125rem/1 var(--sans); color: var(--ink-2); cursor: pointer; border-radius: 999px; }
.lang-code { min-width: 1.2em; text-align: left; letter-spacing: .02em; }
.header-order { display: none; }
@media (min-width: 640px) { .header-order { display: inline-flex; } }
@media (min-width: 1080px) and (max-width: 1399px) { .header-consult { display: none; } }
@media (max-width: 420px) { .lang-code { display: none; } .lang-link { min-width: 40px; padding: 0; } }
.mobile-menu-foot .btn + .btn { margin-top: .6rem; }

/* =========================================================
   Language pop-up
   ========================================================= */
.lang-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1rem; background: rgba(20, 30, 23, .55); opacity: 0; transition: opacity .25s var(--ease); }
.lang-modal.is-open { opacity: 1; }
.lang-modal[hidden] { display: none; }
.lang-card { position: relative; width: min(100%, 460px); max-height: calc(100dvh - 2rem); overflow: auto; background: var(--card); border-radius: 18px; border-top: 3px solid var(--gold); padding: 2rem 1.5rem 1.5rem; text-align: center; box-shadow: 0 40px 90px -40px rgba(10, 20, 14, .65); transform: translateY(12px); transition: transform .3s var(--ease); }
.lang-modal.is-open .lang-card { transform: none; }
.lang-close { position: absolute; top: .6rem; right: .6rem; }
.lang-logo { width: 112px; height: auto; margin: 0 auto 1rem; }
.lang-title { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--forest-2); }
.lang-sub { margin: .25rem 0 0; color: var(--ink-2); font-size: var(--fs-small); }
.lang-options { display: grid; gap: .6rem; margin: 1.5rem 0 1.1rem; }
.lang-option { display: grid; gap: .1rem; text-align: left; width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.lang-option:hover, .lang-option:focus-visible { border-color: var(--forest); background: var(--sage-wash); }
.lang-option.is-current { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.lang-option-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--forest-2); }
.lang-option-note { font-size: var(--fs-xs); color: var(--ink-3); }
.lang-fine { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }

/* Google Translate: keep the page as designed (no banner, no tooltips, no layout shift) */
.gt-host { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { background: transparent !important; box-shadow: none !important; }

/* =========================================================
   Section headings in a premium green panel (Settings → "Show section
   headings in a green box"). The panel is the one used for the clinical
   statement: deep forest, a gold line on top, rounded corners. It is used
   only on light backgrounds; on green bands, cards and forms headings stay
   plain. The panel's left edge sits on the same line as the text below it,
   and headings step down a size so a panel never looks heavy.
   (Zero specificity: every section keeps its own layout rules.)
   ========================================================= */
body.hl-headings { --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.55rem); }
:where(.hl-headings:not(.is-shop):not(.is-account)) :where(main section h2:not(.visually-hidden)),
:where(.hl-headings) :where(.further-title, .pdp-h2) {
  display: block; width: fit-content; max-width: 100%;
  margin-left: 0; margin-right: auto;
  background: var(--forest); color: var(--on-dark);
  border-top: 2px solid var(--gold); border-radius: var(--radius-m);
  padding: .48em .78em .56em;
  text-wrap: balance;
  box-shadow: 0 26px 50px -40px rgba(20, 32, 24, .6);
}
:where(.hl-headings) :where(main section h2) :where(em, i) { color: var(--gold-soft); }

/* Plain headings: dark bands, cards, forms, the hero and small interface headings */
.hl-headings :is(.cms-tone-forest, .ayurveda, .institutions, .final-cta, .evidence-band, .dx-claim, .cb,
  .info-card, .form-card, .summary, .empty-state, .notice, .office, .qv, .post-card, .hero, .hero-slide, .media-slot, .filters,
  .study-card, .bb-card, .profile, .acc-item, .shop-strip, .cms-b--heading) h2,
.hl-headings h2.dx-claim-text {
  width: auto; background: none; color: inherit; padding: 0; border: 0; border-radius: 0; box-shadow: none;
}
.hl-headings :is(.cms-tone-forest, .ayurveda, .institutions, .final-cta, .evidence-band, .cb) h2 { color: var(--on-dark); }

/* Small screens: a slimmer panel */
@media (max-width: 599px) {
  :where(.hl-headings) :where(main section h2:not(.visually-hidden)) { padding: .42em .66em .5em; border-radius: 8px; }
}
.hl-headings h2.display-quote { font-size: var(--fs-h2); }

/* Header on laptops: the logo never shrinks; the menu tightens before anything wraps */
.brand { flex: none; }
@media (min-width: 1080px) and (max-width: 1279px) {
  .header-inner { gap: 1.25rem; }
  .nav-list > li > a, .sub-toggle { padding-inline: .6rem; font-size: .9rem; }
  .lang-code, .account-link { display: none; }
  .lang-link { min-width: 40px; padding: 0; }
}
