/* =========================================================
   ANVIL0 — Design System v2 "THE FORGE"
   Alternate creative direction: industrial / mil-spec atelier.
   Same brand, same logo, same conversion logic as v1 — different
   visual language: mono technical type, copper/ember palette,
   cut-steel geometry instead of soft parchment cards.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@400;500;600;700&family=Roboto+Slab:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Core palette — colder, darker near-black than v1 */
  --bg:            #0a0908;
  --bg-soft:       #131110;
  --bg-glow:       radial-gradient(1100px 560px at 15% -10%, #1e140c 0%, #0a0908 55%);
  --panel:         #151210;
  --panel-alt:     #1a1512;
  --panel-hover:   #1f1a16;
  --border:        #35291d;
  --border-soft:   #241d17;

  /* Primary brand color — burnt copper / rust, distinct from v1's parchment stone */
  --accent:        #c1652f;
  --accent-hi:     #e88b52;
  --accent-dim:    #7a4726;
  --accent-soft:   rgba(193,101,47,0.14);

  /* Urgency color — hot ember/red, hotter & more alarmed than v1's amber */
  --urgency:       #dd4326;
  --urgency-hi:    #f2704c;
  --urgency-soft:  rgba(221,67,38,0.16);

  --text:          #f2ece2;
  --text-muted:    #a89a89;
  --text-faint:    #6d5f50;
  --white:         #ffffff;
  --danger:        #c2492f;
  --success:       #6a9a63;
  --rose:          #c98fa0;
  --teal:          #4fb3b8;
  --violet:        #9a8bbf;

  --radius-sm: 2px;
  --radius: 3px;
  --radius-lg: 4px;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-label: 'IBM Plex Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Roboto Slab', Georgia, serif;

  --container: 1320px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  background-image:var(--bg-glow);
  background-attachment:fixed;
  color:var(--text);
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input, select, textarea{ font-family:inherit; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; letter-spacing:0.5px; margin:0; text-transform:uppercase; color:var(--white); line-height:1.02; }
h1{ font-size:56px; }
h2{ font-size:34px; }
h3{ font-size:22px; }
h4{ font-size:16px; }
p{ margin:0 0 12px; color:var(--text-muted); }
.eyebrow{
  font-family:var(--font-label);
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--accent-hi);
  display:flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{ content:''; width:16px; height:2px; background:var(--accent); }

/* ---------- Top announcement bar ---------- */
.announce{
  background:var(--panel-alt);
  border-bottom:1px solid var(--border-soft);
  color:var(--text-muted);
  font-family:var(--font-label);
  font-size:11.5px;
  letter-spacing:1px;
  text-align:center;
  padding:7px 12px;
  text-transform:uppercase;
}
.announce b{ color:var(--accent-hi); }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(9,7,6,0.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border-soft);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px;
  max-width:var(--container);
  margin:0 auto;
  gap:24px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  color:var(--white);
}
.logo-badge{ height:38px; width:38px; display:block; flex:none; }
.logo-word{ font-family:var(--font-logo); font-weight:900; font-size:19px; letter-spacing:.5px; color:var(--accent-hi); text-transform:uppercase; }
.logo-word b{ color:var(--accent); font-weight:900; }
.logo small{ font-family:var(--font-label); font-size:9.5px; color:var(--text-faint); letter-spacing:1.5px; text-transform:uppercase; margin-left:2px; }
.logo-lg .logo-badge{ height:64px; width:64px; }
.logo-lg .logo-word{ font-size:28px; }

.main-nav{ display:flex; gap:24px; }
.main-nav a{
  font-family:var(--font-label);
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--text-muted);
  transition:color .15s;
  padding:6px 0;
  border-bottom:1px solid transparent;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
}
.main-nav a:hover, .main-nav a.active{ color:var(--white); border-color:var(--accent); }

.nav-actions{ display:flex; align-items:center; gap:18px; }
.nav-icon-btn{
  display:flex; align-items:center; gap:6px;
  color:var(--text-muted);
  font-family:var(--font-label);
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  border:1px solid transparent;
  background:none;
  padding:8px 10px;
  border-radius:var(--radius-sm);
  transition:all .15s;
  position:relative;
}
.nav-icon-btn:hover{ color:var(--white); background:var(--panel); }
.cart-count{
  background:var(--accent); color:#160f06; font-size:10px; font-weight:700;
  border-radius:50%; width:16px; height:16px; display:flex; align-items:center; justify-content:center;
  position:absolute; top:0; right:0;
}
.nav-icon-btn svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.6; }

