/* ONEAC Kenya storefront — v2 "grid-down" redesign
   Direction: premium energy-infrastructure. Deep ink-navy chrome, cinematic
   video hero, Outfit variable (200–800) with hard weight contrast, amber as
   the single voltage accent. WhatsApp teal kept for AA contrast on actions.
   Radius rule: buttons/inputs = 10px, cards/panels = 14px. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2039-203A, U+2044, U+2212;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF;
}

:root {
  --brand: #1E296C;
  --brand-dark: #151D52;
  --brand-deep: #0B102E;
  --ink-black: #070B22;
  --brand-tint: #EDF0FA;
  --brand-tint-2: #DDE3F5;
  --accent: #F5A623;
  --accent-dark: #DE920E;
  --wa: #128C7E;
  --wa-dark: #0E7265;
  --bg: #F4F5F9;
  --surface: #FFFFFF;
  --ink: #12152B;
  --muted: #5B6178;
  --line: #E4E7F0;
  --on-dark-muted: #9FA8CC;
  --r-card: 14px;
  --r-input: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 46, 0.05), 0 2px 10px rgba(11, 16, 46, 0.06);
  --shadow-md: 0 6px 18px rgba(11, 16, 46, 0.10), 0 18px 48px rgba(11, 16, 46, 0.12);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.08; margin: 0 0 0.5rem; letter-spacing: -0.025em; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }

/* section headings */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent-dark); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.eyebrow-ondark { color: var(--accent); }
.sec-title { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; color: var(--brand-deep); letter-spacing: -0.035em; text-wrap: balance; }
.sec-sub { color: var(--muted); font-size: 1.02rem; font-weight: 400; max-width: 58ch; margin: 0 0 2.4rem; text-wrap: pretty; }
.sec-title-ondark { color: #fff; }
.sec-sub-ondark { color: var(--on-dark-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 0.95rem/1 var(--font); letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: var(--r-input); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-sm); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink-black); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 6px 18px rgba(222, 146, 14, 0.4); color: var(--ink-black); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); box-shadow: var(--shadow-sm); color: #fff; }
.linkbtn { background: none; border: 0; color: var(--muted); font: 500 0.88rem var(--font); cursor: pointer; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }

