/*
Theme Name: American Super Store
Theme URI: https://americainsuperstore.com/
Author: American Super Store
Author URI: https://americainsuperstore.com/
Description: Thème e-commerce premium « Americana éditoriale » pour boutique de produits américains (alimentaire, cosmétique, maison, bien-être). Compatible WooCommerce, panier coulissant, commande WhatsApp par produit, durcissement de sécurité intégré, Customizer, design réactif. Importé des USA, livré à Dakar.
Version: 1.4.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-super-store
Tags: e-commerce, woocommerce, two-columns, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, editor-style
*/

/* ============================================================
   AMERICAN SUPER STORE — Système visuel
   Direction : Americana éditoriale élevée
   ============================================================ */

:root {
  /* Palette (surchargée par les Tweaks) */
  --cream: #F4ECDC;
  --paper: #FBF5E9;
  --card: #FFFFFF;
  --ink: #16182B;        /* navy quasi-noir */
  --navy: #1C2444;
  --red: #D52742;        /* action principale */
  --blue: #2A4BA0;
  --gold: #E7A938;       /* prix / badges */
  --muted: #6C6A63;
  --line: rgba(22,24,43,.12);

  --accent: var(--red);

  /* Typo */
  --display: "Anton", sans-serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }

/* Grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .star { color: var(--accent); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--ink); color: #F4ECDC;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar .tb-promo { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.topbar .tb-right { display: flex; gap: 22px; opacity: .85; }
.topbar .tb-right a:hover { color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--red); color: #fff;
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 4px 14px rgba(213,39,66,.32);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255,255,255,.16) 6px 9px);
}
.brand-mark span { font-family: var(--display); font-size: 24px; line-height: 1; position: relative; }
.brand-name { line-height: 1; }
.brand-name b { font-family: var(--display); font-size: 18px; letter-spacing: .02em; display: block; }
.brand-name small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 10px;
  position: relative; transition: background .2s, color .2s; white-space: nowrap;
}
.nav a:hover { background: rgba(22,24,43,.06); }
.nav a.active { color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ink);
  transition: background .2s, transform .15s;
}
.icon-btn:hover { background: rgba(22,24,43,.07); }
.icon-btn:active { transform: scale(.93); }
.cart-btn { position: relative; background: var(--ink); color: var(--cream); padding: 0 18px 0 16px; width: auto; gap: 9px; font-weight: 700; }
.cart-btn:hover { background: var(--accent); }
.cart-count {
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px;
  background: var(--gold); color: var(--ink); font-family: var(--mono);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.menu-toggle { display: none; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--accent); color: #fff; overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 11px 0;
}
.marquee-track { display: flex; white-space: nowrap; gap: 0; animation: scroll-x 32s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-size: 19px; letter-spacing: .04em;
  text-transform: uppercase; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
}
.marquee-track .s { color: var(--gold); font-size: 14px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-kicker { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(54px, 7.2vw, 116px); line-height: .9; letter-spacing: -.01em;
  margin: 0 0 24px; text-transform: uppercase; color: var(--ink);
}
.hero h1 .em { color: var(--accent); position: relative; display: inline-block; }
.hero h1 .stripe {
  color: var(--blue); -webkit-text-fill-color: var(--blue);
  text-decoration: underline; text-decoration-color: var(--ink);
  text-decoration-thickness: 7px; text-underline-offset: 4px;
}
.hero p.lede { font-size: 19px; max-width: 460px; color: #3a3b44; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  font-weight: 700; font-size: 16px; padding: 16px 28px; border-radius: 14px;
  display: inline-flex; align-items: center; gap: 10px; transition: transform .15s var(--ease), box-shadow .2s, background .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 44%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats .stat b { font-family: var(--display); font-size: 34px; display: block; line-height: 1; }
.hero-stats .stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Hero visual : "packshot" héro.
   width:100% is required: on mobile the visual gets `margin:0 auto`, and auto
   side-margins cancel the grid `justify-self:stretch`. With every child
   absolutely positioned the box would then shrink to 0 (best-seller invisible).
   A definite width keeps it sized so aspect-ratio can derive the height. */
.hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; }
.hero-disc {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fff, var(--paper) 60%, #ece2cd);
  box-shadow: inset 0 0 0 2px var(--ink), 0 30px 60px rgba(22,24,43,.18);
}
.hero-disc::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: repeating-conic-gradient(var(--ink) 0 3deg, transparent 3deg 9deg);
  -webkit-mask: radial-gradient(circle, transparent 49.4%, #000 49.6%, #000 50%, transparent 50.2%);
          mask: radial-gradient(circle, transparent 49.4%, #000 49.6%, #000 50%, transparent 50.2%);
  opacity: .5;
}
.hero-pack { position: absolute; inset: 14%; display: grid; place-items: center; }
.hero-pack img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(22,24,43,.28)); animation: float 6s var(--ease) infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.hero-seal {
  position: absolute; bottom: 4%; left: -4%; width: 116px; height: 116px;
  border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; text-align: center; transform: rotate(-12deg);
  box-shadow: 0 12px 26px rgba(231,169,56,.4); border: 2px solid var(--ink);
}
.hero-seal b { font-family: var(--display); font-size: 26px; line-height: .85; }
.hero-seal small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; display: block; }
.hero-badge-usa {
  position: absolute; top: 2%; right: 0%;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); padding: 9px 14px; border-radius: 30px;
  transform: rotate(7deg); box-shadow: 0 8px 18px rgba(22,24,43,.25);
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 78px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 58px); line-height: .92; letter-spacing: -.005em; margin: 12px 0 0;
}
.section-head .link { font-weight: 700; display: inline-flex; align-items: center; gap: 7px; padding-bottom: 4px; border-bottom: 2px solid var(--accent); transition: gap .2s; }
.section-head .link:hover { gap: 12px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(22,24,43,.13); background: var(--ink); color: var(--cream); }
.cat-card:hover .cat-tag { color: var(--gold); }
.cat-card:hover .cat-arrow { background: var(--gold); color: var(--ink); transform: rotate(0deg); }
.cat-card .cat-num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.cat-card:hover .cat-num { color: rgba(244,236,220,.6); }
.cat-card h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 8px 0 2px; line-height: .95; }
.cat-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.cat-arrow {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(22,24,43,.07); display: grid; place-items: center; transform: rotate(-25deg);
  transition: all .25s var(--ease);
}
.cat-card.feature { grid-column: span 2; background: var(--accent); color: #fff; }
.cat-card.feature:hover { background: var(--accent); transform: translateY(-5px); }
.cat-card.feature .cat-tag, .cat-card.feature .cat-num { color: rgba(255,255,255,.82); }
.cat-card.feature h3 { font-size: clamp(40px, 4vw, 52px); }
.cat-card.feature .cat-arrow { background: #fff; color: var(--accent); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; font-weight: 700;
  padding: 10px 16px; border-radius: 30px; background: var(--card); border: 1.5px solid var(--line);
  text-transform: uppercase; transition: all .18s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.prod:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(22,24,43,.14); border-color: transparent; }
.prod-media {
  position: relative; aspect-ratio: 1/1; padding: 20px;
  background: radial-gradient(circle at 50% 38%, #fff, var(--paper));
  display: grid; place-items: center; overflow: hidden;
}
.prod-media::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(22,24,43,.025) 22px 23px);
  opacity: 0; transition: opacity .3s;
}
.prod:hover .prod-media::before { opacity: 1; }
.prod-media img { width: 78%; height: 78%; object-fit: contain; transition: transform .35s var(--ease); mix-blend-mode: multiply; }
.prod:hover .prod-media img { transform: scale(1.07) rotate(-1deg); }
.prod-fallback {
  position: absolute; inset: 16px; border-radius: 12px; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 14px;
  background: linear-gradient(150deg, var(--paper), #ece1cb);
}
.prod-fallback.show { display: flex; }
.prod-fallback .fb-brand { font-family: var(--display); font-size: 22px; text-transform: uppercase; line-height: .9; color: var(--ink); }
.prod-fallback .fb-name { font-size: 13px; color: var(--muted); }

.prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 30px; background: var(--ink); color: var(--cream);
}
.prod-badge.best { background: var(--gold); color: var(--ink); }

.prod-cat-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.quick-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  background: var(--ink); color: var(--cream); border-radius: 11px; padding: 12px;
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(14px); transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.prod:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--accent); }

.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-brand { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.prod-name { font-weight: 700; font-size: 16px; line-height: 1.25; margin: 5px 0 3px; overflow-wrap: break-word; }
.prod-spec { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-family: var(--display); font-size: 23px; line-height: 1; white-space: nowrap; }
.prod-add {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: #fff;
  display: grid; place-items: center; transition: transform .15s, background .2s;
}
.prod-add:hover { background: var(--ink); transform: scale(1.06); }
.prod-add:active { transform: scale(.9); }

/* ============================================================
   VALUE PROPS
   ============================================================ */
.values { background: var(--ink); color: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value { padding: 14px 28px; border-left: 1px solid rgba(244,236,220,.16); }
.value:first-child { border-left: none; padding-left: 0; }
.value .v-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(244,236,220,.08); display: grid; place-items: center; color: var(--gold); margin-bottom: 16px; }
.value h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; margin: 0 0 6px; }
.value p { margin: 0; font-size: 14.5px; color: rgba(244,236,220,.66); }

/* ============================================================
   ABOUT / STRIPE BANNER
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-flag {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 2px solid var(--ink); box-shadow: 0 24px 50px rgba(22,24,43,.16);
  background: var(--paper);
}
.about-flag .stripes { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, var(--red) 0 11.11%, var(--paper) 11.11% 22.22%); opacity: .9; }
.about-flag .canton { position: absolute; top: 0; left: 0; width: 42%; height: 53.3%; background: var(--blue); }
.about-flag .canton::before {
  content: ""; position: absolute; inset: 12%;
  background:
    radial-gradient(circle, #fff 1.4px, transparent 1.6px) 0 0 / 20% 22%;
}
.about-flag .ship {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.about-flag .ship span {
  font-family: var(--display); font-size: clamp(30px,5vw,60px); color: var(--ink); text-transform: uppercase;
  background: var(--paper); padding: 10px 22px; border: 2px solid var(--ink); transform: rotate(-4deg); line-height: 1;
  box-shadow: 6px 6px 0 var(--gold);
}
.about-body h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px,4.5vw,60px); line-height: .92; margin: 14px 0 20px; }
.about-body p { font-size: 18px; color: #3a3b44; max-width: 520px; margin: 0 0 18px; }
.about-body .ab-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 30px; }
.about-body .ab-list .li { display: flex; align-items: center; gap: 13px; font-weight: 600; }
.about-body .ab-list .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* ============================================================
   NEWSLETTER / WHATSAPP CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; border-radius: 26px; padding: 56px; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 40px, rgba(255,255,255,.05) 40px 80px);
}
.cta-band .inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px,4vw,56px); line-height: .9; margin: 8px 0 0; max-width: 620px; }
.cta-band .wa-btn { background: #fff; color: var(--ink); font-weight: 800; font-size: 18px; padding: 18px 30px; border-radius: 14px; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; transition: transform .15s, box-shadow .2s; }
.cta-band .wa-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.22); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(244,236,220,.14); }
.footer h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(244,236,220,.72); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer .f-brand b { font-family: var(--display); font-size: 28px; text-transform: uppercase; display: block; }
.footer .f-brand p { color: rgba(244,236,220,.6); max-width: 300px; font-size: 14.5px; }
.footer .f-contact { font-size: 14.5px; color: rgba(244,236,220,.72); line-height: 1.9; }
/* First footer column when filled by widgets (e.g. an "À propos" heading + a
   description). Wrapped in .f-about (footer.php) so the two widgets stack in a
   single column instead of splitting into two grid cells. */
