/* =====================================================================
   FORMCOD — generic landing styles. Vanilla, no framework, fast.
   Brand color is driven by the --brand variable (override per site).
   ===================================================================== */
:root{
  --brand:#0d9488;          /* teal — change per site */
  --brand-dark:#0f766e;
  --ink:#0f172a;
  --muted:#64748b;
  --bg:#ffffff;
  --soft:#f1f5f9;
  --line:#e2e8f0;
  --ok:#16a34a;
  --radius:14px;
  --shadow:0 10px 30px rgba(2,6,23,.10);
  --max:980px;
}
/* ---- Default font: self-hosted Tajawal (Arabic + Latin subsets, split by
   unicode-range). Clean on both scripts, no Google-Fonts request / no flash.
   Every landing gets a good font by default; drop the woff2 in fonts/. ---- */
@font-face{font-family:'Tajawal';font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/tajawal-arabic-400.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:'Tajawal';font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/tajawal-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'Tajawal';font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/tajawal-arabic-500.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:'Tajawal';font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/tajawal-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'Tajawal';font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/tajawal-arabic-700.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:'Tajawal';font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/tajawal-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'Tajawal';font-weight:900;font-style:normal;font-display:swap;src:url(../fonts/tajawal-arabic-900.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:'Tajawal';font-weight:900;font-style:normal;font-display:swap;src:url(../fonts/tajawal-latin-900.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden;max-width:100%}      /* guard: never allow horizontal scroll (esp. RTL) */
html{scroll-behavior:smooth}
body{
  font-family:'Tajawal',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.55;
  -webkit-font-smoothing:antialiased;padding-bottom:78px; /* room for sticky bar */
}
[dir="rtl"] body{font-family:'Tajawal',system-ui,"Segoe UI",Tahoma,Arial,sans-serif}
img,video{max-width:100%;height:auto;display:block}
/* buttons/inputs/selects don't inherit font-family by default — force it,
   else the sticky CTA + form controls fall back to the system font. */
button,input,select,textarea{font-family:inherit}
/* motion: a reel/clip that replaces a GIF — autoplay muted loop */
.reel{width:100%;border-radius:var(--radius);box-shadow:var(--shadow);background:#000;object-fit:cover}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--brand);color:#fff;border:0;border-radius:12px;
  padding:15px 26px;font-size:17px;font-weight:700;cursor:pointer;
  text-decoration:none;transition:transform .08s ease,background .2s;
  width:100%;
}
.btn:hover{background:var(--brand-dark)}
.btn:active{transform:scale(.98)}
.btn-pulse{animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(13,148,136,.45)}70%{box-shadow:0 0 0 14px rgba(13,148,136,0)}100%{box-shadow:0 0 0 0 rgba(13,148,136,0)}}

/* ---- Header / hero ---- */
.topbar{background:var(--brand);color:#fff;text-align:center;font-size:clamp(12px,3.6vw,14px);font-weight:600;line-height:1.5;padding:8px clamp(10px,3vw,14px)}
.hero{padding:26px 0 10px}
.hero h1{font-size:clamp(24px,5vw,38px);line-height:1.2;margin-bottom:8px}
.hero .tagline{color:var(--muted);font-size:17px;margin-bottom:16px}
.gallery{display:grid;gap:10px}
.gallery img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover}

/* ---- Config-driven media (app.js builds these from product.gallery) ---- */
html,body{overflow-x:hidden}                 /* guard: full-bleed images never cause h-scroll */
.media{margin-inline:-18px}                  /* break out of .container padding => edge-to-edge */
.fullimg{width:100%;height:auto;display:block;background:var(--soft)}   /* LANDING: big full-width blocks */
/* PRODUCT: gallery widget (main image + thumbnails + arrows) */
.gwrap{position:relative}
.gmain{width:100%;height:auto;display:block;background:var(--soft);cursor:pointer}
.gnav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;
  background:rgba(255,255,255,.92);box-shadow:var(--shadow);font-size:22px;font-weight:800;color:var(--ink);
  cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}