.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 28px; height: 28px; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-input); border: 0;
  background: transparent; color: inherit; cursor: pointer; position: relative;
  transition: background 0.15s ease;
}
.iconbtn:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- topbar (dark chrome, all pages) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 34, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
}
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand img { width: 116px; height: auto; }
.brand-sub { font-weight: 700; color: var(--accent); font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mainnav { display: flex; gap: 2px; margin-left: 12px; }
.mainnav a { padding: 9px 14px; border-radius: var(--r-input); color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 0.94rem; }
.mainnav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar .iconbtn { color: rgba(255, 255, 255, 0.85); }
.topbar .iconbtn:hover { color: #fff; }
.basket-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: var(--ink-black); border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.navtoggle { display: none; }
.mobilenav { display: none; }

@media (max-width: 960px) {
  .mainnav, .btn-quote { display: none; }
  .navtoggle { display: inline-flex; }
  .mobilenav {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); background: var(--ink-black);
  }
  .mobilenav[hidden] { display: none; }
  .mobilenav a { padding: 13px 8px; font-weight: 600; color: rgba(255, 255, 255, 0.88); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .mobilenav a:hover { color: #fff; }
  .mobilenav .btn { margin-top: 14px; }
}

/* ---------- hero (video) ---------- */
.hero { position: relative; background: var(--ink-black); color: #fff; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(78deg, rgba(7, 11, 34, 0.92) 0%, rgba(7, 11, 34, 0.62) 46%, rgba(7, 11, 34, 0.22) 100%),
              linear-gradient(to top, rgba(7, 11, 34, 0.92) 0%, rgba(7, 11, 34, 0) 34%);
}
.hero-in { padding-top: clamp(84px, 13vh, 160px); padding-bottom: clamp(48px, 9vh, 120px); max-width: 1280px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.hero h1 {
  font-family: "Space Grotesk", var(--font);
  font-size: clamp(2.6rem, 6.2vw, 4.8rem); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.02; max-width: 13ch; margin: 0;
  text-shadow: 0 2px 24px rgba(7, 11, 34, 0.35);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 300; color: rgba(255, 255, 255, 0.85);
  max-width: 44ch; margin: 1.4rem 0 2.4rem; text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.trustbar {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px);
  padding-top: 26px; padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.trust-item .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.trust-item strong { display: block; font-size: 0.97rem; font-weight: 700; }
.trust-item span { display: block; color: var(--on-dark-muted); font-size: 0.84rem; }

@media (max-width: 900px) {
  .trustbar { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* ---------- categories ---------- */
.categories { padding: clamp(64px, 9vw, 120px) 0 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; min-height: 250px; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.cat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--brand-tint-2); }
.cat-tile img { position: absolute; inset: 0 0 auto; width: 100%; height: 62%; object-fit: contain; padding: 20px; transition: transform 0.3s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile-lg { grid-row: span 2; min-height: 100%; }
.cat-tile-lg img { height: 70%; }
.cat-tile-txt { position: relative; padding: 16px 20px 20px; background: linear-gradient(to top, #fff 82%, rgba(255,255,255,0)); }
.cat-tile-txt h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.cat-tile-txt p { margin: 0 0 10px; color: var(--muted); font-size: 0.86rem; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 0.85rem; }
.cat-tile:hover .cat-count { color: var(--accent-dark); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-tile-lg { grid-row: span 1; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-tile { min-height: 210px; } }

/* ---------- product cards ---------- */
.featured { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--brand-tint-2); }
.pcard-media { background: #fff; padding: 20px; display: grid; place-items: center; aspect-ratio: 1 / 0.85; }
.pcard-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform 0.3s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-cat { color: var(--accent-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pcard-name { font-size: 0.98rem; font-weight: 600; line-height: 1.32; margin: 0; letter-spacing: -0.01em; }
.pcard-name a { color: var(--ink); }
.pcard-name a:hover { color: var(--brand); }
.pcard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--brand-tint); color: var(--brand); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.pcard-actions { margin-top: auto; display: flex; gap: 8px; justify-content: space-between; padding-top: 8px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard-media { aspect-ratio: 1 / 0.7; }
}

/* ---------- solutions band ---------- */
.solutions {
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(30, 41, 108, 0.9), transparent 60%),
    var(--ink-black);
  padding: clamp(64px, 9vw, 120px) 0;
}
.sol-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sol-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-card); padding: 22px; color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.sol-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-4px); }
.sol-card img { background: #fff; border-radius: var(--r-input); height: 175px; width: 100%; object-fit: contain; padding: 14px; margin-bottom: 18px; }
.sol-card h3 { font-size: 1.2rem; font-weight: 700; }
.sol-card p { color: var(--on-dark-muted); font-size: 0.93rem; margin: 0 0 14px; }
.sol-card a { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.sol-card a:hover { color: #fff; }
@media (max-width: 860px) {
  .sol-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sol-card { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- why ---------- */
.why { padding: clamp(64px, 9vw, 128px) 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-copy > p { color: var(--muted); max-width: 52ch; font-size: 1.02rem; }
.why-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .ic { color: var(--accent-dark); margin-top: 3px; }
.why-list strong { color: var(--ink); }
.why-list div { color: var(--muted); font-size: 0.96rem; }
.why-visual { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-sm); }
.why-visual figcaption { color: var(--muted); font-size: 0.85rem; padding-top: 12px; text-align: center; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes-band { padding: 0 0 clamp(64px, 9vw, 120px); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1.6rem; }
.tcard {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; position: relative;
}
.tcard::before {
  content: "\201C"; position: absolute; top: 8px; right: 20px;
  font-size: 4.4rem; font-weight: 800; line-height: 1; color: var(--brand-tint-2); font-family: Georgia, serif;
}
.tcard p { margin: 0 0 16px; color: var(--ink); font-size: 1rem; position: relative; }
.tcard footer { font-weight: 700; font-size: 0.9rem; }
.tcard footer span { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; }
@media (max-width: 860px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(64px, 9vw, 120px); }
.faq-wrap { max-width: 840px; }
.faq-list { display: grid; gap: 10px; margin-top: 1.6rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 4px 22px; transition: border-color 0.2s ease; }
.faq-list details[open] { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; font-size: 1.02rem; padding: 16px 0; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--brand); display: inline-flex; transition: transform 0.2s ease; }
details[open] .faq-ic { transform: rotate(45deg); }
.faq-list p { color: var(--muted); margin: 0 0 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(90% 160% at 15% 120%, rgba(245, 166, 35, 0.16), transparent 55%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--ink-black) 100%);
  padding: clamp(64px, 8vw, 110px) 0;
}
.cta-in { text-align: center; color: #fff; }
.cta-in h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; }
.cta-in p { color: var(--on-dark-muted); font-size: 1.05rem; max-width: 52ch; margin: 0.6rem auto 2rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink-black); color: #A6AECF; }
.footer a { color: #D6DCF2; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-top: 64px; padding-bottom: 36px; }
.footer h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-brand p { font-size: 0.92rem; max-width: 38ch; margin: 16px 0 20px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--accent); }
.footer-pay { font-size: 0.83rem; margin-top: 16px; color: #7681AB; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; padding-bottom: 24px; font-size: 0.8rem; color: #7681AB; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- catalog page ---------- */
.cat-hero {
  background:
    radial-gradient(110% 180% at 90% -40%, rgba(30, 41, 108, 0.85), transparent 60%),
    var(--ink-black);
  color: #fff; padding: clamp(36px, 6vw, 72px) 0;
}
.cat-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: #fff; letter-spacing: -0.035em; }
.cat-hero .sec-sub { color: var(--on-dark-muted); margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.cat-hero .crumbs, .cat-hero .crumbs a { color: var(--on-dark-muted); }
.cat-hero .crumbs a:hover { color: #fff; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.catalog { padding: 32px 0 clamp(64px, 9vw, 120px); }
.cat-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.cat-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-input); padding: 11px 16px; flex: 1; max-width: 420px; color: var(--muted); }
.cat-search input { border: 0; outline: 0; font: 500 0.95rem var(--font); flex: 1; background: none; color: var(--ink); }
.cat-search:focus-within { border-color: var(--brand); }
.cat-sort { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.cat-sort select { font: 600 0.9rem var(--font); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-input); padding: 10px 12px; background: var(--surface); }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.fchip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.85rem var(--font); padding: 10px 16px; border-radius: var(--r-input); cursor: pointer; transition: all 0.15s ease; }
.fchip:hover { border-color: var(--brand); color: var(--brand); }
.fchip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-count { color: var(--muted); font-size: 0.85rem; margin: 4px 0 18px; }
.cat-none { text-align: center; padding: 56px 16px; }
.cat-none p { color: var(--muted); max-width: 44ch; margin: 6px auto 20px; }

/* ---------- product detail ---------- */
.pd { padding: 28px 0 clamp(48px, 7vw, 80px); }
.pd-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 60px); margin-top: 10px; }
.pd-main { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); display: grid; place-items: center; padding: 30px; min-height: 380px; }
.pd-main img { max-height: 440px; width: auto; max-width: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gthumb { width: 72px; height: 72px; border-radius: var(--r-input); border: 1.5px solid var(--line); background: #fff; padding: 6px; cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s ease; }
.gthumb img { max-height: 100%; object-fit: contain; }
.gthumb:hover { border-color: var(--brand-tint-2); }
.gthumb.is-active { border-color: var(--brand); }
.pd-info h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 14px; }
.pd-desc { color: var(--muted); }
.pd-featlist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.pd-featlist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.pd-featlist .ic { width: 18px; height: 18px; color: var(--accent-dark); margin-top: 3px; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.pd-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 16px; }
.pd-meta span { display: inline-flex; gap: 7px; align-items: center; }
.pd-meta .ic { width: 18px; height: 18px; color: var(--brand); }
.pd-details { margin-top: clamp(28px, 4vw, 52px); display: grid; gap: 12px; }
.pd-acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px 22px; }
.pd-acc summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 16px 0; list-style: none; }
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc .pd-featlist { margin: 4px 0 20px; }
.spec-scroll { overflow-x: auto; margin: 0 0 20px; }
.spec-table { border-collapse: collapse; width: 100%; font-size: 0.88rem; min-width: 560px; }
.spec-table th { background: var(--brand-deep); color: #fff; text-align: left; padding: 11px 14px; font-weight: 700; }
.spec-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.spec-table tr:nth-child(even) td { background: #F8F9FC; }
.spec-table td:first-child { font-weight: 600; color: var(--brand-deep); max-width: 220px; }
.related { padding: 0 0 clamp(64px, 9vw, 120px); }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; } .pd-main { min-height: 0; } }

/* ---------- WhatsApp widget ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 999px; border: 0; cursor: pointer;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  transition: transform 0.18s ease;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab:active { transform: scale(0.96); }
.wa-pop {
  position: fixed; right: 20px; bottom: 90px; z-index: 70; width: min(340px, calc(100vw - 32px));
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); overflow: hidden;
}
.wa-pop-head { background: var(--wa); color: #fff; padding: 16px 18px; position: relative; }
.wa-pop-head strong { display: block; font-size: 1.02rem; }
.wa-pop-head span { font-size: 0.8rem; color: #CDEBE7; }
.wa-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 999px; }
.wa-close:hover { background: rgba(255, 255, 255, 0.15); }
.wa-pop-body { padding: 16px 18px 6px; }
.wa-pop-body p { margin: 0 0 12px; font-size: 0.9rem; color: var(--muted); }
.wa-q { display: block; border: 1.5px solid var(--line); border-radius: var(--r-input); padding: 10px 14px; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); transition: all 0.15s ease; }
.wa-q:hover { border-color: var(--wa); color: var(--wa); }
.wa-pop-cta { margin: 10px 18px 18px; width: calc(100% - 36px); }

/* ---------- quote basket drawer ---------- */
.drawer-scrim, .modal-scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(7, 11, 34, 0.55);
  backdrop-filter: blur(3px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(400px, 100vw);
  background: var(--surface); box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  animation: slidein 0.25s ease;
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.15rem; margin: 0; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.bitem { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bitem img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-input); padding: 4px; }
.bitem-name { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.bitem-name a { color: var(--ink); }
.bitem-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.bitem-qty button { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.bitem-qty button:hover { border-color: var(--brand); color: var(--brand); }
.bitem-qty .ic { width: 13px; height: 13px; }
.bitem-qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.bitem-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.bitem-remove:hover { color: #B3261E; background: #FBEDEC; }
.drawer-empty { padding: 48px 24px; text-align: center; }
.drawer-empty p { font-weight: 700; margin: 0 0 4px; }
.drawer-empty-sub { color: var(--muted); font-weight: 500 !important; font-size: 0.9rem; margin-bottom: 20px !important; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 6px; }

/* ---------- modals ---------- */
.modal-scrim { display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-md); width: min(480px, 100%); padding: 30px; animation: pop 0.22s ease; }
@keyframes pop { from { transform: translateY(14px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.modal-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.modal-close { position: absolute; top: 14px; right: 14px; color: var(--muted); }
.modal-close:hover { background: var(--brand-tint); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font: 500 0.95rem var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #C9CEDF; border-radius: var(--r-input); padding: 12px 14px; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #8A90A6; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field-err { color: #B3261E; font-size: 0.8rem; font-weight: 600; }
.field.has-err input { border-color: #B3261E; }
.quote-products { margin: 4px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.quote-products .qp { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.quote-products .qp::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); flex: 0 0 auto; }
.quote-products .qp-note { font-size: 0.8rem; color: var(--muted); font-style: italic; }
form .btn + .linkbtn { margin-top: 6px; }

/* ---------- search ---------- */
.search-scrim { align-items: start; }
.search-modal { width: min(600px, 100%); margin-top: min(12vh, 120px); padding: 18px; }
.search-row { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.search-row .iconbtn:hover { background: var(--brand-tint); }
.search-row input { flex: 1; border: 0; outline: 0; font: 500 1.05rem var(--font); color: var(--ink); background: none; }
.search-results { display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.sr { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r-input); }
.sr:hover { background: var(--brand-tint); }
.sr img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.sr strong { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 600; line-height: 1.25; }
.sr span { font-size: 0.76rem; color: var(--muted); }
.search-none { color: var(--muted); font-size: 0.9rem; padding: 14px 10px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 95;
  background: var(--ink-black); color: #fff; font-weight: 600; font-size: 0.92rem;
  padding: 13px 22px; border-radius: var(--r-input); box-shadow: var(--shadow-md);
  animation: pop 0.2s ease;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .drawer, .modal, .toast { animation: none; }
  .btn, .pcard, .cat-tile { transition: none; }
}

/* ---------- focus visibility ---------- */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; }

[hidden] { display: none !important; }
