/*
Theme Name: Vero en Gros
Theme URI: https://veroengros.local
Description: Custom minimalist WooCommerce storefront for Vero en Gros — a clean, editorial, whitespace-driven design inspired by the Savoy shop aesthetic. Standalone theme (no parent).
Author: Vero en Gros
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: vero
*/

/* ============================================================
   0. DESIGN TOKENS
   ============================================================ */
:root{
  --bg:        #ffffff;
  --tile:      #f5f4f2;   /* product image background */
  --tile-2:    #efedea;
  --ink:       #17150f;   /* warm near-black — headings / strong text */
  --body:      #5f5a53;   /* warm body grey — 6.83:1 on #fff */
  --muted:     #736e66;   /* warm muted — 5.06:1 on #fff */
  --line:      #e7e3dc;   /* warm hairline divider (decorative) */
  --border:    #969084;   /* form-field border — 3.17:1 on #fff (darkened from #a8a196, which failed at 2.56:1) */
  --dark:      #171717;   /* footer / topbar */
  --dark-2:    #232322;
  --accent:    #37a63c;   /* Vero logo green — brand accent (marks, underlines, hovers on dark) */
  --accent-ink:#2b8531;   /* deeper green — solid buttons + green text on white (white text = 4.66:1 AA) */
  --sale:      #b8593f;   /* terracotta sale price */

  /* Spacing scale (8pt) */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs:  12px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --section-y:       clamp(56px,8vw,112px);   /* standard section vertical padding */
  --section-y-tight: clamp(40px,6vw,72px);    /* tight section */

  /* Type scale (fluid, ratio ~1.25) */
  --text-xs:   0.75rem;                        /* 12px labels/eyebrows */
  --text-sm:   0.875rem;                       /* 14px small/caption */
  --text-base: 1rem;                           /* 16px body */
  --text-lg:   clamp(1.125rem,1.4vw,1.25rem);  /* lead 18-20 */
  --text-h3:   clamp(1.35rem,2.2vw,1.6rem);
  --text-h2:   clamp(1.9rem,3.4vw,2.5rem);
  --text-h1:   clamp(2.4rem,5vw,3.6rem);       /* display / page H1 */
  --lh-tight:  1.1;
  --lh-snug:   1.2;
  --lh-body:   1.6;

  /* Containers */
  --container-text: 700px;
  --container:      1200px;
  --container-wide: 1400px;
  --maxw:      1400px;
  --gutter:    clamp(20px, 5vw, 64px);
  --ls-wide:   .22em;     /* small-caps label tracking */
  --ls-mid:    .14em;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --hdr-h:     78px;
  --topbar-h:  40px;
}

/* ============================================================
   1. RESET / BASE
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--body);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:var(--text-base);
  font-weight:400;
  line-height:var(--lh-body);
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;   /* clip beats hidden: no stray scroll container, still contains overflow */
}
html{ overflow-x:clip; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--ink); text-decoration:none; transition:color .25s var(--ease),opacity .25s var(--ease); }
a:hover{ color:var(--accent-ink); }
button{ font-family:inherit; cursor:pointer; }
/* Form controls don't inherit font-family by default → WooCommerce checkout inputs were Arial and
   textareas monospace. Force the theme font (Inter) on every control site-wide. */
input,select,textarea,button{ font-family:inherit; }
::selection{ background:var(--ink); color:#fff; }

/* Visible keyboard focus ring on every interactive element (accessibility).
   Added on top of the existing :focus border swaps below — does NOT replace them.
   --ink on #fff is 15.6:1, well past the 3:1 non-text contrast minimum. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:2px;
}

/* Visually hide accessibility labels (the theme was missing this — WooCommerce's hidden
   "…quantity" labels were rendering as visible wrapping text and inflating cart rows). */
.screen-reader-text,.screen-reader-text span,.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
}
.screen-reader-text:focus,.skip-link:focus{
  position:fixed !important; top:10px; left:10px; width:auto; height:auto; clip:auto; clip-path:none;
  background:#fff; color:var(--ink); padding:12px 18px; z-index:1000; box-shadow:0 4px 20px rgba(0,0,0,.2);
}

h1,h2,h3,h4,h5,h6{
  font-family:inherit;
  color:var(--ink);
  font-weight:400;
  line-height:var(--lh-snug);
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
h1{ font-size:var(--text-h1); line-height:var(--lh-tight); }
h2{ font-size:var(--text-h2); }
h3{ font-size:var(--text-h3); }
p{ margin:0 0 1.4em; }
p:last-child{ margin-bottom:0; }

/* small-caps editorial label */
.kicker{
  font-size:var(--text-xs);
  font-weight:500;
  letter-spacing:var(--ls-wide);
  text-transform:uppercase;
  color:var(--muted);
  display:inline-block;
  margin:0 0 1.2em;
}

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.section{ padding:var(--section-y) 0; }
.section--tight{ padding:var(--section-y-tight) 0; }

/* ============================================================
   2. BUTTONS
   ============================================================ */
/* Button matrix — three roles, shared metrics:
   PRIMARY  (.btn)          solid ink on white text
   SECONDARY(.btn--ghost)   outline: ink border, transparent fill
   INVERSE  (.btn--light)   for dark backgrounds
   Shared: Inter (inherited), --text-xs uppercase, --ls-mid tracking,
   radius 0, spacing-scale padding, min-height 48px. */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:var(--text-xs);
  font-weight:600;
  letter-spacing:var(--ls-mid);
  text-transform:uppercase;
  min-height:48px;
  padding:var(--space-sm) var(--space-xl);
  border:1px solid var(--accent-ink);
  background:var(--accent-ink);
  color:#fff;
  border-radius:0;
  transition:background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease);
  cursor:pointer;
  line-height:1;
}
.btn:hover{ background:transparent; color:var(--accent-ink); }
.btn--ghost{ background:transparent; color:var(--accent-ink); border-color:var(--accent-ink); }
.btn--ghost:hover{ background:var(--accent-ink); color:#fff; }
.btn--light{ background:transparent; color:#fff; border-color:#fff; }
.btn--light:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }
.btn--block{ display:flex; width:100%; text-align:center; }

/* ============================================================
   3. TOP ANNOUNCEMENT BAR
   ============================================================ */
.topbar{
  background:var(--dark);
  color:#c9c7c2;
  font-size:11px;
  letter-spacing:.06em;
  height:var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 var(--gutter);
  position:relative;
  z-index:60;
}
.topbar a{ color:#fff; }
.topbar__msg{ opacity:.9; }
.topbar__msg strong{ color:#fff; font-weight:600; }

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--line);
  transition:background .35s var(--ease),border-color .35s var(--ease),color .35s var(--ease);
}
.site-header__inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--gutter);
  height:var(--hdr-h);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
}
.site-branding{ grid-column:2; text-align:center; }
.site-branding .site-logo{ display:inline-block; line-height:0; }
.site-branding .site-logo img{ height:34px; width:auto; }
/* two-state logo: black wordmark on the solid white header … */
.site-branding .site-logo img.site-logo__onlight{ display:block; }
.site-branding .site-logo img.site-logo__ondark{ display:none; }
/* … white wordmark while the transparent header sits over the dark hero */
body.at-hero-top .site-branding .site-logo img.site-logo__onlight{ display:none; }
body.at-hero-top .site-branding .site-logo img.site-logo__ondark{ display:block; }

/* primary nav (left) */
.main-nav{ grid-column:1; }
.main-nav ul{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:30px; }
.main-nav li{ position:relative; }
.main-nav a{
  font-size:12px;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink);
  padding:8px 0;
  display:inline-block;
  position:relative;
}
.main-nav > ul > li > a::after{
  content:''; position:absolute; left:0; right:0; bottom:0;
  height:1px; background:var(--accent); transform:scaleX(0);
  transform-origin:left; transition:transform .3s var(--ease);
}
.main-nav > ul > li:hover > a::after{ transform:scaleX(1); }

/* dropdown */
.main-nav ul ul{
  position:absolute; top:100%; left:-16px; min-width:230px;
  background:#fff; border:1px solid var(--line);
  padding:12px 0; display:block; flex-direction:column; gap:0;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .25s var(--ease),transform .25s var(--ease),visibility .25s;
  box-shadow:0 24px 48px -24px rgba(0,0,0,.18); z-index:60;
}
.main-nav li:hover > ul{ opacity:1; visibility:visible; transform:translateY(0); }
.main-nav ul ul li{ display:block; }
.main-nav ul ul a{
  display:block; padding:9px 24px; text-transform:none;
  letter-spacing:.02em; font-size:13px; font-weight:400; color:var(--body);
}
.main-nav ul ul a:hover{ color:var(--accent-ink); background:var(--tile); }

/* header actions (right) */
.header-actions{
  grid-column:3; display:flex; align-items:center; justify-content:flex-end; gap:22px;
}
.header-actions a,.header-actions button{
  color:var(--ink); background:none; border:0; padding:0; display:inline-flex;
  align-items:center; line-height:1;
}
.header-actions svg{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.4; }
.cart-link{ position:relative; }
.cart-count{
  position:absolute; top:-8px; right:-10px; min-width:16px; height:16px; padding:0 4px;
  background:var(--accent-ink); color:#fff; font-size:10px; font-weight:600; line-height:16px;
  text-align:center; border-radius:9px;
}
.menu-toggle{ display:none; }
/* My Account hidden until online checkout goes live (header icon + drawer link).
   The account page still exists — remove this rule to re-enable. */
.header-actions .account-link,
.nav-extra__link{ display:none !important; }