.footer .f-about { max-width: 340px; }
.footer .f-about > .widget { margin: 0 0 14px; }
.footer .f-about > .widget:last-child { margin-bottom: 0; }
.footer .f-about h1, .footer .f-about h2, .footer .f-about h3, .footer .f-about h4 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1; letter-spacing: 0;
  color: var(--cream); margin: 0 0 14px;
}
.footer .f-about p { color: rgba(244,236,220,.62); font-size: 14.5px; line-height: 1.7; margin: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: rgba(244,236,220,.5); flex-wrap: wrap; gap: 12px; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim { position: fixed; inset: 0; background: rgba(22,24,43,.5); backdrop-filter: blur(3px); z-index: 500; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw; z-index: 600;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(22,24,43,.25);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 2px solid var(--ink); }
.drawer-head > div { flex-shrink: 0; }
.drawer-head h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; margin: 0; white-space: nowrap; }
.drawer-head .count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.drawer-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item { display: flex; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.cart-item .ci-media { width: 70px; height: 70px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #fff, var(--paper)); flex-shrink: 0; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); }
.cart-item .ci-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item .ci-brand { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.cart-item .ci-name { font-weight: 700; font-size: 14.5px; line-height: 1.2; margin: 2px 0 8px; }
.cart-item .ci-row { display: flex; align-items: center; justify-content: space-between; }
.qty { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--ink); transition: background .15s; }
.qty button:hover { background: rgba(22,24,43,.08); }
.qty span { min-width: 30px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.cart-item .ci-price { font-family: var(--display); font-size: 18px; white-space: nowrap; }
.ci-remove { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.ci-remove:hover { color: var(--accent); }

.cart-empty { text-align: center; padding: 80px 30px; color: var(--muted); }
.cart-empty .ce-ico { font-size: 48px; margin-bottom: 14px; opacity: .4; }
.cart-empty b { font-family: var(--display); font-size: 24px; text-transform: uppercase; color: var(--ink); display: block; margin-bottom: 8px; }

.drawer-foot { border-top: 2px solid var(--ink); padding: 22px 26px 26px; background: var(--paper); }
.drawer-foot .ship-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.drawer-foot .total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.drawer-foot .total-row span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer-foot .total-row b { font-family: var(--display); font-size: 32px; white-space: nowrap; }
.checkout-btn { width: 100%; background: var(--ink); color: var(--cream); padding: 18px; border-radius: 14px; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s; }
.checkout-btn:hover { background: var(--accent); }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 13px; z-index: 700;
  font-weight: 600; display: flex; align-items: center; gap: 11px; box-shadow: 0 16px 36px rgba(22,24,43,.3);
  transition: transform .4s var(--ease); border: 1px solid rgba(244,236,220,.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .t-ck { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }

/* fly-to-cart dot */
.fly { position: fixed; z-index: 650; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); pointer-events: none; box-shadow: 0 4px 12px rgba(213,39,66,.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cat-grid, .prod-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card.feature { grid-column: span 2; }
  .value { border-left: none; padding: 14px 0; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; order: -1; }
  .about-grid { gap: 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .cat-grid, .prod-grid { grid-template-columns: 1fr 1fr; }
  .topbar .tb-right { display: none; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .section { padding: 56px 0; }
  .cta-band { padding: 34px 24px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-pack img { animation: none !important; }
  * { transition-duration: .01ms !important; }
}


/* ============================================================
   WORDPRESS / WOOCOMMERCE — additions
   ============================================================ */

/* Accessibility helpers */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.ass-hide-sm { display: inline-flex; }

/* Custom logo — height driven by the Customizer (--logo-h), aspect kept */
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand .custom-logo {
  width: auto;
  height: var(--logo-h, 64px);
  max-height: var(--logo-h, 64px);
  max-width: 240px;
  object-fit: contain;
  border-radius: 0;
}

/* Nav fallback list (wp_nav_menu items) */
.nav .nav-list, .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--accent); }

/* Search popover */
.search-pop { border-top: 1px solid var(--line); background: var(--paper); }
.search-pop .wrap { padding-top: 16px; padding-bottom: 16px; }
.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-field {
  flex: 1; font-family: var(--sans); font-size: 16px; padding: 14px 18px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
}
.search-field:focus { outline: none; border-color: var(--ink); }
.search-submit {
  background: var(--ink); color: var(--cream); border-radius: 13px; padding: 0 22px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.search-submit:hover { background: var(--accent); }

/* Page heads */
.page-head { margin-bottom: 40px; max-width: 760px; }
.page-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px,5vw,68px); line-height: .92; margin: 14px 0 0; }
.page-title .hl { color: var(--accent); }
.archive-description { color: var(--muted); margin-top: 14px; font-size: 17px; }

/* Blog grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(22,24,43,.13); }
.post-card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper); display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-ph { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 22px; text-transform: uppercase; color: var(--muted); }
.post-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card-meta a { color: var(--accent); }
.post-card-title { font-size: 22px; line-height: 1.2; margin: 8px 0 10px; font-weight: 800; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { color: #3a3b44; font-size: 15px; margin: 0 0 16px; }
.post-card-link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.post-card-link:hover { gap: 11px; }

/* Single / page */
.single-wrap { max-width: 820px; }
.single-head { margin-bottom: 26px; }
.single-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px,5vw,64px); line-height: .94; margin: 14px 0 0; }
.single-thumb { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.single-thumb img { width: 100%; display: block; }
.entry-content { font-size: 18px; line-height: 1.7; color: #25262f; }
.entry-content > * { margin: 0 0 1.2em; }
.entry-content h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; margin: 1.4em 0 .5em; }
.entry-content h3 { font-size: 24px; font-weight: 800; margin: 1.3em 0 .4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Category landing PAGES embed a [products] grid inside .entry-content. The
   generic link rule above was repainting the product-title links and the
   WhatsApp button text red + underlined — restore each card's own styling.
   (Higher specificity than `.entry-content a`, so no !important needed.) */
.entry-content ul.products a,
.entry-content .prod-grid a,
.entry-content .prod a { text-decoration: none; }
.entry-content .prod .prod-name a,
.entry-content .prod .prod-name { color: var(--ink); }
.entry-content .prod .prod-name a:hover { color: var(--accent); }
.entry-content .prod-wa { color: #fff; }
.entry-content .prod-buy { color: var(--cream); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 4px solid var(--accent); padding-left: 22px; font-style: italic; color: var(--muted); }
.entry-content code { font-family: var(--mono); background: rgba(22,24,43,.06); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content .alignwide { width: min(100%, 1040px); margin-left: 50%; transform: translateX(-50%); max-width: 100vw; }
.entry-content .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.single-foot { margin-top: 32px; }
.single-foot .tags a { font-family: var(--mono); font-size: 12px; background: rgba(22,24,43,.06); padding: 5px 11px; border-radius: 30px; margin-right: 6px; }
.page-links { display: flex; gap: 8px; font-family: var(--mono); font-size: 13px; margin-top: 20px; }

/* Pagination */
.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  font-family: var(--mono); font-weight: 700; min-width: 44px; height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 11px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--ink); }

/* No results / 404 */
.no-results { text-align: center; padding: 60px 20px; max-width: 560px; margin: 0 auto; }
.no-results h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 42px; }
.error-404-wrap { display: grid; place-items: center; min-height: 56vh; text-align: center; }
.error-404 { max-width: 620px; }
.error-404 .big-404 { font-family: var(--display); font-size: clamp(120px,22vw,260px); line-height: .8; color: var(--accent); letter-spacing: -.02em; }
.error-404 h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px,5vw,56px); margin: 8px 0 16px; }
.error-404 p { color: #3a3b44; font-size: 18px; max-width: 460px; margin: 0 auto 26px; }
.error-404 .hero-cta { justify-content: center; }
.search-404 { max-width: 440px; margin: 32px auto 0; }
.search-404 .search-form { margin: 0 auto; }

/* Widgets */
.widget { margin-bottom: 28px; }
.widget-title, .widget h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer .widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer .widget a { color: rgba(244,236,220,.72); }
.footer .widget a:hover { color: var(--gold); }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--ink); }
.comments-title, .comment-reply-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin: 0 0 24px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.comment-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.comment-author { font-weight: 800; }
.comment-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.comment-respond .comment-form { display: grid; gap: 14px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
}
.comment-form .form-submit input { background: var(--accent); color: #fff; font-weight: 700; padding: 14px 28px; border-radius: 13px; cursor: pointer; }

/* WooCommerce alignment with theme */
.woocommerce-breadcrumb { margin-bottom: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 !important; padding: 0; list-style: none; }
/* WooCommerce adds clearfix pseudo-elements for its float layout; once
   ul.products is a CSS grid they turn into stray grid items — an empty first
   cell (the "gap") and a trailing one. Remove them so products fill from the
   very first column. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product .prod-media img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.woocommerce .prod-add.add_to_cart_button, .woocommerce .prod .button {
  width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 11px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 0; position: relative;
}
.woocommerce .prod-add.add_to_cart_button::before { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; }
.woocommerce .prod-add.add_to_cart_button:hover { background: var(--ink); }
.woocommerce span.onsale { background: var(--gold); color: var(--ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--accent); border-radius: 12px; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--ink); color: var(--cream); border-radius: 12px; font-weight: 700; padding: 13px 24px;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--accent); }
.woocommerce div.product .product_title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px,4vw,52px); line-height: .95; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--display); font-size: 30px; color: var(--ink); }
.woocommerce .star-rating span { color: var(--accent); }

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .ass-hide-sm { display: none; }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .cart-btn { padding: 0; width: 44px; }
}

/* cat-card meta wrapper + mobile nav (theme.js toggles .nav.open) */
.cat-card .cat-meta { display: block; }
@media (max-width: 880px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; padding: 14px 24px; gap: 2px; display: none; box-shadow: 0 20px 40px rgba(22,24,43,.14); }
  .nav.open { display: flex; }
  .nav .nav-list, .nav ul { flex-direction: column; width: 100%; }
  .nav a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   WOOCOMMERCE — shop banner, toolbar, single trust
   ============================================================ */
.shop-banner { background: var(--ink); color: var(--cream); padding: 56px 0 60px; margin-bottom: 36px; position: relative; overflow: hidden; }
.shop-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 38px, rgba(244,236,220,.04) 38px 76px); }
.shop-banner .wrap { position: relative; }
.shop-banner .eyebrow { color: rgba(244,236,220,.7); }
.shop-banner .eyebrow .star { color: var(--gold); }
.shop-banner-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px,6vw,76px); line-height: .9; margin: 12px 0 14px; }
.shop-banner-count { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.woocommerce .woocommerce-result-count { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.woocommerce .woocommerce-ordering select, .woocommerce select.orderby {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  padding: 11px 16px; border-radius: 30px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
}

/* single product trust list */
.single-trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.single-trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.single-trust li svg { color: var(--accent); flex-shrink: 0; }

/* single product summary headings */
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; color: #3a3b44; }
.woocommerce div.product form.cart .button { background: var(--accent); color: #fff; font-size: 16px; padding: 15px 30px; }
.woocommerce div.product form.cart .button:hover { background: var(--ink); }
.woocommerce .quantity input.qty { border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 8px; font-family: var(--mono); }
.woocommerce-tabs .tabs li.active a { color: var(--accent) !important; }

/* ============================================================
   PRODUCT CARD ACTIONS — Add to cart + Order on WhatsApp
   (green is WCAG-AA-safe with white text)
   ============================================================ */
:root { --wa: #0A7D3B; --wa-dark: #086A32; }

.prod-foot { flex-direction: column; align-items: stretch; gap: 13px; }
.prod-price-wrap { display: flex; flex-direction: column; gap: 1px; }
.prod-price-label { font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.prod-actions { display: flex; flex-direction: column; gap: 8px; }

/* Shared button shape — beats the generic ".woocommerce .prod .button" (40px, font-size:0) rule */
.prod-actions .prod-buy,
.prod-actions .prod-wa,
.woocommerce ul.products li.product .prod-actions .prod-buy.button {
  width: 100% !important;
  height: auto !important;
  min-height: 44px;
  min-width: 0;
  padding: 11px 14px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.1 !important;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.prod-actions .prod-buy svg,
.prod-actions .prod-wa svg { flex-shrink: 0; }
.prod-actions .prod-buy::before,
.woocommerce ul.products li.product .prod-actions .prod-buy.button::before { content: none !important; }

/* Add to cart — navy */
.prod-actions .prod-buy,
.woocommerce ul.products li.product .prod-actions .prod-buy.button {
  background: var(--ink) !important;
  color: var(--cream) !important;
}
.prod-actions .prod-buy:hover,
.woocommerce ul.products li.product .prod-actions .prod-buy.button:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.prod-actions .prod-buy.loading { opacity: .7; }
.prod-actions .prod-buy.added { background: var(--wa) !important; color: #fff !important; }

/* Order on WhatsApp — green */
.prod-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--wa) 30%, transparent);
}
.prod-wa:hover {
  background: var(--wa-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--wa) 38%, transparent);
}
.prod-wa:focus-visible { outline: 3px solid color-mix(in srgb, var(--wa) 55%, #fff); outline-offset: 2px; }

/* Single product page — full "Commander sur WhatsApp" button on its own line */
.prod-wa--single {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 14px 28px;
  border-radius: 13px;
  background: var(--wa);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--wa) 32%, transparent);
  transition: transform .15s var(--ease), background .2s, box-shadow .2s;
}
.prod-wa--single:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px color-mix(in srgb, var(--wa) 40%, transparent); }
.prod-wa--single svg { flex-shrink: 0; }

@media (max-width: 560px) {
  .prod-actions .prod-buy,
  .prod-actions .prod-wa,
  .woocommerce ul.products li.product .prod-actions .prod-buy.button {
    font-size: 13px !important;
    padding: 10px 10px !important;
    min-height: 42px;
    gap: 6px;
  }
}

/* ============================================================
   AWWWARDS UPGRADE — motion, choreography, archive & single
   v1.3 · performant (transform/opacity only) · motion-safe · no-FOUC
   ============================================================ */

/* Smooth in-page scroll + progressive cross-page View Transitions */
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---- Scroll-reveal — hidden state gated on html.js so there is no flash ----
   (entirely inside no-preference: users who reduce motion always see content) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal,
  html.js .hero-copy > *,
  html.js .hero-visual,
  html.js .section-head,
  html.js .cat-grid > *,
  html.js .prod-grid > *,
  html.js .js-shop-grid > *,
  html.js .values-grid > *,
  html.js .about-flag,
  html.js .about-body,
  html.js .cta-band,
  html.js .woocommerce ul.products > li.product,
  html.js .single-product div.product > .woocommerce-product-gallery,
  html.js .single-product div.product > .summary,
  html.js .woocommerce-tabs,
  html.js .shop-banner .wrap > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
    transition-delay: calc(min(var(--reveal-i, 0), 8) * 65ms);
  }
  /* LCP-safe: keep the two largest hero elements painted — slide only, never fade */
  html.js .hero-copy > h1,
  html.js .hero-visual { opacity: 1; }
  html.js .hero-copy > h1 { transform: translateY(22px); transition: transform .85s var(--ease); }
  html.js .hero-visual { transform: translateY(26px) scale(.985); transition: transform .9s var(--ease); }

  html.js .is-revealed { opacity: 1 !important; transform: none !important; }
}