.mobile-toggle{ display:none; background:none; border:1px solid var(--border); color:var(--text); padding:8px 10px; border-radius:var(--radius-sm); }

/* ---------- Buttons ---------- */
.btn{
  font-family:var(--font-label);
  font-size:12.5px;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:13px 26px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition:all .15s;
  cursor:pointer;
}
.btn-primary{ background:var(--accent); color:#160f06; font-weight:600; }
.btn-primary:hover{ background:var(--accent-hi); }
.btn-outline{ border-color:var(--text-muted); color:var(--text); background:transparent; }
.btn-outline:hover{ border-color:var(--white); background:var(--panel); }
.btn-ghost{ border-color:var(--border); color:var(--text-muted); background:transparent; }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 16px; font-size:10.5px; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }

/* ---------- Badges / Tags ---------- */
.tag{
  display:inline-block;
  font-family:var(--font-label);
  font-size:10px;
  letter-spacing:0.5px;
  text-transform:uppercase;
  color:var(--accent-hi);
  border:1px solid var(--accent-dim);
  background:var(--accent-soft);
  padding:4px 9px;
  border-radius:2px;
}
.tag-muted{ color:var(--text-muted); border-color:var(--border); background:transparent; }
.tag-sale{ color:#ffd7c2; border-color:var(--danger); background:rgba(194,73,47,0.15); }
.pill{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-label); font-size:11px; letter-spacing:0.5px; text-transform:uppercase;
  padding:7px 14px; border-radius:2px; border:1px solid var(--border); color:var(--text-muted);
  background:var(--panel); transition:all .15s; cursor:pointer;
}
.pill.active{ background:var(--accent); border-color:var(--accent); color:#160f06; font-weight:600; }
.pill:hover:not(.active){ border-color:var(--accent-dim); color:var(--text); }

/* ---------- Layout: 3-column shell (sidebars + main) ---------- */
.shell{
  display:grid;
  grid-template-columns:220px minmax(0,1fr) 220px;
  gap:20px;
  max-width:var(--container);
  margin:0 auto;
  padding:20px 24px 60px;
  align-items:start;
}
.shell-main{ min-width:0; }
.rail{ display:flex; flex-direction:column; gap:16px; position:sticky; top:88px; }

/* Ad / promo blocks in sidebars — "spec plate" treatment: notched corner + hairline frame */
.ad-block{
  background:var(--panel);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  padding:18px;
  position:relative;
  overflow:hidden;
  clip-path:polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.ad-block.hot{ border-color:var(--urgency); background:linear-gradient(160deg, var(--panel-alt), var(--panel)); }
.ad-block.hot .eyebrow{ color:var(--urgency-hi); }
.ad-block.hot .eyebrow::before{ background:var(--urgency-hi); }
.ad-block .eyebrow{ margin-bottom:8px; }
.ad-block h4{ margin-bottom:8px; }
.ad-block p{ font-size:13px; margin-bottom:12px; }
.ad-block .price-row{ display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.ad-block .old-price{ text-decoration:line-through; color:var(--text-faint); font-size:13px; }
.ad-block .new-price{ color:var(--urgency-hi); font-family:var(--font-label); font-size:20px; font-weight:600; }
.countdown{
  display:flex; gap:6px; margin-bottom:12px;
}
.countdown .cd-unit{
  background:var(--bg-soft); border:1px solid var(--urgency); border-radius:2px;
  padding:6px 8px; text-align:center; flex:1;
  font-family:var(--font-label); font-size:16px; color:var(--urgency-hi);
}
.countdown .cd-unit small{ display:block; font-size:8.5px; color:var(--text-faint); letter-spacing:1px; }
.ad-banner-img{
  width:100%; aspect-ratio:1/1; border-radius:var(--radius-sm); margin-bottom:12px;
  background:linear-gradient(150deg,#28160a,#0f0a05);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-soft);
}
.trust-list{ display:flex; flex-direction:column; gap:12px; }
.trust-item{ display:flex; gap:10px; align-items:flex-start; }
.trust-item svg{ width:20px; height:20px; stroke:var(--accent); fill:none; stroke-width:1.5; flex:none; margin-top:2px; }
.trust-item span{ font-size:12.5px; color:var(--text-muted); }
.ad-placeholder-label{
  position:absolute; top:8px; right:8px; font-size:9px; letter-spacing:1px; text-transform:uppercase;
  color:var(--text-faint); font-family:var(--font-label); background:var(--bg); padding:2px 6px; border-radius:2px; border:1px solid var(--border-soft);
}

/* ---------- Hero v2: split banner, watermark badge, diagonal cut ---------- */
.hero-split{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:40px;
  align-items:center;
  padding:46px 0 40px;
  margin-bottom:0;
  overflow:hidden;
}
.hero-split::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-watermark{
  position:absolute; top:50%; right:-60px; transform:translateY(-50%);
  width:520px; height:520px; opacity:0.05; pointer-events:none;
  filter:grayscale(1) brightness(3);
}
.hero-copy{ position:relative; z-index:1; }
.hero-copy .eyebrow{ margin-bottom:14px; }
.hero-copy h1{ font-size:52px; line-height:0.98; margin-bottom:16px; }
.hero-copy h1 em{ font-style:normal; color:var(--accent-hi); }
.hero-copy p{ max-width:460px; font-size:15px; margin-bottom:24px; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:26px; }
.hero-inline-stats{ display:flex; gap:28px; flex-wrap:wrap; }
.hero-inline-stats div{ display:flex; flex-direction:column; }
.hero-inline-stats strong{ font-family:var(--font-display); font-size:24px; color:var(--accent-hi); line-height:1; }
.hero-inline-stats span{ font-family:var(--font-label); font-size:10px; letter-spacing:1px; color:var(--text-faint); text-transform:uppercase; margin-top:4px; }

.hero-feature-card{
  position:relative; z-index:1;
  display:block;
  background:var(--panel);
  border:1px solid var(--border);
  padding:20px;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition:opacity .18s ease, border-color .15s;
}
.hero-feature-card:hover{ border-color:var(--accent); }
.hero-feature-card .card-media{ aspect-ratio:1/0.82; margin:-20px -20px 14px; width:calc(100% + 40px); }
.hc-dots{ display:flex; gap:6px; justify-content:center; margin-top:14px; }
.hc-dot{ width:6px; height:6px; border-radius:50%; background:var(--border); transition:background .2s; }
.hc-dot.active{ background:var(--accent); }
.hero-feature-tag{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-label); font-size:10px; letter-spacing:1px; text-transform:uppercase;
  color:var(--urgency-hi); margin-bottom:8px;
}
.hero-feature-tag::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--urgency); }

/* ---------- Trust bar strip (v2 only, sits under hero) ---------- */
.trust-bar{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft);
  background:var(--bg-soft);
}
.trust-bar-item{
  display:flex; align-items:center; gap:10px; justify-content:center;
  padding:16px 12px; border-left:1px solid var(--border-soft);
}
.trust-bar-item:first-child{ border-left:none; }
.trust-bar-item svg{ width:18px; height:18px; stroke:var(--accent); fill:none; stroke-width:1.5; flex:none; }
.trust-bar-item span{ font-family:var(--font-label); font-size:11px; letter-spacing:0.5px; color:var(--text-muted); text-transform:uppercase; }

