/* ============================================================
   Ikabin — design system
   Apple-inspired: white space, big type, hairline rules,
   frosted nav, one red accent (sampled from the logo).
   ============================================================ */

/* ---------- self-hosted premium typeface ---------- */
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f6;
  --bg-warm: #faf8f5;       /* warm cream alt for premium sections */
  --bg-dark: #0b0c0e;       /* deep, slightly cool near-black */
  --ink: #17181c;           /* richer near-black for crisper type */
  --ink-mute: #62646b;
  --ink-faint: #8a8c93;
  --accent: #c94138;        /* sampled from ikabin logo */
  --accent-press: #ae362e;
  --accent-soft: rgba(201,65,56,.08);
  --steel: #3f4a5e;         /* secondary engineering tone */
  --on-accent: #ffffff;
  --rule: #d6d6dc;
  --rule-soft: #ebebef;

  --nav-h: 60px;
  --maxw: 1180px;
  --readw: 720px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 980px;

  --shadow-xs: 0 1px 2px rgba(17,18,22,.05);
  --shadow-sm: 0 1px 3px rgba(17,18,22,.06), 0 6px 16px rgba(17,18,22,.05);
  --shadow-md: 0 4px 12px rgba(17,18,22,.08), 0 18px 40px rgba(17,18,22,.08);
  --shadow-lg: 0 14px 30px rgba(17,18,22,.10), 0 44px 80px rgba(17,18,22,.10);
  --shadow-xl: 0 30px 60px rgba(17,18,22,.16), 0 70px 140px rgba(17,18,22,.12);
  --shadow-accent: 0 14px 30px rgba(201,65,56,.22);

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "SF Pro Display",
          "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #f5f5f7; }
.center { text-align: center; }
.rule { height: 1px; background: var(--rule-soft); border: 0; }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; color: var(--accent);
}
.display {
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 1.01; font-weight: 700; letter-spacing: -0.04em;
}
.h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.028em; }
.h3 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.subhead {
  font-size: clamp(19px, 2.1vw, 27px); line-height: 1.3; font-weight: 500;
  color: var(--ink-mute); letter-spacing: -0.01em;
}
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-mute); }
.muted { color: var(--ink-mute); }
.measure { max-width: var(--readw); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1px solid transparent; border-radius: var(--pill);
  padding: 13px 26px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 2px rgba(201,65,56,.25), 0 8px 20px rgba(201,65,56,.18); }