/* mobile drawer extras (account + language) — hidden on desktop, revealed inside the off-canvas nav */
.nav-extra{ display:none; }

/* language switcher */
.lang-switch{ display:flex; gap:4px; align-items:center; list-style:none; margin:0; padding:0; }
.lang-switch li{ margin:0; }
.lang-switch a{
  font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
  padding:4px 5px; display:inline-block;
}
.lang-switch a:hover{ color:var(--ink); }
.lang-switch .current-lang a,
.lang-switch .current-lang > a{ color:var(--ink); }
body.at-hero-top .lang-switch a{ color:rgba(255,255,255,.7); }
body.at-hero-top .lang-switch .current-lang a{ color:#fff; }

/* --- Home: header is ALWAYS fixed (never switches position); only the
   colour/background toggles between transparent-over-hero and solid-on-scroll.
   This avoids the fixed<->sticky + negative-margin overlap. --- */
body.is-home .topbar{ position:fixed; top:0; left:0; right:0; z-index:101; }
body.is-home .site-header{ position:fixed; top:var(--topbar-h); left:0; right:0; }

/* at the top of home: transparent header, white text over the dark hero */
body.at-hero-top .site-header{ background:transparent; border-bottom-color:transparent; color:#fff; }
body.at-hero-top .topbar{ background:transparent; color:rgba(255,255,255,.85); }
body.at-hero-top .site-branding a,
body.at-hero-top .main-nav > ul > li > a,
body.at-hero-top .header-actions a,
body.at-hero-top .header-actions button,
body.at-hero-top .site-branding .tag{ color:#fff; }
body.at-hero-top .main-nav ul ul a{ color:var(--body); }        /* dropdown stays light */
body.at-hero-top .main-nav ul ul a:hover{ color:var(--ink); }

/* once scrolled off the hero: solid white header (base .site-header styles apply) */
body.is-home:not(.at-hero-top) .topbar{ background:var(--dark); color:#c9c7c2; }

/* ============================================================
   5. HERO
   ============================================================ */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;   /* small viewport height: fully visible on mobile without the URL bar cropping it */
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  background:#1b1b1a;
  overflow:hidden;
  margin-top:calc(-1 * (var(--hdr-h) + var(--topbar-h)));  /* slide under fixed header */
  padding-top:calc(var(--hdr-h) + var(--topbar-h));
}
.hero__bg{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(120% 90% at 70% 15%, rgba(255,238,204,.16), transparent 55%),
    radial-gradient(80% 70% at 20% 90%, rgba(120,150,200,.10), transparent 60%),
    linear-gradient(160deg,#232220 0%,#141312 60%,#0d0d0c 100%);
}
.hero__bg::after{  /* subtle vignette */
  content:''; position:absolute; inset:0;
  background:radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0,0,0,.45));
}
.hero__inner{ position:relative; z-index:2; max-width:760px; padding:0 var(--gutter); }
.hero .kicker{ color:rgba(255,255,255,.7); }
.hero h1{
  color:#fff; font-weight:300;
  font-size:var(--text-h1);
  line-height:1.08; letter-spacing:-.02em; margin:0 0 .5em;
}
.hero__sub{
  color:rgba(255,255,255,.8);
  font-size:clamp(15px,1.5vw,18px);
  max-width:520px; margin:0 auto 2.4em;
}
.hero__cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero__scroll{
  position:absolute; left:50%; bottom:34px; transform:translateX(-50%); z-index:2;
  font-size:10px; letter-spacing:var(--ls-wide); text-transform:uppercase; color:rgba(255,255,255,.6);
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.hero__scroll::after{ content:''; width:1px; height:44px; background:rgba(255,255,255,.4); animation:scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse{ 0%,100%{ transform:scaleY(.4); opacity:.3; transform-origin:top; } 50%{ transform:scaleY(1); opacity:1; transform-origin:top; } }

/* ============================================================
   6. SECTION HEADINGS
   ============================================================ */
.section-head{ text-align:center; max-width:640px; margin:0 auto clamp(36px,5vw,64px); }
/* heading-only sections (button is the last element, no grid follows) — drop the
   bottom margin so the section's own padding alone sets the space below */
.section-head:last-child{ margin-bottom:0; }
.section-head h2{
  font-weight:300; font-size:var(--text-h2); letter-spacing:-.01em; margin:0 0 .35em;
}
.section-head p{ color:var(--body); font-size:15px; }
.section-head--left{ text-align:left; margin-left:0; }

.section-link{
  font-size:11px; font-weight:600; letter-spacing:var(--ls-mid); text-transform:uppercase;
  border-bottom:1px solid currentColor; padding-bottom:4px; color:var(--ink);
}

/* ============================================================
   7. PRODUCT GRID + CARD  (Savoy style, centered)
   ============================================================ */
ul.products{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-lg) var(--space-md);
}
ul.products.columns-3{ grid-template-columns:repeat(3,1fr); }
ul.products.columns-2{ grid-template-columns:repeat(2,1fr); }
ul.products::before,ul.products::after{ display:none !important; }

li.product{ margin:0 !important; width:auto !important; float:none !important; text-align:center; }

.pcard__link{ display:block; }
.pcard__media{
  position:relative; background:var(--tile); overflow:hidden;
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.pcard__media img{
  width:82%; height:82%; object-fit:contain; mix-blend-mode:multiply;
  transition:transform .7s var(--ease); margin:0 auto;
}
.pcard:hover .pcard__media img{ transform:scale(1.05); }
/* transparent-PNG products: no multiply (keeps whites white), a touch more padding */
.pcard--transparent .pcard__media img{ mix-blend-mode:normal; width:78%; height:78%; }
.single-product.product-transparent .woocommerce-product-gallery img{ mix-blend-mode:normal; }
/* white-background product photos: white media area, no multiply, image fills it */
.pcard--white .pcard__media{ background:#fff; }
.pcard--white .pcard__media img{ mix-blend-mode:normal; width:100%; height:100%; object-fit:contain; }
.single-product.product-whitebg .woocommerce-product-gallery{ background:#fff; }
.single-product.product-whitebg .woocommerce-product-gallery img{ mix-blend-mode:normal; }
.single-product.product-whitebg .flex-control-thumbs img{ background:#fff; }
.pcard__badge{
  position:absolute; top:14px; left:14px; z-index:3;
  background:var(--ink); color:#fff; font-size:10px; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; padding:5px 11px;
}
.pcard__badge--sale{ background:var(--sale); }
.pcard__badge--oos{ background:var(--muted); }
/* dim the image of out-of-stock cards so they read as unavailable at a glance */
.pcard.outofstock .pcard__media img{ opacity:.55; }

/* slide-up add-to-cart */
.pcard__add{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  background:var(--ink); color:#fff; text-align:center;
  font-size:11px; font-weight:600; letter-spacing:var(--ls-mid); text-transform:uppercase;
  padding:15px; transform:translateY(101%); transition:transform .35s var(--ease);
}
.pcard:hover .pcard__add{ transform:translateY(0); }
.pcard__add:hover{ background:var(--dark-2); color:#fff; }
.pcard__add.loading{ opacity:.6; pointer-events:none; }
.pcard__add.added::after{ content:' ✓'; }
/* Touch devices have no hover to trigger the slide-up, and forcing it static made it a flex
   sibling of the image (overlapping it). Hide the quick-add on touch — the whole tile links to
   the product page, which has a full add-to-cart. Keeps mobile cards clean (image → cat → title → price). */
@media (hover:none){
  .pcard__add{ display:none !important; }
  .pcard:hover .pcard__media img{ transform:none; }
}

.pcard__cat{
  font-size:10px; letter-spacing:var(--ls-wide); text-transform:uppercase; color:var(--muted);
  display:block; margin-bottom:7px;
}
.pcard__title{
  font-size:14px; font-weight:500; color:var(--ink); line-height:1.4; margin:0 0 6px;
  letter-spacing:0;
}
.pcard__title a{ color:inherit; }
.pcard__title a:hover{ color:var(--accent-ink); }
.pcard__price{ font-size:14px; color:var(--body); }
.pcard__price .amount{ color:var(--ink); }
.pcard__price del{ color:var(--muted); margin-right:8px; opacity:.7; }
.pcard__price ins{ text-decoration:none; color:var(--sale); }

/* ============================================================
   8. SHOP-BY-CATEGORY TILES
   ============================================================ */
.cat-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-md); }
.cat-tile{
  position:relative; aspect-ratio:4/5; overflow:hidden; display:block;
  background:var(--tile-2);   /* light grey base — same vibe as the product shots */
}
.cat-tile img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .8s var(--ease);
}
.cat-tile:hover img{ transform:scale(1.06); }
.cat-tile__overlay{
  position:absolute; inset:0; z-index:2; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end; text-align:center; color:var(--ink);
  padding:0 0 clamp(26px,4vw,40px);
  background:linear-gradient(180deg,rgba(239,237,234,0) 45%,rgba(239,237,234,.7) 76%,rgba(239,237,234,.96));
}
.cat-tile__overlay h3{ color:var(--ink); font-weight:400; font-size:clamp(1.1rem,2vw,1.5rem); margin:0 0 .6em; }
.cat-tile__overlay span{
  font-size:10px; letter-spacing:var(--ls-mid); text-transform:uppercase; font-weight:600;
  color:var(--ink); border-bottom:1px solid rgba(23,23,23,.5); padding-bottom:4px;
}

/* ============================================================
   9. EDITORIAL / WHOLESALE BAND
   ============================================================ */
.band{ background:var(--dark); color:rgba(255,255,255,.75); }
.band.section{ padding:clamp(52px,7vw,84px) 0; }   /* the dark bands are sparse (centered text) — trim the generous .section padding */
.band .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,80px); align-items:center; }
.band__text h2{ color:#fff; font-weight:300; font-size:var(--text-h2); }
.band__text .kicker{ color:rgba(255,255,255,.55); }
.band__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center; }
.band__stats .n{ display:block; color:#fff; font-size:clamp(1.8rem,4vw,3rem); font-weight:300; }
.band__stats .l{ font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:rgba(255,255,255,.55); }
/* centered single-column band (e.g. the quote CTA) */
.band--center .wrap{ grid-template-columns:1fr; text-align:center; }
.band--center .band__text{ max-width:620px; margin:0 auto; }

/* USP row */
.usps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-block:clamp(28px,5vw,60px); }
.usp{ text-align:center; padding:clamp(28px,4vw,44px) 16px; }
.usp svg{ width:26px; height:26px; stroke:var(--ink); fill:none; stroke-width:1.3; margin:0 auto 14px; }
.usp h4{ font-size:13px; font-weight:600; letter-spacing:.02em; margin:0 0 6px; }
.usp p{ font-size:12.5px; color:var(--body); margin:0; line-height:1.6; }
.usp + .usp{ border-left:1px solid var(--line); }

/* ============================================================
   10. WOOCOMMERCE — ARCHIVE / SHOP
   ============================================================ */
/* ---- Unified inner-page header — light "kicker + thin title", centered.
   Shared by generic pages (.page-hero), the shop (.shop-hero) and about/contact
   (.about-hero). The full dark .hero is reserved for the HOME page only. ---- */
.page-hero,
.shop-hero,
.about-hero{
  text-align:center;
  padding-top:var(--section-y-tight);
  padding-bottom:clamp(26px,3.5vw,40px);
  color:var(--ink);
  background:none;
}
/* page-hero + about-hero carry their own side gutter; shop-hero centres via an inner .wrap */
.page-hero,
.about-hero{ padding-left:var(--gutter); padding-right:var(--gutter); }
.page-hero h1,
.shop-hero .shop-title,
.about-hero h1{
  font-weight:300; font-size:var(--text-h1); letter-spacing:-.01em; line-height:1.08; margin:0;
}
.page-hero .kicker,
.shop-hero .kicker,
.about-hero .kicker{ color:var(--muted); margin-bottom:1em; }
.page-hero p,
.shop-hero .shop-sub,
.about-hero p{ color:var(--body); max-width:560px; margin:.8em auto 0; }

.woocommerce-notices-wrapper:empty{ margin:0; display:none; }
/* PDP breadcrumb (shop uses .shop-crumb) */
.woocommerce-breadcrumb{
  font-size:10.5px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted);
}
.woocommerce-breadcrumb a{ color:var(--muted); }
.woocommerce-breadcrumb a:hover{ color:var(--accent-ink); }
.single-product .woocommerce-breadcrumb{ text-align:left; margin-bottom:clamp(20px,3vw,34px); }

/* --- Shop hero (compact, centered) — padding comes from the shared inner-page
   header rule above; the inner .wrap supplies the side gutter + max width. --- */
.shop-crumb{
  font-size:10.5px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted);
  display:flex; gap:8px; justify-content:center; align-items:center; margin-bottom:16px;
}
.shop-crumb a{ color:var(--muted); }
.shop-crumb a:hover{ color:var(--accent-ink); }
.shop-crumb .current{ color:var(--ink); }
.shop-title{ font-weight:300; font-size:var(--text-h1); letter-spacing:-.01em; margin:0; }
.shop-sub{ color:var(--body); max-width:560px; margin:14px auto 0; font-size:14.5px; }

/* --- Shop body: sidebar + grid --- */
.shop-body{
  display:grid; grid-template-columns:230px minmax(0,1fr); gap:var(--space-xl);
  align-items:start; padding-bottom:clamp(50px,7vw,90px); position:relative;
}
.shop-main ul.products{ grid-template-columns:repeat(3,1fr); }

/* toolbar above grid */
.shop-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:0 0 18px; border-bottom:1px solid var(--line); margin-bottom:clamp(26px,3vw,40px);
}
.shop-toolbar .woocommerce-result-count{ font-size:12px; color:var(--muted); letter-spacing:.04em; margin:0; }
.shop-filter-open,.shop-filter-close{ display:none; }
.woocommerce-ordering{ margin:0; }
.woocommerce-ordering select,.orderby{
  border:1px solid var(--border); background:#fff; padding:9px 34px 9px 14px; font-size:12px;
  letter-spacing:.04em; color:var(--ink); border-radius:0; appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%23171717' fill='none' stroke-width='1.2'/></svg>");
  background-repeat:no-repeat; background-position:right 12px center;
}