/* ---------- Filter row ---------- */
.filter-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.filter-group{ display:flex; gap:8px; flex-wrap:wrap; }
.sort-select{
  background:var(--panel); border:1px solid var(--border); color:var(--text-muted);
  padding:9px 12px; border-radius:var(--radius-sm); font-family:var(--font-label); font-size:11.5px; letter-spacing:0.5px; text-transform:uppercase;
}

/* ---------- Product grid & cards ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.card{
  background:var(--panel);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .15s, transform .15s;
  display:flex; flex-direction:column;
}
.card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.card-media{
  aspect-ratio:1/0.82;
  background:linear-gradient(155deg,#241407,#0e0a05);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  border-bottom:1px solid var(--border-soft);
}
.card-media .helmet-icon{ width:58%; height:58%; }
.card-badge{
  position:absolute; top:10px; left:10px;
  font-family:var(--font-label); font-size:9.5px; letter-spacing:0.5px; text-transform:uppercase;
  padding:4px 8px; border-radius:2px; background:var(--accent); color:#160f06;
}
.card-badge.badge-sale{ background:var(--urgency); color:#fff; }
.card-badge.badge-new{ background:var(--teal); color:#08211f; }
.card-fav{
  position:absolute; top:10px; right:10px; width:30px; height:30px; border-radius:50%;
  background:rgba(11,9,6,0.55); border:1px solid var(--border-soft); display:flex; align-items:center; justify-content:center;
}
.card-fav svg{ width:15px; height:15px; stroke:var(--text-muted); fill:none; }
.card-body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.card-title{ font-family:var(--font-label); font-size:13px; letter-spacing:0.5px; text-transform:uppercase; color:var(--white); }
.card-desc{ font-size:12.5px; color:var(--text-muted); margin:0; min-height:34px; }
.card-tags{ display:flex; gap:6px; flex-wrap:wrap; }
.card-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:6px; }
.price-block{ display:flex; flex-direction:column; }
.price-label{ font-size:9px; letter-spacing:0.5px; text-transform:uppercase; color:var(--text-faint); font-family:var(--font-label); }
.price{ font-family:var(--font-label); font-size:18px; font-weight:600; color:var(--accent-hi); }
.price .old{ text-decoration:line-through; color:var(--text-faint); font-size:12px; font-weight:400; margin-right:6px; }

/* ---------- helmet line-art icon color variants ---------- */
.helmet-icon{ stroke-width:1.4; fill:none; }
.ic-amber{ stroke:var(--accent); }
.ic-rose{ stroke:var(--rose); }
.ic-teal{ stroke:var(--teal); }
.ic-violet{ stroke:var(--violet); }
.ic-white{ stroke:#cfc6b8; }

/* ---------- Section wrapper (full width, outside shell) ---------- */
.section{ padding:60px 0; border-top:1px solid var(--border-soft); }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:12px; }
.section-head h2{ margin-top:8px; }

