/* =========================================================================
   GAXEN AFRICA VENTURES — Master Stylesheet
   Brand palette only. No gradients. No drop shadows. Borders define structure.
   Mobile-first. Accessible contrast. Designed to feel hand-crafted.
   ========================================================================= */

:root {
  --gold: #F3BF4A;
  --gold-deep: #D6A12B;
  --gold-soft: #fbe7b0;
  --black: #111010;
  --ink: #1c1b1a;
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --mist: #f7f5f0;        /* light neutral for alternating sections */
  --line: #e4e0d6;         /* hairline borders */
  --line-dark: #2a2926;    /* borders on dark sections */
  --muted: #6c6a64;
  --muted-dark: #b9b6ad;

  --font-head: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --radius-lg: 4px;

  --ease: 160ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; color: var(--black); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
small { color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: var(--white); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 92px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--mist { background: var(--mist); }
.section--gold { background: var(--gold); color: var(--black); }
.section--gold h1, .section--gold h2, .section--gold h3 { color: var(--black); }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 52ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold); }
.section--gold .eyebrow { color: var(--black); }
.section--gold .eyebrow::before { background: var(--black); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); max-width: 60ch; }
.section--dark .section-head p { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease);
  text-align: center; line-height: 1.2;
}
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); color: var(--black); border-color: var(--gold-deep); }
.btn--black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--black:hover { background: var(--ink); color: var(--gold); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--black); }
.btn--gold-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--gold-outline:hover { background: var(--gold); color: var(--black); }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Announcement banner ---------- */
.announce {
  background: var(--gold); color: var(--black);
  font-size: .85rem; font-weight: 500; text-align: center;
  padding: .5rem var(--gutter);
}
.announce a { color: var(--black); text-decoration: underline; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 60px; width: auto; }
.brand-logo-footer { height: 96px; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links .nav-links-cta { display: none; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--black); border-bottom-color: var(--gold); }
.nav-links .has-drop { position: relative; }
.nav-drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--ease);
}
.has-drop:hover .nav-drop, .has-drop:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a { display: block; padding: .55rem 1rem; border: 0; font-size: .9rem; }
.nav-drop a:hover { background: var(--mist); color: var(--black); }
.nav-drop .drop-tag { font-size: .68rem; color: var(--gold-deep); letter-spacing: .12em; text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.nav-icon:hover { border-color: var(--black); color: var(--black); }
.nav-icon .badge { position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--black); font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); width: 42px; height: 42px; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--black); margin: 4px auto; transition: var(--ease); }
.drop-toggle { display: none; }