/* ---- Button sheen + icon nudge ---- */
.btn { position: relative; overflow: hidden; }
.btn > span, .btn > svg { position: relative; z-index: 1; }
.btn svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg, .section-head .link:hover svg, .btn-ghost:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -130%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.30), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); z-index: 0; pointer-events: none;
}
.btn:hover::after { left: 150%; }

/* ---- Animated nav underline ---- */
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after { transform: scaleX(1); }

/* ---- Hero cursor parallax target (inner packshot — desktop, fine pointer) ---- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-pack { transition: transform .4s var(--ease); will-change: transform; }
}

/* ============================================================
   ARCHIVE PRODUIT — elevated shop / category
   ============================================================ */
.shop-banner { padding: clamp(46px, 7vw, 84px) 0 clamp(40px, 6vw, 66px); }
.shop-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px;
  background: radial-gradient(circle, color-mix(in srgb, var(--red) 30%, transparent), transparent 66%);
  pointer-events: none;
}
.shop-banner-title { letter-spacing: -.01em; }
.shop-banner-title::after {
  content: ""; display: block; width: 84px; height: 5px; margin-top: 16px;
  background: var(--red); border-radius: 4px;
}
.woocommerce ul.products { gap: 18px; }
.shop-toolbar {
  padding: 13px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 30px;
}
.woocommerce .woocommerce-result-count { margin: 0 !important; }
.woocommerce .woocommerce-ordering select, .woocommerce select.orderby { cursor: pointer; }
.woocommerce-breadcrumb a { transition: color .2s; }
.woocommerce-breadcrumb a:hover { color: var(--accent); }
.woocommerce-breadcrumb .bc-sep { opacity: .4; margin: 0 4px; }