/* ---------- Value props strip (legacy, kept for other pages) ---------- */
.value-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-soft); border:1px solid var(--border-soft); border-radius:var(--radius); overflow:hidden; }
.value-item{ background:var(--panel); padding:22px; text-align:center; }
.value-item svg{ width:26px; height:26px; stroke:var(--accent); fill:none; stroke-width:1.4; margin-bottom:10px; }
.value-item h4{ font-size:13px; margin-bottom:6px; }
.value-item p{ font-size:12px; margin:0; }

/* ---------- Process steps (v2 only — "THE FORGE" storytelling) ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-soft); border:1px solid var(--border-soft); }
.process-step{ background:var(--panel); padding:26px 22px; position:relative; }
.process-num{ font-family:var(--font-display); font-size:40px; color:var(--accent-dim); line-height:1; margin-bottom:14px; }
.process-step h4{ font-size:13px; letter-spacing:1px; margin-bottom:8px; }
.process-step p{ font-size:12.5px; margin:0; }

/* ---------- Articles ---------- */
.article-card{ background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.article-media{ aspect-ratio:16/10; background:linear-gradient(150deg,#22150a,#0e0a05); display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--border-soft); }
.article-media svg{ width:34%; stroke:var(--accent-dim); fill:none; stroke-width:1.2; }
.article-body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.article-cat{ font-family:var(--font-label); font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--accent); }
.article-title{ font-family:var(--font-label); font-size:15px; text-transform:none; color:var(--white); letter-spacing:0; line-height:1.3; }
.article-excerpt{ font-size:12.5px; color:var(--text-muted); margin:0; }
.article-meta{ font-size:11px; color:var(--text-faint); margin-top:auto; padding-top:8px; }

/* ---------- Order summary rows (cart, checkout) ---------- */
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; color:var(--text-muted); padding:8px 0; }
.summary-row.total{ color:var(--white); font-family:var(--font-label); font-size:16px; border-top:1px solid var(--border-soft); margin-top:8px; padding-top:14px; }

/* ---------- Forms ---------- */
.field{ margin-bottom:16px; }
.field label{ display:block; font-family:var(--font-label); font-size:11px; letter-spacing:0.5px; text-transform:uppercase; color:var(--text-muted); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; background:var(--bg-soft); border:1px solid var(--border); color:var(--text);
  padding:12px 14px; border-radius:var(--radius-sm); font-size:14px;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.checkbox-row{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-muted); }

/* ---------- Panels / cards (generic) ---------- */
.panel{ background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius-lg); padding:26px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--border-soft); padding:50px 0 20px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.2fr; gap:30px; padding-bottom:34px; }
.footer-grid h4{ font-size:11.5px; letter-spacing:1px; color:var(--text-muted); margin-bottom:16px; font-family:var(--font-label); text-transform:uppercase; }
.footer-grid ul{ display:flex; flex-direction:column; gap:10px; }
.footer-grid a{ font-size:13px; color:var(--text-muted); }
.footer-grid a:hover{ color:var(--accent); }
.footer-pay{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.footer-pay span{ border:1px solid var(--border); border-radius:2px; padding:5px 9px; font-size:10px; font-family:var(--font-label); letter-spacing:0.5px; color:var(--text-faint); }
.footer-bottom{ border-top:1px solid var(--border-soft); padding-top:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-bottom p{ font-size:12px; margin:0; color:var(--text-faint); }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:32px; height:32px; border:1px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:14px; height:14px; stroke:var(--text-muted); fill:none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-family:var(--font-label); font-size:10.5px; letter-spacing:0.5px; text-transform:uppercase; color:var(--text-faint); padding:16px 0; }
.breadcrumb a{ color:var(--text-faint); }
.breadcrumb a:hover{ color:var(--accent); }
.breadcrumb span{ color:var(--text-muted); }

/* ---------- Misc ---------- */
.divider{ height:1px; background:var(--border-soft); margin:26px 0; }
.badge-dot{ width:8px; height:8px; border-radius:50%; background:var(--success); display:inline-block; margin-right:6px; }
.stars{ color:var(--accent); font-size:13px; letter-spacing:1px; }
.center{ text-align:center; }
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .shell{ grid-template-columns:1fr; }
  .rail{ position:static; flex-direction:row; overflow-x:auto; }
  .rail .ad-block{ min-width:260px; }
  .grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .value-strip{ grid-template-columns:repeat(2,1fr); }
  .hero-split{ grid-template-columns:1fr; }
  .hero-watermark{ display:none; }
  .trust-bar{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 720px){
  .main-nav{ display:none; }
  .mobile-toggle{ display:block; }
  .grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  h1{ font-size:34px; }
  .hero-copy h1{ font-size:36px; }
  .hero-stats{ display:none; }
  .field-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .trust-bar{ grid-template-columns:1fr 1fr; }
  .process-grid{ grid-template-columns:1fr; }
}
@media (max-width: 480px){
  .grid{ grid-template-columns:1fr 1fr; }
}

/* =========================================================
   Language switcher (injected by js/i18n.js into every
   .nav-actions — see that file's buildSwitcher()/injectSwitcher())
   ========================================================= */
.lang-switch{ position:relative; }
.lang-switch-btn{
  display:flex; align-items:center; gap:5px;
  background:none; border:1px solid transparent; color:var(--text-muted);
  font-family:var(--font-label); font-size:11px; letter-spacing:1px; text-transform:uppercase;
  padding:8px 9px; border-radius:var(--radius-sm); cursor:pointer; transition:all .15s;
  min-height:40px;
}
.lang-switch-btn:hover, .lang-switch.open .lang-switch-btn{ color:var(--white); background:var(--panel); }
.lang-switch-btn svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.5; }
.lang-switch-code{ font-weight:600; }
.lang-switch-menu{
  display:none;
  position:absolute; top:calc(100% + 8px); left:0; z-index:200;
  background:var(--panel); border:1px solid var(--border-soft); border-radius:var(--radius);
  min-width:150px; padding:6px; box-shadow:0 12px 32px rgba(0,0,0,0.5);
}
.lang-switch.open .lang-switch-menu{ display:block; }
.lang-switch-item{
  display:block; width:100%; text-align:left; background:none; border:none;
  color:var(--text-muted); font-size:13px; padding:10px 12px; border-radius:var(--radius-sm);
  cursor:pointer; min-height:40px;
}
.lang-switch-item:hover{ background:var(--panel-hover); color:var(--white); }
.lang-switch-item.active{ color:var(--accent-hi); font-weight:600; }
@media (max-width: 720px){
  .lang-switch-menu{ left:auto; right:0; }
}