@media (max-width: 980px) {
  .nav-actions .desktop-only { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 310; }
  .nav { padding-block: .45rem; }
  .brand-logo { height: 48px; }

  /* Hamburger morphs into close X */
  .nav.open .nav-toggle { border-color: var(--line-dark); }
  .nav.open .nav-toggle span { background: var(--gold); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Brand + actions stay visible over the dark menu */
  .nav.open .brand, .nav.open .nav-actions { position: relative; z-index: 310; }
  .nav.open .nav-icon { border-color: var(--line-dark); color: var(--muted-dark); }

  /* Full-screen overlay menu */
  .nav-links {
    position: fixed; inset: 0; z-index: 300; display: flex;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); padding: 6rem var(--gutter) 2rem;
    overflow-y: auto; counter-reset: navitem;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }

  /* Staggered item reveal */
  .nav-links > li { counter-increment: navitem; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
  .nav.open .nav-links > li { opacity: 1; transform: none; }
  .nav.open .nav-links > li:nth-child(2) { transition-delay: .04s; }
  .nav.open .nav-links > li:nth-child(3) { transition-delay: .08s; }
  .nav.open .nav-links > li:nth-child(4) { transition-delay: .12s; }
  .nav.open .nav-links > li:nth-child(5) { transition-delay: .16s; }
  .nav.open .nav-links > li:nth-child(6) { transition-delay: .20s; }
  .nav.open .nav-links > li:nth-child(7) { transition-delay: .24s; }
  .nav.open .nav-links > li:nth-child(8) { transition-delay: .28s; }
  .nav.open .nav-links > li:nth-child(9) { transition-delay: .32s; }

  /* Menu links — numbered, editorial style */
  .nav.open .nav-links > li > a { display: flex; align-items: baseline; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--white); padding: .95rem 0; border-bottom: 1px solid var(--line-dark); letter-spacing: .01em; }
  .nav.open .nav-links > li:not(.nav-links-cta) > a::before { content: "0" counter(navitem); font-family: var(--font-body); font-size: .66rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .12em; margin-right: .9rem; }
  .nav.open .nav-links a:hover, .nav.open .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold-deep); }

  /* Submenu accordions */
  .nav.open .nav-links .has-drop { display: flex; flex-wrap: wrap; }
  .nav.open .nav-links .has-drop > a { flex: 1; }
  .nav.open .nav-links .drop-toggle { display: grid; place-items: center; width: 52px; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; color: var(--gold); }
  .nav.open .nav-links .drop-toggle svg { transition: transform var(--ease); }
  .nav.open .nav-links .has-drop.open > a { color: var(--gold); border-bottom-color: var(--gold-deep); }
  .nav.open .nav-links .has-drop.open > .drop-toggle svg { transform: rotate(180deg); }
  .nav.open .nav-drop { display: none; width: 100%; position: static; opacity: 1; visibility: visible; transform: none; border: 0; border-left: 1px solid var(--gold-deep); margin: .5rem 0 .7rem .25rem; padding: 0 0 .2rem 1.1rem; }
  .nav.open .has-drop.open > .nav-drop { display: block; }
  .nav.open .nav-drop a { padding: .5rem 0; border-bottom: 0; font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted-dark); }
  .nav.open .nav-drop a:hover { color: var(--gold); }

  /* Menu footer actions */
  .nav.open .nav-links .nav-links-cta { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }
}
body.nav-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero-inner { padding-block: clamp(56px, 9vw, 120px); display: grid; gap: 2rem; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero .lead { color: var(--muted-dark); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.5rem; border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); }
.hero-meta span { font-size: .8rem; color: var(--muted-dark); letter-spacing: .04em; }
.hero-figure { border: 1px solid var(--line-dark); padding: 1.5rem; display: grid; place-items: center; min-height: 280px; }
.hero-mark { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); color: var(--gold); letter-spacing: .04em; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.4fr .9fr; align-items: center; } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 32px); display: flex; flex-direction: column; gap: .75rem; transition: border-color var(--ease); }
.card:hover { border-color: var(--gold-deep); }
.card--dark { background: var(--black); color: var(--white); border-color: var(--line-dark); }
.card--dark h3 { color: var(--white); }
.card--dark:hover { border-color: var(--gold); }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: var(--black); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.card-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .55rem; border: 1px solid var(--line); color: var(--muted); }
.card-tag--active { color: var(--black); border-color: var(--gold); background: var(--gold-soft); }
.card-tag--soon { color: var(--muted-dark); border-color: var(--line-dark); }
.card-link { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--gold-deep); display: inline-flex; align-items: center; gap: .35rem; }
.card--dark .card-link { color: var(--gold); }
.card-link::after { content: "\2192"; transition: transform var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Division grid (Our Businesses) ---------- */
.division-card { position: relative; overflow: hidden; }
.division-card .num { font-family: var(--font-head); font-size: .9rem; color: var(--gold-deep); letter-spacing: .1em; }
.division-card h3 { font-size: 1.35rem; }
.division-card p { color: var(--muted); font-size: .95rem; }
.card--dark.division-card p { color: var(--muted-dark); }

/* ---------- Stats / numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat strong { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); display: block; }
.stat span { font-size: .85rem; color: var(--muted); }
.section--dark .stat span { color: var(--muted-dark); }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { border: 1px solid var(--line); min-height: 320px; display: grid; place-items: center; background: var(--mist); padding: 2rem; }
.split-media.dark { background: var(--black); color: var(--white); border-color: var(--line-dark); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; }
.feature-list li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: .55rem; background: var(--gold); }
.section--dark .feature-list li::before { background: var(--gold); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
/* Phones: keep 2-up, compact card interior so content stays readable */
@media (max-width: 620px) {
  .product-grid { gap: 8px; }
  .product-body { padding: 8px; gap: 4px; }
  .product-tag { font-size: .56rem; padding: .12rem .38rem; top: 7px; left: 7px; letter-spacing: 0; border-radius: var(--radius); line-height: 1.2; }
  .product-tag--save { right: 7px; }
  .product-brand { font-size: .58rem; letter-spacing: .06em; }
  .product-name { font-size: .82rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-rating { font-size: .7rem; gap: 4px; }
  .product-rating .star { font-size: .7rem; }
  .product-price { font-size: .98rem; }
  .product-unit { font-size: .66rem; }
  .price-was { font-size: .7rem; }
  .product-foot { padding-top: 8px; gap: 6px; }
  .add-btn { padding: 6px 4px; font-size: .7rem; gap: 4px; }
}

.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--ease); }
.product-card:hover { border-color: var(--gold-deep); }
.product-media { position: relative; aspect-ratio: 4/3; background: var(--mist); display: block; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-tag { position: absolute; top: 10px; left: 10px; background: var(--white); border: 1px solid var(--line); color: #2e6b3a; font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: 20px; letter-spacing: .02em; }
.product-tag--low, .product-tag.low { color: #8a6d1d; border-color: var(--gold); background: var(--gold-soft); }
.product-tag--out, .product-tag.out { color: #9a3a3a; border-color: #ecc; background: #fbf2f2; }
.product-tag--save { left: auto; right: 10px; background: var(--gold); color: var(--black); border-color: var(--gold-deep); }
.product-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.product-name { font-family: var(--font-head); font-size: .98rem; font-weight: 700; color: var(--black); line-height: 1.3; }
.product-name:hover { color: var(--gold-deep); }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; }
.star { color: #d9d4c9; font-size: .82rem; line-height: 1; }
.star.on { color: var(--gold-deep); }
.product-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; flex-wrap: wrap; }
.product-price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--black); white-space: nowrap; }
.product-unit { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.price-was { font-size: .82rem; color: var(--muted); text-decoration: line-through; text-decoration-color: #9a3a3a; white-space: nowrap; }
.save-badge { display: inline-flex; align-items: center; background: var(--gold-soft); color: #8a6d1d; border: 1px solid var(--gold); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.product-foot { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; }
.add-form { display: contents; }
.add-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--black); background: var(--white); color: var(--black); font-size: .8rem; font-weight: 600; cursor: pointer; transition: background var(--ease), color var(--ease); }
.add-btn:hover { background: var(--black); color: var(--white); }
.add-btn--view { border-color: var(--line); color: var(--muted); }
.add-btn--view:hover { border-color: var(--black); background: var(--white); color: var(--black); }

/* legacy single-thumb + stock badge (kept for any stragglers) */
.product-thumb { aspect-ratio: 4/3; background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-family: var(--font-head); font-size: 2rem; overflow: hidden; position: relative; }
.product-thumb--img { display: block; padding: 0; }
.product-thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb-label { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-deep); }
.product-card .price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--black); }
.product-card .price del { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: .4rem; }
.product-card .cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.badge-stock { font-size: .7rem; font-weight: 600; padding: .15rem .4rem; border: 1px solid var(--line); }
.badge-stock.in { color: #2e6b3a; border-color: #cfe6d2; background: #f1f9f2; }
.badge-stock.low { color: #8a6d1d; border-color: var(--gold); background: var(--gold-soft); }
.badge-stock.out { color: #9a3a3a; border-color: #ecc; background: #fbf2f2; }

/* ---------- Shop toolbar / catalogue ---------- */
.shop-meta { margin-bottom: .9rem; }
.shop-toolbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.shop-search { display: flex; gap: .5rem; margin-left: auto; }
.shop-search input { font-family: var(--font-body); font-size: .88rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .8rem; min-width: 200px; background: var(--white); color: var(--ink); }
.shop-search input:focus { border-color: var(--black); outline: none; }
.shop-controls { display: flex; align-items: center; gap: .6rem; }
.sort-select { font-family: var(--font-body); font-size: .85rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.sort-select:focus { border-color: var(--black); outline: none; }
.pager { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
@media (max-width: 760px) { .shop-toolbar { flex-direction: column; align-items: stretch; } .shop-search { margin-left: 0; } .shop-controls { justify-content: space-between; } }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr 0.72fr; gap: 2.2rem; align-items: start; }
.pd-media .media-frame { position: relative; }
.pd-tag { top: 14px; left: 14px; }
.pd-media .product-tag--save { left: auto; right: 14px; }
.pd-info .product-brand { margin-bottom: 4px; }
.pd-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 4px 0 10px; line-height: 1.2; }
.pd-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.pd-rating:hover span:last-child { color: var(--gold-deep); }
.pd-price { margin-bottom: 16px; }
.pd-price .product-price { font-size: 1.7rem; }
.pd-features { margin: 0 0 20px; padding: 0; list-style: none; }
.pd-features li { position: relative; padding: 5px 0 5px 22px; font-size: .92rem; color: var(--ink); }
.pd-features li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-soft); border: 4px solid var(--gold); box-sizing: border-box; }
.pd-buy { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.qty-step { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty-step input { width: 52px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: .55rem .2rem; font-family: var(--font-body); font-size: .95rem; color: var(--ink); -moz-appearance: textfield; }
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 38px; height: 38px; border: 0; background: var(--white); font-size: 1.05rem; color: var(--black); cursor: pointer; }
.qty-btn:hover { background: var(--mist); }
.pd-side { display: flex; flex-direction: column; gap: 14px; }
.pd-side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--white); }
.pd-side-box--gold { background: var(--gold-soft); border-color: var(--gold); }
.pd-side-box h3 { font-size: .95rem; margin-bottom: 10px; }
.pd-side-list { margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: 9px; }
.pd-side-list strong { color: var(--ink); }
.pd-meta { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.pd-meta > div { display: flex; justify-content: space-between; gap: 12px; }
.pd-meta > div > span:first-child { color: var(--muted); }
.pd-meta a { color: var(--ink); font-weight: 600; }
.pd-meta a:hover { color: var(--gold-deep); }
.pd-section { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 30px; }
.pd-section > h2 { font-size: 1.4rem; margin-bottom: 16px; }
.pd-section p { color: var(--ink); font-size: .95rem; max-width: 76ch; margin: 0 0 14px; }
.spec-table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: left; border: 1px solid var(--line); }
.spec-table th { width: 200px; font-weight: 600; color: var(--black); background: var(--mist); vertical-align: top; text-transform: none; letter-spacing: 0; font-size: .86rem; }
.spec-table tr:nth-child(even) td { background: #fbfaf6; }
.crumb-here { color: var(--ink); }
.img-thumb--btn { border: 1px solid var(--line); padding: 0; background: none; cursor: pointer; transition: border-color var(--ease); }
.img-thumb--btn:hover, .img-thumb--btn:focus-visible { border-color: var(--gold-deep); }
@media (max-width: 980px) { .pd-grid { grid-template-columns: 1fr 1fr; } .pd-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } .pd-side-box { flex: 1 1 220px; } }
@media (max-width: 640px) { .pd-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; }
.review-avg { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--black); line-height: 1; }
.review-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.review-bar { display: flex; align-items: center; gap: 8px; font-size: .78rem; }
.review-bar-track { flex: 1; height: 7px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.review-bar-fill { height: 100%; background: var(--gold-deep); }
.review-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review-item--mine { border-left: 3px solid var(--gold-deep); padding-left: 12px; }
.review-item p { margin: 6px 0 8px; font-size: .92rem; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verified-badge { font-size: .68rem; font-weight: 700; color: #2e6b3a; background: #f1f9f2; border: 1px solid #cfe6d2; padding: 2px 8px; border-radius: 99px; }
.yours-badge { font-size: .68rem; font-weight: 700; color: var(--black); background: var(--gold); border: 1px solid var(--gold-deep); padding: 2px 8px; border-radius: 99px; }
.review-edited { font-size: .72rem; color: var(--muted); font-style: italic; }
.review-meta { font-size: .78rem; color: var(--muted); }
.review-form-box { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 560px; background: var(--mist); }
.review-form-box h3 { font-size: 1rem; margin-bottom: 14px; }
.review-form { display: flex; flex-direction: column; gap: 12px; }
.review-form .btn { align-self: flex-start; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; max-width: 720px; }
.form-wide { max-width: 100%; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .8rem; transition: border-color var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } .field-row.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.form-card { border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); background: var(--white); }
.section--dark .form-card { background: var(--black); border-color: var(--line-dark); color: var(--white); }
.section--dark .form-card input, .section--dark .form-card select, .section--dark .form-card textarea { background: #1c1b1a; color: var(--white); border-color: var(--line-dark); }
.section--dark .form-card input:focus, .section--dark .form-card select:focus, .section--dark .form-card textarea:focus { border-color: var(--gold); }

/* ---------- Alerts ---------- */
.alert { padding: .8rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--gold-deep); font-size: .92rem; }
.alert--ok { border-left-color: #2e6b3a; background: #f4faf5; }
.alert--err { border-left-color: #9a3a3a; background: #fbf3f3; }
.alert--info { border-left-color: var(--gold-deep); background: #fdfaf0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { background: var(--mist); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
tbody tr:hover { background: var(--mist); }
.section--dark table th { background: #1c1b1a; color: var(--muted-dark); }
.section--dark th, .section--dark td { border-color: var(--line-dark); }

/* ---------- Status pills ---------- */
/* Our Businesses — compact 2-up cards on phones, minimal edge padding */
@media (max-width: 620px) {
  .container--flush-sm { padding-inline: 6px; }
  .division-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .division-grid .card { padding: 10px; gap: .4rem; }
  .division-grid .img-thumb { margin: -10px -10px .45rem; aspect-ratio: 4/3; }
  .division-grid .card-icon { width: 32px; height: 32px; font-size: .9rem; }
  .division-grid .num { font-size: .72rem; }
  .division-grid h3 { font-size: .95rem; }
  .division-grid p { font-size: .78rem; line-height: 1.45; margin-bottom: .4rem; }
  .division-grid .pill { font-size: .56rem; padding: .2rem .45rem; letter-spacing: .1em; }
  .division-grid .card-link { font-size: .78rem; }
}

.pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border: 1px solid var(--line); border-radius: 20px; letter-spacing: .03em; }
.pill--active { color: #2e6b3a; border-color: #2e6b3a; background: #f1f9f2; }
.pill--soon { color: var(--gold); border-color: var(--black); background: var(--black); text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; border-radius: var(--radius); padding: .28rem .6rem; }
.pill--dev { color: #6b6b6b; border-color: var(--line); }
.pill--unavail { color: #9a3a3a; border-color: #ecc; background: #fbf2f2; }

/* ---------- Timeline / tracking ---------- */
.timeline { display: grid; gap: 0; }
.timeline-step { display: flex; gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.timeline-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: -8px; width: 2px; background: var(--line); }
.timeline-step:last-child::before { display: none; }
.timeline-step .dot { flex: 0 0 28px; height: 28px; border: 2px solid var(--line); border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.timeline-step.done .dot { background: var(--gold); border-color: var(--gold-deep); color: var(--black); }
.timeline-step.done::before { background: var(--gold-deep); }
.timeline-step.current .dot { border-color: var(--black); color: var(--black); }
.timeline-step h4 { margin: 0 0 .2rem; font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.timeline-step small { color: var(--muted); }

/* ---------- Quote / CTA band ---------- */
.cta-band { background: var(--gold); color: var(--black); padding-block: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: var(--black); }
.cta-band p { color: #5a4a1a; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold); font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: var(--muted-dark); font-size: .92rem; display: inline-block; padding: .15rem 0; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand-logo-footer { max-width: 100%; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: var(--muted-dark); }
.footer-bottom a { color: var(--muted-dark); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: .6rem; }
.float-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold-deep); background: var(--gold); color: var(--black); font-size: 1.3rem; font-weight: 700; }
.float-btn:hover { background: var(--gold-deep); color: var(--black); }
.float-btn--dark { background: var(--black); color: var(--gold); border-color: var(--gold); }
.float-btn--dark:hover { background: var(--ink); }
.float-btn--wa { background: #25D366; color: #ffffff; border-color: #1ebe5a; }
.float-btn--wa:hover { background: #1ebe5a; color: #ffffff; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .82rem; color: var(--muted); padding-block: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--black); }
.crumbs span { margin: 0 .4rem; color: var(--line); }

/* ---------- Real imagery ---------- */
.media-frame {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--mist);
  position: relative;
}
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall img { min-height: 320px; aspect-ratio: 4/3; }
.media-frame--wide img { aspect-ratio: 16/9; }
.media-frame .media-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--black); color: var(--white);
  font-size: .75rem; padding: .5rem .9rem; letter-spacing: .04em;
  opacity: .92;
}
.section--dark .media-frame { border-color: var(--line-dark); background: var(--ink); }
.section--gold .media-frame { border-color: var(--gold-deep); }

.img-thumb {
  border: 1px solid var(--line); overflow: hidden;
  aspect-ratio: 16/9; background: var(--mist);
  margin-bottom: .6rem;
}
.img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero { border: 1px solid var(--line); overflow: hidden; margin-bottom: 1.5rem; }
.article-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.5vw, 20px); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-strip .img-thumb { margin: 0; aspect-ratio: 4/3; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: var(--muted-dark); max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Misc utilities ---------- */
.muted { color: var(--muted); }
.section--dark .muted { color: var(--muted-dark); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.text-gold { color: var(--gold-deep); }
.divider { height: 1px; background: var(--line); margin-block: 2rem; }
.section--dark .divider { background: var(--line-dark); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.kbd { font-family: monospace; background: var(--mist); border: 1px solid var(--line); padding: .1rem .4rem; font-size: .85rem; }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); color: var(--muted); }

/* ---------- Admin ---------- */
/* Admin console uses its own standalone stylesheet: static/css/admin.css.
   The admin layout no longer extends the front-end base template. */

/* ---------- Auth ---------- */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 440px; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); background: var(--white); }

/* ---------- Print ---------- */
@media print { .site-header, .site-footer, .float-actions, .nav, .announce { display: none; } body { color: black; } }