/* ============================================================
   SINGLE PRODUIT — editorial 2-column layout
   ============================================================ */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  column-gap: clamp(28px, 4.5vw, 64px);
  row-gap: 0;
  align-items: start;
}
/* Everything spans full width by default… */
.single-product div.product > * { grid-column: 1 / -1; }
/* …only gallery + summary share the top row as two columns. */
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.single-product div.product > .summary { grid-column: 2; grid-row: 1; }
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > .summary { width: auto !important; float: none !important; margin: 0 !important; }

/* Gallery: framed packshot */
.single-product .woocommerce-product-gallery {
  background: radial-gradient(circle at 50% 36%, #fff, var(--paper));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 34px);
  box-shadow: 0 26px 60px rgba(22,24,43,.10);
}
.single-product .woocommerce-product-gallery__image img { border-radius: 12px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { width: 64px !important; margin: 0 !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 9px; border: 1px solid var(--line); opacity: .6; transition: opacity .2s, border-color .2s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs .flex-active img { opacity: 1; border-color: var(--ink); }
.single-product .onsale {
  background: var(--gold) !important; color: var(--ink) !important; border-radius: 30px !important;
  font-family: var(--mono) !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important;
}

/* Summary */
.woocommerce div.product .product_title { letter-spacing: -.01em; margin: 4px 0 10px !important; }
.single-product .woocommerce-product-rating { margin-bottom: 16px; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--ink); font-size: clamp(30px, 4vw, 44px); display: block; margin: 4px 0 20px; line-height: 1;
}
.woocommerce div.product p.price del { color: var(--muted); font-size: .55em; opacity: .8; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--red); }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 4px; }
.single-product div.product form.cart .quantity { margin: 0; }
.woocommerce .quantity input.qty { width: 78px; height: 54px; text-align: center; font-size: 16px; }
.woocommerce div.product form.cart .button {
  height: 54px; border-radius: 13px; padding: 0 32px; font-weight: 800; letter-spacing: .02em; margin: 0;
}
.woocommerce-product-details__short-description { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Tabs as pills */
.woocommerce-tabs { margin-top: clamp(40px, 6vw, 72px); }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex; gap: 8px; flex-wrap: wrap; padding: 0 !important; margin: 0 0 24px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--card) !important; border: 1.5px solid var(--line) !important; border-radius: 30px !important; padding: 0 !important; margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  padding: 12px 20px !important; display: block; color: var(--ink);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink) !important; border-color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cream) !important; }
.woocommerce-tabs .panel { font-size: 17px; color: #2c2d38; max-width: 820px; }
.woocommerce-tabs .panel h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin-top: 0; }