/* --- Sidebar widgets --- */
.shop-sidebar .widget{ margin:0 0 34px; padding:0 0 30px; border-bottom:1px solid var(--line); }
.shop-sidebar .widget:last-child{ border-bottom:0; }
.shop-sidebar .widget-title,
.shop-sidebar .widgettitle{
  font-size:11px; font-weight:600; letter-spacing:var(--ls-wide); text-transform:uppercase;
  color:var(--ink); margin:0 0 16px;
}
.shop-sidebar ul{ list-style:none; margin:0; padding:0; }
.shop-sidebar li{ margin:0 0 10px; line-height:1.4; }
.shop-sidebar a{ font-size:13px; color:var(--body); display:flex; justify-content:space-between; gap:8px; }
.shop-sidebar a:hover{ color:var(--accent-ink); }
.shop-sidebar .is-active{ color:var(--accent-ink); font-weight:500; }
.shop-sidebar .count{ color:var(--muted); font-size:11px; }
/* layered nav chosen/active */
.shop-sidebar .chosen a,
.woocommerce-widget-layered-nav-list__item--chosen a{ color:var(--accent-ink); font-weight:500; }
/* layered-nav rows: term + count on ONE line (count aligned right) */
.woocommerce-widget-layered-nav-list__item{
  margin:0 0 9px; display:flex; align-items:baseline; justify-content:space-between; gap:8px;
}
.woocommerce-widget-layered-nav-list__item > a{ display:inline; }
.woocommerce-widget-layered-nav-list__item .count{ float:none; flex:none; }
.woocommerce-widget-layered-nav-dropdown{ display:none; }
/* price slider */
.price_slider_wrapper{ margin-top:4px; }
.price_slider{ margin:14px 4px 20px; }
.ui-slider{ position:relative; height:2px; background:var(--line); border-radius:0; }
.ui-slider .ui-slider-range{ position:absolute; height:2px; background:var(--ink); }
.ui-slider .ui-slider-handle{
  position:absolute; top:-5px; width:12px; height:12px; margin-left:-6px; background:var(--ink);
  border-radius:50%; cursor:pointer;
}
.price_slider_amount{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.price_slider_amount .price_label{ font-size:12px; color:var(--body); order:1; width:100%; }
.price_slider_amount .button{
  order:2; background:var(--ink); color:#fff; border:0; font-size:10px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; padding:9px 16px; cursor:pointer;
}

.shop-empty{ color:var(--body); padding:40px 0; }

.woocommerce-pagination{ margin-top:clamp(40px,6vw,72px); text-align:center; }
.woocommerce-pagination ul{ list-style:none; display:inline-flex; gap:6px; padding:0; margin:0; }
.woocommerce-pagination a,.woocommerce-pagination span{
  display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px;
  border:1px solid var(--line); font-size:13px; color:var(--ink); background:#fff;
}
.woocommerce-pagination .current{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ============================================================
   11. WOOCOMMERCE — SINGLE PRODUCT (PDP)
   ============================================================ */
.single-product div.product{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(30px,4.5vw,64px); align-items:start; margin:0;
}
.single-product .woocommerce-product-gallery{
  background:var(--tile); margin:0; width:auto !important; float:none !important;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:clamp(24px,5%,56px); min-height:clamp(340px,42vw,560px);
}
.single-product .woocommerce-product-gallery__wrapper{ margin:0; width:100%; }
.single-product .woocommerce-product-gallery__wrapper::after{ content:""; display:block; clear:both; } /* flexslider floats slides */
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a{ display:block; }
.single-product .woocommerce-product-gallery img{ mix-blend-mode:multiply; margin:0 auto; }
.single-product .woocommerce-product-gallery__image img{ width:100%; height:auto; display:block; } /* slides fill viewport width */
.single-product .woocommerce-product-gallery__trigger{ display:none; }  /* no magnifier */
/* Gallery carousel (flexslider) — main image with a thumbnail strip below */
.single-product .flex-viewport{ width:100%; overflow:hidden; }
.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; width:100%;
  list-style:none; margin:clamp(16px,3vw,28px) 0 0; padding:0;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li{ margin:0; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img{
  width:60px; height:60px; object-fit:contain; padding:4px; cursor:pointer; opacity:.5;
  background:var(--tile); border:1px solid var(--line);
  transition:opacity .2s var(--ease), border-color .2s var(--ease);
}
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover{ opacity:1; border-color:var(--ink); }
.single-product div.product .summary{ margin:0; padding:0; min-width:0; width:auto !important; float:none !important; }
.single-product .product_title{ font-weight:300; font-size:var(--text-h1); margin:0 0 .35em; line-height:1.12; }
.single-product .woocommerce-product-details__short-description{ color:var(--body); margin:0 0 1.8em; font-size:15px; line-height:1.75; }
.single-product .price{ color:var(--ink); font-size:1.55rem; font-weight:400; margin:0 0 1.5em; padding-bottom:1.3em; border-bottom:1px solid var(--line); display:block; }
.single-product .price del{ color:var(--muted); font-size:1.1rem; margin-right:12px; }
.single-product .price ins{ text-decoration:none; color:var(--sale); }
/* (breadcrumb styled once in the shop-header block above) */

/* qty + add to cart */
form.cart{ display:flex; gap:14px; align-items:stretch; margin:0 0 1.8em; flex-wrap:wrap; }
.quantity{ display:inline-flex; border:1px solid var(--line); }
.quantity input.qty{
  width:64px; border:0; text-align:center; font-size:14px; color:var(--ink); background:#fff; -moz-appearance:textfield;
}
.quantity input.qty::-webkit-outer-spin-button,.quantity input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.single_add_to_cart_button,.woocommerce div.product form.cart .button{
  display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  background:var(--accent-ink); color:#fff; border:1px solid var(--accent-ink); text-transform:uppercase;
  font-size:var(--text-xs); font-weight:600; letter-spacing:var(--ls-mid); padding:var(--space-sm) var(--space-xl); border-radius:0;
  transition:background .3s var(--ease),color .3s var(--ease); flex:1; min-width:200px;
}
.single_add_to_cart_button:hover{ background:transparent; color:var(--accent-ink); }

/* variations */
.variations{ margin:0 0 1.4em; border:0; }
.variations th{ text-align:left; font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted); font-weight:600; padding:8px 16px 8px 0; }
.variations select{
  border:1px solid var(--border); padding:var(--space-xs) var(--space-sm); font-size:14px; border-radius:0; min-width:220px; background:#fff;
}

/* meta */
.product_meta{ font-size:12px; color:var(--muted); border-top:1px solid var(--line); padding-top:20px; margin-top:24px; letter-spacing:.03em; }
.product_meta > span{ display:block; margin-bottom:6px; }
.product_meta a{ color:var(--body); }

/* tabs */
.woocommerce-tabs{ grid-column:1 / -1; margin-top:clamp(40px,5vw,64px); border-top:1px solid var(--line); padding-top:clamp(30px,4vw,52px); }
.wc-tabs{ list-style:none; display:flex; gap:36px; padding:0; margin:0 0 32px; justify-content:center; flex-wrap:wrap; }
.wc-tabs li a{
  font-size:12px; font-weight:600; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted);
  padding-bottom:8px; border-bottom:1px solid transparent;
}
.wc-tabs li.active a{ color:var(--ink); border-bottom-color:var(--ink); }
.woocommerce-Tabs-panel{ max-width:var(--container-text); margin:0 auto; color:var(--body); }
.woocommerce-Tabs-panel h2{ font-weight:300; font-size:1.4rem; margin-bottom:.8em; }
.shop_attributes{ width:100%; border-collapse:collapse; }
.shop_attributes th,.shop_attributes td{ text-align:left; padding:12px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.shop_attributes th{ color:var(--ink); font-weight:600; width:30%; }

/* related / upsells */
.related,.upsells{ grid-column:1 / -1; margin-top:clamp(56px,8vw,100px); }
.related > h2,.upsells > h2{ text-align:center; font-weight:300; font-size:clamp(1.5rem,2.6vw,2rem); margin-bottom:clamp(30px,4vw,52px); }

/* key-spec chips + trust badges (PDP hooks) */
.spec-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 1.6em; }
.spec-chips span{ font-size:11px; letter-spacing:.04em; color:var(--ink); background:var(--tile); padding:7px 13px; }
.trust-row{ display:flex; flex-wrap:wrap; gap:20px; margin:22px 0 0; padding-top:20px; border-top:1px solid var(--line); }
.trust-row div{ display:flex; align-items:center; gap:9px; font-size:12px; color:var(--body); }
.trust-row svg{ width:17px; height:17px; stroke:var(--accent); fill:none; stroke-width:1.5; }

/* ---- Spec-sheet view / download (PDP) ---- */
.spec-sheet{ margin:22px 0 0; display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; }
.spec-sheet__link{ display:inline-flex; align-items:center; gap:10px; padding:13px 20px; border:1px solid var(--ink); color:var(--ink); font-size:13px; letter-spacing:.02em; text-decoration:none; transition:background .18s ease, color .18s ease; }
.spec-sheet__link:hover{ background:var(--ink); color:#fff; }
.spec-sheet__link svg{ width:17px; height:17px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.spec-sheet__dl{ display:inline-flex; align-items:center; gap:7px; color:var(--body); font-size:12.5px; letter-spacing:.02em; text-decoration:none; }
.spec-sheet__dl:hover{ color:var(--ink); text-decoration:underline; }
.spec-sheet__dl svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* ---- Spec-sheet preview modal ---- */
.spec-modal{ position:fixed; inset:0; z-index:300; display:none; align-items:center; justify-content:center; padding:clamp(10px,3vw,40px); background:rgba(20,20,18,.72); }
body.spec-modal-open{ overflow:hidden; }
body.spec-modal-open .spec-modal{ display:flex; }
.spec-modal__panel{ background:#fff; width:min(940px,100%); height:min(88vh,100%); display:flex; flex-direction:column; box-shadow:0 24px 70px rgba(0,0,0,.45); }
.spec-modal__bar{ display:flex; align-items:center; gap:18px; padding:12px 16px; border-bottom:1px solid var(--line); }
.spec-modal__title{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-right:auto; }
.spec-modal__ext, .spec-modal__dl{ font-size:12.5px; color:var(--ink); text-decoration:none; }
.spec-modal__ext:hover, .spec-modal__dl:hover{ text-decoration:underline; }
.spec-modal__close{ background:none; border:0; font-size:26px; line-height:1; color:var(--ink); cursor:pointer; padding:0 2px; }
.spec-modal__frame{ flex:1; width:100%; border:0; background:var(--tile); }
@media (max-width:600px){ .spec-modal__title{ display:none; } }

/* ---- Search overlay (drops from the top) ---- */
.search-overlay{ position:fixed; top:0; left:0; right:0; z-index:250; background:#fff; border-bottom:1px solid var(--line); transform:translateY(-100%); transition:transform .28s cubic-bezier(.4,0,.2,1); }
body.search-open .search-overlay{ transform:translateY(0); box-shadow:0 14px 34px rgba(0,0,0,.09); }
.search-overlay__form{ max-width:var(--container); margin:0 auto; display:flex; align-items:center; gap:14px; padding:16px var(--gutter); }
.search-overlay__form > svg{ width:22px; height:22px; stroke:var(--muted); fill:none; stroke-width:1.6; flex:0 0 auto; }
.search-overlay__input{ flex:1; min-width:0; border:0; background:none; font-family:inherit; font-size:clamp(18px,3vw,26px); font-weight:300; color:var(--ink); padding:6px 0; }
.search-overlay__input:focus{ outline:none; }
.search-overlay__go{ border:0; background:var(--ink); color:#fff; font-size:12px; letter-spacing:.12em; text-transform:uppercase; padding:12px 22px; cursor:pointer; flex:0 0 auto; }
.search-overlay__go:hover{ background:var(--accent); }
.search-overlay__close{ border:0; background:none; cursor:pointer; padding:6px; display:inline-flex; flex:0 0 auto; }
.search-overlay__close svg{ width:22px; height:22px; stroke:var(--ink); fill:none; stroke-width:1.6; }
@media (max-width:520px){ .search-overlay__go{ display:none; } }

/* ---- Reviews (star font from WooCommerce, form styled to theme) ---- */
@font-face{
  font-family:'wc-star'; font-weight:400; font-style:normal;
  src:url('/wp-content/plugins/woocommerce/assets/fonts/star.woff') format('woff');
}
#reviews .woocommerce-Reviews-title,
#reviews h2:first-child{ font-weight:300; font-size:1.4rem; margin:0 0 1em; }
#reviews .commentlist{ list-style:none; margin:0 0 2.5em; padding:0; }
#reviews .commentlist li{ border-bottom:1px solid var(--line); padding:0 0 20px; margin:0 0 20px; }
#reviews .comment-text{ color:var(--body); }
#reviews .meta{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.woocommerce-noreviews{ color:var(--body); }

/* read-only star display */
.star-rating{
  overflow:hidden; position:relative; height:1em; width:5.4em; line-height:1;
  font-family:'wc-star'; font-size:14px; margin:0 0 6px;
}
.star-rating::before{ content:"\73\73\73\73\73"; color:#d9d6cf; float:left; top:0; left:0; position:absolute; letter-spacing:.1em; }
.star-rating span{ overflow:hidden; float:left; top:0; left:0; position:absolute; padding-top:1.5em; }
.star-rating span::before{ content:"\53\53\53\53\53"; top:0; position:absolute; left:0; color:#e0a800; letter-spacing:.1em; }

/* review form */
#review_form_wrapper{ max-width:var(--container-text); }
.comment-reply-title{ font-weight:400; font-size:1.05rem; margin:0 0 .3em; }
#reviews .comment-form{ margin-top:1em; }
#reviews .comment-notes,
#reviews .comment-form-cookies-consent label{ font-size:12.5px; color:var(--muted); }
.comment-form-rating label,
#reviews .comment-form label{ display:block; font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
.comment-form-rating{ margin:0 0 18px; }

/* star selector */
p.stars{ display:inline-block; margin:0; font-size:20px; line-height:1; }
p.stars a{
  position:relative; height:1em; width:1em; text-indent:-999em; display:inline-block;
  text-decoration:none; margin-right:2px;
}
p.stars a::before{
  display:block; position:absolute; top:0; left:0; width:1em; height:1em; line-height:1;
  font-family:'wc-star'; content:"\53"; text-indent:0; color:#d9d6cf;
}
p.stars a:hover ~ a::before{ content:"\53"; color:#d9d6cf; }
p.stars:hover a::before{ content:"\53"; color:#e0a800; }
p.stars:hover a:hover ~ a::before{ color:#d9d6cf; }
p.stars.selected a.active::before{ content:"\53"; color:#e0a800; }
p.stars.selected a.active ~ a::before{ content:"\53"; color:#d9d6cf; }
p.stars.selected a:not(.active)::before{ content:"\53"; color:#e0a800; }

#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea{
  width:100%; border:1px solid var(--border); background:#fff; padding:var(--space-xs) var(--space-sm); font-size:14px;
  font-family:inherit; color:var(--ink); border-radius:0;
}
#reviews .comment-form textarea{ min-height:130px; resize:vertical; }
#reviews .comment-form input:focus,#reviews .comment-form textarea:focus{ outline:none; border-color:var(--ink); }
#reviews .comment-form p{ margin:0 0 16px; }
#reviews .comment-form-cookies-consent{ display:flex; align-items:flex-start; gap:8px; }
#reviews .comment-form-cookies-consent input{ margin-top:3px; }
#reviews .form-submit .submit,
#reviews #submit{
  display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  background:var(--ink); color:#fff; border:1px solid var(--ink); text-transform:uppercase;
  font-size:var(--text-xs); font-weight:600; letter-spacing:var(--ls-mid); padding:var(--space-sm) var(--space-xl); border-radius:0; cursor:pointer;
  transition:background .3s var(--ease),color .3s var(--ease);
}
#reviews .form-submit .submit:hover,#reviews #submit:hover{ background:transparent; color:var(--ink); }

/* ============================================================
   12. CART / CHECKOUT (branding)
   ============================================================ */
.woocommerce-cart .shop_table,.woocommerce-checkout .shop_table{ border:1px solid var(--line); border-collapse:collapse; width:100%; }
.woocommerce-cart th,.woocommerce-checkout th{
  font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--ink);
  text-align:left; padding:16px; border-bottom:1px solid var(--line);
}
.woocommerce-cart td,.woocommerce-checkout td{ padding:16px; border-bottom:1px solid var(--line); font-size:14px; }
.cart_totals h2{ font-weight:300; }
.checkout-button,#place_order,.wc-proceed-to-checkout .button{
  display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  background:var(--accent-ink) !important; color:#fff !important; border:1px solid var(--accent-ink) !important;
  text-transform:uppercase; letter-spacing:var(--ls-mid); font-size:var(--text-xs); font-weight:600;
  padding:var(--space-sm) var(--space-xl) !important; border-radius:0 !important; width:100%;
}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{
  border:1px solid var(--border); padding:var(--space-xs) var(--space-sm); border-radius:0; font-size:14px; background:#fff; color:var(--ink);
}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{ outline:none; border-color:var(--ink); }
.woocommerce form .form-row textarea{ min-height:120px; resize:vertical; }
/* Editorial field labels (match the theme's contact/account forms) */
.woocommerce-checkout .woocommerce-billing-fields .form-row > label,
.woocommerce-checkout .woocommerce-shipping-fields .form-row > label,
.woocommerce-checkout .woocommerce-additional-fields .form-row > label{
  font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted); font-weight:500;
}
.woocommerce-checkout .form-row label .required{ color:var(--sale); border:0; text-decoration:none; }
.woocommerce form .form-row{ margin-bottom:16px; }

/* WooCommerce select2 (country/state dropdowns) — was rounded 4px, grey border, 28px tall (default skin).
   Restyle to match the theme's square hairline inputs. */
.select2-container--default .select2-selection--single{
  border:1px solid var(--border) !important; border-radius:0 !important; height:auto !important;
  min-height:48px; display:flex; align-items:center; background:#fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  color:var(--ink); line-height:1.4; padding:0 30px 0 15px; font-size:16px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{ height:100%; right:10px; }
.select2-dropdown{ border:1px solid var(--line); border-radius:0; }
.select2-container--default .select2-search--dropdown .select2-search__field{ border:1px solid var(--border); border-radius:0; }
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:var(--ink); }
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top:2px solid var(--ink); background:var(--tile); padding:16px 20px; font-size:13.5px; list-style:none;
}
.woocommerce-message{ border-top-color:var(--accent); }

/* --- Wider cart/checkout (page.php caps content at --container-text, too narrow for a cart).
   Both share --container so cart and checkout are the SAME width. --- */
.woocommerce-cart .page-body,
.woocommerce-checkout .page-body{ max-width:var(--container); }
/* Hide the "Vero en Gros" kicker above the Cart / Checkout page title */
.woocommerce-cart .page-hero .kicker,
.woocommerce-checkout .page-hero .kicker{ display:none; }

/* ---- Checkout v2 — shipping-first, split payment, order summary card ---- */
.woocommerce-checkout .page-hero{ padding:clamp(18px,3vw,30px) var(--gutter) 6px !important; }
.woocommerce-checkout .page-hero h1{ font-size:clamp(1.9rem,4vw,2.6rem) !important; margin:0 !important; }

/* Express (Apple / Google / Link) — centered; collapses when Stripe injects nothing */
.co-express{ max-width:560px; margin:0 auto; }
.co-express:empty{ display:none; }
.co-express:not(:empty){ margin-bottom:26px; padding-bottom:22px; border-bottom:1px solid var(--line); }
#wc-stripe-express-checkout-element{ max-width:560px; margin:0 auto !important; }

/* Section headings — Shipping / Billing / Order summary / Payment */
.co-section > h3,
.co-summary > h3,
.co-payment > h3,
.woocommerce-checkout #order_review_heading{
  font-size:15px !important; font-weight:600 !important; text-transform:none !important;
  letter-spacing:.01em !important; color:var(--ink); margin:0 0 16px !important;
}

/* Fields — compact, muted uppercase labels above inputs */
.co-section .form-row{ margin-bottom:12px !important; }
.co-section .form-row > label{
  display:block; font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase;
  color:var(--muted); font-weight:500; margin:0 0 6px;
}
.co-section .form-row > label .required{ color:var(--sale); border:0; text-decoration:none; }
.co-section .woocommerce-shipping-fields__field-wrapper,
.co-section .woocommerce-billing-fields__field-wrapper{ overflow:hidden; } /* contain floated rows */

/* City / Province / Postal — three-up on wider viewports */
@media (min-width:520px){
  .co-section .co-col3{ float:left; width:calc((100% - 24px) / 3); margin-right:12px; clear:none; }
  .co-section .co-col3.co-col3--last{ margin-right:0; }
}

/* "Billing address same as shipping" toggle */
.co-same{ display:flex; align-items:center; gap:10px; margin:18px 0 4px; font-size:14px; color:var(--body); cursor:pointer; }
.co-same input{ width:18px; height:18px; accent-color:var(--accent-ink); flex:0 0 auto; margin:0; }
.co-same-hint{ margin:0 0 4px 28px; font-size:12px; color:var(--muted); }
.co-billing{ margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
.co-billing[hidden]{ display:none; }

/* Order summary card */
.co-summary{ background:var(--tile); border:1px solid var(--line); padding:22px 20px; }
.co-summary #order_review{ background:transparent; padding:0; }
.co-summary .shop_table{ border:0 !important; width:100%; }
.co-summary .shop_table thead{ display:none; }
.co-summary .shop_table th,
.co-summary .shop_table td{ border:0; padding:7px 0 !important; font-size:13.5px !important; text-align:left; background:transparent; }
.co-summary .cart_item td{ border-bottom:1px solid var(--line) !important; }
.co-summary .cart_item td.product-total{ text-align:right; white-space:nowrap; }
.co-summary .cart-subtotal th,.co-summary .tax-total th{ font-weight:400; color:var(--body); }
.co-summary .cart-subtotal td,.co-summary .tax-total td,.co-summary .order-total td{ text-align:right; }
.co-summary tr.order-total th,.co-summary tr.order-total td{ border-top:1px solid var(--line); padding-top:14px !important; font-size:16px !important; color:var(--ink); font-weight:600; }

/* Payment — its own full-width section */
.co-payment{ margin-top:34px; padding-top:28px; border-top:1px solid var(--line); }
.co-payment > h3{ max-width:600px; margin-left:auto !important; margin-right:auto !important; }
.co-payment #payment{ background:transparent !important; padding:0 !important; max-width:600px; margin:0 auto; }
.co-payment #payment .place-order{ padding:0; }
.co-payment #payment .place-order::after{ content:"\1F512  Secured with SSL encryption \00B7 Powered by Stripe"; display:block; text-align:center; font-size:12px; color:var(--muted); margin-top:14px; }
/* Trim the tall hero + page-body padding above the cart/checkout (was ~90px hero + ~66px body → big blank gap) */
.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero{ padding:clamp(32px,4vw,52px) var(--gutter) clamp(10px,1.5vw,18px); }
.woocommerce-cart .page-body,
.woocommerce-checkout .page-body{ padding-top:clamp(6px,1vw,14px); padding-bottom:clamp(24px,3vw,36px); }
/* cart/checkout don't need the big bottom breathing room the other pages get before the footer */
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content{ padding-bottom:clamp(28px,4vw,44px); }
.woocommerce-cart .quantity input.qty{ height:42px; width:64px; text-align:center; font-size:15px; border:1px solid var(--line); }

/* Coupon field was unstyled + squeezed to 80px by woocommerce-layout.css (text cut to "Coupon cod").
   Make it grow to fill the coupon row instead of fighting the fixed width. */
.woocommerce-cart td.actions{ text-align:right; }              /* Update-cart button aligns right (WC default) */
.woocommerce-cart td.actions .coupon{ float:left; display:flex; gap:10px; }   /* coupon input + Apply, left side */
.woocommerce-cart td.actions .coupon #coupon_code{
  /* !important beats woocommerce-layout.css's #content table.cart td.actions .input-text{width:80px} */
  width:220px !important; max-width:100%; flex:0 0 auto; border:1px solid var(--border); background:#fff; padding:var(--space-xs) var(--space-sm);
  font-size:14px; color:var(--ink); border-radius:0; font-family:inherit;
}
.woocommerce-cart td.actions .coupon #coupon_code:focus{ outline:none; border-color:var(--ink); }
/* Apply-coupon + Update-cart are secondary → outline style (don't compete with Proceed) */
.woocommerce-cart td.actions .button{
  display:inline-flex; align-items:center; justify-content:center;
  background:transparent; color:var(--ink); border:1px solid var(--ink); text-transform:uppercase;
  font-size:var(--text-xs); font-weight:600; letter-spacing:var(--ls-mid); padding:var(--space-xs) var(--space-md); border-radius:0;
  min-height:46px; cursor:pointer; transition:background .3s var(--ease),color .3s var(--ease);
}
.woocommerce-cart td.actions .button:hover{ background:var(--ink); color:#fff; }
.woocommerce-cart td.actions .button[disabled]{ opacity:.4; }
.woocommerce-cart td.actions .button[disabled]:hover{ background:transparent; color:var(--ink); }

/* Cart totals card + contained proceed button.
   woocommerce-layout.css floats .cart_totals at width:48% — override so it fills its column. */
.cart-collaterals,
.cart-collaterals .cart_totals{ width:100% !important; float:none !important; }
.cart_totals h2{ font-size:1.25rem; margin:0 0 1em; }
/* Kill the inherited .page-body h2 top margin (1.8em) that pushed the
   "Cart totals" / order-review heading ~43px below the table top. */
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading{ margin-top:0; }
.cart_totals table.shop_table{ border:1px solid var(--line); }
.wc-proceed-to-checkout{ margin-top:18px; padding:0; }
.wc-proceed-to-checkout .button,.wc-proceed-to-checkout .checkout-button{ display:block; width:100%; text-align:center; }

@media (min-width:768px){
  /* Cart: line items left, totals card right */
  .woocommerce-cart .page-body .woocommerce{
    display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:var(--space-xl); align-items:start;
  }
  .woocommerce-cart .page-body .woocommerce > .woocommerce-notices-wrapper{ grid-column:1 / -1; }
  /* compact line items — cap the image + tighten padding so rows aren't airy (desktop only,
     so the mobile card layout below keeps its own padding) */
  .woocommerce-cart .woocommerce-cart-form .shop_table td{ vertical-align:middle; padding:14px; }
  .woocommerce-cart td.product-thumbnail{ width:96px; }
  .woocommerce-cart td.product-thumbnail a,
  .woocommerce-cart td.product-thumbnail img{ display:block; }
  .woocommerce-cart td.product-thumbnail img{ width:72px; height:auto; border:1px solid var(--line); }
  /* Center the numeric columns so each header sits directly over its value
     (prices + qty box were left-shifted under wider left-aligned headers). */
  .woocommerce-cart th.product-price,    .woocommerce-cart td.product-price,
  .woocommerce-cart th.product-quantity, .woocommerce-cart td.product-quantity,
  .woocommerce-cart th.product-subtotal, .woocommerce-cart td.product-subtotal{ text-align:center; }
  .woocommerce-cart td.product-quantity .quantity{ display:inline-flex; }

  /* Checkout v2: address left, order summary right */
  .woocommerce-checkout .page-body form.co-form .co-grid{
    display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:clamp(28px,4vw,48px); align-items:start;
  }
  .co-main{ min-width:0; }
  .co-aside{ position:sticky; top:20px; }
  /* name fields side-by-side */
  .co-section .form-row-first{ float:left; width:48%; }
  .co-section .form-row-last{ float:right; width:48%; }
  .co-section .form-row-wide{ clear:both; width:100%; }
}

/* ============================================================
   12b. MY ACCOUNT (login / register / dashboard)
   ============================================================ */
.woocommerce-account .woocommerce{ max-width:var(--maxw); margin:0 auto; padding:clamp(36px,5vw,64px) var(--gutter) 0; }
/* logged-in: nav + content side by side */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){
  display:grid; grid-template-columns:220px minmax(0,1fr); gap:clamp(28px,4vw,56px); align-items:start;
}
.woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li{ margin:0 0 2px; }
.woocommerce-MyAccount-navigation li a{
  display:block; padding:11px 14px; font-size:13px; letter-spacing:.02em; color:var(--body);
  border:1px solid transparent;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover{ color:var(--ink); background:var(--tile); }
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{ font-weight:300; }
/* forms: login / register / edit-address */
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-EditAccountForm,.woocommerce-address-fields{ max-width:520px; }
.woocommerce form.login,.woocommerce form.register{ border:1px solid var(--line); padding:clamp(22px,3vw,32px); }
.woocommerce-form-row label,.woocommerce-account .woocommerce label{
  display:block; font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted); margin:0 0 7px;
}
.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce input[type="password"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="text"]{
  width:100%; border:1px solid var(--border); background:#fff; padding:var(--space-xs) var(--space-sm); font-size:14px;
  font-family:inherit; color:var(--ink); border-radius:0;
}
.woocommerce-account .woocommerce input:focus{ outline:none; border-color:var(--ink); }
/* all account buttons match the theme's dark CTA */
.woocommerce-account .woocommerce .button,
.woocommerce-Button,
.woocommerce-account button[type="submit"],
.woocommerce-form-login__submit,
.woocommerce-form-register__submit{
  display:inline-flex; align-items:center; justify-content:center; min-height:48px;
  background:var(--ink); color:#fff; border:1px solid var(--ink); text-transform:uppercase;
  font-size:var(--text-xs); font-weight:600; letter-spacing:var(--ls-mid); padding:var(--space-sm) var(--space-xl); border-radius:0; cursor:pointer;
  transition:background .3s var(--ease),color .3s var(--ease);
}
.woocommerce-account .woocommerce .button:hover,
.woocommerce-Button:hover,
.woocommerce-form-login__submit:hover{ background:transparent; color:var(--ink); }
.woocommerce-account .orders_table,.woocommerce-orders-table{ width:100%; border-collapse:collapse; }
.woocommerce-orders-table th,.woocommerce-orders-table td{ text-align:left; padding:14px 12px; border-bottom:1px solid var(--line); font-size:13.5px; }

/* ============================================================
   13. GENERIC PAGE
   ============================================================ */
.page-body{ max-width:var(--container-text); margin:0 auto; padding:var(--section-y-tight) var(--gutter); }
.page-body h1{ font-weight:300; font-size:var(--text-h1); margin-bottom:.6em; }
.page-body h2{ font-weight:400; font-size:1.5rem; margin:1.8em 0 .5em; }
.page-body img{ margin:1.6em 0; }
.page-body ul{ padding-left:1.1em; margin:0 0 1.4em; }
.page-body li{ margin-bottom:.5em; }

/* ---- How-ordering-works steps (About) ---- */
.order-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.order-steps li{ padding-top:14px; border-top:2px solid var(--ink); }
.order-steps__n{ display:block; font-size:13px; letter-spacing:.14em; color:var(--accent); margin-bottom:10px; }
.order-steps h4{ font-weight:500; font-size:1.05rem; margin:0 0 .4em; }
.order-steps p{ color:var(--body); font-size:.95rem; margin:0; }
.order-note{ margin:26px 0 0; color:var(--body); font-size:.95rem; }
@media (max-width:720px){ .order-steps{ grid-template-columns:1fr; gap:20px; } }

/* ---- Form success / error banner ---- */
.form-msg{ max-width:var(--container); margin:0 auto 22px; padding:14px 18px; font-size:.95rem; border:1px solid var(--line); }
.form-msg a{ color:inherit; text-decoration:underline; }
.form-msg--ok{ border-color:#2f7d32; background:#f1f8f1; color:#1e5220; }
.form-msg--err{ border-color:#b3261e; background:#fdf1f0; color:#8f1d17; }

/* ---- FAQ accordion (native details/summary, no JS) ---- */
.page-body .faq details{ border-top:1px solid var(--line); }
.page-body .faq details:last-child{ border-bottom:1px solid var(--line); }
.page-body .faq summary{ list-style:none; cursor:pointer; padding:18px 40px 18px 0; position:relative; font-weight:500; font-size:1.05rem; }
.page-body .faq summary::-webkit-details-marker{ display:none; }
.page-body .faq summary::after{ content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%); font-weight:300; font-size:1.5rem; line-height:1; color:var(--accent); }
.page-body .faq details[open] summary::after{ content:"\2013"; }
.page-body .faq details > *:not(summary){ margin:0; padding-bottom:18px; color:var(--body); }

/* About / Contact page header — now the shared light inner-page header (see .page-hero).
   The dark full-bleed hero was retired; these rules only neutralise the leftover
   full-bleed / dark-gradient structure so the shared header styling shows through.
   (CSS-only restyle — .about-hero is used solely on the about + contact templates.) */
.about-hero__bg{ display:none; }   /* was the dark radial-glow block */
.about-hero__inner{ position:static; z-index:auto; max-width:640px; margin:0 auto; padding:0; }

/* About hero — dark treatment (about page only; Contact keeps the light hero) */
.about-hero--dark{
  position:relative; overflow:hidden; background:var(--dark); color:#fff;
  padding-top:clamp(74px,10vw,126px); padding-bottom:clamp(52px,7vw,88px);
}
.about-hero--dark .about-hero__bg{
  display:block; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(55% 80% at 50% -8%, rgba(255,255,255,.12), transparent 66%);
}
.about-hero--dark .about-hero__inner{ position:relative; z-index:1; max-width:720px; }
.about-hero--dark h1{ color:#fff; }
.about-hero--dark .kicker{ color:rgba(255,255,255,.55); }
.about-hero--dark p{ color:rgba(255,255,255,.72); }
.about-hero__trust{
  display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(22px,4vw,54px);
  max-width:760px; margin:clamp(30px,4vw,46px) auto 0; padding-top:clamp(24px,3vw,34px);
  border-top:1px solid rgba(255,255,255,.14);
}
.about-hero__trust div{ display:flex; flex-direction:column; align-items:center; gap:5px; }
.about-hero__trust .n{ font-size:clamp(1.1rem,2vw,1.5rem); font-weight:400; color:#fff; letter-spacing:-.01em; }
.about-hero__trust .l{ font-size:10px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:rgba(255,255,255,.5); }
@media (max-width:600px){ .about-hero__trust{ gap:18px 30px; } }

.about-cols{
  max-width:var(--container-text); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,56px);
  color:var(--body); font-size:15.5px; line-height:1.85;
}
.about-cols p:first-child{ color:var(--ink); font-weight:300; font-size:clamp(16px,1.7vw,18px); }

/* trade band bullet list (on the dark .band) */
.band__list{ list-style:none; padding:0; margin:1.3em 0 2em; column-gap:30px; }
.band__list li{ padding-left:24px; position:relative; color:rgba(255,255,255,.82); margin-bottom:11px; font-size:14.5px; }
.band__list li::before{ content:''; position:absolute; left:0; top:11px; width:13px; height:1px; background:var(--accent); }

.about-cta{ text-align:center; }
.about-cta h2{ font-weight:300; font-size:var(--text-h2); margin:0 0 1.2em; }
.about-cta__btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Contact page */
.contact-wrap{ max-width:var(--maxw); margin:0 auto; padding:var(--section-y) var(--gutter); }
.contact-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(32px,6vw,80px); align-items:start; }
.contact-heading{ font-weight:300; font-size:var(--text-h3); margin:0 0 1.4em; }
.contact-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form label{ display:block; font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted); margin:0 0 7px; }
.contact-form .field{ margin-bottom:18px; }
.contact-form input,.contact-form textarea,.contact-form select{
  width:100%; border:1px solid var(--border); background:#fff; padding:var(--space-xs) var(--space-sm); font-size:14px;
  font-family:inherit; color:var(--ink); border-radius:0;
}
.contact-form textarea{ min-height:150px; resize:vertical; }
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{ outline:none; border-color:var(--ink); }
.contact-info h3{ font-size:11px; letter-spacing:var(--ls-wide); text-transform:uppercase; color:var(--ink); margin:0 0 6px; }
.contact-info .block{ padding:18px 0; border-bottom:1px solid var(--line); }
.contact-info .block:first-child{ padding-top:0; }
.contact-info a{ color:var(--body); }
.contact-info a:hover{ color:var(--ink); }
.contact-info p{ margin:0; color:var(--body); font-size:14px; line-height:1.7; }
.contact-note{ font-size:12px; color:var(--muted); margin-top:8px; }
@media (max-width:768px){
  .contact-grid{ grid-template-columns:1fr; }
  .about-cols{ grid-template-columns:1fr; gap:0; }
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer{
  background:var(--dark); color:rgba(255,255,255,.62); font-size:13px;
  border-top:1px solid rgba(255,255,255,.09);   /* divider so the dark footer separates from a dark section (e.g. the quote band) above it */
}
/* Inner pages: let light content clear the dark footer instead of butting flush against it.
   (Home's last block is the full-bleed dark band, which is meant to meet the footer — hairline divides them.) */
body:not(.home):not(.woocommerce-cart):not(.woocommerce-checkout) .site-content{ padding-bottom:clamp(64px,8vw,104px); }
.site-footer a{ color:rgba(255,255,255,.74); }   /* AA contrast on charcoal */
.site-footer a:hover{ color:var(--accent); }
.footer-top{
  max-width:var(--maxw); margin:0 auto; padding:var(--space-2xl) var(--gutter) var(--space-xl);
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.4fr; gap:clamp(24px,3vw,44px);
}
.footer-col h4{
  color:#fff; font-size:var(--text-xs); letter-spacing:var(--ls-wide); text-transform:uppercase; font-weight:600;
  margin:0 0 var(--space-sm);
}
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-col li{ margin:0; }
.footer-col li a{ display:inline-block; padding:5px 0; font-size:13.5px; }
.footer-brand .logo{
  color:#fff; font-size:18px; font-weight:600; letter-spacing:.24em; text-transform:uppercase;
  display:block; margin-bottom:var(--space-sm);
}
.footer-tag{ color:rgba(255,255,255,.62); font-size:13px; line-height:1.7; max-width:280px; margin:0 0 var(--space-md); }
/* trade-account CTA — the one accent in the footer */
.footer-cta{
  display:inline-flex; align-items:center; gap:6px; color:#fff !important; font-size:var(--text-xs);
  letter-spacing:var(--ls-mid); text-transform:uppercase; font-weight:600;
  border-bottom:1px solid rgba(255,255,255,.45); padding:0 0 5px; min-height:32px;
  transition:border-color .25s var(--ease);
}
.footer-cta:hover{ border-bottom-color:#fff; }
/* contact block — the B2B trust anchor */
.footer-contact{ font-style:normal; color:rgba(255,255,255,.74); font-size:13.5px; line-height:1.85; display:flex; flex-direction:column; }
.footer-contact a{ color:rgba(255,255,255,.74); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  max-width:var(--maxw); margin:0 auto; padding:var(--space-md) var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:12px; letter-spacing:.04em; color:rgba(255,255,255,.55);
}
.footer-legal{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-backtop{ color:rgba(255,255,255,.55) !important; }
.footer-backtop:hover{ color:#fff !important; }

/* ============================================================
   15. STICKY MOBILE ADD-TO-CART
   ============================================================ */
.sticky-cart{
  position:fixed; left:0; right:0; bottom:0; z-index:80; background:#fff; border-top:1px solid var(--line);
  padding:12px var(--gutter); display:none; align-items:center; justify-content:space-between; gap:16px;
  transform:translateY(110%); transition:transform .35s var(--ease); box-shadow:0 -10px 30px -20px rgba(0,0,0,.3);
}
@media (max-width:900px){ .sticky-cart{ display:flex; } }  /* mobile only */
.sticky-cart.is-visible{ transform:translateY(0); }
.sticky-cart .n{ font-size:13px; font-weight:600; color:var(--ink); }
.sticky-cart .p{ font-size:13px; color:var(--body); }
.sticky-cart a{ background:var(--ink); color:#fff; padding:13px 24px; font-size:11px; font-weight:600; letter-spacing:var(--ls-mid); text-transform:uppercase; }

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  ul.products{ grid-template-columns:repeat(3,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }   /* brand intro spans full width, nav/contact fill 2x2 below */
  .shop-body{ grid-template-columns:200px minmax(0,1fr); gap:var(--space-lg); }
}
@media (max-width:900px){
  /* Shop sidebar becomes an off-canvas panel */
  .shop-body{ grid-template-columns:1fr; }
  .shop-sidebar{
    position:fixed; inset:0 auto 0 0; width:min(86vw,340px); z-index:120; background:#fff;
    transform:translateX(-100%); transition:transform .4s var(--ease); overflow-y:auto;
    padding:26px 26px 40px; box-shadow:30px 0 60px -30px rgba(0,0,0,.3);
  }
  body.shop-filter-open .shop-sidebar{ transform:translateX(0); }
  body.shop-filter-open{ overflow:hidden; }
  .shop-filter-close{ display:inline-flex !important; position:absolute; top:16px; right:16px; background:none; border:0; color:var(--ink); }
  .shop-filter-close svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.5; }
  .shop-filter-open{
    display:inline-flex !important; align-items:center; gap:8px; background:none; border:1px solid var(--line);
    padding:9px 15px; font-size:11px; font-weight:600; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--ink);
  }
  .shop-filter-open svg{ width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:1.6; }
  .shop-filter-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.4); opacity:0; visibility:hidden; transition:opacity .3s; z-index:110; }
  body.shop-filter-open .shop-filter-overlay{ opacity:1; visibility:visible; }
  .shop-main ul.products{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  :root{ --hdr-h:64px; }
  .menu-toggle{ display:inline-flex; grid-column:1; justify-self:start; align-items:center; justify-content:center; background:none; border:0; color:inherit; min-width:44px; min-height:44px; margin-left:-10px; }
  .menu-toggle svg{ width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.5; }

  /* Header fits 375px: keep the logo centered, actions = search + cart only */
  .site-header__inner{ gap:10px; }
  .header-actions{ gap:6px; }
  .header-actions a{ min-width:44px; min-height:44px; justify-content:center; }
  .header-actions .cart-count{ top:2px; right:2px; }   /* re-anchor badge to the icon inside the larger hit area */
  .header-actions > .account-link,
  .header-actions > .lang-switch{ display:none; }       /* moved into the drawer */

  /* drawer extras: account link + language, pinned under the menu list */
  .nav-extra{ display:block; margin-top:22px; padding-top:22px; border-top:1px solid var(--line); }
  .nav-extra__link{
    display:flex; align-items:center; gap:12px; padding:14px 0; font-size:14px; color:var(--ink);
    min-height:44px;
  }
  .nav-extra__link svg{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.4; }
  /* EN / FR side by side — override .main-nav ul column/stretch layout (higher specificity) */
  .main-nav .lang-switch--drawer{ display:flex; flex-direction:row; align-items:center; gap:10px; margin-top:14px; }
  .main-nav .lang-switch--drawer li{ margin:0; width:auto; }
  .lang-switch--drawer a{ font-size:13px; padding:8px 14px; border:1px solid var(--line); min-height:44px; display:inline-flex; align-items:center; justify-content:center; text-transform:uppercase; letter-spacing:.06em; }
  .lang-switch--drawer .current-lang a{ background:var(--ink); color:#fff; border-color:var(--ink); }
  /* The drawer is a solid white panel. On the home page the transparent-header
     (at-hero-top) state colours nav/lang links white — force them dark here so
     they don't vanish against the white drawer. */
  body.at-hero-top .main-nav > ul > li > a,
  body.at-hero-top .main-nav ul ul a,
  body.at-hero-top .main-nav a{ color:var(--ink); }
  body.at-hero-top .lang-switch--drawer a{ color:var(--ink); }
  body.at-hero-top .lang-switch--drawer .current-lang a{ color:#fff; }
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:min(84vw,360px); background:#fff; color:var(--ink);
    transform:translateX(100%); transition:transform .4s var(--ease); z-index:120; padding:90px 32px 32px;
    overflow-y:auto; box-shadow:-30px 0 60px -30px rgba(0,0,0,.3);
  }
  body.nav-open .main-nav{ transform:translateX(0); }
  body.nav-open{ overflow:hidden; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:0; }
  .main-nav > ul > li{ border-bottom:1px solid var(--line); }
  .main-nav a{ color:var(--ink); padding:15px 0; display:block; font-size:14px; }
  .main-nav ul ul{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0;
    padding:0 0 10px 14px; min-width:0;
  }
  .main-nav ul ul a{ padding:8px 0; }
  .nav-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.4); opacity:0; visibility:hidden; pointer-events:none; transition:opacity .3s; z-index:110; }
  body.nav-open .nav-overlay{ opacity:1; visibility:visible; pointer-events:auto; }
  /* The drawer lives inside the sticky header (its own z-index:50 stacking context),
     so the page-level overlay (z-110) would paint OVER it — greying out an
     unclickable menu. Lift the header above the overlay while the menu is open. */
  body.nav-open .site-header{ z-index:130; }
  .band .wrap{ grid-template-columns:1fr; }
  .usps{ grid-template-columns:repeat(2,1fr); }
  .usp:nth-child(3){ border-left:0; }
  .single-product div.product{ grid-template-columns:1fr; }
  .single-product .woocommerce-product-gallery{ position:static; }
}
/* ---- Cart / checkout on phones: stacked cards + zoom-safe inputs ---- */
@media (max-width:767px){
  /* iOS Safari auto-zooms any focused input whose font-size < 16px — force 16px */
  input, select, textarea,
  .quantity input.qty,
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select,
  .contact-form input, .contact-form textarea, .contact-form select,
  #coupon_code{ font-size:16px; }
  /* beats the generic rule on specificity, so restate it */
  .woocommerce-ordering select, .orderby{ font-size:16px; }

  /* cart tap targets: bigger remove hit-area + taller qty field */
  .woocommerce-cart .shop_table td.product-remove a{
    display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; font-size:22px;
  }
  .woocommerce-cart .quantity{ min-height:44px; }
  .woocommerce-cart .quantity input.qty{ min-height:44px; width:72px; }

  /* My Account: stack nav above content; let the orders table scroll rather than overflow */
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){ grid-template-columns:1fr; }
  .woocommerce-MyAccount-navigation{ border-bottom:1px solid var(--line); padding-bottom:14px; margin-bottom:8px; }
  .woocommerce-orders-table{ display:block; overflow-x:auto; white-space:nowrap; }

  /* hide the header row, render each cart line as a card */
  .woocommerce-cart table.shop_table{ border:0; }
  .woocommerce-cart table.shop_table thead{
    position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
  }
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody{ display:block; width:100%; }
  .woocommerce-cart table.shop_table tbody tr.cart_item{
    display:grid; grid-template-columns:64px 1fr; gap:12px 14px; align-items:center;
    border:1px solid var(--line); padding:16px; margin:0 0 14px; position:relative;
  }
  .woocommerce-cart .shop_table tr.cart_item td{ border:0 !important; padding:0; }
  /* row 1: thumbnail (left) + product name (right), remove × top-right clear of the name.
     (woocommerce-smallscreen.css hides the thumbnail on mobile — force it back.) */
  .woocommerce-cart .shop_table td.product-thumbnail{ display:flex !important; align-items:center; grid-column:1; grid-row:1; }
  .woocommerce-cart .shop_table td.product-thumbnail img{ width:64px; height:auto; border:1px solid var(--line); }
  .woocommerce-cart .shop_table tr.cart_item td.product-name{ grid-column:2; grid-row:1; align-self:center; font-weight:500; color:var(--ink); text-align:left !important; padding:0 44px 0 0 !important; line-height:1.35; }
  /* price / quantity / subtotal: full-width labelled rows below, divided */
  .woocommerce-cart .shop_table td.product-price,
  .woocommerce-cart .shop_table td.product-quantity,
  .woocommerce-cart .shop_table td.product-subtotal{
    grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; gap:12px;
    border-top:1px solid var(--line) !important; padding:11px 0 !important;
  }
  .woocommerce-cart .shop_table td[data-title]::before{
    content:attr(data-title); font-size:11px; letter-spacing:var(--ls-mid); text-transform:uppercase; color:var(--muted);
  }
  .woocommerce-cart .shop_table td.product-name::before,
  .woocommerce-cart .shop_table td.product-remove::before,
  .woocommerce-cart .shop_table td.product-thumbnail::before{ content:none !important; display:none !important; }
  .woocommerce-cart .shop_table td.product-remove{
    position:absolute; top:14px; right:14px; grid-column:auto; padding:0; width:auto;
  }
  /* coupon + update-cart row spans the card; coupon input fills the width on phones */
  .woocommerce-cart .shop_table tr:not(.cart_item) td.actions{ display:block; padding:4px 0 0; text-align:left; }
  .woocommerce-cart .shop_table td.actions .coupon{ display:flex; gap:8px; margin:0 0 12px; float:none; }
  .woocommerce-cart td.actions .coupon #coupon_code{ width:auto !important; flex:1 1 auto; min-width:0; }
  .woocommerce-cart .shop_table td.actions .button{ width:100%; }
  /* totals + checkout stack to one column */
  .cart-collaterals, .cart_totals{ width:100% !important; float:none !important; }
  .woocommerce-checkout #customer_details{ display:block; }
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2{ width:auto; float:none; margin:0 0 8px; }
}

@media (max-width:640px){
  /* both home and shop grids drop to 2 columns — .shop-main selector must be matched or it stays at 3 */
  ul.products,
  .shop-main ul.products{ grid-template-columns:repeat(2,1fr); gap:var(--space-md) var(--space-sm); }
  /* toolbar: let filter button, count and sort stack instead of overflowing */
  .shop-toolbar{ flex-wrap:wrap; gap:12px 16px; }
  .shop-toolbar .woocommerce-result-count{ order:3; width:100%; }
  /* Category tiles: horizontal swipe carousel on mobile (was a vertical stack) */
  .cat-tiles{
    display:flex; grid-template-columns:none; gap:14px;
    overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; padding-bottom:6px;
    scroll-padding:0 var(--gutter);
  }
  .cat-tiles::-webkit-scrollbar{ display:none; }
  .cat-tile{ flex:0 0 78%; scroll-snap-align:center; }
  .band__stats{ gap:14px; }
  /* --- Mobile footer: lean, high-value, ~1 screen (was 976px of header-dup links) --- */
  .footer-top{
    grid-template-columns:1fr; gap:var(--space-md); text-align:left;
    padding:var(--space-lg) var(--gutter) var(--space-md);
  }
  .footer-brand{ grid-column:auto; order:1; }
  .footer-col--contact{ order:2; }
  .footer-col--support{ order:3; }
  /* Shop + Company duplicate the header menu — drop them on mobile; contact + CTA carry the value */
  .footer-col--shop,
  .footer-col--company{ display:none; }
  .footer-tag{ max-width:none; margin-bottom:var(--space-sm); }
  .footer-col li a{ padding:10px 0; min-height:44px; display:inline-flex; align-items:center; }  /* real tap targets */
  .footer-cta{ min-height:44px; margin-top:2px; }
  .footer-contact{ font-size:14px; line-height:1.95; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:10px; text-align:left; padding:var(--space-md) var(--gutter); }
  .footer-legal{ gap:18px; }
  .footer-backtop{ align-self:center; padding:6px 8px; margin-top:2px; }
  .site-branding .site-logo img{ height:27px; }
  .contact-form .row{ grid-template-columns:1fr; }   /* stack paired fields */
  .variations select{ min-width:0; width:100%; }      /* PDP variation dropdowns fit */
  form.cart .single_add_to_cart_button{ width:100%; flex:1 1 100%; }
}
