/* ============================================================
   REDNEXICAN RANCHWEAR — Design System
   Palette:
     --paper   #FFFFFF  base background (kept stark per brief)
     --ink     #17130F  primary text, near-black warm charcoal
     --rust    #A8431E  primary accent — tooled leather / branding-iron rust
     --rust-dk #7E3216  rust pressed/hover state
     --denim   #2B3A4A  secondary accent — workwear denim, used sparingly
     --bone    #EDE6D6  quiet warm neutral for hairline panels only (never full bg)
     --line    #D8D2C4  hairline rule color
   Type:
     Display  — 'Oswald' (condensed, bold, poster/branding-iron feel)
     Body     — 'Work Sans' (clean, plain-spoken)
     Accent   — 'Zilla Slab' (stamp/tag/price/eyebrow labels)
   Signature element: the "Stamp Mark" — the rope-bordered circular seal
   (the brand's own logo mark), used once boldly in the hero, then quietly
   as a recurring wayfinding mark — section markers, empty states, footer,
   and as the graceful stand-in for any photograph that hasn't been shot yet.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&family=Zilla+Slab:ital,wght@0,500;0,600;1,500&display=swap');

:root{
  --paper:#FFFFFF;
  --ink:#17130F;
  --ink-70: rgba(23,19,15,.7);
  --ink-45: rgba(23,19,15,.45);
  --ink-25: rgba(23,19,15,.25);
  --rust:#A8431E;
  --rust-dk:#7E3216;
  --rust-10: rgba(168,67,30,.1);
  --denim:#2B3A4A;
  --bone:#EDE6D6;
  --bone-dk:#E3D9C4;
  --line:#D8D2C4;
  --max: 1180px;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', ui-sans-serif, system-ui, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  animation:pageIn .6s var(--ease-out) both;
  position:relative;
}
@keyframes pageIn{ from{ opacity:0; } to{ opacity:1; } }

/* Faint tactile grain — reinforces "worked leather," not "screen glass".
   Fixed + very low opacity so it never competes with content or photos. */
body::before{
  content:'';
  position:fixed; inset:0; z-index:90; pointer-events:none;
  opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:2.5px; width:0%;
  background:linear-gradient(90deg, var(--rust), var(--rust-dk));
  z-index:70; transition:width .1s linear; pointer-events:none;
}

h1,h2,h3,h4, .display{
  font-family:'Oswald', ui-sans-serif, sans-serif;
  text-transform:uppercase;
  letter-spacing:.005em;
  line-height:1;
  margin:0;
  color:var(--ink);
}

.eyebrow{
  font-family:'Zilla Slab', serif;
  font-style:italic;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--rust);
  display:inline-flex;
  align-items:center;
  gap:.6rem;
}
.eyebrow::before{
  content:''; display:inline-block; width:22px; height:1px; background:var(--rust);
  transform:translateY(-1px);
}

.wrap{ max-width:var(--max); margin:0 auto; padding:0 1.5rem; }
@media(min-width:768px){ .wrap{ padding:0 2.5rem; } }

a{ color:inherit; text-decoration:none; }
p{ margin:0; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  body::before{ display:none; }
}

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible{
  outline:2px solid var(--rust);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  font-family:'Oswald', sans-serif; font-weight:600; letter-spacing:.05em;
  text-transform:uppercase; font-size:.83rem;
  padding:1rem 1.85rem;
  border:1.5px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .28s var(--ease-out), box-shadow .28s ease;
  white-space:nowrap;
  position:relative; overflow:hidden;
}
.btn .arrow{ display:inline-block; transition:transform .28s var(--ease-out); }
.btn:hover .arrow{ transform:translateX(4px); }
.btn:hover{ background:var(--rust); border-color:var(--rust); transform:translateY(-2px); box-shadow:0 14px 28px rgba(23,19,15,.18); }
.btn:active{ transform:translateY(0) scale(.98); box-shadow:0 2px 8px rgba(23,19,15,.16); }