/* Related / up-sells */
.related.products, .up-sells.products {
  margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px);
}
.related.products > h2, .up-sells.products > h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); margin: 0 0 30px;
}

@media (max-width: 900px) {
  .single-product div.product { grid-template-columns: 1fr; row-gap: 26px; }
  .single-product div.product > .woocommerce-product-gallery,
  .single-product div.product > .summary { grid-column: 1 / -1; grid-row: auto; }
}

/* ============================================================
   ARCHIVE & SINGLE — v1.4.3 refinement pass
   Layers depth, hover choreography & micro-interactions on top of
   the v1.3 base. Transform/opacity only · motion-safe · additive.
   ============================================================ */

/* ---- Product card: deeper float, gradient hover ring, image spotlight ---- */
.prod { box-shadow: 0 1px 2px rgba(22,24,43,.05); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.prod:hover { transform: translateY(-8px); box-shadow: 0 30px 54px -14px rgba(22,24,43,.24), 0 10px 18px -10px rgba(22,24,43,.12); }
/* Colour ring drawn with a masked gradient border — no layout shift, sits under the badges (z 2). */
.prod::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  padding: 1.5px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, transparent), transparent 40%, color-mix(in srgb, var(--gold) 50%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
}
.prod:hover::after { opacity: 1; }
/* Warm spotlight on the packshot */
.prod-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.55), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.prod:hover .prod-media::after { opacity: 1; }

/* ---- "Best-seller" badge: slow shimmer (motion-safe) ---- */
.prod-badge.best { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .prod-badge.best::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -120%; width: 55%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
    transform: skewX(-18deg); animation: badge-shine 5s var(--ease) infinite;
  }
}
@keyframes badge-shine { 0%, 70% { left: -120%; } 85%, 100% { left: 170%; } }

/* ---- Keyboard focus rings on card interactives ---- */
.prod-media:focus-visible, .prod-name a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 60%, #fff); outline-offset: 3px; border-radius: 9px;
}

/* ---- Archive banner: product count as a glassy chip ---- */
.shop-banner-count {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,236,220,.10); border: 1px solid rgba(244,236,220,.20);
  padding: 8px 15px; border-radius: 30px;
}
@media (min-width: 1200px) { .woocommerce ul.products { gap: 22px; } }

/* ---- Shop toolbar: a quiet "Trier" label before the ordering select ---- */
.woocommerce .woocommerce-ordering { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.woocommerce .woocommerce-ordering::before {
  content: "Trier"; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
}

/* ---- Single: product meta (SKU / catégorie / tags) as tappable chips ---- */
.woocommerce div.product .product_meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.woocommerce div.product .product_meta > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.woocommerce div.product .product_meta a {
  background: var(--card); border: 1px solid var(--line); border-radius: 30px;
  padding: 5px 13px; color: var(--ink); font-weight: 700; transition: background .2s, color .2s, border-color .2s;
}
.woocommerce div.product .product_meta a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---- Single: gallery zoom hint (fine pointers only) ---- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .single-product .woocommerce-product-gallery__image { cursor: zoom-in; }
  .single-product .woocommerce-product-gallery__image img { transition: transform .55s var(--ease); }
  .single-product .woocommerce-product-gallery:hover .woocommerce-product-gallery__image img { transform: scale(1.045); }
}

/* ---- Single: related / up-sell heading gets the star eyebrow ---- */
.related.products > h2::before, .up-sells.products > h2::before {
  content: "★ "; color: var(--accent); font-size: .55em; vertical-align: middle; font-family: var(--sans);
}

/* ---- Single: add-to-cart tactile press ---- */
.woocommerce div.product form.cart .button { transition: transform .15s var(--ease), background .2s, box-shadow .2s; }
.woocommerce div.product form.cart .button:active { transform: scale(.97); }

/* ---- Mobile: tighten the two-up archive grid, comfortable tap targets ---- */
@media (max-width: 560px) {
  .woocommerce ul.products { gap: 12px; }
  .prod-body { padding: 13px 13px 14px; }
  .prod-name { font-size: 15px; }
  .shop-toolbar { padding: 11px 14px; }
}

/* ============================================================
   FULL-WIDTH PRODUCT PAGES + responsive grid cascade — v1.4.4
   page.php adds `.page-products` to any PAGE that embeds a product
   grid ([products] / [product_category] / WooCommerce product block):
   the catalogue and the category landing pages. Dropping `.single-wrap`
   already restores the full 1320px .wrap width (so the grid is no longer
   trapped in the 820px reading column and the side "gap" disappears).
   These rules add the archive-header polish + an authoritative, smooth
   responsive column cascade shared by EVERY product grid (shop archive,
   taxonomy archive, catalogue & category pages).
   ============================================================ */

/* Archive-style header on full-width product pages */
.page-products .single-head { margin-bottom: clamp(22px, 3vw, 34px); }
.page-products .single-title { letter-spacing: -.01em; }
.page-products .single-title::after {
  content: ""; display: block; width: 84px; height: 5px; margin-top: 16px;
  background: var(--red); border-radius: 4px;
}
.page-products .entry-content > h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(26px, 3vw, 38px); line-height: 1; margin: 1em 0 .6em;
}
/* The grid fills the row from the left — no trapped narrow column. */
.page-products .woocommerce ul.products,
.page-products ul.products { margin: 0 !important; }