/* prev sits at the START of the reading direction (left in LTR, right in RTL) and next at the END; the ‹ › glyphs
   are bidi-mirrored by the browser, so both arrows point OUTWARD in every language (they pointed inward before, 2026-09-13) */
.gnav.prev{inset-inline-start:12px}
.gnav.next{inset-inline-end:12px}
.gdots{position:absolute;bottom:10px;inset-inline:0;display:flex;gap:6px;justify-content:center}
.gdots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6)}
.gdots i.on{background:#fff;width:20px;border-radius:4px}
.thumbs{display:flex;gap:8px;padding:12px 18px;overflow-x:auto}
.thumb{flex:0 0 64px;height:64px;border-radius:10px;object-fit:cover;border:2px solid transparent;cursor:pointer}
.thumb.on{border-color:var(--brand)}
/* Reviews (config.reviews) — photo + verified mark, so it reads as a real person */
.reviews{display:grid;gap:12px}
.review{background:var(--soft);border-radius:var(--radius);padding:16px}
.review .rhead{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.review .ravatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;
  border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.review .rwho{min-width:0}
.review .stars{color:#f59e0b;line-height:1.2;font-size:14px}
.review .rname{font-weight:700;font-size:14.5px;display:flex;align-items:center;gap:6px}
.review .rver{background:#16a34a;color:#fff;font-size:9px;width:15px;height:15px;border-radius:50%;
  display:inline-grid;place-items:center;flex:none}
.review .rdate{margin-inline-start:auto;font-size:12px;color:var(--muted);flex:none}
.review .rtext{font-size:14.5px;line-height:1.65}
/* summary line above the cards (config.reviewsSummary) */
.rsum{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:16px;flex-wrap:wrap}
.rsum-stars{color:#f59e0b;font-size:19px;letter-spacing:2px}
.rsum-score{font-size:19px}
.rsum-count{color:var(--muted);font-size:14px}

/* ---- Price box ---- */
.pricebox{display:flex;align-items:baseline;gap:12px;margin:18px 0}
.price{font-size:34px;font-weight:800;color:var(--brand)}
.price .cur{font-size:18px;margin-inline-start:4px}
.old{font-size:20px;color:var(--muted);text-decoration:line-through}
.save{background:#fee2e2;color:#b91c1c;font-weight:700;font-size:13px;padding:3px 10px;border-radius:999px}

/* ---- Trust badges ---- */
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}
.badge{background:var(--soft);border-radius:12px;padding:14px;text-align:center;font-size:13px;font-weight:600}
.badge .ic{font-size:24px;display:block;margin-bottom:6px}

/* ---- Generic sections ---- */
.section{padding:26px 0;border-top:1px solid var(--line)}
.section h2{font-size:22px;margin-bottom:12px}
.features li{margin:8px 0;padding-inline-start:26px;position:relative}
.features li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--ok);font-weight:800}

/* ---- Embedded form section ---- */
.form-section{background:var(--soft)}

/* ---- The order form ---- */
.order-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.order-form h3{font-size:20px;margin-bottom:4px}
.order-form .sub{color:var(--muted);font-size:14px;margin-bottom:16px}
.field{margin-bottom:12px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.field input,.field select{
  width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;
  font-size:16px;background:#fff;color:var(--ink);
}
.field input:focus,.field select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(13,148,136,.15)}
.phone-row{display:flex;gap:8px}
.phone-row .dial{flex:0 0 78px;text-align:center;background:var(--soft);font-weight:700}
.summary{background:var(--soft);border-radius:10px;padding:12px 14px;margin:14px 0;font-size:14px}
.summary .row{display:flex;justify-content:space-between;margin:4px 0}
.summary .total{font-weight:800;font-size:17px;color:var(--brand)}
/* honeypot — visually hidden WITHOUT a huge off-screen offset.
   left:-9999px breaks RTL (adds 9999px of empty scroll space on the left). */
/* honeypot: display:none — a clip-hidden input is still a REAL rendered field
   and Chrome/Samsung autofill happily fill it, which blocked real buyers
   (2026-07-27). display:none is skipped by autofill. */
.hp{display:none !important}
/* ---- Variants (bundle/qty offers + color/size) ---- */
.variants{margin:6px 0 4px}
.variants:empty{display:none}
.vgroup{margin-bottom:14px}
.vlabel{font-size:13px;font-weight:700;margin-bottom:8px}
.vopts{display:grid;gap:8px}
.vgroup-cards .vopts{grid-template-columns:1fr}
.vgroup-buttons .vopts{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}
.vopt{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;
  background:#fff;border:2px solid var(--line);border-radius:12px;padding:13px 14px;
  font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;text-align:start;width:100%;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.vgroup-buttons .vopt{justify-content:center;padding:11px 12px;font-size:14px}
.vopt:hover{border-color:var(--brand)}
.vopt.active{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,#fff);box-shadow:0 0 0 3px rgba(0,0,0,.04)}
.vopt-label{flex:1}
.vgroup-buttons .vopt-label{flex:0}
.vopt-price{font-weight:800;color:var(--brand);white-space:nowrap}
.vopt-badge{position:absolute;top:-9px;inset-inline-end:10px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}

/* ---- Quantity stepper (variants type:"stepper" — ONE offer, − n + ) ----
   Logical properties only (inset-inline / start) so it mirrors correctly in RTL. */
.vgroup-stepper .vnote{
  background:color-mix(in srgb,var(--brand) 6%,#fff);
  border:1px dashed color-mix(in srgb,var(--brand) 35%,var(--line));
  border-radius:10px;padding:9px 11px;margin-bottom:9px;
  font-size:13px;font-weight:600;line-height:1.55;color:var(--ink);text-align:start;
}
.vstep{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  background:#fff;border:2px solid var(--brand);border-radius:12px;padding:11px 13px;
}
.vstep-info{display:flex;flex-direction:column;gap:2px;min-width:0;text-align:start}
.vstep-name{font-size:15px;font-weight:700;color:var(--ink)}
.vstep-unit{font-size:12.5px;font-weight:600;color:var(--muted)}
.vstep-ctrl{display:flex;align-items:center;gap:6px;background:var(--soft);border-radius:999px;padding:4px}
.vstep-btn{
  width:38px;height:38px;flex:0 0 38px;border:0;border-radius:999px;
  background:var(--brand);color:#fff;font-family:inherit;font-size:21px;font-weight:700;line-height:1;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:transform .12s,opacity .12s;
}
.vstep-btn:active{transform:scale(.92)}
.vstep-btn:disabled{opacity:.35;cursor:not-allowed}
.vstep-num{
  width:54px;height:38px;border:0;background:transparent;text-align:center;padding:0;
  font-family:inherit;font-size:17px;font-weight:800;color:var(--ink);
}
.vstep-num:focus{outline:2px solid var(--brand);outline-offset:1px;border-radius:8px}
.vstep-total{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-top:9px;font-size:14px;font-weight:700;color:var(--ink);
}
.vstep-total strong{font-size:19px;font-weight:900;color:var(--brand)}
.vstep-save{margin-top:6px;font-size:13.5px;font-weight:800;color:var(--ok);text-align:start}
.vstep-next{margin-top:5px;font-size:13px;font-weight:600;color:var(--muted);line-height:1.5;text-align:start}

/* inline per-field error (shown directly under the field, not at form end) */
.field-err{color:#dc2626;font-size:13px;font-weight:600;margin-top:5px}
.field.has-err input,.field.has-err select,.field.has-err textarea{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.12)}
.form-msg{font-size:14px;margin-top:10px;display:none}
.form-msg.err{display:block;color:#b91c1c}
.form-msg.ok{display:block;color:var(--ok)}

/* ---- Form styles (config.js > formStyle) — switch the whole form's look ---- */
/* classic = default (bordered card, no overrides). */
/* filled: soft-background inputs, borderless until focus */
[data-form-style="filled"] .order-form .field input,
[data-form-style="filled"] .order-form .field select{background:var(--soft);border-color:transparent}
[data-form-style="filled"] .order-form .field input:focus,
[data-form-style="filled"] .order-form .field select:focus{background:#fff}
/* minimal: underline-only inputs, flat form */
[data-form-style="minimal"] .order-form{box-shadow:none;border:0;padding:8px 0;background:transparent}
[data-form-style="minimal"] .order-form .field input,
[data-form-style="minimal"] .order-form .field select{border:0;border-bottom:2px solid var(--line);border-radius:0;background:transparent;padding-inline:2px}
[data-form-style="minimal"] .order-form .field input:focus,
[data-form-style="minimal"] .order-form .field select:focus{box-shadow:none;border-bottom-color:var(--brand)}
/* card: elevated with an accent top bar */
[data-form-style="card"] .order-form{border:0;border-top:4px solid var(--brand);border-radius:16px;box-shadow:0 18px 50px rgba(2,6,23,.16)}
/* rounded: pill inputs + button */
[data-form-style="rounded"] .order-form .field input,
[data-form-style="rounded"] .order-form .field select,
[data-form-style="rounded"] .order-form .btn{border-radius:999px}
[data-form-style="rounded"] .order-form .field input,
[data-form-style="rounded"] .order-form .field select{padding-inline:18px}

/* ---- Sticky CTA bar (always visible) ---- */
.sticky-cta{
  position:fixed;inset-inline:0;bottom:0;z-index:60;
  background:rgba(255,255,255,.96);backdrop-filter:blur(8px);
  border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(2,6,23,.08);
  padding:10px 14px;display:flex;align-items:center;gap:12px;
  transition:transform .3s ease,opacity .3s ease;
}
.sticky-cta .mini-price{font-weight:800;color:var(--brand);white-space:nowrap;font-size:18px}
.sticky-cta .btn{flex:1;width:auto;padding:13px 20px}
/* hidden while the order form is on screen (avoids a confusing duplicate CTA).
   app.js toggles .hidden via an IntersectionObserver on the embed form. */
.sticky-cta.hidden{transform:translateY(130%);opacity:0;pointer-events:none}

/* ---- Popup modal ---- */
.modal-overlay{
  position:fixed;inset:0;z-index:100;background:rgba(2,6,23,.55);
  display:none;align-items:flex-end;justify-content:center;padding:0;
}
.modal-overlay.open{display:flex}
@media(min-width:640px){.modal-overlay{align-items:center;padding:18px}}
.modal{
  background:#fff;width:100%;max-width:480px;border-radius:18px 18px 0 0;
  max-height:92vh;overflow-y:auto;padding:20px;position:relative;
  animation:slideUp .25s ease;
}
@media(min-width:640px){.modal{border-radius:18px}}
@keyframes slideUp{from{transform:translateY(40px);opacity:.4}to{transform:translateY(0);opacity:1}}
.modal .close{position:absolute;inset-inline-end:14px;top:12px;background:var(--soft);border:0;width:34px;height:34px;border-radius:50%;font-size:20px;cursor:pointer;line-height:1}

/* 🔴 The order button must NEVER be below the fold. The variant cards + the total
   sit between the last field and the button, so on a phone with the keyboard open
   it was ~360px off-screen: buyers filled everything, saw no button and left
   (baofeng, 10 carts, 2026-07-27 — the session recordings proved it).
   It now sticks to the bottom of the popup while the form scrolls under it. */
/* lint-w5-ok: this sticky lives inside .modal, which is its own bounded scroll
   container (max-height:92vh + overflow-y:auto). The <body>-as-scroll-container
   problem W5 warns about does not apply here, and CLAUDE.md says explicitly that
   this bar must NEVER be "fixed". Verified live 2026-07-29. */
.modal .form-actions{
  position:sticky;bottom:-20px;z-index:3;background:#fff;   /* -20px = the modal's own padding */
  margin:6px -20px -20px;padding:12px 20px calc(16px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line);border-radius:0 0 14px 14px;
}
.modal .form-actions .form-msg{margin-top:8px}

footer{padding:30px 0 20px;text-align:center;color:var(--muted);font-size:13px}
footer a{color:var(--muted)}

/* =====================================================================
   DESIGN SYSTEM v2 — 2026-09-13 (owner: "all templates look cheap").
   One additive layer that lifts every builder landing AND every store at
   once: spacing/type scale, real section rhythm, button hierarchy, a
   desktop hero that keeps price + CTA above the fold, a floating sticky
   pill on laptops, review cards, a footer with legal pills. Nothing above
   is renamed — hand-made landings are frozen (drift law) and untouched.
   Phone-first: the full-bleed image law stays for ≤ 900px; ≥ 900px the
   hero becomes a two-column split with a rounded photo (DECISIONS 2026-09-13).
   ===================================================================== */
:root{
  --s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:64px;
  --fs-h1:clamp(28px,4.6vw,44px);--fs-h2:clamp(22px,3vw,30px);--fs-h3:clamp(18px,2.2vw,22px);
  --shadow-sm:0 1px 2px rgba(2,6,23,.05),0 4px 14px rgba(2,6,23,.06);
  --shadow-lg:0 20px 50px rgba(2,6,23,.16);
  --brand-rgb:13,148,136;          /* lp-themes.js overrides it per theme */
  --max:1040px;--max-text:680px;
}
/* sticky elements (store nav, landing header) need the body NOT to be a scroll container */
@supports (overflow:clip){html,body{overflow-x:clip}}
body{font-size:16px;line-height:1.6}
@media(max-width:480px){body{font-size:15.5px}}

/* rhythm: sections breathe, no ruled lines; long-form text stays readable */
.section{padding:clamp(28px,5vw,52px) 0;border-top:0}
.section h2{font-size:var(--fs-h2);font-weight:800;line-height:1.2;letter-spacing:-.01em;margin-bottom:clamp(14px,2vw,22px)}
.section.alt{background:var(--soft);margin-inline:-18px;padding-inline:18px}
@media(min-width:900px){.lp-text .rich,.lp-faq .faq,.lp-story,.lp-specs .specs,.lp-compare .tablewrap{max-width:var(--max-text);margin-inline:auto}}

/* topbar: a real announcement, not a hairline */
.topbar{padding:10px clamp(12px,3vw,16px);font-size:clamp(13px,3.6vw,14.5px);font-weight:700;letter-spacing:.01em}

/* type scale */
.hero{padding:clamp(18px,3vw,28px) 0 12px}
.hero h1{font-size:var(--fs-h1);font-weight:800;line-height:1.15;letter-spacing:-.01em;margin-bottom:10px}
.hero .tagline{font-size:clamp(16px,2vw,19px);line-height:1.5}
.pricebox{gap:10px 14px;flex-wrap:wrap;margin:16px 0 18px}
.price{font-size:clamp(34px,4vw,42px);line-height:1}
.old{font-size:clamp(17px,2vw,20px)}
.save{font-size:12.5px;padding:4px 11px}

/* buttons: one primary, a soft secondary, a ghost — never a screen-wide slab on a laptop */
.btn{min-height:52px;border-radius:var(--radius);box-shadow:0 8px 22px rgba(var(--brand-rgb),.22);transition:transform .08s ease,background .2s,box-shadow .2s}
.btn:hover{box-shadow:0 10px 26px rgba(var(--brand-rgb),.30)}
.btn.secondary{background:var(--soft);color:var(--ink);box-shadow:none}.btn.secondary:hover{background:var(--line)}
.btn.ghost{background:transparent;color:var(--brand);border:2px solid var(--brand);box-shadow:none}.btn.ghost:hover{background:var(--brand);color:#fff}
.btn.sm{min-height:40px;padding:9px 16px;font-size:14px;border-radius:10px}
@media(min-width:900px){.hero .btn,.lp-cta .btn,.lp-offer .btn{width:auto;min-width:320px;max-width:520px;padding-inline:36px}.hero .btn{margin-inline:0}}
.badges{gap:12px;margin:20px 0 4px}
.badge{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:14px 10px;font-size:13px;box-shadow:var(--shadow-sm)}
.badge .ic{font-size:26px;margin-bottom:6px}

/* the desktop hero: photo left, story right — name, price and CTA above the fold on a laptop.
   The phone keeps the full-bleed image the landing law asks for. */
@media(min-width:900px){
  .herowrap[data-layout="classic"],.herowrap[data-layout="minimal"],.herowrap[data-layout="overlay"]{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:start;padding-top:var(--s6)}
  .herowrap[data-layout="classic"] .media,.herowrap[data-layout="minimal"] .media,.herowrap[data-layout="overlay"] .media{margin-inline:0}
  .herowrap[data-layout="classic"] .media img,.herowrap[data-layout="minimal"] .media img,.herowrap[data-layout="overlay"] .media img,
  .herowrap[data-layout="classic"] .media .gmain,.herowrap[data-layout="minimal"] .media .gmain,.herowrap[data-layout="overlay"] .media .gmain{border-radius:var(--radius);box-shadow:var(--shadow-sm)}
  .herowrap[data-layout="classic"] .hero,.herowrap[data-layout="minimal"] .hero,.herowrap[data-layout="overlay"] .hero{position:sticky;top:24px;padding-top:0;margin-top:0;background:none}
  .herowrap[data-layout="classic"] .thumbs,.herowrap[data-layout="minimal"] .thumbs,.herowrap[data-layout="overlay"] .thumbs{padding-inline:0}
}

/* features: the check is the only marker (the list bullet showed too), roomier rows */
.features{list-style:none;padding:0;margin:0}
.features li{margin:10px 0;padding-inline-start:32px;font-size:16px;line-height:1.5}
.features li::before{width:22px;height:22px;border-radius:50%;background:rgba(var(--brand-rgb),.12);color:var(--brand);font-size:13px;display:grid;place-items:center;top:2px}

/* review cards: a card, an avatar (photo or initial), room to read */
.reviews{gap:14px}
.review{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 16px;box-shadow:var(--shadow-sm);position:relative}
.review::before{content:"\201C";position:absolute;inset-inline-end:16px;top:6px;font-size:44px;line-height:1;color:rgba(var(--brand-rgb),.18);font-family:Georgia,serif}
.review .ravatar-i{width:44px;height:44px;border-radius:50%;flex:none;display:grid;place-items:center;background:rgba(var(--brand-rgb),.12);color:var(--brand);font-weight:800;font-size:17px}
.review .rtext{font-size:15px}
@media(min-width:700px){.reviews-section[data-layout="cards"] .reviews,.pd-reviews .reviews{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}}

/* the form: a bounded card on a laptop, a full-bleed soft band on a phone */
.form-section{margin-inline:-18px;padding-inline:18px}
@media(min-width:760px){.form-section .order-form{max-width:560px;margin-inline:auto}
  [data-form-design="split"] .form-section .order-form,[data-form-design="columns"] .form-section .order-form{max-width:none}}
.order-form{border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.order-form h3{font-size:var(--fs-h3)}
.field label{font-size:13.5px;font-weight:700}
.field input,.field select{border-radius:12px;padding:14px 16px}
.field input:focus,.field select:focus{box-shadow:0 0 0 3px rgba(var(--brand-rgb),.15)}

/* sticky CTA: the full bar on a phone, a floating pill on a laptop */
.sticky-cta{padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
@media(min-width:900px){
  .sticky-cta{inset-inline:0;margin-inline:auto;bottom:24px;width:min(440px,calc(100% - 48px));border-radius:999px;border:1px solid var(--line);box-shadow:var(--shadow-lg);padding:8px 8px 8px 20px}   /* centred (was pinned to a corner — odd in RTL) */
  [dir="rtl"] .sticky-cta{padding:8px 20px 8px 8px}
  .sticky-cta .btn{min-height:46px;padding:11px 22px;font-size:16px;border-radius:999px;box-shadow:none}
}

/* footer: brand, note, the three legal pills, copyright */
footer{background:var(--soft);padding:var(--s7) 18px calc(var(--s6) + 70px);margin-top:var(--s6);text-align:center;color:var(--muted);font-size:13.5px}
footer .foot-brand{display:block;font-size:20px;font-weight:900;color:var(--ink);margin-bottom:4px}
footer .foot-note{margin:0 0 var(--s4)}
footer .foot-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 var(--s4)}
footer .foot-legal a{display:inline-block;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);text-decoration:none;font-weight:600}
footer .foot-legal a:hover{border-color:var(--brand);color:var(--brand)}
footer .foot-legal .sep{display:none}
footer .foot-copy{font-size:12.5px;opacity:.8}
@media(min-width:900px){footer{padding-bottom:var(--s7)}body{padding-bottom:0}}

/* ===== the theme TRAITS (2026-09-25, the 10 store styles after refero.design — .memory/project-store-styles-refero.md).
   lp-themes.js attrs() prints them on <body> only when a theme or the Design tab asks; no attribute = today's look.
   Store-only surfaces live at the end of framework-store/css/store.css. ===== */
/* elevation="flat": no shadow anywhere (ARKET · MAKR · COS · Nike · IKEA — "never add shadows or elevation") */
[data-elevation="flat"]{--shadow:none;--shadow-sm:none;--shadow-lg:none}
[data-elevation="flat"] .btn,[data-elevation="flat"] .btn:hover,[data-elevation="flat"] .sticky-cta,[data-elevation="flat"] .sticky-cta .btn,[data-elevation="flat"] .order-form,[data-elevation="flat"] .vopt.active,[data-elevation="flat"] .lp-offer .btn{box-shadow:none}
[data-elevation="flat"] .btn-pulse{animation:none}
/* border="hairline": every card and every section sits on a 1px --line rule (the gallery wall) */
[data-border="hairline"] .review,[data-border="hairline"] .badge,[data-border="hairline"] .order-form,[data-border="hairline"] .lp-faq .faq,[data-border="hairline"] .gb,[data-border="hairline"] .steps li,[data-border="hairline"] .offers .offer,[data-border="hairline"] .ben-pic,[data-border="hairline"] .promo-pic{border:1px solid var(--line)}
[data-border="hairline"] main > .section + .section,[data-border="hairline"] .container > .section + .section{border-top:1px solid var(--line)}
[data-border="hairline"] footer{border-top:1px solid var(--line)}
/* border="none": no rule around anything — whitespace separates (COS · Nike · Glossier) */
[data-border="none"] .review,[data-border="none"] .badge,[data-border="none"] .order-form,[data-border="none"] .lp-faq .faq,[data-border="none"] .gb,[data-border="none"] .steps li,[data-border="none"] .offers .offer,
[data-border="none"] .lp-features[data-layout="grid"] .features li,[data-border="none"] .lp-features[data-layout="icons"] .features li,[data-border="none"] .lp-specs[data-layout="cards"] .specs div{border-color:transparent}
/* labels="upper": section titles, badges and the announcement bar become small uppercase tracked labels (ARKET · COS ·
   Everlane · Glossier · Peak). Arabic has no capitals and tracking breaks the joined letters — RTL keeps 0 spacing. */
[data-labels="upper"] .section > h2{font-size:clamp(13px,1.3vw,15px);font-weight:600;text-transform:uppercase;letter-spacing:.14em;line-height:1.5}
[data-labels="upper"] .topbar,[data-labels="upper"] .vopt-badge,[data-labels="upper"] .offers .ribbon,[data-labels="upper"] .save,[data-labels="upper"] .eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:11.5px}
[dir="rtl"] [data-labels="upper"] .section > h2{font-size:clamp(16px,1.6vw,18px);font-weight:700;letter-spacing:0}
[dir="rtl"] [data-labels="upper"] .topbar,[dir="rtl"] [data-labels="upper"] .vopt-badge,[dir="rtl"] [data-labels="upper"] .offers .ribbon,[dir="rtl"] [data-labels="upper"] .save,[dir="rtl"] [data-labels="upper"] .eyebrow{letter-spacing:0;font-size:13px}
/* links="underline": text links are underlined words, the legal pills become plain links (MAKR · Everlane) */
[data-links="underline"] .rich a,[data-links="underline"] footer a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
[data-links="underline"] footer .foot-legal a{background:none;border:0;border-radius:0;padding:4px 6px;font-weight:400;color:var(--ink)}
[data-links="underline"] footer .foot-legal a:hover{color:var(--ink);text-decoration-thickness:2px}
/* on-brand="dark": the brand is a LIGHT fill (Glossier / IKEA yellow, Kalstore mustard) — dark text on it, and every
   place that painted TEXT in the brand colour paints it in ink (yellow on white is unreadable) */
[data-on-brand="dark"] .btn:not(.secondary):not(.wa):not(.pd-buy),[data-on-brand="dark"] .btn:not(.secondary):not(.wa):not(.pd-buy):hover,[data-on-brand="dark"] .topbar:not([data-style="dark"]):not([data-style="soft"]),[data-on-brand="dark"] .vopt-badge,[data-on-brand="dark"] .stepn,[data-on-brand="dark"] .ben-n,[data-on-brand="dark"] .trust-ic,[data-on-brand="dark"] .lp-marquee,[data-on-brand="dark"] .btn.ghost:hover{color:var(--ink)}
[data-on-brand="dark"] .price,[data-on-brand="dark"] .summary .total,[data-on-brand="dark"] .vopt-price,[data-on-brand="dark"] .vstep-total strong,[data-on-brand="dark"] .sticky-cta .mini-price,[data-on-brand="dark"] .btn.ghost,[data-on-brand="dark"] .features li::before,[data-on-brand="dark"] .review .ravatar-i,[data-on-brand="dark"] footer .foot-legal a:hover,
[data-on-brand="dark"] .lp-faq summary::after,[data-on-brand="dark"] .offers .oprice,[data-on-brand="dark"] .stats b,[data-on-brand="dark"] .badge .ic,[data-on-brand="dark"] .gb .ic,[data-on-brand="dark"] .form-badges .ic,[data-on-brand="dark"] .tl-dot,[data-on-brand="dark"] .tl-when,[data-on-brand="dark"] .lp-offer .btn,[data-on-brand="dark"] .stepn.ico .sic,[data-on-brand="dark"] .form-product .fp-price,[data-on-brand="dark"] .eyebrow.tint,[data-on-brand="dark"] .bn-txt .eyebrow,[data-on-brand="dark"] .promo-txt .eyebrow,[data-on-brand="dark"] .ft-txt .eyebrow{color:var(--ink)}
[data-on-accent="dark"] .offers .ribbon{color:var(--ink)}
/* a theme that declares its border system also draws the small controls with its own --radius (a 0-radius style kept
   10-12px rounded fields, FAQ rows and badges); pill themes keep pill buttons (lp-themes.js css()) */
[data-border] .lp-faq .faq,[data-border] .field input,[data-border] .field select,[data-border] .field textarea,[data-border] .btn.sm,[data-border] .vopt-badge,[data-border] .vopt,[data-border] .vstep{border-radius:var(--radius)}
/* weight="light": quiet type (ARKET · MAKR · COS · Everlane · Kalstore never go above 400–500). Headings, section titles,
   product names and the hero title at 500; prices and buttons keep their weight so the money still pops. Tajawal has a
   500 file (Arabic never drops to 300); Inter has none, so the browser takes its 400. */
[data-weight="light"] h1,[data-weight="light"] h2,[data-weight="light"] h3,[data-weight="light"] .hero h1,[data-weight="light"] .section h2,[data-weight="light"] .section > h2,[data-weight="light"] .order-form h3,[data-weight="light"] .lp-faq summary,[data-weight="light"] .review b,[data-weight="light"] footer .foot-brand,[data-weight="light"] .steps li b,[data-weight="light"] .ben-txt h3{font-weight:500}
[dir="rtl"] [data-weight="light"] .section > h2{font-weight:500}   /* beats the RTL small-caps title (700) */
