/* Stonevana — theme
   Palette: bone ground, ink text, moss accent, terracotta for sale. */

:root {
  --bg:        #F7F2EA;
  --bg-raise:  #FDFBF7;
  --ink:       #1B1712;
  --ink-soft:  #57503F;
  --muted:     #8A8171;
  --line:      #E4DCCB;
  --line-soft: #EDE7D9;
  --moss:      #414B3B;
  --moss-deep: #333B2E;
  --terra:     #A64B2A;
  --gold:      #B08D4F;
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
s { color: var(--muted); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-align: center;
  border: 1px solid var(--ink); transition: all .25s var(--ease);
}
.btn-dark { background: var(--ink); color: var(--bg-raise); }
.btn-dark:hover { background: var(--moss-deep); border-color: var(--moss-deep); }
.btn-light { background: var(--bg-raise); color: var(--ink); border-color: var(--bg-raise); }
.btn-light:hover { background: var(--ink); color: var(--bg-raise); border-color: var(--ink); }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg-raise); }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- Announcement + header ---------- */
.announcement {
  background: var(--moss); color: #EDEBE2; text-align: center;
  font-size: 12px; letter-spacing: .06em; padding: 8px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 242, 234, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 1px 24px rgba(27,23,18,.07); }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--ink-soft);
  padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink); transition: right .3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.logo {
  display: inline-flex; align-items: center; gap: 9px; justify-self: center;
  font-family: var(--serif); font-size: 21px; letter-spacing: .02em; white-space: nowrap;
}
.logo em { font-style: italic; color: var(--gold); }
.logo-mark { color: var(--moss); }
.header-actions { display: flex; gap: 4px; justify-self: end; align-items: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.nav-toggle { display: none; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px;
  background: var(--terra); color: #fff; border-radius: 99px;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center; padding: 0 4px;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.is-visible { transform: scale(1); }

/* search */
.search-bar { border-top: 1px solid var(--line-soft); background: var(--bg-raise); }
.search-inner {
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  padding: 14px clamp(20px, 4vw, 48px); color: var(--muted);
}
.search-inner input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); }
.search-results { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px,4vw,48px) 8px; }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.search-hit img { width: 48px; height: 48px; object-fit: cover; }
.search-hit .muted { font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #EFE7D9; }
.hero img { width: 100%; height: clamp(480px, 74vh, 720px); object-fit: cover; object-position: 70% 50%; }
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px);
}
.hero-content > * { max-width: 480px; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 300; margin-bottom: 18px; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p { font-size: 16px; color: var(--ink-soft); margin-bottom: 30px; max-width: 400px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 400; }
.section-link { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.section-link:hover { color: var(--terra); border-color: var(--terra); }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: block; }
.card-media { position: relative; overflow: hidden; background: #EFE8DA; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s; }
.card-hover-img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .card-hover-img { opacity: 1; }
.product-card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--bg-raise); color: var(--ink);
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; z-index: 2;
}
.badge-sale { background: var(--terra); color: #fff; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); z-index: 2;
  box-shadow: 0 8px 24px rgba(27,23,18,.14);
}
.product-card:hover .quick-add { opacity: 1; transform: none; }
.card-info { padding: 14px 2px 0; }
.card-origin { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--sans); font-size: 14.5px; font-weight: 500; margin: 3px 0 4px; }
.card-price { font-size: 14px; color: var(--ink-soft); }
.sale-price { color: var(--terra); font-weight: 600; }