/* ---- Responsive column cascade for every product grid: 4 → 3 → 2.
   Always fills from the left; comfortable cards on every screen.
   (Base 4-col lives on `.woocommerce ul.products` above.) ---- */
@media (max-width: 1200px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px)  { .woocommerce ul.products { gap: 11px; } }

/* ============================================================
   SLIM CHECKOUT — only Prénom, Nom, Adresse de livraison, Téléphone
   ============================================================ */
/* Forced-Sénégal country field is hidden (single-country store). */
.woocommerce-checkout .ass-checkout-hidden,
.woocommerce-checkout #billing_country_field.ass-checkout-hidden { display: none !important; }
/* Comfortable, full-width fields. */
.woocommerce-checkout .woocommerce-billing-fields .form-row { margin: 0 0 16px; }
.woocommerce-checkout .woocommerce-billing-fields label { font-weight: 700; font-size: 14px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .ass-zone-row select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 16px; background: var(--card);
}
.woocommerce form .form-row select, .woocommerce-checkout .ass-zone-row select { cursor: pointer; height: auto; line-height: 1.3; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 14%, transparent); }
/* Make the delivery-zone selector stand out a touch */
.woocommerce-checkout .ass-zone-row label { color: var(--ink); }
.woocommerce-billing-fields h3, .woocommerce-checkout h3#order_review_heading { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px,3vw,34px); }

/* ============================================================
   POLISH v1.3.1 — breadcrumb, live search, nav, hero mobile, credit
   ============================================================ */

/* ---- Breadcrumb: lighter, readable, no shouty caps on long titles ---- */
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: none;
  color: var(--muted); margin: 0 0 26px; line-height: 1.6; font-weight: 400; max-width: 100%;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; transition: color .2s; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--accent); }
.woocommerce .woocommerce-breadcrumb .bc-sep { opacity: .4; margin: 0 6px; }

/* ---- Live search dropdown ---- */
.search-form { position: relative; }
.search-input-wrap { position: relative; flex: 1; min-width: 0; }
.search-results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 50px rgba(22,24,43,.18); overflow: hidden; padding: 6px;
}
.search-results .sr-item { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 11px; transition: background .15s; }
.search-results .sr-item:hover, .search-results .sr-item:focus-visible { background: rgba(22,24,43,.05); }
.search-results .sr-thumb { width: 50px; height: 50px; flex-shrink: 0; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fff, var(--paper)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.search-results .sr-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.search-results .sr-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-results .sr-title { font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-results .sr-price { font-family: var(--display); font-size: 15px; color: var(--accent); }
.search-results .sr-empty { padding: 18px 14px; text-align: center; color: var(--muted); font-size: 14px; }
.search-results .sr-all { display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.search-results .sr-all:hover { color: var(--accent); }

/* ---- Nav: never show list markers (menu or fallback) ---- */
.nav, .nav ul, .nav .nav-list, .nav li { list-style: none; }
.nav li::marker { content: ""; }

/* ---- Mobile nav dropdown polish ---- */
@media (max-width: 880px) {
  .nav {
    box-shadow: 0 24px 48px rgba(22,24,43,.16); border-radius: 0 0 18px 18px;
    padding: 10px 18px 16px;
  }
  .nav .nav-list { gap: 0; }
  .nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: none; }
  .nav a {
    display: flex; align-items: center; width: 100%; padding: 14px 6px;
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: 20px; letter-spacing: .01em;
  }
  .nav a::after { display: none; }
  .nav a:hover, .nav .current-menu-item > a { color: var(--accent); background: transparent; }
}

/* ---- Hero: keep the decorative seal/badge from overlapping copy on small screens ---- */
@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero-visual { max-width: 360px; margin: 0 auto 14px; }
  .hero-seal { width: 88px; height: 88px; bottom: 2%; left: 2%; }
  .hero-seal b { font-size: 20px; }
  .hero-badge-usa { top: 1%; right: 3%; }
}
@media (max-width: 560px) {
  .hero-visual { max-width: 264px; }
  .hero-seal { width: 70px; height: 70px; left: -2%; }
  .hero-seal b { font-size: 16px; }
  .hero-seal small { font-size: 7px; }
  .hero-badge-usa { font-size: 9.5px; padding: 6px 10px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
}

/* ---- Footer: ITSkillsCenter credit ---- */
.footer-bottom .f-credit { display: inline-flex; align-items: center; gap: 6px; }
.f-credit-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 700; transition: color .2s; }
.f-credit-link:hover { color: #fff; }
.f-credit-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 700; border-radius: 6px; letter-spacing: .02em; }
.f-credit-link:hover .f-credit-badge { background: var(--gold); color: var(--ink); }

/* ============================================================
   MOBILE AWWWARDS v1.4 — full-screen menu, action bar, motion
   ============================================================ */

* { -webkit-tap-highlight-color: transparent; }

/* Touch feedback (no-hover devices) */
@media (hover: none) {
  .btn:active, .prod-buy:active, .prod-wa:active, .cat-card:active, .prod:active,
  .icon-btn:active, .chip:active, .mb-item:active, .search-submit:active, .cart-btn:active { transform: scale(.97); }
}

/* Header: hide on scroll-down (mobile), subtle shadow once scrolled.
   NOTE: no `will-change`/`transform` at rest — a transformed ancestor would
   become the containing block for the fixed full-screen menu and break it. */
.header { transition: transform .35s var(--ease), box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(22,24,43,.10); }
@media (max-width: 880px) {
  .header.hdr-hidden { transform: translateY(-100%); }
  /* Neutralise containing-block triggers so the fixed full-screen menu (a child
     of .header) is positioned to the viewport, not the header box. */
  body.menu-open .header { transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Lock background scroll while the full-screen menu is open */
body.menu-open { overflow: hidden; }

/* ---- Full-screen mobile menu ---- */
.nav-close, .nav-foot { display: none; }
@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 0; z-index: 280;
    background: linear-gradient(160deg, var(--paper), var(--cream));
    display: flex; flex-direction: column; justify-content: center; align-items: stretch;
    gap: 0; padding: 92px 28px calc(40px + env(safe-area-inset-bottom, 0px));
    border-radius: 0; box-shadow: none; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .42s var(--ease), transform .5s var(--ease), visibility .42s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }

  .nav-close {
    display: grid; place-items: center; position: absolute; top: 20px; right: 20px;
    width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--cream);
    transition: transform .2s, background .2s;
  }
  .nav-close:active { transform: scale(.9); }

  .nav .nav-list { display: flex; flex-direction: column; gap: 0; width: 100%; }
  .nav li {
    width: 100%; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(22px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .nav.open li { opacity: 1; transform: none; }
  .nav.open li:nth-child(1) { transition-delay: .10s; }
  .nav.open li:nth-child(2) { transition-delay: .16s; }
  .nav.open li:nth-child(3) { transition-delay: .22s; }
  .nav.open li:nth-child(4) { transition-delay: .28s; }
  .nav.open li:nth-child(5) { transition-delay: .34s; }
  .nav.open li:nth-child(6) { transition-delay: .40s; }
  .nav.open li:nth-child(7) { transition-delay: .46s; }
  .nav.open li:nth-child(8) { transition-delay: .52s; }
  .nav a {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(30px, 9vw, 46px); letter-spacing: .005em; line-height: 1;
    padding: 18px 2px; color: var(--ink);
  }
  .nav a::after {
    content: "↗"; display: inline-block; position: static; width: auto; height: auto; background: none;
    font-family: var(--sans); font-size: .5em; color: var(--accent); opacity: 0;
    transform: none; transition: opacity .2s;
  }
  .nav a:active, .nav .current-menu-item > a { color: var(--accent); }
  .nav a:active::after, .nav .current-menu-item > a::after { opacity: 1; }

  .nav-foot {
    display: flex; flex-direction: column; gap: 12px; margin-top: 28px;
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s var(--ease) .5s, transform .5s var(--ease) .5s;
  }
  .nav.open .nav-foot { opacity: 1; transform: none; }
  .nav-foot-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; padding: 16px; border-radius: 14px;
  }
  .nav-foot-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px; padding: 14px; border-radius: 14px;
  }
}

