/* ===================================================================
   Afro Curated Boutique — design system
   Rooted in Africa. Styled for the world.
   One stylesheet: tokens, base, components, page sections, responsive.
   =================================================================== */

:root {
  --bg:        #F5EFE6;   /* page background      */
  --bg-warm:   #FBF7F0;   /* alt section bg       */
  --bg-tan:    #EDE4D5;   /* page-head band       */
  --card:      #EAE0CF;   /* product image bg     */
  --dark:      #141210;   /* near-black           */
  --ink:       #1c1712;   /* headings             */
  --ink-2:     #2b2721;   /* body text            */
  --muted:     #5b5346;
  --muted-2:   #6b6152;
  --muted-3:   #8a7f6d;
  --muted-4:   #a2967f;
  --line:      #e5dccb;
  --line-2:    #e2d9c9;
  --gold:      #A9772E;   /* primary accent       */
  --gold-2:    #B0863A;
  --gold-soft: #F0E6D3;
  --green:     #5c7a52;   /* success / in-stock   */
  --danger:    #b0533a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Jost', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --wrap: 1400px;
  --pad: 56px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -.01em; }
button { font-family: var(--sans); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 13.5px; letter-spacing: .22em; font-weight: 600; color: var(--gold); text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ---- section title with diamond divider ---- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; letter-spacing: .08em; }
.rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.rule span.line { width: 44px; height: 1px; background: #c9ad78; }
.rule span.dot { color: var(--gold); font-size: 12px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-size: 13.5px; letter-spacing: .16em; font-weight: 600; padding: 15px 32px; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s; text-transform: uppercase; }
.btn svg { width: 15px; height: 15px; }
.btn-dark { background: var(--dark); color: var(--bg); }
.btn-dark:hover { background: #2a2520; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #976824; }
.btn-full { width: 100%; }
.btn-added { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #3c4043; border: 1px solid #d3ccbe; border-radius: 8px; padding: 12px 16px;
  font: 600 14.5px Jost; letter-spacing: .02em; cursor: pointer; transition: background .15s, box-shadow .15s; }
.btn-google:hover { background: #faf7f1; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.btn-google:disabled { opacity: .6; cursor: default; }
.auth-or { display: flex; align-items: center; text-align: center; color: #a99e8a; font-size: 12.5px;
  letter-spacing: .1em; margin: 18px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: #e6dcca; }
.auth-or span { padding: 0 14px; text-transform: uppercase; }

/* ---- form fields ---- */
.fld { width: 100%; border: 1px solid #cdbfa8; background: #fff; padding: 13px 14px;
  font: 400 15px var(--sans); color: var(--ink-2); outline: none; border-radius: 2px; }
.fld:focus { border-color: var(--gold); }
select.fld { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%238a7f6d' stroke-width='1.4'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
textarea.fld { resize: vertical; }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted-3); margin-bottom: 7px; display: block; }

/* =====================================================================
   HEADER (injected by site.js into #site-header)
   ===================================================================== */
.topbar { background: var(--dark); color: #e6ded1; min-height: 44px; display: flex; align-items: center;
  justify-content: center; position: relative; font-size: 13px; letter-spacing: .14em; font-weight: 500; padding: 6px 16px; text-align: center; }
.topbar .dot { color: var(--gold); margin: 0 14px; }
.topbar .socials { position: absolute; right: 30px; display: flex; gap: 16px; align-items: center; color: #d8cfc0; }
.topbar .socials a { display: flex; }

.site-header { background: var(--bg); position: sticky; top: 0; z-index: 200; border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px var(--pad); }
.brand img { height: 92px; width: auto; }
.main-nav { display: flex; gap: 34px; align-items: center; font-size: 14px; letter-spacing: .13em; font-weight: 500; }
.main-nav a { color: #3a352d; padding-bottom: 4px; border-bottom: 1.5px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); border-color: var(--gold); }
.header-icons { display: flex; gap: 22px; align-items: center; color: var(--ink-2); }
.header-icons a, .header-icons button { color: var(--ink-2); background: none; border: none; cursor: pointer; padding: 0; display: flex; }
.cart-link { position: relative; }
.cart-count { position: absolute; top: -7px; right: -8px; background: var(--gold); color: #fff; font-size: 10px;
  font-weight: 600; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 4px; }

/* mobile drawer */
.mobile-nav { position: fixed; inset: 0 auto 0 0; width: min(82vw, 330px); background: var(--bg); z-index: 400;
  transform: translateX(-100%); transition: transform .3s ease; box-shadow: 30px 0 60px -30px rgba(0,0,0,.4);
  display: flex; flex-direction: column; padding: 26px 26px 40px; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { padding: 15px 4px; font-size: 16px; letter-spacing: .08em; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav .close { align-self: flex-end; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); margin-bottom: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(20,18,16,.45); z-index: 350; opacity: 0; visibility: hidden; transition: opacity .28s; }
.scrim.open { opacity: 1; visibility: visible; }

/* =====================================================================
   FOOTER (injected by site.js into #site-footer)
   ===================================================================== */
.site-footer { background: var(--bg); color: var(--muted); padding: 56px var(--pad) 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 38px; border-bottom: 1px solid #e2d9c9; }
.footer-grid img { height: 80px; width: auto; margin-bottom: 14px; }
.footer-grid p { font-size: 14.5px; line-height: 1.7; max-width: 280px; margin: 0; }
.footer-col h4 { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: .06em; color: var(--ink); margin: 0 0 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col .links a:hover { color: var(--gold); }
.newsletter-form { display: flex; border: 1px solid #cdbfa8; }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 11px 14px; font: 400 14px var(--sans); color: var(--ink-2); outline: none; }
.newsletter-form button { background: var(--dark); color: var(--bg); border: none; padding: 0 18px; font: 600 12px var(--sans); letter-spacing: .14em; cursor: pointer; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; letter-spacing: .04em; flex-wrap: wrap; }
.pay-badges { display: flex; gap: 8px; }
.pay-badges span { border: 1px solid #d8ccb8; padding: 4px 9px; border-radius: 4px; font-size: 10.5px; font-weight: 600; color: #7a7264; }
.admin-link { display: flex; align-items: center; gap: 6px; color: #a89e8c; font-size: 12.5px; letter-spacing: .1em; border-left: 1px solid #d8ccb8; padding-left: 14px; }

/* =====================================================================
   WhatsApp floating button
   ===================================================================== */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .18s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab svg { width: 30px; height: 30px; }

/* =====================================================================
   BREADCRUMB + PAGE HEAD
   ===================================================================== */
.crumb { padding: 30px var(--pad) 0; font-size: 13px; letter-spacing: .06em; color: var(--muted-3); }
.crumb a { color: var(--muted-3); }
.crumb a:hover { color: var(--gold); }
.crumb .here { color: var(--ink-2); }
.page-head { background: var(--bg-tan); padding: 42px var(--pad) 40px; }
.page-head h1 { font-size: 46px; margin: 8px 0 10px; }
.page-head p { font-size: 16px; line-height: 1.6; color: var(--muted-2); max-width: 560px; margin: 0; }

/* =====================================================================
   HOME — hero
   ===================================================================== */
.hero { position: relative; min-height: 548px; background: var(--bg-tan); overflow: hidden; display: flex; align-items: center; }
.hero-img { position: absolute; top: 0; right: 0; width: 56%; height: 100%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; background: linear-gradient(90deg, #EFE7D9 72%, rgba(239,231,217,0)); z-index: 1; }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 470px; padding: 60px 0; }
.hero-copy h1 { font-size: 64px; line-height: 1.04; margin: 18px 0 22px; }
.hero-copy p { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 360px; margin: 0 0 32px; }
.hero-badge { position: absolute; right: 78px; top: 50%; transform: translateY(-50%); z-index: 3; width: 132px; height: 132px;
  border-radius: 50%; border: 1.5px solid #cbb58a; background: rgba(20,18,16,.42); backdrop-filter: blur(2px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f0e7d5; text-align: center; }
.hero-badge div { font-size: 10.5px; letter-spacing: .18em; font-weight: 600; line-height: 1.5; }

/* value strip */
.value-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.value-strip .cell { padding: 26px 34px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.value-strip .cell:last-child { border-right: none; }
.value-strip .cell svg { flex: 0 0 auto; }
.value-strip h5 { font-weight: 700; font-size: 13.5px; letter-spacing: .09em; color: var(--ink); margin: 0 0 5px; }
.value-strip p { font-size: 13.5px; line-height: 1.5; color: #7a7264; margin: 0; }

/* category rail */
.section { padding: 66px var(--pad) 74px; }
.section.warm { background: var(--bg-warm); border-top: 1px solid #ece2d1; }
.rail { display: flex; align-items: center; gap: 16px; }
.rail .arrow { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cbb896;
  background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rail-track { flex: 1; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.rail-track::-webkit-scrollbar { height: 6px; }
.rail-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 3px; }
.cat-tile { flex: 0 0 300px; position: relative; height: 330px; background: var(--card); overflow: hidden; display: block; scroll-snap-align: start; border-radius: 3px; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 48px 22px 22px;
  background: linear-gradient(to top, rgba(20,18,16,.85), rgba(20,18,16,.12) 72%, rgba(20,18,16,0)); }
.cat-tile .cap h3 { font-size: 21px; letter-spacing: .04em; margin: 0; color: #fff; }
.cat-tile .cap span { background: var(--bg); color: var(--ink); font-size: 10.5px; letter-spacing: .16em; font-weight: 600; padding: 8px 15px; }
@media (max-width: 760px) {
  /* The absolutely-positioned social icons overlapped the centred announcement
     text on narrow screens. Hide them here - they stay in the footer + contact page. */
  .topbar .socials { display: none; }
  .topbar { letter-spacing: .1em; padding: 7px 14px; }
}
@media (max-width: 640px) {
  /* On phones the arrow carousel clipped tiles. Show a clean 2-up grid instead. */
  .rail { gap: 0; }
  .rail .arrow { display: none; }
  .rail-track { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; padding: 4px 0 4px; scroll-snap-type: none; }
  .cat-tile { flex: none; width: auto; height: 210px; }
  .cat-tile .cap { padding: 40px 15px 15px; }
  .cat-tile .cap h3 { font-size: 16.5px; }
}

/* =====================================================================
   PRODUCT GRID + CARD (shop, home featured, related)
   ===================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 30px; }
.home-grid { gap: 36px 28px; }
.product-card { display: flex; flex-direction: column; }
.product-card .frame { display: block; position: relative; overflow: hidden; background: var(--card); aspect-ratio: 4/5; }
.product-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card .frame:hover img { transform: scale(1.045); }
.product-card .frame .pc-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.product-card .frame:hover .pc-alt { opacity: 1; }
.badge { position: absolute; top: 13px; left: 13px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; }
.badge.dark { background: var(--dark); color: var(--bg); }
.badge.gold { background: var(--gold); color: #fff; }
.badge.sale { background: #b0322a; color: #fff; }
.price .was, .pdp-price .was { color: var(--muted-3, #9a8f7c); text-decoration: line-through; font-weight: 400; margin-right: 4px; }
.soldout-veil { position: absolute; inset: 0; z-index: 3; background: rgba(245,239,230,.5); display: flex; align-items: center; justify-content: center; }
.soldout-veil span { background: var(--dark); color: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 8px 16px; }
.product-card .meta { padding-top: 15px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.product-card .name { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.product-card .sub { font-size: 13.5px; color: var(--muted-3); margin: 3px 0 8px; }
.swatches { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 11px; }
/* Header search */
.icon-btn { background: none; border: none; padding: 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; }
.search-overlay { position: fixed; inset: 0; background: rgba(20,18,16,.5); backdrop-filter: blur(2px); z-index: 500; display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; }
.search-overlay.open { display: flex; }
.search-box { display: flex; align-items: center; gap: 12px; width: min(560px, 90vw); background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.28); color: var(--muted, #6b6152); }
.search-box input { flex: 1; border: none; outline: none; font: 400 17px var(--sans, sans-serif); color: var(--ink, #1c1712); background: transparent; }
.search-close { background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted2, #8a7f6d); cursor: pointer; padding: 0 2px; }

.swatch { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); transition: transform .12s ease, box-shadow .12s ease; }
a.swatch { cursor: pointer; }
a.swatch:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(0,0,0,.35); }
.price { font-size: 15.5px; font-weight: 600; color: var(--gold); margin-top: auto; }
.price .cur { font-size: 12px; color: #b3a891; font-weight: 500; }
.card-add { margin-top: 12px; }
.notify-btn { margin-top: 12px; display: block; border: 1px solid #b7ab97; color: var(--muted-2); padding: 10px; font-size: 12px; letter-spacing: .14em; font-weight: 600; text-align: center; }

/* story band (home) */
.story-band { background: var(--dark); display: grid; grid-template-columns: 42% 58%; min-height: 400px; }
.story-band .copy { padding: 70px var(--pad); display: flex; flex-direction: column; justify-content: center; }
.story-band .copy h2 { font-size: 42px; line-height: 1.12; color: var(--bg); margin: 0 0 22px; }
.story-band .copy p { font-size: 16px; line-height: 1.75; color: #b8ae9d; max-width: 400px; margin: 0 0 32px; }
.story-band .imgs { display: grid; grid-template-columns: repeat(3, 1fr); }
.story-band .imgs img { width: 100%; height: 100%; object-fit: cover; }
.story-band .btn-outline { color: var(--bg); border-color: #6b6353; align-self: flex-start; }
.story-band .btn-outline:hover { background: rgba(255,255,255,.08); }

/* =====================================================================
   SHOP — filter bar
   ===================================================================== */
.filter-bar { background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px var(--pad);
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap; position: sticky; top: 99px; z-index: 20; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group .glbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted-4); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid #cdbfa8; background: #fff; color: #5c5445;
  font: 500 13.5px var(--sans); cursor: pointer; white-space: nowrap; transition: .15s; }
.chip.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.filter-sep { width: 1px; height: 26px; background: #e0d6c4; }
.filter-fields { display: contents; }
.filter-toggle { display: none; }
.filter-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.filter-right .count { font-size: 14px; color: var(--muted-3); }

/* =====================================================================
   PRODUCT DETAIL
   ===================================================================== */
.pdp { display: grid; grid-template-columns: 52% 48%; gap: 52px; padding: 22px var(--pad) 70px; align-items: start; max-width: var(--wrap); margin-inline: auto; }
.gallery { display: flex; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.thumbs button { width: 70px; height: 88px; padding: 0; border: 1px solid #d8ccb8; background: var(--card); cursor: pointer; overflow: hidden; }
.thumbs button.on { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-shot { flex: 1; position: relative; background: var(--card); aspect-ratio: 4/5; overflow: hidden; }
.main-shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding-top: 6px; }
.pdp-info .cat { font-size: 13px; letter-spacing: .18em; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.pdp-info h1 { font-size: 42px; line-height: 1.08; margin: 0 0 12px; }
.stars { color: #C9A24B; font-size: 16px; letter-spacing: 2px; }
.rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.rating-row span.txt { font-size: 14px; color: var(--muted-3); }
.pdp-price { font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
.pdp-price .cur { font-size: 14px; color: #b3a891; font-weight: 500; }
.pdp-desc { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 28px; max-width: 460px; }
.opt-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #3a352d; margin-bottom: 12px; }
.opt-label span { color: var(--muted-3); font-weight: 500; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; align-items: center; }
.swatch-lg { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.swatch-lg.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.swatch-img { width: 52px; height: 64px; padding: 0; border: 1px solid #e2dac9; border-radius: 8px; overflow: hidden; background: #f6f1e7; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch-img:hover { border-color: #cbb896; }
.swatch-img.on { border-color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold); }
.buy-row { display: flex; gap: 16px; align-items: stretch; margin-bottom: 18px; max-width: 460px; }
.qty { display: flex; align-items: center; border: 1px solid #cbb896; background: #fff; }
.qty button { width: 46px; height: 52px; border: none; background: transparent; font-size: 20px; color: #3a352d; cursor: pointer; }
.qty span { width: 44px; text-align: center; font-size: 16px; font-weight: 600; }
.buy-row .btn { flex: 1; }
.stock-note { font-size: 15px; font-weight: 500; margin-bottom: 26px; display: flex; align-items: center; gap: 7px; }
.stock-note .dot { width: 7px; height: 7px; border-radius: 50%; }
.accordion { border-top: 1px solid var(--line-2); }
.accordion .item { border-bottom: 1px solid var(--line-2); }
.accordion .head { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: none; padding: 17px 2px; cursor: pointer; font: 600 14.5px var(--sans); letter-spacing: .04em; color: var(--ink); }
.accordion .head .sign { font-size: 18px; color: var(--gold); }
.accordion .body { padding: 0 2px 18px; font-size: 14.5px; line-height: 1.7; color: var(--muted-2); max-width: 460px; }
.pdp-trust { display: flex; gap: 22px; margin-top: 22px; font-size: 13px; color: var(--muted-3); flex-wrap: wrap; }
.pdp-trust span { display: flex; align-items: center; gap: 7px; }

/* reviews */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.reviews .big { font-size: 44px; font-weight: 600; color: var(--ink); line-height: 1; }
.review { border-bottom: 1px solid #ece2d1; padding-bottom: 20px; }
.review .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.review .who { display: flex; align-items: center; gap: 11px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #E3D6BE; color: #7a5f2e; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.verified { font-size: 12px; color: #fff; background: #7a9a6d; padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; }

/* =====================================================================
   CART
   ===================================================================== */
.cart-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; padding: 0 var(--pad) 80px; align-items: start; max-width: var(--wrap); margin-inline: auto; }
.cart-head-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid #d8cdb8; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted-4); }
.cart-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.cart-line .info { display: flex; gap: 18px; align-items: center; }
.cart-line .thumb { width: 92px; height: 114px; background: var(--card); overflow: hidden; flex: 0 0 auto; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .nm { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.qty-sm { display: flex; align-items: center; border: 1px solid #cbb896; background: #fff; }
.qty-sm button { width: 34px; height: 40px; border: none; background: transparent; font-size: 18px; color: #3a352d; cursor: pointer; }
.qty-sm span { width: 34px; text-align: center; font-size: 15px; font-weight: 600; }
.line-total { width: 90px; text-align: right; font-size: 16px; font-weight: 600; color: var(--ink); }
.remove-btn { width: 20px; background: transparent; border: none; cursor: pointer; color: #b0a794; }
.summary { background: #fff; border: 1px solid #e6dcca; padding: 32px 30px; }
.summary h2 { font-size: 23px; margin: 0 0 22px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-bottom: 13px; }
.sum-row b { font-weight: 600; color: var(--ink); }
.ship-hint { background: #F3ECDD; border: 1px dashed #cbb280; padding: 11px 13px; font-size: 13px; color: #8a6f38; margin-bottom: 18px; line-height: 1.5; }
.promo { display: flex; gap: 8px; margin-bottom: 20px; }
.promo input { flex: 1; border: 1px solid #cdbfa8; background: #faf6ee; padding: 11px 13px; font: 400 14px var(--sans); outline: none; }
.promo button { background: #e7dcc7; border: none; padding: 0 18px; font: 600 12px var(--sans); letter-spacing: .1em; color: #5c5445; cursor: pointer; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid #e6dcca; margin-bottom: 22px; }
.sum-total .lbl2 { font-size: 17px; font-weight: 600; color: var(--ink); }
.sum-total .val { font-size: 24px; font-weight: 600; color: var(--ink); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--muted-3); }
.empty-state { text-align: center; padding: 80px var(--pad) 130px; }
.empty-state .ico { width: 82px; height: 82px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }

/* =====================================================================
   CHECKOUT
   ===================================================================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 448px; gap: 52px; padding: 0 var(--pad) 80px; align-items: start; max-width: var(--wrap); margin-inline: auto; }
.express-pay { display: flex; gap: 12px; margin-bottom: 30px; }
.express-pay button { flex: 1; border: none; padding: 13px; font: 600 14px var(--sans); border-radius: 4px; cursor: pointer; }
.or-divide { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--muted-4); font-size: 13px; }
.or-divide span.l { flex: 1; height: 1px; background: #e0d6c4; }
.form-section-title { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.delivery-opt { display: flex; align-items: center; justify-content: space-between; border: 1px solid #d8ccb8; padding: 15px 18px; cursor: pointer; margin-bottom: 12px; }
.delivery-opt.sel { border: 1.5px solid var(--gold); background: #fbf5ea; }
.summary.sticky { position: sticky; top: 20px; }

/* =====================================================================
   AUTH
   ===================================================================== */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.auth-visual { position: relative; overflow: hidden; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual .veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,16,.7), rgba(20,18,16,.25)); }
.auth-visual .cap { position: absolute; left: var(--pad); bottom: var(--pad); right: var(--pad); color: var(--bg); }
.auth-visual .cap h2 { font-size: 34px; line-height: 1.18; max-width: 420px; color: var(--bg); }
.auth-stats { display: flex; gap: 26px; margin-top: 28px; }
.auth-stats .n { font-family: var(--serif); font-size: 26px; color: #e0b866; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 56px 40px; }
.auth-form { width: 100%; max-width: 400px; }
.tabs { display: flex; margin-bottom: 32px; border-bottom: 1px solid #e0d6c4; }
.tabs button { flex: 1; background: transparent; border: none; border-bottom: 2px solid transparent; padding: 14px 0; font: 600 15px var(--sans); letter-spacing: .04em; cursor: pointer; color: var(--muted-4); margin-bottom: -1px; }
.tabs button.on { border-color: var(--ink); color: var(--ink); }
.social-row { display: flex; gap: 12px; }
.social-row button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #d8ccb8; background: #fff; padding: 12px; font: 600 14px var(--sans); color: #3a352d; cursor: pointer; }

/* =====================================================================
   ACCOUNT
   ===================================================================== */
.account-layout { display: grid; grid-template-columns: 256px 1fr; gap: 34px; padding: 0 var(--pad) 80px; align-items: start; max-width: var(--wrap); margin-inline: auto; }
.account-side { background: #fff; border: 1px solid #eadfcc; border-radius: 10px; overflow: hidden; }
.account-side .who { padding: 22px 22px 18px; border-bottom: 1px solid #f0e9db; display: flex; align-items: center; gap: 12px; }
.account-side .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.account-side nav { padding: 12px; }
.account-side nav a { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500; cursor: pointer; color: #5c5445; }
.account-side nav a.on { color: #fff; background: var(--gold); font-weight: 600; }
.account-side nav a.signout { color: var(--danger); }
.acct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.acct-card { background: #fff; border: 1px solid #eadfcc; border-radius: 10px; padding: 22px; }
.acct-card.dark { background: var(--dark); color: var(--bg); }
.acct-card .k { font-size: 13.5px; color: #9a8f7c; margin-bottom: 8px; }
.acct-card.dark .k { color: #c7b58f; }
.acct-card .v { font-size: 28px; font-weight: 600; color: var(--ink); }
.acct-card.dark .v { color: var(--bg); }
.panel { background: #fff; border: 1px solid #eadfcc; border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.panel .phead { padding: 18px 24px; border-bottom: 1px solid #f0e9db; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; color: var(--ink); }
.orow { cursor: pointer; transition: background .12s; padding: 18px 24px; border-bottom: 1px solid #f4eee2; display: flex; align-items: center; gap: 18px; }
.orow:hover { background: #faf6ee; }
.orow .oth { display: flex; gap: 7px; }
.orow .oth span { width: 46px; height: 56px; border-radius: 5px; overflow: hidden; background: var(--card); }
.orow .oth img { width: 100%; height: 100%; object-fit: cover; }
.pill { font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* =====================================================================
   STORY / CONTACT shared
   ===================================================================== */
.band-dark { background: var(--dark); color: #e9e0d1; }
.founder { display: grid; grid-template-columns: 46% 54%; align-items: stretch; }
.founder .pic { min-height: 520px; }
.founder .pic img { width: 100%; height: 100%; object-fit: cover; }
.founder .copy { padding: 78px 64px; display: flex; flex-direction: column; justify-content: center; }
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.impact .n { font-family: var(--serif); font-weight: 500; font-size: 52px; color: var(--gold); line-height: 1; }
.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.maker { background: #fff; border: 1px solid #eadfcc; }
.maker .pic { height: 300px; overflow: hidden; }
.maker .pic img { width: 100%; height: 100%; object-fit: cover; }
.maker .copy { padding: 24px 26px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 0 12px; }
.value-card .ico { width: 58px; height: 58px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 70px var(--pad) 30px; align-items: start; max-width: var(--wrap); margin-inline: auto; }
.contact-info { background: var(--bg-warm); border: 1px solid #eadfcc; padding: 40px; }
.contact-info .item { display: flex; gap: 16px; }
.contact-info .item .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.social-circles { display: flex; gap: 12px; }
.social-circles a { width: 42px; height: 42px; border: 1px solid #d8ccb8; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  :root { --pad: 34px; }
  .hero-copy h1 { font-size: 52px; }
  .founder .copy, .story-band .copy { padding: 56px 40px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .brand img { height: 80px; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .value-strip .cell:nth-child(2) { border-right: none; }
  .value-strip .cell:nth-child(1), .value-strip .cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid { grid-template-columns: repeat(3, 1fr); }
  .story-band, .founder, .auth-split { grid-template-columns: 1fr; }
  .story-band .imgs { grid-template-columns: repeat(3, 1fr); height: 260px; }
  .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .summary.sticky { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .impact, .values { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .makers { grid-template-columns: 1fr; }
  .auth-visual { min-height: 300px; }
  .filter-bar { top: 83px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero-img { position: relative; width: 100%; height: 300px; }
  .hero-fade { display: none; }
  .hero-copy { max-width: none; padding: 40px 0 48px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-badge { display: none; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { flex-direction: column-reverse; }
  .thumbs { flex-direction: row; }
  .pdp-info h1 { font-size: 34px; }
  .page-head h1 { font-size: 34px; }
  .cart-head-row { display: none; }
  .cart-line { grid-template-columns: 1fr auto; grid-template-areas: "info info" "qty total" "qty remove"; gap: 12px 16px; }
  .cart-line .info { grid-area: info; }
  .founder .copy, .story-band .copy { padding: 44px var(--pad); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid .brandcol { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: 1fr; }
  /* Filters were sticky + tall on phones, trapping the products in a sliver.
     Collapse them behind a "Filter" toggle so products are visible right away. */
  .filter-bar { position: static; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px var(--pad); }
  .filter-sep { display: none; }
  .filter-right { margin-left: 0; justify-content: space-between; width: 100%; }
  .filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 12px 16px; border: 1px solid #cdbfa8; border-radius: 10px; background: #fff; color: var(--ink);
    font: 600 14px Jost; letter-spacing: .05em; cursor: pointer; }
  .filter-toggle .chev { transition: transform .2s ease; }
  .filter-bar.open .filter-toggle .chev { transform: rotate(180deg); }
  .filter-fields { display: none; flex-direction: column; gap: 16px; width: 100%; }
  .filter-bar.open .filter-fields { display: flex; }
  .filter-group { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* Mobile legibility: several areas used ~13px copy that reads too small on phones. */
@media (max-width: 760px) {
  .value-strip .cell { padding: 22px 20px; gap: 15px; }
  .value-strip h5 { font-size: 15px; }
  .value-strip p { font-size: 15px; line-height: 1.55; }
  .cat-tile .cap span { font-size: 12px; padding: 9px 16px; }
  .crumb { font-size: 14px; }
  .accordion .head { font-size: 16.5px; }
  .accordion .body { font-size: 16px; }
  .pdp-desc { font-size: 16.5px; line-height: 1.75; }
  .stock-note { font-size: 15px; }
  .footer-grid a, .footer-grid p, .footer-grid li { font-size: 15px; }
  .legal p, .legal li { font-size: 16.5px; }
}
/* account preview grids are inline-styled; collapse them on smaller screens */
@media (max-width: 760px) {
  .wish-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .addr-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  :root { --pad: 20px; }
  .wish-grid { grid-template-columns: 1fr !important; }
  .product-grid, .home-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .product-card .name { font-size: 17px; }
  .hero-copy h1 { font-size: 38px; }
  .section-title h2 { font-size: 26px; }
  .impact, .values, .acct-cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cat-tile { flex-basis: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn { padding: 14px 24px; }
}

/* ---------- legal / policy pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 10px var(--pad) 90px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; color: #1c1712; margin: 6px 0 8px; }
.legal .updated { font-size: 14.5px; color: #8a7f6d; margin: 0 0 36px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 23px; color: #1c1712; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.8; color: #6b6152; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #A9772E; font-weight: 600; }
.legal .fill { background: #fbeeda; border-bottom: 1px solid #e0c98f; padding: 1px 7px; border-radius: 3px; color: #7a5f1a; font-weight: 600; }
.legal .note { background: #faf6ee; border: 1px solid #e8dcc4; border-radius: 10px; padding: 18px 22px; margin: 0 0 30px; }
.legal .note p { margin: 0; font-size: 15px; }
@media (max-width: 640px) { .legal h1 { font-size: 30px; } .legal h2 { font-size: 20px; } }