/* ---------- Editorial rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.split-media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 20px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; max-width: 480px; }
.split .btn { margin-top: 12px; }

.value-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raise); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item { padding: 34px clamp(18px, 3vw, 44px); text-align: center; }
.value-item + .value-item { border-left: 1px solid var(--line-soft); }
.value-item h3 { font-size: 17px; margin: 10px 0 6px; }
.value-item p { font-size: 13.5px; color: var(--muted); max-width: 300px; margin: 0 auto; }
.value-item svg { color: var(--moss); }

/* testimonials */
.quote-band { background: var(--moss); color: #EDEBE2; text-align: center; }
.quote-band .eyebrow { color: #C9C4A9; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 30px); font-weight: 300; line-height: 1.4; max-width: 760px; margin: 0 auto 18px; }
.quote-band cite { font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #B8B39B; }
.quote-nav { margin-top: 26px; display: flex; gap: 10px; justify-content: center; }
.quote-nav button { width: 8px; height: 8px; border-radius: 50%; background: #6A7361; padding: 0; transition: background .2s; }
.quote-nav button.is-active { background: #EDEBE2; }

/* ---------- Collection page ---------- */
.collection-hero { position: relative; background: #EFE7D9; overflow: hidden; }
.collection-hero img { width: 100%; height: 300px; object-fit: cover; opacity: .9; }
.collection-hero .titles { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(rgba(27,23,18,.08), rgba(27,23,18,.24)); color: #fff; }
.collection-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 300; }
.collection-hero p { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; flex-wrap: wrap; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pills a { font-size: 13px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); transition: all .2s; }
.filter-pills a:hover { border-color: var(--ink); color: var(--ink); }
.filter-pills a.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg-raise); }
.sort-select { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.sort-select select { border: 1px solid var(--line); background: var(--bg-raise); padding: 8px 12px; font-size: 13px; color: var(--ink); }

/* ---------- Product page ---------- */
.breadcrumbs { font-size: 12.5px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding: 26px 0 clamp(56px, 7vw, 90px); }
.pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; position: sticky; top: 92px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button { border: 1px solid transparent; padding: 0; background: #EFE8DA; transition: border-color .2s; }
.pdp-thumbs button.is-active { border-color: var(--ink); }
.pdp-thumbs img { aspect-ratio: 1; object-fit: cover; }
.pdp-main { position: relative; overflow: hidden; background: #EFE8DA; aspect-ratio: 1; cursor: crosshair; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pdp-main .zoom-pane {
  position: absolute; inset: 0; background-repeat: no-repeat; background-size: 210%;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.pdp-main:hover .zoom-pane { opacity: 1; }

.pdp-info h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; margin: 4px 0 10px; }
.pdp-origin { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.stars { display: inline-flex; gap: 1.5px; }
.review-count { font-size: 12.5px; color: var(--muted); border-bottom: 1px dotted var(--muted); }
.pdp-price { font-size: 22px; font-family: var(--serif); margin-bottom: 4px; }
.pdp-price s { font-size: 17px; margin-right: 8px; }
.pdp-tax { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.pdp-short { color: var(--ink-soft); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }

.opt-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.opt-label span { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.variant-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.variant-pills label { position: relative; }
.variant-pills input { position: absolute; opacity: 0; }
.variant-pills span {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--line); font-size: 13px;
  color: var(--ink-soft); cursor: pointer; transition: all .15s; background: var(--bg-raise);
}
.variant-pills input:checked + span { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-pills input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: 2px; }

.buy-row { display: flex; gap: 12px; margin-bottom: 12px; }
.qty-box { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); background: var(--bg-raise); }
.qty-box button { width: 42px; font-size: 16px; color: var(--ink-soft); }
.qty-box button:hover { color: var(--ink); }
.qty-box input { width: 40px; text-align: center; border: 0; background: none; outline: none; font-weight: 600; -moz-appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.buy-later { width: 100%; margin-bottom: 20px; }
.pdp-assurance { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.pdp-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.pdp-assurance svg { color: var(--moss); flex: none; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 2px;
  font-weight: 500; font-size: 14px; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--serif); font-size: 20px; color: var(--muted); transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 2px 18px; color: var(--ink-soft); font-size: 14px; }
.props-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.props-table td { padding: 7px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.props-table td:first-child { color: var(--muted); width: 38%; padding-right: 14px; }

.pdp-desc { max-width: 720px; }
.pdp-desc p { margin-bottom: 16px; color: var(--ink-soft); }
.pdp-desc p:first-child::first-letter { font-family: var(--serif); font-size: 3.1em; float: left; line-height: .82; padding: 6px 10px 0 0; color: var(--moss); }

/* reviews */
.reviews-band { background: var(--bg-raise); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.review-card { background: var(--bg); border: 1px solid var(--line-soft); padding: 24px; }
.review-card .stars { margin-bottom: 10px; }
.review-card h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.review-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.review-card .who { font-size: 12px; color: var(--muted); }
.review-card .who b { color: var(--ink-soft); font-weight: 600; }
.verified { color: var(--moss); font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Cart page ---------- */
.cart-page { max-width: 900px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.cart-page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 30px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-prod { display: flex; gap: 18px; align-items: center; }
.cart-prod img { width: 84px; height: 84px; object-fit: cover; background: #EFE8DA; }
.cart-prod .variant { font-size: 12.5px; color: var(--muted); }
.line-remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.line-remove:hover { color: var(--terra); }
.cart-summary { margin-top: 28px; margin-left: auto; max-width: 340px; text-align: right; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.cart-summary .row strong { font-family: var(--serif); font-size: 20px; }

/* ---------- Drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(27,23,18,.42); z-index: 100;
  opacity: 0; transition: opacity .3s;
}
.drawer-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); z-index: 101;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease);
  box-shadow: -18px 0 60px rgba(27,23,18,.18);
}
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 14px; }
.drawer-head h2 { font-size: 21px; }
.freeship { padding: 0 24px 16px; border-bottom: 1px solid var(--line-soft); }
.freeship p { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.freeship b { color: var(--moss); }
.freeship-track { height: 3px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.freeship-bar { height: 100%; width: 0; background: var(--moss); border-radius: 99px; transition: width .5s var(--ease); }
.drawer-lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.drawer-line img { width: 76px; height: 76px; object-fit: cover; background: #EFE8DA; }
.drawer-line .t { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.drawer-line .v { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.drawer-line .price { font-size: 13.5px; text-align: right; }
.drawer-line .qty-box { transform: scale(.86); transform-origin: left; border-color: var(--line); }
.drawer-line .line-remove { display: block; margin-top: 8px; text-align: right; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); padding: 24px; }
.drawer-foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--bg-raise); }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.drawer-subtotal strong { font-family: var(--serif); font-size: 20px; }
.drawer-foot .small { margin-bottom: 14px; }
.view-cart-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; text-decoration: underline; color: var(--ink-soft); }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: var(--bg-raise); padding: 13px 26px; font-size: 13.5px;
  opacity: 0; transition: all .35s var(--ease); border-radius: 2px; max-width: 90vw; text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Checkout ---------- */
.checkout-body { background: var(--bg-raise); }
.checkout-shell { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); min-height: 100vh; }
.co-main { padding: clamp(28px, 4vw, 56px) clamp(22px, 5vw, 84px) 80px; max-width: 720px; justify-self: end; width: 100%; }
.co-side { background: var(--bg); border-left: 1px solid var(--line); padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 64px); }
.co-side-inner { position: sticky; top: 40px; max-width: 440px; }
.co-logo { display: inline-flex; margin-bottom: 26px; }
.co-crumbs { font-size: 12px; color: var(--muted); margin-bottom: 34px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-crumbs .sep { color: var(--line); }
.co-crumbs .is-current { color: var(--ink); font-weight: 600; }
.co-section { margin-bottom: 34px; }
.co-section h2 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.field { position: relative; margin-bottom: 12px; }
.field input, .field select {
  width: 100%; padding: 16px 13px 6px; border: 1px solid var(--line); border-radius: 5px;
  background: #fff; font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss); }
.field label {
  position: absolute; left: 13px; top: 11px; font-size: 13.5px; color: var(--muted);
  pointer-events: none; transition: all .15s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:valid + label {
  top: 4px; font-size: 10.5px; letter-spacing: .04em;
}
.field input::placeholder { color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.field .field-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; gap: 4px; }
.field.has-error input { border-color: #C43C22; box-shadow: 0 0 0 1px #C43C22; }
.field-error { font-size: 12px; color: #C43C22; margin: -6px 0 10px 2px; display: none; }
.field.has-error ~ .field-error, .field.has-error + .field-error { display: block; }

.ship-options, .pay-box { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.ship-opt { display: flex; align-items: center; gap: 12px; padding: 15px 14px; cursor: pointer; background: #fff; }
.ship-opt + .ship-opt { border-top: 1px solid var(--line); }
.ship-opt input { accent-color: var(--moss); width: 17px; height: 17px; }
.ship-opt .grow { flex: 1; font-size: 14px; }
.ship-opt .sub { font-size: 12.5px; color: var(--muted); }
.ship-opt .amt { font-size: 14px; font-weight: 600; }
.pay-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 14px; background: #fff; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pay-fields { padding: 14px; background: #FAFAF7; }
.demo-note {
  display: flex; gap: 10px; align-items: flex-start; background: #F4F1E6; border: 1px solid #E3DCC2;
  border-radius: 5px; padding: 11px 13px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 14px;
}
.demo-note svg { flex: none; margin-top: 2px; color: var(--gold); }
.demo-note button { text-decoration: underline; font-size: 12.5px; padding: 0; color: var(--moss); font-weight: 600; }

.co-pay-btn { width: 100%; padding: 17px; border-radius: 5px; background: var(--moss); color: #fff; font-size: 15px; font-weight: 600; border: 0; transition: background .2s; }
.co-pay-btn:hover { background: var(--moss-deep); }
.co-pay-btn[disabled] { opacity: .6; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.co-footer-links { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); display: flex; gap: 16px; }
.co-footer-links a { text-decoration: underline; }

.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; margin-bottom: 16px; }
.co-line .thumb { position: relative; }
.co-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #EFE8DA; }
.co-line .qty-bubble {
  position: absolute; top: -7px; right: -7px; background: var(--ink-soft); color: #fff;
  font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 99px; padding: 0 5px;
}
.co-line .t { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.co-line .v { font-size: 12px; color: var(--muted); }
.co-line .amt { font-size: 13.5px; }
.discount-row { display: flex; gap: 10px; margin: 20px 0; }
.discount-row input { flex: 1; padding: 13px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 13.5px; outline: none; }
.discount-row input:focus { border-color: var(--moss); }
.discount-row button { padding: 0 20px; border-radius: 5px; background: var(--line-soft); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: background .2s; }
.discount-row button:hover { background: var(--line); }
.discount-msg { font-size: 12.5px; margin: -10px 0 16px; }
.discount-msg.ok { color: var(--moss); }
.discount-msg.err { color: #C43C22; }
.co-totals { border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
.co-totals .row { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--ink-soft); }
.co-totals .row.grand { font-size: 16px; color: var(--ink); align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-totals .grand strong { font-family: var(--serif); font-size: 24px; }
.co-totals .currency { font-size: 11px; color: var(--muted); margin-right: 8px; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--line-soft); border-radius: 4px; padding: 3px 9px; font-size: 12px; }

/* thank you */
.thanks-wrap { max-width: 680px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px); }
.thanks-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.check-ring { width: 52px; height: 52px; border: 1.5px solid var(--moss); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--moss); flex: none; }
.thanks-head .muted { font-size: 13px; }
.thanks-head h1 { font-size: clamp(26px, 3.4vw, 36px); }
.thanks-card { border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; margin: 26px 0; background: var(--bg-raise); }
.thanks-card h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.thanks-card .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 13.5px; color: var(--ink-soft); }
.thanks-card .grid2 b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.footer-newsletter { background: var(--bg-raise); border-bottom: 1px solid var(--line); text-align: center; padding: clamp(44px, 6vw, 72px) 0; }
.footer-newsletter h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 24px auto 0; }
.newsletter-form input { flex: 1; padding: 14px 16px; border: 1px solid var(--line); background: #fff; outline: none; font-size: 14px; }
.newsletter-form input:focus { border-color: var(--ink); }
.newsletter-done { margin-top: 18px; color: var(--moss); font-weight: 500; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 60px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .logo { margin-bottom: 14px; font-size: 19px; }
.footer-brand .muted { font-size: 13.5px; max-width: 320px; }
.footer-head { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons svg { width: 38px; height: 24px; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: clamp(70px, 10vw, 140px) 20px; }
.page-404 h1 { font-size: clamp(34px, 5vw, 54px); margin: 18px 0 10px; }
.page-404 p { color: var(--muted); margin-bottom: 28px; }

/* static pages */
.static-page { max-width: 720px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) clamp(20px, 4vw, 48px); }
.static-page h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.static-page .lede { font-size: 17px; color: var(--ink-soft); margin-bottom: 34px; }
.static-page h2 { font-size: 24px; margin: 34px 0 12px; }
.static-page p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-raise); flex-direction: column; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(27,23,18,.1); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-flex; }
  .hide-mobile { display: none; }
  /* Stack the hero: image on top, text below on solid ground so it's readable */
  .hero { background: var(--bg); }
  .hero img { height: 58vw; min-height: 280px; max-height: 420px; object-position: 62% 50%; }
  .hero-content { position: static; padding-top: 30px; padding-bottom: 14px; }
  .hero-content > * { max-width: 100%; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero p { max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .split, .checkout-shell { grid-template-columns: 1fr; }
  .co-side { border-left: 0; border-bottom: 1px solid var(--line); order: -1; padding: 24px 22px; }
  .co-main { justify-self: stretch; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumbs button { width: 64px; }
  .value-grid, .reviews-grid { grid-template-columns: 1fr; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .quick-add { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 6px 0; border: 0; }
  .cart-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
}