/* ---- Mobile sticky action bar ---- */
.mobile-bar { display: none; }
@media (max-width: 880px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 240;
    background: color-mix(in srgb, var(--cream) 90%, transparent);
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-top: 1px solid var(--line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  /* The full-screen menu lives inside the header's stacking context, so hide the
     bar (a root-level fixed element) while the menu is open. */
  body.menu-open .mobile-bar { opacity: 0; transform: translateY(100%); pointer-events: none; }
  .mb-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-family: var(--mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase;
    color: var(--ink); padding: 6px 4px; min-height: 46px; background: none; border: none; transition: color .2s;
  }
  .mb-item:active { color: var(--accent); }
  .mb-cart { position: relative; display: inline-flex; }
  .mb-badge {
    position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
    display: grid; place-items: center;
  }
}

/* ---- Mobile hero refinement ---- */
@media (max-width: 880px) {
  .hero-grid { text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero h1 .stripe { text-decoration-thickness: 5px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Mobile search: full-width field + dropdown ---- */
@media (max-width: 880px) {
  .search-pop .search-form { flex-wrap: wrap; gap: 8px; }
  .search-input-wrap { flex: 1 1 100%; }
  .search-submit { flex: 1 1 100%; justify-content: center; }
  .search-results { left: 0; right: 0; }
}

/* ---- Mobile spacing polish ---- */
@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }
  .prod-grid, .cat-grid { gap: 12px; }
  .topbar .wrap { height: 34px; }
}

/* ============================================================
   MOBILE FIXES v1.4.1 — footer responsive, menu CTA/WhatsApp
   readability, bottom-bar overflow, breadcrumb
   ============================================================ */

/* ---- Footer: stack on mobile (was locked at 4 columns) ---- */
@media (max-width: 880px) {
  .footer { padding: 54px 0 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-bottom: 34px; }
  .footer .f-brand, .footer .f-about { grid-column: 1 / -1; }
  .footer .f-about { max-width: none; }
  .footer .f-brand b { font-size: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
  .footer-bottom .f-credit { flex-wrap: wrap; }
}

/* ---- Full-screen menu: the footer buttons must NOT inherit the giant
   menu-link styles (.nav a ...), which made the WhatsApp button dark-on-dark
   and the CTA text the wrong colour. Reset + force their own styling. ---- */
@media (max-width: 880px) {
  .nav .nav-foot a {
    font-family: var(--sans); text-transform: none; letter-spacing: 0; line-height: 1.2;
    justify-content: center;
  }
  .nav .nav-foot a::after { content: none; }
  .nav a.nav-foot-cta { font-size: 16px; color: #fff; padding: 16px; }
  .nav a.nav-foot-cta svg { color: #fff; }
  .nav a.nav-foot-wa { font-size: 15px; color: var(--cream); padding: 14px; }
  .nav a.nav-foot-wa svg { color: #25D366; }
  .nav a.nav-foot-cta:active, .nav a.nav-foot-wa:active { color: inherit; }
}

/* ---- Mobile action bar: never overflow, labels stay on one line ---- */
@media (max-width: 880px) {
  .mobile-bar { max-width: 100vw; overflow: hidden; gap: 0; }
  .mb-item { min-width: 0; padding: 6px 2px; }
  .mb-item span:last-child { white-space: nowrap; font-size: clamp(8.5px, 2.5vw, 10px); }
}
@media (max-width: 360px) {
  .mb-item span:last-child { font-size: 8px; letter-spacing: 0; }
  .mb-item svg { width: 20px; height: 20px; }
}

/* ---- Breadcrumb: smaller and wraps cleanly on phones ---- */
@media (max-width: 560px) {
  .woocommerce .woocommerce-breadcrumb { font-size: 11px; margin-bottom: 18px; }
  .woocommerce .woocommerce-breadcrumb .bc-sep { margin: 0 4px; }
}