/* ---------- Ripple micro-interaction (JS adds .ripple span on click) ---------- */
.ripple{
  position:absolute; border-radius:50%; pointer-events:none;
  background:rgba(255,255,255,.55); transform:scale(0); opacity:.9;
  animation:rippleOut .6s var(--ease-out) forwards;
}
.btn-outline .ripple, .filter-pill .ripple{ background:rgba(23,19,15,.14); }
@keyframes rippleOut{ to{ transform:scale(2.6); opacity:0; } }
.btn-outline{
  background:transparent; color:var(--ink); border-color:var(--ink);
}
.btn-outline:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn-rust{ background:var(--rust); border-color:var(--rust); color:#fff; }
.btn-rust:hover{ background:var(--rust-dk); border-color:var(--rust-dk); }
.btn-full{ width:100%; }
.btn[disabled]{ opacity:.4; cursor:not-allowed; }
.btn[disabled]:hover{ background:var(--ink); border-color:var(--ink); transform:none; box-shadow:none; }
.btn.success{ background:var(--rust-dk); border-color:var(--rust-dk); }

/* ---------- Top utility bar ---------- */
.utility-bar{
  background:var(--ink); color:var(--paper);
  font-family:'Zilla Slab', serif; font-size:.78rem; letter-spacing:.02em;
}

.utility-bar .wrap{ display:flex; align-items:center; justify-content:space-between; height:36px; gap:1.5rem; overflow:hidden; padding-top:0; padding-bottom:0; }
.utility-bar .wrap > span, .utility-bar .social-links{ display:flex; align-items:center; height:100%; }
.utility-bar .wrap > span{ line-height:1.2; }
.utility-bar .social-links{ display:flex; gap:1rem; }
.utility-bar .social-links a{ opacity:.8; transition:opacity .15s ease, color .15s ease; }
.utility-bar .social-links a:hover{ opacity:1; color:#E9825A; }

/* ---------- Main nav ---------- */
.site-header{ position:sticky; top:0; z-index:40; background:var(--paper); border-bottom:1px solid var(--line); transition:box-shadow .3s ease, height .3s ease; }
.site-header.scrolled{ box-shadow:0 8px 28px rgba(23,19,15,.08); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:82px; gap:1.5rem; transition:height .3s ease; }
.site-header.scrolled .nav-row{ height:68px; }

.brand{ display:flex; align-items:center; gap:.7rem; transition:opacity .15s ease; }
.brand:hover{ opacity:.85; }
.brand .stamp-mark{ width:38px; height:38px; flex:none; transition:transform .3s var(--ease-out); }
.brand .brand-logo-img{ width:40px; height:40px; flex:none; transition:transform .35s var(--ease-out); }
.site-header.scrolled .brand .brand-logo-img{ width:34px; height:34px; }
.brand:hover .brand-logo-img{ transform:rotate(-8deg); }
.brand-word{ font-family:'Oswald',sans-serif; font-weight:700; font-size:1.02rem; letter-spacing:.02em; line-height:1.05; text-transform:uppercase; }
.brand-word span{ display:block; font-family:'Zilla Slab', serif; font-style:italic; font-weight:500; font-size:.58rem; letter-spacing:.14em; color:var(--rust); text-transform:uppercase; margin-top:.15rem; }

.main-nav{ display:none; align-items:center; gap:1.8rem; }
@media(min-width:1024px){ .main-nav{ display:flex; } }
.main-nav > li{ position:relative; list-style:none; }
.main-nav a.nav-link{
  font-family:'Oswald', sans-serif; font-weight:500; font-size:.86rem; letter-spacing:.06em;
  text-transform:uppercase; padding:.6rem 0; display:inline-block; position:relative;
  transition:color .18s ease;
}
.main-nav a.nav-link::after{
  content:''; position:absolute; left:0; right:0; bottom:.15rem; height:2px; background:var(--rust);
  transform:scaleX(0); transform-origin:left; transition:transform .22s var(--ease-out);
}
.main-nav a.nav-link:hover{ color:var(--rust-dk); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after{ transform:scaleX(1); }
.main-nav a.nav-link.active{ color:var(--rust); }

.shop-dropdown{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  background:var(--paper); border:1px solid var(--line); box-shadow:0 18px 40px rgba(23,19,15,.1);
  min-width:270px; padding:.9rem; opacity:0; visibility:hidden; translate:0 10px;
  transition:opacity .2s var(--ease-out), translate .2s var(--ease-out), visibility .2s;
}
.has-dropdown:hover .shop-dropdown, .has-dropdown:focus-within .shop-dropdown{
  opacity:1; visibility:visible; translate:0 6px;
}
.shop-dropdown a{
  display:flex; align-items:center; gap:.6rem; padding:.65rem .7rem; font-size:.88rem; font-family:'Work Sans',sans-serif; text-transform:none; letter-spacing:0; font-weight:500;
  border-radius:2px; transition:background-color .15s ease, color .15s ease, padding-left .15s ease;
}
.shop-dropdown a::before{ content:''; width:5px; height:5px; border-radius:50%; background:var(--rust); opacity:0; transition:opacity .15s ease; flex:none; }
.shop-dropdown a:hover{ background:var(--bone); color:var(--rust-dk); padding-left:.9rem; }
.shop-dropdown a:hover::before{ opacity:1; }

.nav-actions{ display:flex; align-items:center; gap:.9rem; }
.icon-btn{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; position:relative; transition:color .18s ease, transform .18s var(--ease-out); }
.icon-btn:hover{ color:var(--rust); transform:translateY(-1px); }
.cart-count{
  position:absolute; top:-2px; right:-4px; background:var(--rust); color:#fff;
  font-family:'Zilla Slab', serif; font-weight:600; font-size:.65rem;
  width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease; box-shadow:0 0 0 2px var(--paper);
}
@keyframes cartBump{
  0%{ transform:scale(1) rotate(0); }
  35%{ transform:scale(1.3) rotate(-9deg); }
  65%{ transform:scale(.94) rotate(4deg); }
  100%{ transform:scale(1) rotate(0); }
}
.icon-btn.bump{ animation:cartBump .5s var(--ease-spring); }
.mobile-toggle{ display:inline-flex; }
@media(min-width:1024px){ .mobile-toggle{ display:none; } }
.mobile-toggle svg{ transition:transform .35s var(--ease-spring); }
.mobile-toggle svg path{ transition:opacity .2s ease; }
.mobile-toggle.is-open svg{ transform:rotate(90deg); }
.mobile-toggle.is-open svg path{ opacity:0; }
.mobile-toggle{ position:relative; }
.mobile-toggle .x-icon{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transform:rotate(-90deg) scale(.6); transition:opacity .3s var(--ease-out), transform .35s var(--ease-spring);
  pointer-events:none;
}
.mobile-toggle.is-open .x-icon{ opacity:1; transform:rotate(0) scale(1); }

/* Mobile nav panel — animated open/close via CSS grid-rows, content fades/slides up on open */
#mobile-nav{
  display:grid; grid-template-rows:0fr; overflow:hidden;
  background:var(--paper); border-top:0 solid var(--line);
  transition:grid-template-rows .38s var(--ease-out), border-top-width .38s ease;
}
#mobile-nav.open{ grid-template-rows:1fr; border-top-width:1px; }
#mobile-nav > .wrap{ min-height:0; }
#mobile-nav .wrap{ padding-top:1.1rem; padding-bottom:1.6rem; display:flex; flex-direction:column; gap:.15rem; }
#mobile-nav .wrap > *{ opacity:0; transform:translateY(-6px); transition:opacity .3s var(--ease-out), transform .3s var(--ease-out); }
#mobile-nav.open .wrap > *{ opacity:1; transform:translateY(0); }
#mobile-nav.open .wrap > *:nth-child(1){ transition-delay:.04s; }
#mobile-nav.open .wrap > *:nth-child(2){ transition-delay:.08s; }
#mobile-nav.open .wrap > *:nth-child(3){ transition-delay:.12s; }
#mobile-nav.open .wrap > *:nth-child(4){ transition-delay:.16s; }
#mobile-nav.open .wrap > *:nth-child(5){ transition-delay:.2s; }
#mobile-nav.open .wrap > *:nth-child(6){ transition-delay:.24s; }
#mobile-nav a{ transition:color .15s ease, padding-left .18s ease; }
#mobile-nav a:hover{ color:var(--rust-dk); padding-left:.25rem; }
#mobile-nav a{ font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:1rem; letter-spacing:.03em; padding:.75rem 0; border-bottom:1px solid var(--line); }
#mobile-nav .sub-list{ display:flex; flex-direction:column; padding-left:1rem; }
#mobile-nav .sub-list a{ font-family:'Work Sans',sans-serif; text-transform:none; font-size:.92rem; font-weight:500; border-bottom:none; padding:.5rem 0; }

/* ---------- Stamp mark (SVG signature, used for empty/fallback states) ---------- */
.stamp-mark circle{ fill:none; stroke:var(--ink); }
.stamp-mark .rope{ stroke-dasharray:2 3.2; }
.stamp-mark text{ font-family:'Zilla Slab', serif; font-weight:600; fill:var(--ink); }
.stamp-hero{ color:var(--ink); }

/* ---------- Brand / logo image ---------- */
.brand-logo-img{
  width:44px;
  height:auto;
  object-fit:contain;
  display:inline-block;
  flex:none;
}

/* ============================================================
   GRACEFUL PHOTO FALLBACK
   Applied automatically (see main.js) to any .photo-block or
   .hero-visual whose <img> 404s — e.g. a photo not shot yet.
   Renders a quiet, on-brand rope-and-mark panel instead of a
   broken image icon, so every page still looks finished.
   ============================================================ */
.photo-block, .hero-visual{ position:relative; }
.photo-block.img-missing, .hero-visual.img-missing{
  background:
    repeating-linear-gradient(135deg, var(--bone) 0 2px, var(--bone-dk) 2px 3px, var(--bone) 3px 34px);
}
.photo-block.img-missing img, .hero-visual.img-missing img{ display:none; }
.img-missing-mark{
  display:none; position:absolute; inset:0; align-items:center; justify-content:center; flex-direction:column; gap:.85rem;
}
.img-missing.img-missing .img-missing-mark{ display:flex; }
.img-missing-mark .brand-logo-img{ width:56px; height:auto; opacity:.55; }
.img-missing-mark span{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.78rem; letter-spacing:.03em; color:var(--ink-45); }

/* ---------- Hero load-in sequence (homepage) ---------- */
@keyframes heroIn{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:translateY(0); } }
@keyframes heroInVisual{ from{ opacity:0; transform:translateY(24px) scale(.96); } to{ opacity:1; transform:translateY(0) scale(1); } }
.hero-grid > div:first-child > *{ opacity:0; animation:heroIn .8s var(--ease-out) forwards; }
.hero-grid > div:first-child > *:nth-child(1){ animation-delay:.05s; }
.hero-grid > div:first-child > *:nth-child(2){ animation-delay:.17s; }
.hero-grid > div:first-child > *:nth-child(3){ animation-delay:.29s; }
.hero-grid > div:first-child > *:nth-child(4){ animation-delay:.41s; }
.hero-visual{ opacity:0; animation:heroInVisual .9s var(--ease-out) .24s forwards; }

/* ---------- Scroll reveal (applied via JS to section-level blocks) ---------- */
.reveal{
  opacity:0; transform:translateY(26px) scale(.99);
  transition:opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal.reveal-in{ opacity:1; transform:translateY(0) scale(1); }

/* ---------- Hero ---------- */
.hero{ padding:3rem 0 3.25rem; position:relative; overflow:hidden; }
@media(min-width:1024px){ .hero{ padding:4.25rem 0 4.5rem; } }
.hero-grid{ display:grid; gap:2.75rem; align-items:center; }
@media(min-width:1024px){ .hero-grid{ grid-template-columns:1.02fr .98fr; gap:3.2rem; } }
.hero h1{ font-size:clamp(2.7rem, 5.6vw, 4.75rem); letter-spacing:-.01em; }
.hero h1 .accent{ color:var(--rust); position:relative; }
.hero-sub{ max-width:39ch; font-size:1rem; color:var(--ink-70); margin-top:1.2rem; line-height:1.65; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.85rem; }

.hero-visual{
  position:relative; border:1px solid var(--line); border-radius:20px; aspect-ratio:4/5; background:var(--bone);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(23,19,15,.28);
}
.hero-visual .placeholder-label{ font-family:'Zilla Slab',serif; font-style:italic; color:var(--ink-45); font-size:.85rem; text-align:center; padding:2rem; }

/* ---------- Hero slideshow (homepage) ----------
   Any number of photos can be stacked here — JS reads however many
   .hero-slide elements exist and cross-fades between them on a
   timer, so a 4th or 5th photo can be added later with no code
   changes. Opacity is driven purely by .is-active; nothing else
   touches it, which keeps the cross-fade from ever getting stuck.
   top:-6% / height:112% centers the overflow evenly above and below
   so the subtle scroll parallax never reveals the frame's background
   at either edge. */
.hero-visual .hero-slide{
  position:absolute; left:0; right:0; top:-6%; width:100%; height:112%;
  object-fit:cover; display:block; opacity:0;
  transition:opacity 1.6s ease;
}
.hero-visual .hero-slide.is-active{ opacity:1; }

/* Small dot indicators, generated by JS to match however many
   slides are present — a quiet, obvious cue that the photo is
   changing, and a way to jump straight to one. */
.hero-dots{
  position:absolute; left:50%; bottom:1.15rem; transform:translateX(-50%);
  display:flex; gap:.5rem; z-index:2;
}
.hero-dots button{
  width:7px; height:7px; padding:0; border:none; border-radius:50%;
  background:rgba(255,255,255,.5); cursor:pointer;
  transition:background-color .25s ease, transform .25s ease;
}
.hero-dots button:hover{ background:rgba(255,255,255,.8); }
.hero-dots button.is-active{ background:var(--paper); transform:scale(1.4); }

.hero-visual::after{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:linear-gradient(180deg, rgba(23,19,15,0) 55%, rgba(23,19,15,.42) 100%);
}
.hero-badge{
  position:absolute; bottom:-1.4rem; left:-1.4rem; background:var(--paper); border:1px solid var(--line);
  width:100px; height:100px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  animation:badgeFloat 5.5s ease-in-out infinite; z-index:2; box-shadow:0 14px 30px rgba(23,19,15,.16);
}
.hero-badge .brand-logo-img{ width:74px; height:auto; }
@media(max-width:1023px){ .hero-badge{ width:76px; height:76px; bottom:-1rem; left:-1rem; } .hero-badge .brand-logo-img{ width:54px; } }
@keyframes badgeFloat{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-9px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce){ .hero-badge{ animation:none; } }

/* ---------- Section scaffolding ---------- */
.section{ padding:4rem 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; margin-bottom:2rem; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(1.75rem, 2.8vw, 2.35rem); margin-top:.45rem; letter-spacing:-.01em; }
.rule{ border:none; border-top:1px solid var(--line); margin:0; }

/* ---------- Category / product grid ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media(min-width:768px){ .cat-grid{ grid-template-columns:repeat(3,1fr); } }
.cat-card{
  --cat-image:none;
  background:var(--paper); padding:1.55rem 1.25rem; display:flex; flex-direction:column; justify-content:flex-end;
  aspect-ratio:1.18/1; position:relative; overflow:hidden;
  transition:background-color .25s ease, transform .3s var(--ease-out), box-shadow .3s ease; z-index:1;
}
.cat-card::before{
  content:''; position:absolute; inset:0; z-index:-2;
  background-image:var(--cat-image); background-size:cover; background-position:center;
  opacity:0; transform:scale(1.01); transition:opacity .45s ease, transform .6s var(--ease-out);
}
.cat-card::after{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(23,19,15,.02) 22%, rgba(23,19,15,.18) 58%, rgba(23,19,15,.82) 100%);
  opacity:0; transition:opacity .35s ease;
}
.cat-card.has-product-image::before, .cat-card.has-product-image::after{ opacity:1; }
.cat-card.has-product-image{ color:#fff; }
.cat-card.has-product-image:hover::before{ transform:scale(1.055); }
.cat-card:hover{ background:var(--bone); transform:translateY(-5px); box-shadow:0 20px 40px rgba(23,19,15,.12); }
.cat-card .cat-index{ font-family:'Zilla Slab',serif; font-style:italic; color:var(--rust); font-size:.72rem; position:absolute; top:1rem; left:1.15rem; transition:color .2s ease; }
.cat-card.has-product-image .cat-index{ color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.5); }
.cat-card:hover .cat-index{ color:var(--rust-dk); }
.cat-card.has-product-image:hover .cat-index{ color:#fff; }
.cat-card-copy{ position:relative; z-index:2; }
.cat-card h3{ font-size:1.18rem; letter-spacing:-.005em; color:inherit; }
.cat-card .cat-arrow{ margin-top:.55rem; font-size:.8rem; font-family:'Oswald',sans-serif; letter-spacing:.05em; text-transform:uppercase; display:inline-flex; align-items:center; gap:.4rem; transition:gap .25s var(--ease-out), color .2s ease; }
.cat-card:hover .cat-arrow{ gap:.7rem; color:var(--rust-dk); }
.cat-card.has-product-image:hover .cat-arrow{ color:#fff; }
.cat-card-coming{ background:linear-gradient(145deg, #f7f3ea, var(--bone)); cursor:default; }
.cat-card-coming::before{ opacity:.16; background-image:repeating-linear-gradient(135deg, rgba(23,19,15,.06) 0 1px, transparent 1px 24px); }
.cat-card-coming:hover{ transform:none; box-shadow:none; background:linear-gradient(145deg, #f7f3ea, var(--bone)); }
.cat-card-coming .cat-arrow{ color:var(--rust); font-family:'Zilla Slab',serif; font-style:italic; letter-spacing:.04em; }
.cat-card-coming:hover .cat-arrow{ color:var(--rust); gap:.4rem; }

.product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.9rem 1.25rem; }
@media(min-width:640px){ .product-grid{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1024px){ .product-grid{ grid-template-columns:repeat(4,1fr); gap:2.25rem 1.6rem; } }

@keyframes cardIn{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:translateY(0); } }
.product-card{ display:flex; flex-direction:column; opacity:0; animation:cardIn .6s var(--ease-out) forwards; transition:opacity .25s ease, transform .25s ease; }
.product-card.card-hidden{ opacity:0 !important; transform:scale(.95); pointer-events:none; }
.product-thumb{
  aspect-ratio:4/5; background:var(--bone); border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  position:relative; margin-bottom:1rem; overflow:hidden;
  transition:box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.product-card:hover .product-thumb{ box-shadow:0 22px 42px rgba(23,19,15,.16); border-color:var(--ink-25); transform:translateY(-4px); }
.product-thumb::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 55%, rgba(23,19,15,.16) 100%);
  opacity:0; transition:opacity .3s var(--ease-out);
}
.product-card:hover .product-thumb::after{ opacity:1; }
.product-thumb .placeholder-label{ font-family:'Zilla Slab',serif; font-style:italic; color:var(--ink-45); font-size:.78rem; text-align:center; padding:1rem; }
.product-thumb img{ width:100%; height:100%; object-fit:cover; display:block; opacity:0; transition:opacity .5s ease, transform .7s var(--ease-out); }
.product-thumb img.loaded{ opacity:1; }
.product-card:hover .product-thumb img{ transform:scale(1.065); }
.product-thumb-link{ display:block; text-decoration:none; }
.sale-flag{
  position:absolute; top:.75rem; left:.75rem; z-index:2;
  background:var(--rust); color:#fff; font-family:'Oswald',sans-serif; font-size:.66rem; letter-spacing:.06em;
  text-transform:uppercase; padding:.32rem .6rem; box-shadow:0 6px 14px rgba(23,19,15,.22);
}
.product-title-link{ color:var(--ink); text-decoration:none; transition:color .15s ease; }
.product-title-link:hover{ color:var(--rust-dk); }
.product-card h3{ font-family:'Work Sans',sans-serif; text-transform:none; font-weight:600; font-size:.96rem; letter-spacing:0; line-height:1.35; }
.product-meta{ display:flex; align-items:center; justify-content:space-between; margin-top:.4rem; gap:.6rem; }
.price{ font-family:'Zilla Slab',serif; font-weight:600; font-size:.95rem; color:var(--rust-dk); }
.add-btn{
  font-family:'Oswald',sans-serif; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase;
  border:1px solid var(--ink); background:none; padding:.45rem .75rem; cursor:pointer; flex:none;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease-spring);
  position:relative; overflow:hidden;
}
.add-btn:hover{ background:var(--ink); color:#fff; }
.add-btn:active{ transform:scale(.9); }
.add-btn.success{ background:var(--rust); border-color:var(--rust); color:#fff; animation:successPop .45s var(--ease-spring); }
@keyframes successPop{ 0%{ transform:scale(1); } 40%{ transform:scale(1.14); } 100%{ transform:scale(1); } }
.add-btn[disabled]{ opacity:.4; cursor:not-allowed; border-color:var(--ink-45); color:var(--ink-45); }
.add-btn[disabled]:hover{ background:none; color:var(--ink-45); }
.stock-tag{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.72rem; color:var(--ink-45); margin-top:.2rem; display:block; }

/* ---------- Shopify product grid loading / empty state ---------- */
.shopify-loading-note{
  grid-column:1/-1; text-align:center; padding:3.5rem 1rem;
  font-family:'Zilla Slab',serif; font-style:italic; color:var(--ink-45); font-size:.95rem;
}

/* ---------- Skeleton loading (shimmer) ---------- */
@keyframes shimmer{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
.skel-card{ display:flex; flex-direction:column; gap:.65rem; }
.skel-thumb, .skel-line{
  background:linear-gradient(110deg, var(--bone) 30%, #faf7ef 45%, var(--bone) 60%);
  background-size:220% 100%;
  animation:shimmer 1.7s ease-in-out infinite;
}
.skel-thumb{ aspect-ratio:4/5; border:1px solid var(--line); }
.skel-line{ height:.8rem; border-radius:2px; }
.skel-line.w-70{ width:70%; }
.skel-line.w-40{ width:40%; height:.7rem; }
.skel-pdp-gallery{ aspect-ratio:4/5; border:1px solid var(--line); background:linear-gradient(110deg, var(--bone) 30%, #faf7ef 45%, var(--bone) 60%); background-size:220% 100%; animation:shimmer 1.7s ease-in-out infinite; }
.skel-pdp-info{ display:flex; flex-direction:column; gap:.9rem; padding-top:.5rem; }
.skel-pdp-info .skel-line{ height:1rem; }

/* filter pills - shop page */
.filter-row{ display:flex; flex-wrap:wrap; gap:.65rem; }
.filter-pill{
  font-family:'Oswald',sans-serif; font-size:.78rem; letter-spacing:.04em; text-transform:uppercase;
  border:1px solid var(--line); padding:.55rem 1.05rem; background:none; cursor:pointer;
  transition:border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s var(--ease-out);
  position:relative; overflow:hidden;
}
.filter-pill:hover{ border-color:var(--ink); transform:translateY(-1px); }
.filter-pill:active{ transform:translateY(0); }
.filter-pill[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:#fff; }

/* ---------- Feature strip ---------- */
.strip{ background:var(--ink); color:var(--paper); padding:4rem 0; position:relative; overflow:hidden; }
.strip .wrap{ display:grid; gap:2.25rem; position:relative; z-index:1; }
@media(min-width:768px){ .strip .wrap{ grid-template-columns:1.3fr 1fr; align-items:center; } }
.strip h2{ color:var(--paper); font-size:clamp(1.7rem,3vw,2.3rem); letter-spacing:-.01em; }
.strip p{ color:rgba(255,255,255,.72); margin-top:1.15rem; max-width:48ch; line-height:1.7; }
.strip-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.75rem; }
.strip-stats .stat-num{ font-family:'Oswald',sans-serif; font-size:2.2rem; color:var(--rust); letter-spacing:-.02em; }
.strip-stats .stat-label{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.78rem; color:rgba(255,255,255,.65); margin-top:.2rem; }

/* ---------- Testimonial / culture band ---------- */
.culture-band{ padding:5rem 0; text-align:center; }
.culture-band blockquote{ font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:clamp(1.55rem,4vw,2.7rem); max-width:22ch; margin:0 auto; line-height:1.18; letter-spacing:-.005em; }
.culture-band cite{ display:block; margin-top:1.4rem; font-family:'Zilla Slab',serif; font-style:italic; font-size:.85rem; color:var(--ink-45); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bone); border-top:1px solid var(--line); }
.footer-top{ padding:3.75rem 0 2.75rem; display:grid; gap:2.75rem; }
@media(min-width:768px){ .footer-top{ grid-template-columns:1.4fr .8fr .8fr 1.1fr; } }
.footer-top h4{ font-family:'Oswald',sans-serif; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer-top ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.65rem; }
.footer-top a{ font-size:.92rem; color:var(--ink-70); transition:color .15s ease; }
.footer-top a:hover{ color:var(--rust-dk); }
.footer-tagline{ font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:1.35rem; max-width:16ch; margin-top:.85rem; letter-spacing:-.005em; }
.footer-social{ display:flex; gap:.9rem; margin-top:1.1rem; }
.footer-social a{ width:34px; height:34px; border:1px solid var(--ink); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ink); transition:background-color .2s ease, color .2s ease, transform .2s var(--ease-out); }
.footer-social a svg{ width:16px; height:16px; display:block; }
.footer-social a:hover{ background:var(--ink); color:var(--paper); transform:translateY(-2px); }

.newsletter-row{ display:flex; gap:0; border:1px solid var(--ink); max-width:360px; transition:border-color .2s ease; }
.newsletter-row:focus-within{ border-color:var(--rust); }
.newsletter-row input{ flex:1; border:none; background:transparent; padding:.8rem .95rem; font-family:'Work Sans',sans-serif; font-size:.88rem; color:var(--ink); }
.newsletter-row input:focus{ outline:none; }
.newsletter-row button{ border:none; background:var(--ink); color:#fff; padding:0 1.15rem; font-family:'Oswald',sans-serif; font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; transition:background-color .18s ease, transform .15s ease; }
.newsletter-row button:hover{ background:var(--rust); }
.newsletter-row button:active{ transform:scale(.96); }
.newsletter-note{ font-size:.76rem; color:var(--ink-45); margin-top:.55rem; }
.newsletter-success{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.85rem; color:var(--rust-dk); margin-top:.6rem; display:none; }
.newsletter-success.show{ display:block; animation:fadeInUp .5s var(--ease-out); }
@keyframes fadeInUp{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }

.footer-bottom{ border-top:1px solid var(--line); padding:1.4rem 0; display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; font-size:.78rem; color:var(--ink-45); }

/* ---------- Cart Drawer ---------- */
.cart-overlay{
  position:fixed; inset:0; background:rgba(23,19,15,.5); opacity:0; visibility:hidden;
  backdrop-filter:blur(0px);
  transition:opacity .4s var(--ease-out), visibility .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  z-index:60;
}
.cart-overlay.open{ opacity:1; visibility:visible; backdrop-filter:blur(3px); }

.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:100%; max-width:420px;
  background:var(--paper); z-index:61; box-shadow:-20px 0 48px rgba(23,19,15,.18);
  transform:translateX(100%); transition:transform .45s var(--ease-out);
  display:flex; flex-direction:column;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-drawer .cart-head, .cart-drawer .cart-body, .cart-drawer .cart-foot{ opacity:0; transform:translateX(16px); transition:opacity .45s var(--ease-out) .14s, transform .45s var(--ease-out) .14s; }
.cart-drawer.open .cart-head, .cart-drawer.open .cart-body, .cart-drawer.open .cart-foot{ opacity:1; transform:translateX(0); }
@keyframes cartItemIn{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:translateY(0); } }
.cart-item{ animation:cartItemIn .45s var(--ease-out) both; }
.cart-head{ display:flex; align-items:center; justify-content:space-between; padding:1.5rem 1.5rem 1.2rem; border-bottom:1px solid var(--line); }
.cart-head h2{ font-size:1.15rem; letter-spacing:-.005em; }
.cart-close{ width:36px; height:36px; display:flex; align-items:center; justify-content:center; transition:color .15s ease, transform .2s var(--ease-out); }
.cart-close:hover{ color:var(--rust); transform:rotate(90deg); }
.cart-body{ flex:1; overflow-y:auto; padding:1.35rem 1.5rem; }
.cart-empty{ text-align:center; padding:3.5rem 1rem; color:var(--ink-45); }
.cart-empty .stamp-mark{ width:56px; height:56px; margin:0 auto 1rem; opacity:.5; }
.cart-empty .brand-logo-img{ width:56px; height:56px; margin:0 auto 1rem; opacity:.5; }
.cart-item{ display:grid; grid-template-columns:72px 1fr auto; gap:1rem; padding:1.1rem 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.cart-item .thumb{ width:72px; height:90px; background:var(--bone); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:.65rem; text-align:center; color:var(--ink-45); font-family:'Zilla Slab',serif; font-style:italic; overflow:hidden; }
.cart-item h4{ font-family:'Work Sans',sans-serif; font-weight:600; font-size:.9rem; text-transform:none; margin:0; }
.cart-item .variant{ font-size:.78rem; color:var(--ink-45); margin-top:.18rem; }
.qty-row{ display:flex; align-items:center; gap:.6rem; margin-top:.65rem; }
.qty-row button{ width:24px; height:24px; border:1px solid var(--line); background:none; cursor:pointer; font-size:.85rem; transition:border-color .15s ease, background-color .15s ease, transform .15s var(--ease-spring); }
.qty-row button:hover{ border-color:var(--ink); background:var(--bone); }
.qty-row button:active{ transform:scale(.88); }
.remove-btn{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.78rem; color:var(--ink-45); text-decoration:underline; background:none; border:none; cursor:pointer; padding:0; margin-top:.65rem; transition:color .15s ease; }
.remove-btn:hover{ color:var(--rust); }
.cart-foot{ border-top:1px solid var(--line); padding:1.35rem 1.5rem 1.6rem; }
.cart-subtotal-row{ display:flex; justify-content:space-between; align-items:center; font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:.95rem; margin-bottom:1.1rem; }
.cart-ship-note{ font-size:.78rem; color:var(--ink-45); margin-bottom:1.1rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{ padding:4rem 0 2.75rem; border-bottom:1px solid var(--line); }
.page-hero .eyebrow{ margin-bottom:.6rem; display:inline-flex; }
.page-hero h1{ font-size:clamp(2.3rem,5vw,3.6rem); letter-spacing:-.01em; }
.page-hero p{ max-width:54ch; color:var(--ink-70); margin-top:1.1rem; line-height:1.7; }

/* ---------- FAQ accordion ---------- */
.faq-list{ border-top:1px solid var(--line); max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); transition:background-color .2s ease; }
.faq-item:hover{ background:rgba(237,230,214,.4); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.4rem .25rem; font-family:'Oswald',sans-serif; font-size:1.03rem; text-transform:uppercase; letter-spacing:.02em;
  transition:color .15s ease;
}
.faq-q:hover{ color:var(--rust-dk); }
.faq-q .plus{ font-size:1.4rem; font-weight:300; transition:transform .4s var(--ease-spring), color .2s ease; flex:none; color:var(--rust); }
.faq-q:hover .plus{ color:var(--rust-dk); }
.faq-item[open] .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ padding:0 .25rem 1.6rem; color:var(--ink-70); max-width:68ch; line-height:1.7; }
.faq-item[open] .faq-a{ animation:faqOpen .4s var(--ease-out); }
@keyframes faqOpen{ from{ opacity:0; transform:translateY(-10px); } to{ opacity:1; transform:translateY(0); } }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary{ list-style:none; }

/* ---------- Forms (contact) ---------- */
.form-field{ display:flex; flex-direction:column; gap:.45rem; margin-bottom:1.4rem; }
.form-field label{ font-family:'Oswald',sans-serif; font-size:.76rem; letter-spacing:.06em; text-transform:uppercase; }
.form-field input, .form-field textarea, .form-field select{
  border:1px solid var(--line); background:var(--paper); padding:.85rem .95rem; font-family:'Work Sans',sans-serif; font-size:.92rem; color:var(--ink);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline:none; border-color:var(--rust); box-shadow:0 0 0 3px var(--rust-10); }
.form-row-2{ display:grid; grid-template-columns:1fr; gap:0 1.25rem; }
@media(min-width:640px){ .form-row-2{ grid-template-columns:1fr 1fr; } }
.form-success{ display:none; border:1px solid var(--rust); background:var(--bone); padding:1.3rem 1.6rem; font-family:'Zilla Slab',serif; font-style:italic; color:var(--rust-dk); margin-bottom:1.6rem; }
.form-success.show{ display:block; animation:fadeInUp .5s var(--ease-out); }

/* ---------- Contact info cards ---------- */
.info-grid{ display:grid; gap:1.5rem; grid-template-columns:1fr; }
@media(min-width:640px){ .info-grid{ grid-template-columns:1fr 1fr; } }
.info-card{ border:1px solid var(--line); padding:1.6rem; transition:border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.info-card:hover{ border-color:var(--ink-45); transform:translateY(-4px); box-shadow:0 16px 32px rgba(23,19,15,.09); }
.info-card h3{ font-size:.95rem; margin-bottom:.55rem; }
.info-card p, .info-card a{ font-size:.92rem; color:var(--ink-70); display:block; }
.info-card a:hover{ color:var(--rust-dk); }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- About page specific ---------- */
.about-hero-grid{ display:grid; gap:2.75rem; align-items:center; }
@media(min-width:1024px){ .about-hero-grid{ grid-template-columns:1fr 1fr; } }
.values-grid{ display:grid; grid-template-columns:1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
@media(min-width:640px){ .values-grid{ grid-template-columns:repeat(3,1fr); } }
.value-card{ background:var(--paper); padding:2.1rem; transition:background-color .25s ease; }
.value-card:hover{ background:var(--bone); }
.value-card .num{ font-family:'Zilla Slab',serif; font-style:italic; color:var(--rust); font-size:.85rem; transition:color .2s ease; }
.value-card:hover .num{ color:var(--rust-dk); }
.value-card h3{ font-size:1.12rem; margin:.8rem 0 .65rem; letter-spacing:-.005em; }
.value-card p{ font-size:.9rem; color:var(--ink-70); line-height:1.65; }

.photo-block{ aspect-ratio:16/10; background:var(--bone); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.photo-block .placeholder-label{ font-family:'Zilla Slab',serif; font-style:italic; color:var(--ink-45); font-size:.8rem; text-align:center; padding:1.5rem; }
.photo-block img{ width:100%; height:100%; object-fit:cover; display:block; opacity:0; transition:opacity .7s ease, transform .5s var(--ease-out); }
.photo-block img.loaded{ opacity:1; }
.photo-block:hover img.loaded{ transform:scale(1.03); }

/* ---------- Product detail page ---------- */
.breadcrumb{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.85rem; color:var(--ink-45); animation:pdpIn .55s var(--ease-out) both; }
.breadcrumb a{ color:var(--ink-45); text-decoration:none; transition:color .15s ease; }
.breadcrumb a:hover{ color:var(--rust-dk); text-decoration:underline; }
.breadcrumb span{ margin:0 .4rem; }

.pdp-layout{ display:grid; grid-template-columns:1fr; gap:2.75rem; align-items:start; }
@media(min-width:900px){ .pdp-layout{ grid-template-columns:1.1fr .9fr; } }

@keyframes pdpIn{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:translateY(0); } }
.pdp-gallery{ animation:pdpIn .65s var(--ease-out) both; }
.pdp-info > *{ opacity:0; animation:pdpIn .6s var(--ease-out) forwards; }
.pdp-info > *:nth-child(1){ animation-delay:.16s; }
.pdp-info > *:nth-child(2){ animation-delay:.24s; }
.pdp-info > *:nth-child(3){ animation-delay:.32s; }
.pdp-info > *:nth-child(4){ animation-delay:.4s; }
.pdp-info > *:nth-child(5){ animation-delay:.48s; }
.pdp-info > *:nth-child(6){ animation-delay:.56s; }

.pdp-gallery{ display:flex; flex-direction:column; gap:.8rem; }
.pdp-main-image{ aspect-ratio:4/5; background:var(--bone); border:1px solid var(--line); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.pdp-main-image img{ width:100%; height:100%; object-fit:cover; display:block; opacity:0; transition:opacity .5s ease, transform .55s var(--ease-out); }
.pdp-main-image img.loaded{ opacity:1; }
.pdp-main-image:hover img{ transform:scale(1.04); }
.pdp-thumb-row{ display:flex; gap:.65rem; flex-wrap:wrap; }
.pdp-thumb-btn{ width:64px; height:64px; padding:0; border:1px solid var(--line); background:var(--bone); cursor:pointer; overflow:hidden; transition:border-color .18s ease, transform .18s var(--ease-out); }
.pdp-thumb-btn:hover{ border-color:var(--ink-45); transform:translateY(-2px); }
.pdp-thumb-btn img{ width:100%; height:100%; object-fit:cover; display:block; opacity:0; transition:opacity .4s ease; }
.pdp-thumb-btn img.loaded{ opacity:1; }
.pdp-thumb-btn.selected{ border-color:var(--rust); border-width:2px; }

.pdp-info h1{ font-size:clamp(1.65rem,3vw,2.3rem); margin-bottom:.8rem; letter-spacing:-.01em; }
.pdp-price{ font-family:'Zilla Slab',serif; font-weight:600; font-size:1.4rem; color:var(--rust-dk); display:block; margin-bottom:1.3rem; }
.pdp-description{ font-size:.95rem; line-height:1.75; color:var(--ink-70); margin-bottom:1.6rem; }
.pdp-description p{ margin-bottom:.8rem; }

.pdp-option-group{ margin-bottom:1.3rem; }
.pdp-option-group h4{ font-family:'Zilla Slab',serif; font-style:italic; font-size:.85rem; color:var(--ink-70); margin-bottom:.55rem; }
.pdp-option-row{ display:flex; gap:.55rem; flex-wrap:wrap; }
.pdp-option-btn{
  border:1px solid var(--line); background:var(--paper); padding:.55rem 1.05rem;
  font-family:'Zilla Slab',serif; font-size:.85rem; cursor:pointer;
  transition:border-color .18s ease, background-color .18s ease, color .18s ease, transform .15s ease;
}
.pdp-option-btn:hover{ border-color:var(--rust); }
.pdp-option-btn:active{ transform:scale(.94); }
.pdp-option-btn.selected{ border-color:var(--rust); background:var(--rust); color:#fff; }

/* ============================================================
   PDP refinements — compact, stable and easier to browse
   ============================================================ */
.pdp-layout{
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);
  gap:2.25rem;
}

/* Keep the gallery controls alongside the image on desktop so changing
   photos never requires scrolling back and forth. */
.pdp-gallery{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  grid-template-areas:"thumbs main";
  gap:.7rem;
  align-items:start;
}
.pdp-main-image{
  grid-area:main;
  aspect-ratio:4/5;
  max-height:620px;
}
.pdp-thumb-row{
  grid-area:thumbs;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  max-height:620px;
  overflow-y:auto;
  scrollbar-width:thin;
  padding-right:2px;
}
.pdp-thumb-btn{
  width:64px;
  height:64px;
  min-height:64px;
  flex:none;
}

/* Animate the PDP once, not every time a variant is selected. Re-rendering
   the entire info panel was causing visible flicker/jumps on option clicks. */
.pdp-info > *{
  opacity:1;
  animation:none;
}
.pdp-info{
  animation:pdpIn .55s var(--ease-out) both;
  align-self:start;
}
.pdp-info h1{ font-size:clamp(1.55rem,2.5vw,2.1rem); margin-bottom:.55rem; }
.pdp-price{ font-size:1.25rem; margin-bottom:1rem; }
.pdp-description{ font-size:.92rem; line-height:1.65; margin-bottom:1.2rem; }
.pdp-description p{ margin-bottom:.65rem; }
.pdp-option-group{ margin-bottom:1rem; }
.pdp-option-group h4{ margin-bottom:.45rem; }
.pdp-option-btn{
  min-height:38px;
  padding:.48rem .9rem;
  transition:border-color .16s ease, background-color .16s ease, color .16s ease, transform .12s ease;
}
.pdp-option-btn:active{ transform:scale(.98); }
.pdp-option-btn.selected{
  border-color:var(--rust);
  background:var(--rust);
  color:#fff;
  box-shadow:0 2px 0 var(--rust-dk);
}

@media(max-width:899px){
  .pdp-layout{ grid-template-columns:1fr; gap:1.75rem; }
  .pdp-gallery{ display:flex; flex-direction:column; gap:.65rem; }
  .pdp-main-image{ width:100%; max-height:none; }
  .pdp-thumb-row{
    width:100%;
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
    flex-direction:row;
    padding:2px 0 4px;
  }
  .pdp-thumb-btn{ width:58px; height:58px; min-width:58px; min-height:58px; }
}

@media(min-width:900px) and (max-height:800px){
  .pdp-main-image{ max-height:500px; }
  .pdp-thumb-row{ max-height:500px; }
}

/* ============================================================
   POLISH PASS — mobile tuning + touch/visual bug fixes
   Everything below only adjusts spacing/sizing/behavior; no new
   layout system, framework, or design direction is introduced.
   ============================================================ */

/* Kill the grey tap-highlight flash on iOS/Android so presses feel
   as intentional as the existing ripple/active states. */
a, button, .pdp-option-btn, .filter-pill, .faq-q{
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Stop hover states from "sticking" after a tap ----------
   Touch devices fire :hover on tap and never clear it until the user
   taps elsewhere, so buttons/cards were getting stuck elevated,
   recolored, or scaled after every tap. Anything with (hover:none)
   only gets its resting state. */
@media (hover:none){
  .btn:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); transform:none; box-shadow:none; }
  .btn:hover .arrow{ transform:none; }
  .btn-outline:hover{ background:transparent; color:var(--ink); border-color:var(--ink); }
  .btn-rust:hover{ background:var(--rust); border-color:var(--rust); }
  .add-btn:hover{ background:none; color:var(--ink); }
  .product-card:hover .product-thumb{ box-shadow:none; border-color:var(--line); transform:none; }
  .product-card:hover .product-thumb::after{ opacity:0; }
  .product-card:hover .product-thumb img{ transform:none; }
  .product-title-link:hover{ color:var(--ink); }
  .cat-card:hover{ background:var(--paper); transform:none; box-shadow:none; }
  .cat-card:hover .cat-index{ color:var(--rust); }
  .cat-card:hover .cat-arrow{ gap:.4rem; color:inherit; }
  .value-card:hover{ background:var(--paper); }
  .value-card:hover .num{ color:var(--rust); }
  .info-card:hover{ border-color:var(--line); transform:none; box-shadow:none; }
  .filter-pill:hover{ border-color:var(--line); transform:none; }
  .main-nav a.nav-link:hover{ color:inherit; }
  .main-nav a.nav-link:hover::after{ transform:scaleX(0); }
  .icon-btn:hover{ color:inherit; transform:none; }
  .brand:hover{ opacity:1; }
  .brand:hover .brand-logo-img{ transform:none; }
  .photo-block:hover img.loaded{ transform:none; }
  .pdp-main-image:hover img{ transform:none; }
  .pdp-thumb-btn:hover{ border-color:var(--line); transform:none; }
  .footer-social a:hover{ background:none; color:inherit; transform:none; }
}

/* ---------- Utility bar ---------- */
@media(max-width:640px){
  .utility-bar .wrap{ height:auto; min-height:36px; padding-top:.5rem; padding-bottom:.5rem; flex-wrap:wrap; justify-content:center; gap:.4rem .9rem; text-align:center; }
  .utility-bar span{ font-size:.72rem; line-height:1.35; }
  .utility-sub{ display:none; }
}

/* ---------- Header / nav ---------- */
@media(max-width:1023px){
  .nav-row{ height:76px; }
  .site-header.scrolled .nav-row{ height:68px; }
}
@media(max-width:400px){
  .brand{ gap:.55rem; }
  .brand-logo-img{ width:34px; }
  .brand-word{ font-size:.86rem; }
  .brand-word span{ font-size:.56rem; letter-spacing:.1em; margin-top:.1rem; }
  .nav-actions{ gap:.65rem; }
  .icon-btn{ width:34px; height:34px; }
}

/* ---------- Hero ---------- */
@media(max-width:640px){
  .hero{ padding:2.25rem 0 2.5rem; }
  .hero-sub{ margin-top:1rem; font-size:1rem; max-width:none; }
  .hero-ctas{ margin-top:1.5rem; gap:.75rem; }
}
@media(max-width:480px){
  .btn{ padding:.85rem 1.5rem; font-size:.78rem; }
}

/* ---------- Section scaffolding ---------- */
@media(max-width:640px){
  .section{ padding:3rem 0; }
  .section-head{ margin-bottom:1.75rem; gap:1rem; }
  .culture-band{ padding:3rem 0; }
  .page-hero{ padding:2.5rem 0 2rem; }
  .strip{ padding:2.75rem 0; }
  .strip-stats{ gap:1.25rem 1.5rem; }
  .footer-top{ padding:2.75rem 0 2rem; gap:2rem; }
  .about-hero-grid{ gap:2rem; }
}
@media(max-width:480px){
  .strip-stats .stat-num{ font-size:1.8rem; }
}

/* ---------- Category / product grids ---------- */
@media(max-width:480px){
  .cat-card{ padding:1.4rem 1rem; }
  .cat-card h3{ font-size:1rem; }
  .product-grid{ gap:1.4rem .85rem; }
  .product-card h3{ font-size:.88rem; }
  .price{ font-size:.88rem; }
  .add-btn{ padding:.42rem .65rem; font-size:.68rem; }
}

/* ---------- Shop filter/category tabs — one swipeable row instead of
   wrapping into several stacked rows, which ate a lot of vertical
   space and made the page feel top-heavy on phones. A soft edge fade
   plus scroll-snap make it obvious the row scrolls and keep tabs from
   ever sitting half cut-off at the edge. ---------- */
@media(max-width:640px){
  .filter-row{
    flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    margin:0 -1.5rem; padding:.2rem 1.5rem .65rem; scrollbar-width:none;
    scroll-snap-type:x proximity; scroll-padding-inline:1.5rem;
    -webkit-mask-image:linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    mask-image:linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  }
  .filter-row::-webkit-scrollbar{ display:none; }
  .filter-pill{ flex:none; scroll-snap-align:start; }
}

/* ---------- Product detail page ---------- */
@media(max-width:640px){
  .breadcrumb{ font-size:.78rem; }
  .pdp-info h1{ font-size:1.5rem; }
  .pdp-price{ font-size:1.15rem; }
  .pdp-option-btn{ padding:.5rem .9rem; font-size:.82rem; min-height:40px; }
}

/* ---------- Forms / info cards / FAQ ---------- */
@media(max-width:640px){
  .info-card{ padding:1.25rem; }
  .value-card{ padding:1.5rem; }
  .faq-q{ padding:1.1rem .1rem; font-size:.92rem; gap:.75rem; }
  .faq-a{ padding:0 .1rem 1.3rem; }
}

/* ---------- Cart drawer ---------- */
@media(max-width:480px){
  .cart-head{ padding:1.2rem 1.1rem 1rem; }
  .cart-body{ padding:1.1rem; }
  .cart-foot{ padding:1.1rem 1.1rem 1.3rem; }
  .cart-item{ grid-template-columns:60px 1fr auto; gap:.75rem; }
  .cart-item .thumb{ width:60px; height:75px; }
}

/* ---------- Footer — centered on mobile ----------
   Desktop keeps the existing left-aligned multi-column layout
   (unchanged, still governed by the min-width:768px rule above).
   Below that, every footer column is centered: logo, headings,
   link lists, newsletter form, contact info, and the bottom bar. */
@media(max-width:767px){
  .footer-top{ text-align:center; }
  .footer-top > div{ display:flex; flex-direction:column; align-items:center; width:100%; }
  .footer-top ul{ align-items:center; }
  .footer-tagline{ max-width:none; }
  .footer-social{ justify-content:center; }
  .footer-top form[data-newsletter-form]{ width:100%; }
  .newsletter-row{ width:100%; max-width:360px; margin:0 auto; }
  .footer-contact{ display:flex; flex-direction:column; align-items:center; }
  .footer-bottom{ flex-direction:column; justify-content:center; text-align:center; }
}

/* Respect the home-indicator / notch safe area instead of tucking
   the checkout button and mobile nav links underneath it. */
@supports (padding: max(0px)){
  .cart-foot{ padding-bottom:max(1.6rem, calc(1rem + env(safe-area-inset-bottom))); }
  #mobile-nav .wrap{ padding-bottom:max(1.6rem, calc(1rem + env(safe-area-inset-bottom))); }
}


/* ============================================================
   BALANCED DESKTOP SCALE
   Keeps the brand bold without letting the header, hero, or
   category cards dominate the viewport.
   ============================================================ */
@media(min-width:1024px){
  .hero-visual{
    max-height:610px;
    justify-self:end;
    width:min(100%, 500px);
  }

  .cat-card h3{
    font-size:1.04rem;
  }

  .cat-card .cat-arrow{
    font-size:.72rem;
    margin-top:.4rem;
  }

  .section-head .btn{
    padding:.82rem 1.4rem;
    font-size:.76rem;
  }
}

@media(min-width:1440px){
  .wrap{
    padding-left:2rem;
    padding-right:2rem;
  }
}


/* ============================================================
   STOREFRONT POLISH PASS
   Cleaner merchandising, tighter shop hierarchy, product hover
   imagery, trust cues, and more finished PDP details.
   ============================================================ */

/* Shop page hierarchy */
.shop-hero{
  padding:3rem 0 2.5rem;
  background:linear-gradient(180deg,#fff 0%,#fdfbf7 100%);
}
.shop-hero-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
}
.shop-hero h1{ max-width:18ch; }
.shop-hero p{ max-width:51ch; }
.shop-hero-link{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.7rem 0;
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.06em;
  border-bottom:1px solid var(--ink);
  transition:color .2s ease,border-color .2s ease,gap .2s ease;
}
.shop-hero-link:hover{ color:var(--rust); border-color:var(--rust); gap:.8rem; }

.trust-strip,
.pdp-assurance{
  border-bottom:1px solid var(--line);
  background:var(--bone);
}
.trust-strip-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.trust-strip-grid > div{
  min-height:74px;
  padding:1rem 1.2rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-right:1px solid rgba(23,19,15,.12);
}
.trust-strip-grid > div:last-child{ border-right:none; }
.trust-strip-grid strong{
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.045em;
}
.trust-strip-grid span{
  margin-top:.16rem;
  font-size:.72rem;
  color:var(--ink-45);
}

.shop-catalog{ padding-top:2.7rem; }
.shop-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  margin-bottom:2rem;
  padding-bottom:1.15rem;
  border-bottom:1px solid var(--line);
}
.coming-soon-note{
  color:var(--ink-45);
  font-family:'Zilla Slab',serif;
  font-size:.78rem;
}
.coming-soon-note span{
  color:var(--rust-dk);
  font-style:italic;
  margin-right:.35rem;
}

/* Product merchandising cards */
.product-grid{ align-items:start; }
.product-card{
  height:100%;
  background:#fff;
}
.product-thumb{
  background:#f8f5ee;
  margin-bottom:0;
}
.product-thumb-link{ position:relative; }
.product-thumb img{
  position:absolute;
  inset:0;
}
.product-image-primary{ z-index:1; }
.product-image-alt{
  z-index:2;
  opacity:0 !important;
  transform:scale(1.025);
}
.product-card:hover .product-image-primary{ opacity:0 !important; transform:scale(1.015); }
.product-card:hover .product-image-alt{ opacity:1 !important; transform:scale(1.04); }
.product-card:not(:has(.product-image-alt)):hover .product-image-primary{
  opacity:1 !important;
  transform:scale(1.04);
}
.product-thumb::after{
  z-index:3;
  background:linear-gradient(180deg,transparent 58%,rgba(23,19,15,.14) 100%);
}
.product-badge{
  position:absolute;
  top:.7rem;
  left:.7rem;
  z-index:5;
  background:var(--paper);
  border:1px solid rgba(23,19,15,.16);
  color:var(--ink);
  font-family:'Oswald',sans-serif;
  font-size:.64rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.33rem .58rem;
  box-shadow:0 5px 16px rgba(23,19,15,.08);
}
.product-view-cue{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:.8rem;
  transform:translate(-50%,8px);
  opacity:0;
  background:rgba(255,255,255,.94);
  padding:.42rem .75rem;
  font-family:'Oswald',sans-serif;
  font-size:.66rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:opacity .22s ease,transform .22s ease;
}
.product-card:hover .product-view-cue{
  opacity:1;
  transform:translate(-50%,0);
}
.product-card-body{
  padding:.95rem .15rem .1rem;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-card h3{
  min-height:2.65em;
  font-size:.9rem;
  line-height:1.38;
}
.product-card-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:.75rem;
  margin-top:.65rem;
}
.product-card .price{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.38rem;
  line-height:1.2;
}
.product-card .price s{
  opacity:.45;
  font-size:.78rem;
}
.product-card .stock-tag{
  margin-top:.3rem;
  font-size:.68rem;
}
.product-card .add-btn{
  min-width:56px;
  min-height:34px;
  padding:.42rem .72rem;
}
.product-card:hover .product-title-link{ color:var(--rust-dk); }

/* Shop closing brand statement */
.shop-closing-band{
  margin-top:1rem;
  padding:4.5rem 0;
  background:var(--bone);
  border-top:1px solid var(--line);
  text-align:center;
}
.shop-closing-band .wrap{ max-width:760px; }
.shop-closing-band .eyebrow{ justify-content:center; }
.shop-closing-band h2{
  margin-top:.7rem;
  font-size:clamp(2rem,4vw,3.25rem);
}
.shop-closing-band p{
  max-width:48ch;
  margin:1rem auto 1.6rem;
  color:var(--ink-70);
  line-height:1.7;
}

/* Product detail finishing */
.pdp-assurance{
  margin-top:.25rem;
  border-top:1px solid var(--line);
}
.pdp-mini-trust{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem .9rem;
  padding:.85rem 0 1rem;
  color:var(--ink-45);
  font-family:'Zilla Slab',serif;
  font-size:.72rem;
}
.pdp-mini-trust span{
  display:inline-flex;
  align-items:center;
  gap:.38rem;
}
.pdp-mini-trust span::before{
  content:'';
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--rust);
}
.pdp-details{
  margin-top:.25rem;
  border-top:1px solid var(--line);
}
.pdp-details details{ border-bottom:1px solid var(--line); }
.pdp-details summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.95rem 0;
  font-family:'Oswald',sans-serif;
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.045em;
}
.pdp-details summary::-webkit-details-marker{ display:none; }
.pdp-details summary span{
  color:var(--rust);
  font-size:1rem;
  transition:transform .2s ease;
}
.pdp-details details[open] summary span{ transform:rotate(45deg); }
.pdp-details details p{
  color:var(--ink-70);
  font-size:.82rem;
  line-height:1.65;
  padding:0 1.25rem 1rem 0;
}

/* Footer detail */
.footer-contact::after{
  content:'220 W. Trinity St. #17\A Madisonville, TX 77864';
  white-space:pre-line;
  display:block;
  margin-top:.55rem;
  line-height:1.45;
  font-size:.78rem;
}

/* Responsive polish */
@media(max-width:900px){
  .shop-hero-inner{ align-items:flex-start; flex-direction:column; gap:1rem; }
  .shop-hero-link{ display:none; }
  .trust-strip-grid{ grid-template-columns:repeat(2,1fr); }
  .trust-strip-grid > div:nth-child(2){ border-right:none; }
  .trust-strip-grid > div:nth-child(-n+2){ border-bottom:1px solid rgba(23,19,15,.12); }
  .shop-toolbar{ align-items:flex-start; flex-direction:column; }
}
@media(max-width:640px){
  .shop-hero{ padding:2.2rem 0 1.9rem; }
  .trust-strip-grid > div{ min-height:66px; padding:.85rem .8rem; }
  .trust-strip-grid strong{ font-size:.7rem; }
  .trust-strip-grid span{ font-size:.65rem; }
  .shop-catalog{ padding-top:2rem; }
  .coming-soon-note{ line-height:1.55; }
  .product-card h3{ min-height:0; }
  .product-card-body{ padding-top:.75rem; }
  .product-view-cue{ display:none; }
  .shop-closing-band{ padding:3.25rem 0; }
}
@media(max-width:420px){
  .trust-strip-grid{ grid-template-columns:1fr 1fr; }
  .product-card-bottom{ align-items:flex-start; flex-direction:column; }
  .product-card .add-btn{ width:100%; }
}

/* ============================================================
   PROMOTIONS — limited-time badge + promotion popup
   Driven by assets/js/promotions-config.js. Uses the existing
   tokens, type, and .btn styles; nothing here is promo-specific,
   so any future drop reuses it as-is.
   ============================================================ */

/* "Limited Time" product badge (replaces Sale/New on promoted products) */
.product-badge.is-limited{
  background:var(--ink);
  border-color:var(--ink);
  color:var(--paper);
}

/* Popup overlay — same treatment as the cart overlay */
.promo-overlay{
  position:fixed; inset:0; background:rgba(23,19,15,.5); opacity:0; visibility:hidden;
  backdrop-filter:blur(0px);
  transition:opacity .4s var(--ease-out), visibility .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  z-index:62;
}
.promo-overlay.open{ opacity:1; visibility:visible; backdrop-filter:blur(3px); }
html.promo-open{ overflow:hidden; }

/* Popup — centered on desktop */
.promo-modal{
  position:fixed; left:50%; top:50%; z-index:63;
  width:min(860px, calc(100% - 3rem));
  max-height:calc(100vh - 3rem);
  max-height:calc(100dvh - 3rem);
  overflow-y:auto;
  display:grid; grid-template-columns:1fr 1fr;
  background:var(--paper); border:1px solid var(--line);
  box-shadow:0 30px 60px -20px rgba(23,19,15,.35);
  opacity:0; visibility:hidden; transform:translate(-50%,-46%);
  transition:opacity .4s var(--ease-out), transform .45s var(--ease-out), visibility .4s;
}
.promo-modal.open{ opacity:1; visibility:visible; transform:translate(-50%,-50%); }
.promo-modal:focus{ outline:none; }
.promo-modal.no-media{ grid-template-columns:1fr; width:min(520px, calc(100% - 3rem)); }

.promo-close{
  position:absolute; top:.75rem; right:.75rem; z-index:3;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.94); border:none; border-radius:50%; cursor:pointer; color:var(--ink);
  transition:color .15s ease, transform .2s var(--ease-out);
}
.promo-close:hover{ color:var(--rust); transform:rotate(90deg); }

.promo-media{
  position:relative; overflow:hidden; min-height:420px;
  background:var(--bone); border-right:1px solid var(--line);
}
.promo-media > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.promo-media.is-fallback{
  background:repeating-linear-gradient(135deg, var(--bone) 0 2px, var(--bone-dk) 2px 3px, var(--bone) 3px 34px);
}
.promo-media-mark{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.promo-media-mark .brand-logo-img{ width:72px; height:auto; opacity:.55; }

.promo-body{ padding:3rem 2.5rem 2.5rem; display:flex; flex-direction:column; justify-content:center; min-width:0; }
.promo-modal.no-media .promo-body{ padding:3rem 2.25rem 2.25rem; }
.promo-title{ font-size:clamp(1.7rem, 3vw, 2.3rem); letter-spacing:-.01em; margin-top:.7rem; }
.promo-desc{ margin-top:1rem; max-width:42ch; font-size:.95rem; line-height:1.7; color:var(--ink-70); }

.promo-deal{
  margin-top:1.4rem; padding:.8rem 1rem; background:var(--bone); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
}
.promo-deal-label{ font-family:'Oswald',sans-serif; text-transform:uppercase; font-size:.9rem; letter-spacing:.03em; color:var(--rust-dk); }
.promo-code{
  display:inline-flex; align-items:center; gap:.7rem; padding:.4rem .75rem; cursor:pointer;
  background:var(--paper); border:1px solid var(--ink); color:var(--ink);
  font-family:'Zilla Slab',serif; font-size:.85rem;
  transition:background-color .2s ease, color .2s ease;
}
.promo-code strong{ font-weight:600; letter-spacing:.06em; }
.promo-code span{ font-style:italic; color:var(--ink-45); transition:color .2s ease; }
.promo-code:hover{ background:var(--ink); color:var(--paper); }
.promo-code:hover span{ color:rgba(255,255,255,.7); }

.promo-ends{ margin-top:1.1rem; font-family:'Zilla Slab',serif; font-style:italic; font-size:.8rem; color:var(--ink-45); }
.promo-actions{ margin-top:1.6rem; display:flex; }

/* Popup — bottom sheet on phones */
@media(max-width:640px){
  .promo-modal{
    left:0; right:0; top:auto; bottom:0; width:100%;
    max-height:92vh; max-height:92dvh;
    grid-template-columns:1fr;
    border-width:1px 0 0;
    transform:translateY(100%);
  }
  .promo-modal.open{ transform:translateY(0); }
  .promo-modal.no-media{ width:100%; }
  .promo-media{ min-height:0; aspect-ratio:16/9; border-right:none; border-bottom:1px solid var(--line); }
  .promo-body, .promo-modal.no-media .promo-body{ padding:1.6rem 1.25rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
  .promo-modal.no-media .promo-body{ padding-top:3.25rem; }
  .promo-actions .btn{ width:100%; }
}


/* ============================================================
   PROMOTION THEME — optional soft background tint per drop
   promotions.js sets --promo-tint / --promo-accent on <html>
   while a themed promotion is active. Only sections marked
   data-promo-surface use it (shop header + product area), so the
   header, footer, product cards, and type are untouched. With no
   active themed promotion the class is absent and none of this
   applies.
   ============================================================ */
[data-promo-surface]{ transition:background-color .6s ease, border-color .6s ease; }
html.promo-themed [data-promo-surface]{
  background-color:var(--promo-tint, transparent);
  background-image:none;
  border-color:var(--promo-accent, var(--line));
}
html.promo-themed [data-promo-surface] .shop-toolbar{
  border-bottom-color:var(--promo-accent, var(--line));
}