/* Approximate FX price estimate shown next to USD prices for non-USD locales */
.price-fx{
  display:inline-block; font-size:11.5px; color:var(--text-faint);
  font-family:var(--font-label); margin-left:6px;
}

/* =========================================================
   Mobile (Android / iOS) optimization pass
   - iOS Safari auto-zooms on any input with font-size < 16px,
     so form fields go to 16px below the 720px breakpoint.
   - Apple HIG recommends >=44px touch targets, Material Design
     recommends >=48dp — interactive controls are bumped to meet
     that on touch-sized viewports.
   - env(safe-area-inset-*) padding keeps content clear of the
     notch / home-indicator on iPhone in both orientations.
   ========================================================= */
.site-header{
  padding-top:env(safe-area-inset-top);
}
.toast-host{
  padding-bottom:env(safe-area-inset-bottom);
  padding-right:env(safe-area-inset-right);
}
.site-footer{
  padding-bottom:env(safe-area-inset-bottom);
}

@media (max-width: 720px){
  /* Proper slide-down mobile nav drawer instead of a squeezed inline flex row */
  .nav-row{ position:relative; flex-wrap:wrap; padding:12px 16px; gap:12px; }
  .main-nav{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--bg);
    border-bottom:1px solid var(--border-soft);
    box-shadow:0 16px 32px rgba(0,0,0,0.5);
    padding:6px 16px 14px;
    z-index:150;
  }
  .main-nav.open{ display:flex !important; }
  .main-nav a{
    padding:14px 4px;
    min-height:48px;
    border-bottom:1px solid var(--border-soft);
    width:100%;
    font-size:13px;
  }
  .main-nav a:last-child{ border-bottom:none; }

  .nav-actions{ gap:6px; }
  .nav-icon-btn{ min-height:44px; min-width:44px; justify-content:center; padding:8px; }
  .nav-icon-btn span{ display:none; } /* icon-only on small screens — saves header width */
  .mobile-toggle{ min-height:44px; min-width:44px; font-size:16px; }

  /* Form fields: 16px stops iOS Safari's zoom-on-focus; taller for easier tapping */
  .field input, .field select, .field textarea,
  .notify-form input, .promo-row input, .price-range input{
    font-size:16px;
    padding:13px 14px;
    min-height:46px;
  }
  .checkbox-row input[type="checkbox"]{ width:20px; height:20px; flex:none; }

  /* Buttons & other tap targets */
  .btn{ min-height:46px; padding:13px 22px; }
  .btn-sm{ min-height:40px; padding:10px 16px; }
  .pill{ min-height:40px; padding:9px 14px; }
  .opt-swatch{ min-height:40px; padding:10px 15px; }
  .qty-stepper button{ min-width:44px; min-height:44px; }
  .filter-check{ min-height:44px; padding:10px 0; }
  .faq-q{ min-height:48px; padding:14px 2px; }
  .pagination a{ width:44px; height:44px; }
  .social-row a{ min-width:40px; min-height:40px; display:flex; align-items:center; justify-content:center; }
  .card-fav{ min-width:36px; min-height:36px; }

  .lang-switch-btn{ padding:9px 10px; }
}

@media (max-width: 480px){
  .hero-copy h1{ font-size:30px; }
  .cta-row{ flex-direction:column; }
  .cta-row .btn{ width:100%; }
  /* !important needed here: each page's own <style> block sets a fixed
     two-column grid with no media query of its own, and (being a later,
     equal-specificity rule in the cascade) would otherwise win over this
     external override even inside the matching media query. */
  .pdp{ grid-template-columns:1fr !important; }
  .checkout-wrap, .cart-wrap{ grid-template-columns:1fr !important; }
  .acct-wrap{ grid-template-columns:1fr !important; }
  .contact-wrap{ grid-template-columns:1fr !important; }
}