.btn-primary:hover { background: var(--accent-press); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 19px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Apple-style inline link with chevron */
.link {
  color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: .25em;
}
.link::after { content: "›"; font-size: 1.15em; line-height: 0; transition: transform .3s var(--ease-spring); }
.link:hover::after { transform: translateX(4px); }
.link--light { color: #2997ff; }

/* ============================================================
   NAV (frosted, sticky)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(17,18,22,.06);
  box-shadow: 0 1px 24px rgba(17,18,22,.04);
}
.nav__inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__logo img { height: 30px; width: auto; display: block; }
@media (max-width: 820px) { .nav__logo img { height: 27px; } }
.nav__menu { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; margin-left: 24px; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; }
/* products = primary, prominent */
.nav__links--products a { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color .2s; }
.nav__links--products a:hover { color: var(--accent); }
/* product nav: hover preview (desktop) */
.nav__product { position: relative; }
.nav__thumb { display: none; }
.nav__pcap, .nav__pprice { display: none; }
.nav__flyout {
  position: absolute; top: calc(100% + 8px); left: 0; width: 264px;
  display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 60;
}
.nav__flyout::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav__product:hover .nav__flyout, .nav__product:focus-within .nav__flyout { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav__flyout-img { width: 60px; height: 60px; flex: 0 0 auto; object-fit: contain; background: var(--bg-alt); border-radius: 10px; padding: 6px; }
.nav__flyout-body { display: flex; flex-direction: column; min-width: 0; }
.nav__flyout-body strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav__flyout-cap { font-size: 12px; color: var(--ink-mute); margin-top: 1px; }
.nav__flyout-price { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.nav__flyout-cta { font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 3px; }
/* utility = secondary, de-emphasized */
.nav__util { display: flex; align-items: center; gap: 22px; }
.nav__util > a { font-size: 13px; color: var(--ink-mute); transition: color .2s; }
.nav__util > a:hover { color: var(--ink); }
.nav__cta { font-size: 14px; }
.nav__cta a {
  background: var(--accent); color: #fff; padding: 6px 15px; border-radius: var(--pill);
  font-weight: 500; transition: background .2s;
}
.nav__cta a:hover { background: var(--accent-press); }
.nav__toggle { display: none; background: none; border: 0; padding: 6px; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.nav__toggle span + span { margin-top: 5px; }

/* Default: bar pill hidden — only shown in the collapsed-nav range below.
   Declared up here so the @media override that follows wins on source order. */
.nav__sales.nav__sales--bar { display: none; }

/* Below 1080px the nav collapses into a hamburger drawer earlier so the
   bar doesn't get cramped trying to fit products + util + pill + Buy. */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; justify-content: flex-start; flex: none; margin-left: 0;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule-soft); box-shadow: var(--shadow-md);
    padding: 8px 10px 18px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  /* product rows in the drawer — bigger card-style tappable rows with
     thumb on the left, name + capacity stacked, price flush-right,
     and a subtle chevron indicator. */
  .nav__links--products { margin-inline: -10px; display: flex; flex-direction: column; gap: 4px; }
  .nav__links--products a {
    display: grid;
    grid-template-columns: 60px 1fr auto 14px;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 6px;
    border-radius: 14px;
    border-bottom: 0;
    color: var(--ink);
    transition: background .15s var(--ease), transform .15s var(--ease);
    position: relative;
  }
  .nav__links--products a::after {
    content: ""; grid-column: 4;
    width: 8px; height: 8px;
    border-right: 1.5px solid var(--ink-faint);
    border-top: 1.5px solid var(--ink-faint);
    transform: rotate(45deg);
    transition: border-color .15s var(--ease), transform .15s var(--ease);
  }
  .nav__links--products a:hover { background: var(--bg-alt); }
  .nav__links--products a:hover::after { border-color: var(--accent); transform: rotate(45deg) translate(2px, -2px); }
  .nav__links--products a:active { background: #e9ebef; }
  .nav__thumb {
    display: block; width: 60px; height: 60px; flex: 0 0 auto;
    object-fit: contain;
    background: linear-gradient(160deg, #fafafb, #eef0f3);
    border: 1px solid var(--rule-soft);
    border-radius: 12px;
    padding: 6px;
  }
  .nav__pbody { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; gap: 3px; }
  .nav__pname { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
  .nav__pcap { display: block; font-size: 12.5px; color: var(--ink-mute); }
  .nav__pprice { display: block; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .nav__flyout { display: none; }
  /* Explore links collapse into a row of small bg-tinted pills under
     the EXPLORE label — much less vertical weight than full-width
     bordered rows, and the section reads as auxiliary navigation. */
  .nav__util { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .nav__util > a {
    padding: 8px 14px; font-size: 13px; line-height: 1;
    background: var(--bg-alt); border-radius: 999px;
    border-bottom: 0; color: var(--ink);
  }
  .nav__util > a:hover { background: #e9ebef; }
  /* The Buy button is redundant in the drawer — the product rows up
     top already link straight to checkout-able product pages, and the
     Talk to sales menu carries the primary action. */
  .nav__cta { display: none; }

  /* section labels — make it read as a structured menu */
  .nav__links--products,
  .nav__util { position: relative; padding-top: 28px; }
  .nav__links--products::before,
  .nav__util::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    font-size: 11px; font-weight: 600; letter-spacing: .12em;
    color: var(--ink-faint); text-transform: uppercase;
    padding: 14px 4px 6px;
  }
  .nav__links--products::before { content: "Range"; }
  .nav__util::before { content: "Explore"; }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* "Talk to sales" pill visible alongside the hamburger (replaces the
     in-bar nav items at this width). Double-class selector to outrank
     the .nav__sales base rule defined later in the file. */
  .nav__sales.nav__sales--bar { display: inline-flex; white-space: nowrap; }
  /* Push the bar pill (well, the .sales-nav wrap that contains it) all
     the way to the right, so it sits right next to the hamburger. */
  .sales-nav--bar { margin-left: auto; margin-right: 6px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; text-align: center; overflow: hidden; }
.hero--home { background: var(--bg-alt); }
.hero__inner { padding-block: clamp(56px, 9vw, 110px) 0; }
.hero .display { margin-bottom: 14px; }
.hero__sub { max-width: 640px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(36px, 6vw, 64px); }
.hero__media { max-width: 1100px; margin-inline: auto; }
.hero__media img { width: 100%; height: auto; }

/* product hero (per product page) */
.phero { text-align: center; padding-top: clamp(40px, 6vw, 72px); }
.phero__price { font-size: 19px; color: var(--ink-mute); margin-top: 6px; }
.phero__price strong { color: var(--ink); font-weight: 600; }
.phero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.phero__media { margin-top: clamp(32px, 5vw, 56px); }
.phero__media img { width: 100%; border-radius: var(--radius-lg); }

/* ============================================================
   PRODUCT TILES (home)
   ============================================================ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile__media { background: linear-gradient(160deg, #fafafb, #eef0f3); padding: 28px 24px; display: grid; place-items: center; aspect-ratio: 1/1; }
.tile__media img { max-height: 100%; width: auto; object-fit: contain; max-width: 100%; transition: transform .5s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.tile__meta { flex: 1 1 0; min-width: 0; }
.tile__name { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; }
.tile__cap { color: var(--ink-mute); font-size: 14px; margin-top: 3px; }
.tile__pricing { text-align: right; flex-shrink: 0; }
.tile__price { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tile__free { color: var(--accent); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; }
.tile__free .icon { font-size: 14px; }
.tile__actions { padding: 16px 22px 22px; display: flex; gap: 12px; align-items: center; margin-top: auto; }

@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .tile__body { flex-wrap: wrap; }
  .tile__pricing { text-align: left; }
  .tile__free { justify-content: flex-start; }
}

/* ============================================================
   FEATURE ROWS (product pages)
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature--rev .feature__text { order: 2; }
.feature__media img { width: 100%; border-radius: var(--radius); background: var(--bg-alt); }
.feature__text .h2 { margin-bottom: 14px; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature--rev .feature__text { order: 0; }
}

/* ============================================================
   MATERIALS TRIO
   ============================================================ */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.trio__item { text-align: center; }
.trio__item .h3 { margin-bottom: 8px; }
.trio__icon { font-size: 30px; margin-bottom: 14px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   SPEC GRID
   ============================================================ */
.specs { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--rule); }
.spec { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--ink-mute); font-size: 15px; }
.spec dd { font-weight: 500; }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; gap: 2px; } }

/* clear render panel */
.panel { background: var(--bg-alt); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); text-align: center; }
.panel img { margin-inline: auto; max-height: 560px; width: auto; }

/* ============================================================
   GALLERY + LIGHTBOX
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery__item--feature { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; place-items: center; }
.lightbox.open { display: grid; }
.lightbox__main { max-width: 92vw; max-height: 78vh; width: auto; border-radius: 10px; transition: opacity .25s var(--ease); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.lightbox__count { position: absolute; top: 20px; left: 22px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; letter-spacing: .03em; }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; cursor: pointer; transition: background .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 18px; } .lightbox__next { right: 18px; }
.lightbox__close { top: 18px; right: 18px; transform: none; }
.lightbox__thumbs { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; max-width: 92vw; overflow-x: auto; padding: 4px; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs img { width: 62px; height: 46px; object-fit: cover; border-radius: 6px; opacity: .45; cursor: pointer; border: 2px solid transparent; transition: opacity .2s, border-color .2s; flex: 0 0 auto; }
.lightbox__thumbs img:hover { opacity: .8; }
.lightbox__thumbs img.active { opacity: 1; border-color: #fff; }
@media (max-width: 560px) { .lightbox__btn { width: 40px; height: 40px; } .lightbox__main { max-height: 70vh; } .lightbox__thumbs img { width: 50px; height: 38px; } }

/* ============================================================
   STICKY BUY BAR (product pages)
   ============================================================ */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--rule-soft);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.buybar.show { transform: translateY(0); }
.buybar__inner { max-width: var(--maxw); margin-inline: auto; padding: 11px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buybar__name { font-weight: 600; }
.buybar__price { color: var(--ink-mute); font-size: 14px; }
.buybar__price strong { color: var(--ink); }
@media (max-width: 560px) { .buybar__meta { display: none; } .buybar__inner { justify-content: stretch; } .buybar .btn { width: 100%; } }

/* ============================================================
   CHECKOUT + SUCCESS
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.checkout--pay { grid-template-columns: 1.2fr 0.8fr; } /* payment page: give the card form more room */
/* payment page: single column — order details on top, card form below */
.paywrap { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.paywrap .summary { position: static; }
.paywrap .paystep { margin: 0; }
.summary { background: linear-gradient(180deg, #fbfbfc, var(--bg-alt)); border: 1px solid var(--rule-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); position: sticky; top: calc(var(--nav-h) + 20px); box-shadow: var(--shadow-md); }
.summary__media { aspect-ratio: 1 / 1; border-radius: var(--radius); margin-bottom: 20px; background: #fff; border: 1px solid var(--rule-soft); display: grid; place-items: center; padding: 22px; }
.summary__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
/* compact product header for the order summary (small thumbnail + title) */
.summary__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.summary__thumb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 14px; background: #fff; border: 1px solid var(--rule-soft); display: grid; place-items: center; padding: 8px; }
.summary__thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.summary__titles { min-width: 0; }
.summary__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 2px; }
.summary__cap { font-size: 13px; color: var(--ink-mute); margin: 0; }
.summary__row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.summary__row:last-child { border-bottom: 0; }
.summary__total { font-size: 22px; font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; color: var(--ink-mute); font-size: 13px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--rule); border-radius: 12px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,65,56,.15);
}
.field--phone { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.field--phone .prefix { display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg-alt); color: var(--ink-mute); font-size: 15px; }
.field .err { color: var(--accent); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--accent); }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.form-note a { color: var(--accent); }
.form-note a:hover { text-decoration: underline; }
.form-error { background: #fdecec; color: var(--accent-press); border: 1px solid #f5c6c3; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }

.uae-note { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt); border-radius: var(--pill); padding: 8px 16px; font-size: 13px; color: var(--ink-mute); margin-bottom: 22px; }

@media (max-width: 820px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}

/* ---- buttons: small ghost step ---- */
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ============================================================
   QUOTE form — buyer-type radios, line items, success card
   ============================================================ */
.quote-form { max-width: 640px; margin-inline: auto; }

/* light section headers to break the form into chunks */
.form-section { margin: 28px 0 14px; }
.form-section:first-child { margin-top: 8px; }
.form-section__title { font-size: 14px; font-weight: 600; color: var(--ink-mute); letter-spacing: .04em; text-transform: uppercase; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }

.field--radio { border: 0; padding: 0; margin: 0 0 22px; }
.field--radio legend { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field--radio .radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field--radio .radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; font-size: 14px; }
.field--radio .radio input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.field--radio .radio:has(input:checked) { border-color: var(--accent); background: rgba(201,65,56,.04); }
@media (max-width: 520px) {
  .field--radio .radio-row { grid-template-columns: 1fr; }
}

/* pod picker: one card per model, bump qty to add */
.qpicker { margin: 0 0 28px; }
.qpicker__head { margin-bottom: 14px; }
.qpicker__head h2 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.qpicker__head p { margin: 0; font-size: 14px; }
.qcards { display: flex; flex-direction: column; gap: 10px; }
.qcard {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px;
  cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.qcard:hover { border-color: var(--ink); }
.qcard.is-picked { border-color: var(--accent); background: rgba(201,65,56,.03); box-shadow: 0 1px 2px rgba(201,65,56,.06), 0 6px 18px rgba(201,65,56,.08); }
.qcard__thumb { width: 72px; height: 72px; background: var(--bg-alt); border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.qcard__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.qcard__info { min-width: 0; }
.qcard__name { margin: 0 0 2px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.qcard__cap  { margin: 0 0 4px; font-size: 13px; }
.qcard__price { margin: 0; font-size: 14px; }
.qcard__price strong { font-weight: 600; }

.qcard__stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; background: #fff; }
.qcard__step { width: 36px; height: 36px; background: var(--bg-alt); color: var(--ink); border: 0; font-size: 18px; line-height: 1; cursor: pointer; font-weight: 500; transition: background .15s, color .15s; }
.qcard__step:hover { background: var(--ink); color: #fff; }
.qcard__num { width: 44px; text-align: center; border: 0; padding: 0; font-size: 15px; font-weight: 600; -moz-appearance: textfield; background: #fff; color: var(--ink); }
.qcard__num::-webkit-outer-spin-button, .qcard__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qcard.is-picked .qcard__num { color: var(--accent); }

@media (max-width: 520px) {
  .qcard { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 10px 12px; padding: 12px; }
  .qcard__thumb { width: 56px; height: 56px; }
  .qcard__stepper { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; border-radius: 12px; }
  .qcard__step { flex: 1; height: 40px; }
  .qcard__num { flex: 1; }
}

.qsubtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 16px; background: var(--bg-alt); border-radius: 12px; margin-top: 12px;
}
.qsubtotal strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* success card */
.quote-success { max-width: 640px; margin-inline: auto; }
.quote-success .pagehead { margin-bottom: 18px; }
.quote-success #qRefLabel { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); padding: 2px 10px; border-radius: 8px; letter-spacing: .02em; }

/* status banners (success page) */
.status { text-align: center; max-width: 560px; margin-inline: auto; }
.status__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; font-size: 30px; }
.status__badge--ok { background: #e7f6ec; color: #1d8a3f; }
.status__badge--wait { background: var(--bg-alt); color: var(--ink-mute); }
.status__badge--err { background: #fdecec; color: var(--accent-press); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card {
  background: var(--bg-alt); border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .3s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); }
.contact-card .h3 { font-size: 19px; }
.contact-card__icon { font-size: 22px; }
.contact-card .map { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; margin-top: 6px; }
.contact-card .map iframe { width: 100%; height: 100%; border: 0; }
.contact-card--form { grid-column: 1 / -1; }
.contact-card--wide { grid-column: 1 / -1; }
.contact-card--wide .map { aspect-ratio: auto; height: 300px; margin-top: 12px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } .contact-card--wide .map { height: 220px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--rule-soft); padding-block: 44px; font-size: 13px; color: var(--ink-mute); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: center; }
.footer__logo img { height: 16px; opacity: .55; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a:hover { color: var(--ink); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Visible by default (no flash, no-JS safe). JS "arms" only the elements
   that start below the fold, which then fade up as they scroll in. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.armed { opacity: 0; transform: translateY(14px); }
.reveal.armed.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.armed { opacity: 1; transform: none; transition: none; } }

/* spacing utilities */
.mt-s { margin-top: 10px; } .mt-m { margin-top: 22px; } .mt-l { margin-top: 40px; }
.stack > * + * { margin-top: 16px; }

/* dark-section text + specs card (consistency) */
.on-dark-mute { color: #a1a1a6; }
.on-dark-strong { color: #fff; font-weight: 600; }
.specs--card { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg); padding: 8px 24px; }

/* subtle entrance stagger across the features grid (pure CSS) */
.fgrid .reveal.armed:nth-child(3n+2) { transition-delay: .06s; }
.fgrid .reveal.armed:nth-child(3n+3) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .fgrid .reveal.armed { transition-delay: 0s; } }

/* ============================================================
   v2 — high-tech components
   ============================================================ */

/* ---- icons ---- */
.icon { display: inline-flex; line-height: 0; vertical-align: middle; }
.icon svg { width: 1em; height: 1em; display: block; }
.ic {
  display: inline-grid; place-items: center; width: 50px; height: 50px;
  border-radius: 14px; background: rgba(201,65,56,.10); color: var(--accent);
  font-size: 25px; flex: 0 0 auto;
}
.ic--ink { background: rgba(29,29,31,.06); color: var(--ink); }

/* ---- CLS-safe media ---- */
.hero__media img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.phero__media img { aspect-ratio: 16 / 10; object-fit: cover; }
.feature__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.panel { min-height: 340px; }

/* ---- announcement bar ---- */
.topbar {
  background: var(--ink); color: #f0f0f2; font-size: 13px; text-align: center;
  padding: 9px 16px; letter-spacing: -0.01em;
}
.topbar .icon { font-size: 15px; color: var(--accent); margin-right: 7px; }
.topbar strong { color: #fff; font-weight: 600; }

/* ---- section header ---- */
.shead { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.shead--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.eyebrow .icon { font-size: 15px; }

/* ---- hero glow ---- */
.hero--home { position: relative; isolation: isolate; }
.hero--home::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -120px;
  width: 1100px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(50% 55% at 50% 40%, rgba(201,65,56,.13), rgba(201,65,56,0) 70%);
  pointer-events: none;
}
/* split hero: copy left, product right (home + product pages) */
.hero-split .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; padding-block: clamp(36px, 5vw, 84px); }
.hero-split .hero__badges { justify-content: flex-start; margin-bottom: 22px; }
.hero-split .display { font-size: clamp(34px, 4.7vw, 62px); }
.hero-split .hero__sub { margin: 0 0 26px; max-width: 36ch; }
.hero-split .hero__cta { justify-content: flex-start; margin-bottom: 0; }
.hero__art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero--product { background: linear-gradient(180deg, var(--bg-alt), #fff 90%); }
.phero__price { margin: 0 0 8px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-mute); }
.chips .icon { font-size: 17px; color: var(--accent); }
.chips .chips__free { color: var(--accent-press); font-weight: 600; }
@media (max-width: 880px) {
  .hero-split .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero__badges, .hero-split .hero__cta, .hero-split .chips { justify-content: center; }
  .hero-split .hero__sub { margin-inline: auto; }
  .hero__art { max-width: 460px; margin: 6px auto 0; }
}

/* --- Hero gallery (multiple images, used on product pages).
   Structure: .hero__art--gallery > .hero__art-track (image scroller)
                                  + .hero__art-thumbs (button row).
   Desktop shows only the main image in the track and hides the
   thumb strip — the page already has a dedicated gallery section
   further down. Mobile shows the swipeable main + a 4-thumb strip
   underneath. */
.hero__art-track img { display: block; }
.hero__art-thumbs { display: none; }
@media (min-width: 721px) {
  .hero__art-track img:not(:first-child) { display: none; }
}

/* --- Product hero, mobile: images first, text minimal. */
@media (max-width: 720px) {
  .hero--product { background: linear-gradient(180deg, var(--bg-alt), #fff 96%); }
  .hero-split .hero__inner { display: flex; flex-direction: column; gap: 14px; padding-block: clamp(12px, 3vw, 22px); }
  /* image carousel sits between the eyebrow/h1 and the price/CTAs.
     hero__copy uses display:contents so its children participate in
     the parent flex order — we set order on each element. */
  .hero--product .hero__copy { display: contents; }
  .hero--product .eyebrow      { order: 1; margin-bottom: 0; }
  .hero--product .display      { order: 2; font-size: clamp(28px, 8.5vw, 38px); line-height: 1.05; margin: 0; }
  .hero--product .display br   { display: none; }
  .hero--product .hero__art    { order: 3; margin: 4px 0 0; }
  .hero--product .phero__price { order: 4; font-size: 16px; margin: 0; text-align: center; }
  .hero--product .hero__cta    { order: 5; gap: 10px; margin: 0; }
  .hero--product .hero__cta .btn-lg { padding: 12px 22px; font-size: 16px; }
  /* below-the-fold material */
  .hero--product .hero__sub    { order: 6; font-size: 15px; line-height: 1.45; margin: 6px auto 0; max-width: 32ch; }
  .hero--product .chips        { order: 7; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 8px; text-align: left; }
  .hero--product .chips li { font-size: 13px; line-height: 1.25; }
  .hero--product .chips .icon { font-size: 15px; flex: 0 0 auto; }
  .hero--product .chips__free { grid-column: 1 / -1; justify-self: center; }

  /* image gallery: main strip on top, thumb buttons below */
  .hero--product .hero__art--gallery { display: flex; flex-direction: column; gap: 12px; }

  /* main strip — full-width slides with HARD scroll-snap. Each swipe
     advances exactly one image regardless of velocity, because
     scroll-snap-stop:always blocks the carousel from skipping past
     a snap point. Images keep their natural aspect ratio (no crop). */
  .hero--product .hero__art-track {
    display: flex; gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--wrap-pad, 22px));
    padding-inline: 0;
    scrollbar-width: none;
  }
  .hero--product .hero__art-track::-webkit-scrollbar { display: none; }
  .hero--product .hero__art-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 320px;
    aspect-ratio: auto;
    object-fit: contain;
    background: var(--bg-alt);
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* thumb row — small tappable squares, current one highlighted */
  .hero--product .hero__art-thumbs {
    display: flex; gap: 8px; justify-content: center;
    flex-wrap: wrap;
  }
  .hero--product .hero__art-thumb {
    width: 56px; height: 56px; padding: 0; border: 0; background: transparent;
    border-radius: 10px; overflow: hidden; cursor: pointer;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow .15s var(--ease), transform .15s var(--ease);
  }
  .hero--product .hero__art-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    opacity: .65; transition: opacity .15s var(--ease);
  }
  .hero--product .hero__art-thumb.is-active { box-shadow: inset 0 0 0 2px var(--accent); }
  .hero--product .hero__art-thumb.is-active img { opacity: 1; }
  .hero--product .hero__art-thumb:hover img { opacity: 1; }
}

/* split hero: copy left, 3 small product cards stacked right (home) */
.hero--home { background: linear-gradient(180deg, #f4f5f7 0%, #ffffff 90%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 80px); }
.hero__head { text-align: left; max-width: none; margin: 0; }
.hero__eyebrow { margin-bottom: 14px; }
.hero--home .display { font-size: clamp(38px, 5vw, 64px); }
.hero--home .hero__sub { margin: 18px 0 0; max-width: 40ch; }

/* integrated perks line (free delivery lives here) */
.hero__perks { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.hero__perks .icon { color: var(--accent); font-size: 18px; }
.hero__perks strong { color: var(--ink); font-weight: 600; }
.hero__head .hero__cta { justify-content: flex-start; margin: 28px 0 0; }

.hero__showcase { display: flex; flex-direction: column; gap: 12px; }
.hero__pod { display: flex; flex-direction: row; align-items: stretch; background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.hero__pod:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.hero__pod-media { background: var(--bg-alt); width: 104px; flex: 0 0 104px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 12px; overflow: hidden; }
.hero__pod-media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.hero__pod:hover .hero__pod-media img { transform: scale(1.05); }
.hero__pod-info { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.hero__pod-text h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.hero__pod-text p { color: var(--ink-mute); font-size: 12.5px; margin-top: 2px; }
.hero__pod-text strong { color: var(--ink); font-weight: 600; }
.hero__pod-go { color: var(--accent); flex: 0 0 auto; line-height: 0; transition: transform .3s var(--ease); }
.hero__pod-go svg { width: 20px; height: 20px; }
.hero__pod:hover .hero__pod-go { transform: translateX(3px); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 26px; text-align: center; padding-top: clamp(24px, 5vw, 44px); }
  .hero__head { text-align: center; }
  .hero--home .hero__sub { margin: 0 auto; }
  .hero__perks { justify-content: center; }
  .hero__head .hero__cta { justify-content: center; }
  .hero__showcase { max-width: 480px; width: 100%; margin-inline: auto; }
}

/* quick-nav row under the product cards — only shown on small mobile
   where we hide the verbose hero CTAs. Gives clear secondary paths
   to Compare, FAQ, Contact, and Request a quote without bloating
   the first-fold copy. */
.hero__quicknav { display: none; }

@media (max-width: 720px) {
  /* compress hero text so all three product cards land above the fold */
  .hero--home .hero__grid { gap: 14px; padding-block: clamp(12px, 3vw, 22px); }
  .hero--home .hero__eyebrow { margin-bottom: 6px; }
  .hero--home .display { font-size: clamp(28px, 8vw, 36px); line-height: 1.05; margin: 0; }
  .hero--home .display br { display: none; }
  /* the topbar already says "delivery + UAE-wide + 3 weeks", and the
     three product cards are the actions — so on phones we hide the
     subhead, perks line, and CTAs to free the fold */
  .hero--home .hero__sub,
  .hero--home .hero__perks,
  .hero--home .hero__head .hero__cta { display: none; }

  /* tighter product cards: smaller thumb, smaller text rows */
  .hero__showcase { gap: 8px; }
  .hero__pod-media { width: 80px; flex: 0 0 80px; padding: 8px; }
  .hero__pod-info { padding: 10px 14px; }
  .hero__pod-text h3 { font-size: 15px; }
  .hero__pod-text p { font-size: 12px; margin-top: 1px; }

  .hero__quicknav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-soft);
  }
  .hero__quicknav a { font-size: 13px; color: var(--ink-mute); padding: 4px 0; transition: color .15s; }
  .hero__quicknav a:hover { color: var(--ink); }
}

#products { scroll-margin-top: 76px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.pillbadge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.7);
  border: 1px solid var(--rule); border-radius: var(--pill); padding: 7px 14px;
  font-size: 13px; color: var(--ink-mute); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pillbadge .icon { font-size: 15px; color: var(--accent); }

/* ---- stats: four separated cards with icon badges ---- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
}
.stat {
  position: relative; text-align: left;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  box-shadow: 0 1px 2px rgba(17,18,22,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.stat:hover { transform: translateY(-2px); border-color: var(--rule); box-shadow: 0 10px 28px rgba(17,18,22,.06), 0 1px 2px rgba(17,18,22,.05); }
.stat__ic {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin: 0 0 22px;
  border-radius: 12px; background: rgba(201,65,56,.08);
  font-size: 20px; color: var(--accent);
}
.stat__num {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1; color: var(--ink);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.stat__num .icon { font-size: .7em; color: #f5a623; }
.stat__label { color: var(--ink-mute); font-size: 14px; margin-top: 10px; line-height: 1.35; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 22px 20px 20px; } .stat__ic { width: 40px; height: 40px; margin-bottom: 18px; } }

/* ---- feature grid ---- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: linear-gradient(180deg, #ffffff, #fcfcfd); border: 1px solid var(--rule-soft); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s var(--ease);
}
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard h3 { font-size: 19px; font-weight: 700; margin: 16px 0 6px; letter-spacing: -0.02em; }
.fcard p { color: var(--ink-mute); font-size: 15px; }
@media (max-width: 880px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* ---- split / showcase (image + copy, dark) ---- */
.showcase { position: relative; overflow: hidden; }
.showcase__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }

/* ---- compare table ---- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.compare thead th { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.compare thead .col-prod { color: var(--ink); font-size: 17px; text-transform: none; letter-spacing: -0.02em; font-weight: 700; vertical-align: bottom; }
.compare__thumb { display: block; width: 62px; height: 62px; margin-bottom: 10px; border-radius: 12px; background: linear-gradient(160deg, #fafafb, #eef0f3); border: 1px solid var(--rule-soft); padding: 6px; }
.compare__thumb img { width: 100%; height: 100%; object-fit: contain; }
.compare tbody th { font-weight: 500; color: var(--ink-mute); font-size: 14px; }
.compare td { font-weight: 500; }
.compare .feat { background: rgba(201,65,56,.04); }
.compare .price td, .compare .price th { font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 0; }
.compare .buyrow td { padding-top: 14px; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* Mobile compare: sticky feature labels on the left, swipe-snap the
   product columns. Each column gets 1/2 of the visible width minus the
   label column, so the current product and the next one both stay in
   view — the relationship that makes a comparison readable. */
@media (max-width: 720px) {
  .compare-wrap { scroll-snap-type: x mandatory; scrollbar-width: none; }
  .compare-wrap::-webkit-scrollbar { display: none; }
  .compare { min-width: 540px; }
  .compare th, .compare td { padding: 12px 12px; font-size: 13px; }
  .compare thead th { font-size: 11px; }
  .compare thead .col-prod { font-size: 14px; padding-top: 14px; }
  .compare__thumb { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 10px; padding: 4px; }
  .compare tbody th { font-size: 12px; }
  .compare .price td, .compare .price th { font-size: 15px; }
  /* sticky leftmost (feature-label) column */
  .compare th:first-child,
  .compare tbody th { /* row labels are <th> in tbody */
    position: sticky; left: 0; z-index: 2;
    background: #fff;
    min-width: 96px; max-width: 96px;
    border-right: 1px solid var(--rule);
  }
  /* product columns scroll-snap so a swipe lands cleanly */
  .compare .col-prod, .compare td { scroll-snap-align: start; }
  .compare .buyrow .btn { padding: 8px 14px; font-size: 13px; }
}

/* ---- FAQ accordion ---- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; font-size: clamp(17px, 2vw, 20px); font-weight: 500; letter-spacing: -0.01em;
}
.faq__q .icon { font-size: 22px; color: var(--ink-mute); transition: transform .3s var(--ease); }
.faq__item.open .faq__q .icon { transform: rotate(45deg); color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 4px 22px; color: var(--ink-mute); max-width: 70ch; }

/* ---- reviews / social proof ---- */
.proof { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.proof__score { text-align: center; }
.proof__big { font-size: 64px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stars { display: inline-flex; gap: 3px; color: #f5a623; font-size: 18px; margin: 10px 0 6px; }
.proof__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof__pillars .ic { margin-bottom: 12px; }
.proof__pillars h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.proof__pillars p { color: var(--ink-mute); font-size: 14px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; text-align: center; } .proof__pillars { grid-template-columns: 1fr; gap: 26px; } }

/* ---- promise (lifetime service) — editorial divider layout ---- */
.promise { background: var(--bg-warm); }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 60px); }
.promise__item { padding: 4px clamp(22px, 3vw, 46px); border-left: 1px solid var(--rule); }
.promise__item:first-child { border-left: 0; padding-left: 0; }
.promise__ic { display: block; width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.promise__item h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; }
.promise__item p { color: var(--ink-mute); font-size: 15px; line-height: 1.55; }
.promise__proof { text-align: center; margin-top: clamp(36px, 4.5vw, 52px); color: var(--ink-mute); font-size: 14px; }
.promise__proof .icon { color: #f5a623; font-size: 16px; vertical-align: -2px; }
.promise__proof strong { color: var(--ink); font-weight: 700; }
.promise__proof .link { display: inline-flex; }
@media (max-width: 760px) {
  .promise__grid { grid-template-columns: 1fr; }
  .promise__item { border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; margin-top: 24px; }
  .promise__item:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
}

/* ---- recent installations grid (small proof-of-work thumbnails) ---- */
/* ---- installs: auto-scrolling two-row marquee ----
   The renderer (initInstalls in main.js) builds two .install-row strips,
   duplicates each for a seamless loop, and lets CSS translate them in
   opposite directions. Hover pauses the scroll; prefers-reduced-motion
   stops it entirely. */
.installs {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.install-row { display: flex; gap: 10px; width: max-content; animation: installsLTR 80s linear infinite; }
.install-row--rtl { animation-name: installsRTL; }
.installs:hover .install-row { animation-play-state: paused; }

.install {
  flex: 0 0 220px; height: 150px;
  display: block; border-radius: 12px; overflow: hidden; background: var(--bg-alt);
  box-shadow: var(--shadow-xs);
}
.install img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.install:hover img { transform: scale(1.05); }

@media (max-width: 820px) { .install { flex: 0 0 160px; height: 110px; } }
@media (max-width: 520px) { .install { flex: 0 0 140px; height: 96px; } }

@keyframes installsLTR { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes installsRTL { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .install-row { animation: none; }
}

/* ---- checklist ---- */
.checklist { list-style: none; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist .icon { color: var(--accent); font-size: 20px; flex: 0 0 auto; margin-top: 1px; }

/* ---- dark section CTA glow ---- */
.section--dark { position: relative; isolation: isolate; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(55% 90% at 50% -10%, rgba(201,65,56,.30), rgba(201,65,56,0) 60%),
    radial-gradient(45% 80% at 100% 110%, rgba(90,120,170,.16), rgba(90,120,170,0) 60%);
}

/* ---- quantity stepper ---- */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--pill); overflow: hidden; background: #fff; }
.stepper button { width: 42px; height: 42px; background: #fff; border: 0; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.stepper button .icon { font-size: 18px; }
.stepper button:hover { background: var(--bg-alt); }
.stepper button:disabled { opacity: .3; pointer-events: none; }
.stepper input { width: 46px; text-align: center; border: 0; font-size: 16px; font-weight: 600; background: #fff; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.qty-row .muted { font-size: 14px; }

/* ---- payment page ---- */
.pay { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(24px, 4vw, 52px); align-items: start; max-width: 980px; margin-inline: auto; }
.paycard { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.securebar { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); margin-bottom: 16px; }
.securebar .icon { color: #1d8a3f; font-size: 17px; }
.demo-tag { display: inline-flex; align-items: center; gap: 7px; background: #fff7e6; color: #8a5a00; border: 1px solid #f0d9a8; border-radius: var(--pill); padding: 6px 13px; font-size: 12.5px; margin-bottom: 20px; }
.demo-tag .icon { font-size: 15px; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.paygrid .field--full { grid-column: 1 / -1; }
.paygrid .field { margin-bottom: 0; }
@media (max-width: 760px) { .pay { grid-template-columns: 1fr; } }

/* checkout: what's included */
.summary__included { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.summary__included h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-mute); margin-bottom: 12px; }
.summary__included .checklist .icon { font-size: 18px; }
.summary__included .checklist li { font-size: 14px; }

/* coupon field (checkout summary) */
.coupon { display: flex; gap: 8px; margin: 14px 0 4px; }
.coupon input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; }
.coupon input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,65,56,.15); }
.coupon .btn { padding: 11px 18px; }
.coupon__msg { font-size: 13px; min-height: 1.1em; margin: 0 0 4px; color: var(--ink-mute); }
.coupon__msg.ok { color: #1d8a3f; font-weight: 500; }
.coupon__msg.err { color: var(--accent); }

/* page intro header (checkout/success) */
.pagehead { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); }
.steps { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-mute); margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.steps b, .steps .step.is-active { color: var(--ink); font-weight: 600; }
.steps .step { transition: color .2s ease; }
.steps .sep { color: var(--rule); }

/* checkout progress tracker (Details › Payment › Delivery) */
.progress { display: flex; max-width: 460px; margin: 22px auto 0; padding: 0; list-style: none; }
.progress__step { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.progress__step::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--rule); z-index: 0; transition: background .25s ease; }
.progress__step:first-child::before { display: none; }
.progress__step.is-done::before, .progress__step.is-current::before { background: var(--accent); }
.progress__dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--rule); color: var(--ink-mute); font-size: 14px; font-weight: 600; transition: all .25s ease; }
.progress__label { font-size: 13px; font-weight: 500; color: var(--ink-mute); transition: color .25s ease; }
.progress__step.is-current .progress__dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(201,65,56,.12); }
.progress__step.is-current .progress__label { color: var(--ink); font-weight: 600; }
.progress__step.is-done .progress__dot { background: var(--accent); border-color: var(--accent); font-size: 0; }
.progress__step.is-done .progress__dot::after { content: "✓"; font-size: 15px; color: #fff; }
.progress__step.is-done .progress__label { color: var(--ink); }
@media (max-width: 480px) { .progress__label { font-size: 12px; } .progress__dot { width: 30px; height: 30px; } .progress__step::before { top: 14px; } }

/* inline payment step (MamoPay embedded card form on the checkout page) */
.checkout__left { min-width: 0; }
.paystep { animation: payin .35s ease both; }
@keyframes payin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.paystep__back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; margin-bottom: 12px; font: inherit; font-size: 14px; color: var(--ink-mute); cursor: pointer; text-decoration: none; }
.paystep__back:hover { color: var(--ink); }
.paystep__back span[aria-hidden] { font-size: 19px; line-height: 1; }
.paystep > h2 { margin-bottom: 6px; }
.paystep__intro { color: var(--ink-mute); font-size: 14px; margin-bottom: 18px; }
/* The provider renders its own card around the form, so we don't add a box —
   transparent frame means any reserved space blends into the page. */
.paystep__frame { border: 0; background: transparent; overflow: hidden; min-height: 200px; }
.paystep__frame:empty::before { content: "Loading secure payment…"; display: grid; place-items: center; height: 300px; color: var(--ink-mute); font-size: 14px; }
/* embedded card form: its SDK sets the iframe to height:100%, so the frame
   defines the size. Default fits a wallet+card form; pay.js snaps it to the
   iframe's real height so there's never a scrollbar. */
.paystep__frame--mamo { height: 480px; min-height: 0; }
.paystep__frame--mamo iframe { width: 100%; height: 100%; border: 0; display: block; }
/* demo payment page is a full page, so it needs more room */
.paystep__iframe { width: 100%; height: 720px; border: 0; display: block; }
.paystep__secure { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--ink-mute); margin-top: 14px; }
.paystep__secure .icon { font-size: 16px; color: #1d8a3f; }

/* prominent amount at the payment step (so the buyer sees exactly what they pay) */
.payamount { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 14px; padding: 14px 18px; background: var(--bg-alt); border: 1px solid var(--rule-soft); border-radius: 14px; }
.payamount__label { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.payamount__value { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

/* security reassurance grid (shown under the card form) */
.paysecure { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.paysecure li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--rule-soft); border-radius: 12px; }
.paysecure .icon { font-size: 19px; color: #1d8a3f; flex: 0 0 auto; margin-top: 1px; }
.paysecure strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.paysecure small { display: block; font-size: 11.5px; color: var(--ink-mute); margin-top: 2px; line-height: 1.35; }
.paysecure__lock { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 2px; font-size: 13px; font-weight: 600; color: #1d8a3f; }
.paysecure__lock .icon { font-size: 16px; }
@media (max-width: 560px) { .paysecure { grid-template-columns: 1fr; } }

/* ---- free delivery emphasis (used site-wide) ---- */
.freebar { display: inline-flex; align-items: center; gap: 10px; background: rgba(201,65,56,.07); border: 1px solid rgba(201,65,56,.2); color: var(--accent-press); border-radius: var(--pill); padding: 11px 20px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.freebar .icon { font-size: 19px; color: var(--accent); }
.freebar-wrap { text-align: center; }
.tile__free { color: var(--accent); font-weight: 600; font-size: 13px; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; }
.tile__free .icon { font-size: 15px; }
.compare .free-cell { color: #1d8a3f; font-weight: 700; }

/* ---- footer (dark, refined) ---- */
.footer { background: #0b0b0c; color: #9a9aa0; border-top: 0; padding-block: clamp(56px, 7vw, 84px) 34px; position: relative; isolation: isolate; overflow: hidden; }
.footer::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(55% 130% at 50% 0%, rgba(201,65,56,.13), transparent 58%); }
.footer__top { display: grid; grid-template-columns: 1.7fr .9fr .9fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 28px; }
.footer__logo img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 1; }
.footer__tag { color: #9a9aa0; font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 40ch; }
.footer__badges { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__badges li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #d6d6dc; }
.footer__badges .icon { color: var(--accent); font-size: 16px; flex: 0 0 auto; }
.footer__hours { display: block; color: #6e6e73; font-size: 13px; padding: 6px 0; }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: #6e6e73; margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; width: max-content; max-width: 100%; color: #e8e8ed; padding: 6px 0; font-size: 15px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; font-size: 13px; color: #6e6e73; }
.footer__legal { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__legal a { color: #c9c9d0; font-size: 13px; transition: color .2s var(--ease); }
.footer__legal a:hover { color: #fff; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .footer__brand { grid-column: 1 / -1; } .footer__tag { max-width: 52ch; } }
@media (max-width: 460px) { .footer__top { grid-template-columns: 1fr; } .footer__brand { grid-column: auto; } }

/* ============================================================
   LEGAL pages (privacy, terms, refunds, delivery)
   ============================================================ */
.legal { max-width: 800px; margin-inline: auto; }
.legal .h1 { margin: 8px 0 6px; }
.legal__updated { color: var(--ink-faint); font-size: 13px; margin: 0 0 22px; }
.legal p { color: var(--ink-mute); line-height: 1.72; font-size: 15.5px; margin: 0 0 14px; }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 34px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
.legal ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.legal ul li { position: relative; padding-left: 22px; color: var(--ink-mute); line-height: 1.6; font-size: 15px; }
.legal ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal__box { background: var(--bg-alt); border: 1px solid var(--rule-soft); border-radius: 14px; padding: 16px 18px; margin: 18px 0 22px; font-size: 15px; line-height: 1.6; color: var(--ink-mute); }
.legal__box strong { color: var(--ink); }

/* ============================================================
   COOKIE CONSENT banner
   ============================================================ */
.consent {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90; max-width: 360px;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(17,18,22,.18), 0 3px 10px rgba(17,18,22,.08);
  padding: 18px 18px 16px;
  animation: consentIn .3s var(--ease) both;
}
@keyframes consentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent p { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); margin: 0 0 14px; }
.consent p a { color: var(--accent); }
.consent__btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn-sm { padding: 8px 16px; font-size: 14px; }
@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---- dimensions (product pages): picture + diagram ---- */
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.dims figure { margin: 0; text-align: center; }
.dims img { width: 100%; max-height: 400px; object-fit: contain; }
.dims figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }
@media (max-width: 640px) { .dims { grid-template-columns: 1fr; gap: 28px; } }


/* ============================================================
   Nav: "Talk to sales" pill — visually between text links and Buy CTA
   ============================================================ */
.nav__sales {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-alt); border-radius: var(--pill);
  padding: 8px 14px; font-weight: 500; font-size: 14px;
  color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease);
  animation: navSalesGlow 2.6s ease-in-out infinite;
}
.nav__sales:hover { background: var(--ink); color: #fff; animation: none; }
.nav__sales::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1d8a3f;
  box-shadow: 0 0 0 0 rgba(29,138,63,.6);
  animation: navSalesDotPulse 1.8s ease-out infinite;
}
@keyframes navSalesDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(29,138,63,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(29,138,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,138,63,0); }
}
@keyframes navSalesGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29,138,63,0); }
  50%      { box-shadow: 0 0 0 6px rgba(29,138,63,.14); }
}
.sales-nav.is-open .nav__sales { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .nav__sales, .nav__sales::before { animation: none; }
}


/* ============================================================
   "For trade & bulk" section (home page)
   ============================================================ */
.trade {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
}
.trade__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.trade__copy h2 { margin: 8px 0 14px; }
.trade__bullets { display: grid; gap: 14px; margin: 24px 0 30px; }
.trade__bullet { display: flex; gap: 14px; align-items: flex-start; }
.trade__bullet .icon { font-size: 20px; color: var(--accent); margin-top: 2px; }
.trade__bullet h3 { font-size: 17px; margin: 0 0 2px; }
.trade__bullet p { font-size: 14px; color: var(--ink-mute); margin: 0; }
.trade__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trade__art {
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-lg);
  padding: 32px; display: grid; gap: 14px;
}
.trade__stat { display: flex; align-items: baseline; gap: 10px; }
.trade__stat strong { font-size: clamp(28px, 4vw, 36px); font-weight: 600; letter-spacing: -0.02em; }
.trade__stat span { color: var(--ink-mute); font-size: 14px; }
.trade__stat + .trade__stat { padding-top: 14px; border-top: 1px solid var(--rule-soft); }
@media (max-width: 820px) { .trade__grid { grid-template-columns: 1fr; gap: 36px; } }


/* ============================================================
   Floating "Talk to sales" FAB — sticky bottom-right with mini-menu
   ============================================================ */
.sales-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 80;
  transition: bottom .35s var(--ease);
}
/* When the sticky buy-bar slides up (product pages), lift the FAB above
   it so they don't overlap. The .has-buybar class is set by initBuybar(). */
body.has-buybar .sales-fab { bottom: calc(clamp(16px, 3vw, 28px) + 64px); }
.sales-fab__btn {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  background: var(--accent); color: var(--on-accent); border: 0;
  border-radius: var(--pill); padding: 14px 22px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(201,65,56,.32), 0 2px 6px rgba(201,65,56,.18);
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.sales-fab__btn:hover { background: var(--accent-press); transform: translateY(-2px); }
.sales-fab__btn:active { transform: scale(.97); }
.sales-fab__btn-ic { font-size: 18px; line-height: 1; }
.sales-fab.is-open .sales-fab__btn { background: var(--ink); box-shadow: 0 8px 24px rgba(17,18,22,.25); }

/* expanding pulse ring behind the FAB — same idea as the nav dot, scaled up */
.sales-fab__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(201,65,56,.55);
  animation: salesFabPulse 2s ease-out infinite;
}
.sales-fab.is-open .sales-fab__btn::after,
.sales-fab__btn:hover::after { animation: none; }
@keyframes salesFabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,65,56,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(201,65,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,65,56,0); }
}
@media (prefers-reduced-motion: reduce) {
  .sales-fab__btn::after { animation: none; }
}

/* shared sales-menu popover (used by FAB and nav pill) */
.sales-menu {
  background: #fff; border: 1px solid var(--rule-soft); border-radius: 16px;
  box-shadow: 0 24px 48px rgba(17,18,22,.18), 0 4px 12px rgba(17,18,22,.08);
  padding: 8px; display: flex; flex-direction: column; gap: 2px; min-width: 280px;
  animation: salesMenuIn .18s var(--ease);
}
.sales-menu[hidden] { display: none; }
@keyframes salesMenuIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sales-menu__head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); padding: 12px 14px 8px; }
.sales-menu__group { display: flex; flex-direction: column; gap: 2px; }
.sales-menu__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; color: var(--ink);
  transition: background .15s var(--ease);
}
.sales-menu__opt:hover { background: var(--bg-alt); }
.sales-menu__ic { font-size: 22px; color: var(--accent); width: 28px; text-align: center; }
.sales-menu__opt[data-lead-channel="whatsapp"] .sales-menu__ic { color: #25d366; }
.sales-menu__lbl { display: flex; flex-direction: column; line-height: 1.3; }
.sales-menu__lbl strong { font-weight: 500; }
.sales-menu__lbl .muted { font-size: 12px; }
.sales-menu__divider { height: 1px; background: var(--rule); margin: 6px 8px; }
.sales-menu__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 4px 0 4px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.sales-menu__cta:hover { background: var(--accent-press); transform: translateY(-1px); }
.sales-menu__cta-body { display: flex; flex-direction: column; line-height: 1.25; }
.sales-menu__cta-body strong { font-weight: 600; font-size: 15px; }
.sales-menu__cta-body .muted { color: rgba(255,255,255,.78); font-size: 12px; }
.sales-menu__cta-arrow { font-size: 20px; }

/* fab placement */
.sales-menu--fab { position: absolute; right: 0; bottom: calc(100% + 12px); width: 300px; transform-origin: bottom right; }
@media (max-width: 480px) {
  .sales-fab__btn-label { display: none; }
  .sales-fab__btn { padding: 14px; }
  .sales-fab__btn-ic { font-size: 22px; }
  .sales-menu--fab { width: calc(100vw - 28px); max-width: 320px; }
}

/* nav placement (anchored under the .nav__sales pill) */
.sales-nav { position: relative; display: inline-flex; }
.sales-menu--nav {
  position: absolute; top: calc(100% + 10px); right: 0; width: 300px; z-index: 60;
  transform-origin: top right;
}

/* mobile: hide the in-drawer pill trigger (its menu is rendered inline)
   but keep the bar pill visible next to the hamburger */
@media (max-width: 820px) {
  .nav__sales:not(.nav__sales--bar) { display: none !important; }
  .nav__sales:not(.nav__sales--bar)::before { animation: none; } /* dot pulse pointless when hidden */

  /* The IN-DRAWER pill's menu renders inline inside the hamburger drawer.
     Scoped with :not(.sales-nav--bar) so the BAR pill keeps acting like
     the desktop popover — tapping opens WhatsApp / Call / Quote above
     it, doesn't reorganise the layout.
     The whole sales-nav becomes its own visually-distinct segment
     (tinted background, full-bleed within the drawer, rounded corners)
     so it reads as "the way to reach us", not just another link. */
  .sales-nav:not(.sales-nav--bar) {
    display: block; width: auto;
    margin: 22px -4px 4px;
    padding: 18px 14px 14px;
    background: var(--bg-alt);
    border-radius: 16px;
    border-top: 0;
  }
  .sales-menu--nav:not(.sales-menu--bar) {
    position: static; width: auto;
    background: transparent; border: 0; box-shadow: none;
    padding: 0; gap: 6px; animation: none; min-width: 0;
  }
  .sales-menu--nav:not(.sales-menu--bar)[hidden] { display: flex; }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__head { padding: 0 2px 12px; font-size: 12px; }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__group { gap: 6px; }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__opt {
    background: #fff; border-radius: 12px; padding: 14px 14px;
  }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__opt:hover { background: #f4f5f7; }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__divider { display: none; }
  .sales-menu--nav:not(.sales-menu--bar) .sales-menu__cta { margin-top: 8px; padding: 16px 18px; }
}

/* Bar pill's popover — anchored under the .nav__sales--bar at every width.
   At mobile the .nav__sales--bar sits some way in from the right edge
   (hamburger is to its right), so anchoring the popover at right:0 from
   the wrap would overflow the viewport's left side. Use position:fixed
   at small widths so it sits flush to the viewport's right padding. */
.sales-menu--bar {
  width: min(300px, calc(100vw - 24px));
  right: 0; left: auto;
}
@media (max-width: 1080px) {
  .sales-menu--bar {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    /* Centre horizontally in the viewport regardless of where the pill is. */
    left: 0; right: 0; margin-inline: auto;
    transform-origin: top center;
  }
}
