/*
 * CONNECTED storefront — ported from the approved prototype
 * (PROJECTS/CONNECTED-Storefront-Prototype/index.html). Tokens: tokens.css (--cx-*).
 * Section 1: neutral resets so Blocksy defaults don't fight the prototype styles (zero-specificity :where()).
 * Section 2: prototype rules (selectors unchanged; var(--x) → var(--cx-x)).
 * Section 3: WordPress-specific additions (native <dialog> drawers/modals, pagination, disabled ordering).
 */

/* ---------- 1. Resets ---------- */
:where(body.cx) { background: var(--cx-bg); color: var(--cx-text); font-family: var(--cx-font); font-size: var(--cx-t-base); line-height: 1.7; font-weight: 400; overflow-x: clip; }
:where(body.cx) a { color: inherit; text-decoration: none; }
:where(body.cx) a:hover { color: inherit; }
:where(body.cx) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; min-height: 0; border-radius: 0; box-shadow: none; text-align: inherit; }
:where(body.cx) input, :where(body.cx) select, :where(body.cx) textarea { font: inherit; color: var(--cx-text); }
:where(body.cx) h1, :where(body.cx) h2, :where(body.cx) h3, :where(body.cx) h4 { text-wrap: balance; line-height: 1.35; margin: 0; font-weight: 700; color: inherit; font-size: inherit; }
:where(body.cx) p { margin: 0 0 1em; }
:where(body.cx) img { max-width: 100%; height: auto; }
:where(body.cx) fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:where(body.cx) dialog { color: var(--cx-text); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.cx { background: var(--cx-bg); }
.cx [hidden] { display: none !important; }
body.cx #main-container { display: block; min-height: 0; overflow: visible; }
body.cx :focus-visible { outline: 2px solid var(--cx-brand); outline-offset: 2px; border-radius: 6px; }
.cx .num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.cx .wrap { max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cx .skip-link:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 10px; clip: auto; width: auto; height: auto; }

/* ---------- 2. Prototype ---------- */
:focus-visible{outline:2px solid var(--cx-brand);outline-offset:2px;border-radius:6px}
.num{font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.sec{padding-block:36px}
@media(min-width:900px){.sec{padding-block:60px}}
.sec-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.sec-head h2{font-size:22px}
@media(min-width:900px){.sec-head h2{font-size:28px}}
.sec-head p{margin:2px 0 0;color:var(--cx-muted);font-size:var(--cx-t-sm)}
.link-more{color:var(--cx-brand);font-weight:700;white-space:nowrap;font-size:var(--cx-t-sm)}
.ribbon{background:var(--cx-ink);color:var(--cx-on-dark-2);font-size:var(--cx-t-xs)}
.ribbon .wrap{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-block:6px}
.ribbon b{color:var(--cx-on-dark);font-weight:700}
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:60;background:var(--cx-bg);border-bottom:1px solid var(--cx-line);transition:transform .22s ease;will-change:transform}
.hdr.hide{transform:translateY(calc(-100% - env(safe-area-inset-top,0px) - 2px))}
.hdr-row{display:flex;align-items:center;gap:12px;height:var(--cx-hdr-h)}
.logo{display:flex;align-items:center;flex:none}
.logo img{height:24px;width:auto;display:block}
@media(min-width:900px){.logo img{height:28px}}
.nav{display:none;gap:2px;margin-inline-start:16px}
.nav a{padding:8px 12px;border-radius:8px;color:var(--cx-muted);font-weight:500;font-size:var(--cx-t-sm)}
.nav a:hover{color:var(--cx-text);background:var(--cx-soft)}
.nav a.on{color:var(--cx-brand);background:var(--cx-tint)}
.search:not(body){position:relative;flex:1}
.search:not(body) input{width:100%;height:44px;border:1px solid var(--cx-line);background:var(--cx-soft);border-radius:999px;padding-inline:42px 16px;outline:none;font-size:16px}
.search:not(body) input:focus{border-color:var(--cx-brand);background:var(--cx-bg)}
.search:not(body) svg{position:absolute;inset-inline-start:14px;top:13px;width:18px;height:18px;color:var(--cx-muted);pointer-events:none}
.search-d{display:none;max-width:360px;margin-inline-start:auto}
.hdr-actions{display:flex;gap:2px;margin-inline-start:auto}
.icon-btn{position:relative;width:var(--cx-tap);height:var(--cx-tap);border-radius:12px;display:grid;place-items:center}
.icon-btn:hover{background:var(--cx-soft)}
.icon-btn svg{width:23px;height:23px}
.badge-count{position:absolute;top:5px;inset-inline-end:3px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--cx-brand);color:#fff;font-size:11px;line-height:18px;font-weight:700;text-align:center}
.badge-count[data-n="0"]{display:none}
.msearch{padding-bottom:10px}
@media(min-width:900px){.nav{display:flex}.search-d{display:block}.hdr-actions{margin-inline-start:0}.m-only{display:none!important}.hdr .msearch{display:none}}
.bnav{position:fixed;inset:auto 0 0;z-index:58;background:var(--cx-bg);border-top:1px solid var(--cx-line);display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);transition:transform .2s}
.bnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;height:var(--cx-bnav-h);font-size:11.5px;color:var(--cx-muted);position:relative;font-weight:500}
.bnav a svg{width:23px;height:23px}
.bnav a.on{color:var(--cx-brand);font-weight:700}
.bnav .badge-count{top:4px;inset-inline-end:calc(50% - 24px)}
@media(min-width:900px){.bnav{display:none}}
main{padding-bottom:calc(var(--cx-bnav-h) + 16px + env(safe-area-inset-bottom,0px))}
body.has-sbar main{padding-bottom:calc(var(--cx-bnav-h) + var(--cx-sbar-h) + 20px + env(safe-area-inset-bottom,0px))}
@media(min-width:900px){main{padding-bottom:0}body.has-sbar main{padding-bottom:96px}}
body.kb .bnav,body.kb .sbar{transform:translateY(200%)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding-inline:22px;border-radius:var(--cx-r-btn);font-weight:700;font-size:var(--cx-t-base);transition:background .15s;white-space:nowrap}
.btn svg{width:18px;height:18px;flex:none}
.btn-p{background:var(--cx-brand);color:#fff}
.btn-p:hover{background:var(--cx-brand-d)}
.btn-o{border:1.5px solid var(--cx-brand);color:var(--cx-brand);background:var(--cx-bg)}
.btn-o:hover{background:var(--cx-tint)}
.btn-w{border:1.5px solid rgba(255,255,255,.5);color:#fff}
.btn-w:hover{background:rgba(255,255,255,.08)}
.btn-sm{height:40px;padding-inline:14px;font-size:var(--cx-t-sm)}
.btn-block{width:100%}
.btn[disabled]{background:var(--cx-line);color:var(--cx-muted);border-color:var(--cx-line);cursor:not-allowed}
.tag{display:inline-flex;align-items:center;gap:4px;height:22px;padding-inline:7px;border-radius:6px;font-size:11.5px;font-weight:700;white-space:nowrap;line-height:1}
.tag-sale{background:var(--cx-sale);color:#fff}
.tag-vid{background:rgba(23,18,31,.78);color:#fff}
.tag-vid svg{width:9px;height:9px}
.tag-ob{background:#FFF1D6;color:#7A4E00}
.tag-new{background:var(--cx-tint);color:var(--cx-brand-d)}
.tag-demo{background:#EEF2F7;color:#4A5568;font-weight:500}
.stock{display:inline-flex;align-items:center;gap:6px;font-size:var(--cx-t-xs);color:var(--cx-muted);font-weight:500}
.stock::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--cx-ok);flex:none}
.stock.low::before{background:var(--cx-warn)}
.stock.out::before{background:#A0A0A8}
.hero{background:var(--cx-ink);color:var(--cx-on-dark);overflow:hidden;position:relative}
.hero::after{content:"";position:absolute;width:520px;height:520px;inset-inline-end:-120px;top:-160px;background:radial-gradient(closest-side,rgba(120,82,169,.45),transparent);pointer-events:none}
.hero .wrap{display:grid;gap:26px;padding-block:28px 34px;position:relative;z-index:1}
@media(min-width:900px){.hero .wrap{grid-template-columns:1.05fr .95fr;align-items:center;padding-block:56px}}
.hero-media{position:relative;max-width:400px;width:100%;justify-self:center}
.hero-media img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:20px;display:block;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.hero-media .play-pill{position:absolute;inset-inline-start:14px;bottom:14px;display:flex;align-items:center;gap:8px;background:rgba(23,18,31,.82);border:1px solid var(--cx-ink-line);color:#fff;padding:7px 14px 7px 8px;border-radius:999px;font-size:var(--cx-t-sm);font-weight:700}
.play-dot{width:30px;height:30px;border-radius:50%;background:var(--cx-brand);display:grid;place-items:center}
.play-dot svg{width:12px;height:12px;margin-inline-start:2px}
.hero-eyebrow{color:var(--cx-on-dark-2);font-size:var(--cx-t-sm);display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hero h1{font-size:30px;margin:12px 0 8px;color:#fff;line-height:1.3}
.hero h1 .en{display:block;font-size:.66em;font-weight:500;color:var(--cx-on-dark-2);margin-top:6px}
@media(min-width:900px){.hero h1{font-size:46px}}
.hero p.lead{color:var(--cx-on-dark-2);max-width:46ch;margin:0 0 16px}
.hero-price{display:flex;align-items:baseline;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.hero-price .now{font-weight:700;font-size:30px;color:#fff}
.hero-price .now small{font-size:16px;margin-inline-start:4px}
.hero-price .was{color:var(--cx-on-dark-2);text-decoration:line-through}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-specs{display:flex;gap:20px;margin-top:22px;flex-wrap:wrap;color:var(--cx-on-dark-2);font-size:var(--cx-t-xs)}
.hero-specs b{display:block;color:#fff;font-size:17px}
.trust{border-bottom:1px solid var(--cx-line)}
.trust .wrap{display:flex;gap:10px;overflow-x:auto;padding-block:14px;scrollbar-width:none}
.trust .wrap::-webkit-scrollbar{display:none}
.trust-i{flex:1 0 auto;display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:var(--cx-soft);min-width:max-content}
.trust-i svg{width:22px;height:22px;color:var(--cx-brand);flex:none}
.trust-i b{display:block;font-size:var(--cx-t-sm);line-height:1.4}
.trust-i span{font-size:var(--cx-t-xs);color:var(--cx-muted)}
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(min-width:900px){.cats{grid-template-columns:repeat(6,1fr);gap:14px}}
.cat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 6px 14px;border-radius:var(--cx-r-card);background:var(--cx-soft);text-align:center;transition:background .15s}
.cat:hover{background:var(--cx-tint)}
.cat .ic{width:52px;height:52px;border-radius:14px;background:var(--cx-bg);display:grid;place-items:center;color:var(--cx-brand)}
.cat .ic svg{width:28px;height:28px}
.cat b{font-size:var(--cx-t-sm);line-height:1.35}
.cat span{font-size:var(--cx-t-xs);color:var(--cx-muted)}
.vsec{background:linear-gradient(180deg,var(--cx-tint) 0%,var(--cx-bg) 100%)}
.vtitle{display:flex;align-items:center;gap:10px}
.vtitle .ic{width:38px;height:38px;border-radius:10px;background:var(--cx-brand);display:grid;place-items:center;color:#fff;flex:none}
.vtitle .ic svg{width:16px;height:16px;margin-inline-start:2px}
.vrow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,46%);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}
@media(min-width:700px){.vrow{grid-auto-columns:minmax(190px,23%)}}
@media(min-width:1100px){.vrow{grid-auto-columns:calc((100% - 60px)/6)}}
.vgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(min-width:700px){.vgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){.vgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
.vcard{scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;min-width:0}
.vposter{position:relative;aspect-ratio:9/16;border-radius:var(--cx-r-card);overflow:hidden;background:var(--cx-ink);display:block;width:100%}
.vposter img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.vposter:hover img{transform:scale(1.03)}
.vposter::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(23,18,31,.9))}
.vposter .vp-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;z-index:1;color:var(--cx-ink)}
.vposter .vp-play svg{width:18px;height:18px;margin-inline-start:3px}
.vposter .vp-t{position:absolute;inset-inline:12px;bottom:12px;z-index:1;color:#fff;font-weight:700;font-size:var(--cx-t-sm);line-height:1.45;text-align:start}
.vposter .vp-k{position:absolute;top:10px;inset-inline-start:10px;z-index:1}
.vprod{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--cx-line);border-radius:12px;background:var(--cx-bg)}
.vprod img{width:42px;height:42px;border-radius:8px;object-fit:cover;flex:none}
.vprod .t{min-width:0;flex:1;line-height:1.35}
.vprod .t b{display:block;font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vprod .t span{font-size:12.5px;font-weight:700;color:var(--cx-brand)}
.vprod .go{height:36px;padding-inline:12px;border-radius:9px;background:var(--cx-brand);color:#fff;font-size:12.5px;font-weight:700;flex:none;display:grid;place-items:center}
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
@media(min-width:700px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}}
@media(min-width:1100px){.pgrid.g4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pcard{display:flex;flex-direction:column;min-width:0}
.pimg{position:relative;aspect-ratio:4/5;border-radius:var(--cx-r-card);overflow:hidden;background:var(--cx-soft);display:block}
.pimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.pcard:hover .pimg img{transform:scale(1.03)}
.pimg .tl{position:absolute;top:8px;inset-inline-start:8px;display:flex;gap:4px}
.pimg .vflag{position:absolute;bottom:8px;inset-inline-end:8px}
.pbody{padding-top:10px;display:flex;flex-direction:column;gap:3px;flex:1}
.pbrand{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--cx-muted);font-weight:600}
.pname{font-size:15px;line-height:1.4;font-weight:500;color:var(--cx-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.pprice{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:2px}
.pprice .now{font-size:18px;font-weight:700}
.pprice .now small{font-size:12.5px;margin-inline-start:3px}
.pprice .was{font-size:13px;color:var(--cx-muted);text-decoration:line-through}
.pcard .stock{margin-top:2px}
.pcta{margin-top:auto;height:44px;border-radius:10px;background:var(--cx-brand);color:#fff;font-weight:700;font-size:var(--cx-t-sm);display:flex;align-items:center;justify-content:center;gap:6px;width:100%}
.pcard .stock{margin-bottom:10px}
.pcta:hover{background:var(--cx-brand-d)}
.pcta.dis{background:var(--cx-soft);color:var(--cx-muted);pointer-events:none}
.ph{display:grid;place-items:center;background:var(--cx-soft);color:#B5ADC2;width:100%;height:100%}
.ph svg{width:40%;height:40%}
.ph-note{position:absolute;bottom:8px;inset-inline:8px;text-align:center;font-size:11px;color:var(--cx-muted)}
.ob-banner{display:grid;gap:20px;border-radius:20px;background:var(--cx-ink);color:var(--cx-on-dark);overflow:hidden}
@media(min-width:800px){.ob-banner{grid-template-columns:1fr 1fr;align-items:center}}
.ob-banner .txt{padding:26px}
.ob-banner h3{font-size:24px;color:#fff;margin:10px 0 8px}
.ob-banner p{color:var(--cx-on-dark-2);margin:0 0 14px}
.ob-banner ul{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:6px;color:var(--cx-on-dark);font-size:var(--cx-t-sm)}
.ob-banner li::before{content:"✓";color:#C9B3EA;margin-inline-end:8px}
.ob-banner .imgs{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 26px 26px}
@media(min-width:800px){.ob-banner .imgs{padding:26px}}
.ob-banner .imgs a{border-radius:12px;overflow:hidden;position:relative;aspect-ratio:4/5}
.ob-banner .imgs img{width:100%;height:100%;object-fit:cover}
.ob-banner .imgs span{position:absolute;bottom:8px;inset-inline-start:8px}
.revs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,80%);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
@media(min-width:900px){.revs{grid-auto-flow:row;grid-template-columns:repeat(4,1fr)}}
.rev{scroll-snap-align:start;border:1px solid var(--cx-line);border-radius:var(--cx-r-card);padding:18px;display:flex;flex-direction:column;gap:10px}
.rev p{margin:0}
.rev .who{display:flex;align-items:center;gap:10px;margin-top:auto;font-size:var(--cx-t-sm);color:var(--cx-muted)}
.rev .av{width:32px;height:32px;border-radius:50%;background:var(--cx-tint);color:var(--cx-brand-d);display:grid;place-items:center;font-weight:700}
.src-note{font-size:var(--cx-t-xs);color:var(--cx-muted);margin:12px 0 0}
.ftr{background:var(--cx-ink);color:var(--cx-on-dark-2);font-size:var(--cx-t-sm)}
.ftr .wrap{display:grid;gap:28px;padding-block:40px}
@media(min-width:800px){.ftr .wrap{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.ftr h4{color:#fff;margin:0 0 12px;font-size:15px}
.ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.ftr ul a{display:block;padding-block:4px}
.ftr a:hover{color:#fff}
.ftr .logo img{height:26px;margin-bottom:12px}
.ftr .copy{border-top:1px solid var(--cx-ink-line);padding-block:16px;font-size:var(--cx-t-xs)}
.crumbs{display:flex;gap:6px;font-size:var(--cx-t-sm);color:var(--cx-muted);padding-top:16px;flex-wrap:wrap}
.crumbs a:hover{color:var(--cx-brand)}
.shop-head{padding-block:10px 16px}
.shop-head h1{font-size:var(--cx-t-xl)}
.shop-head p{margin:4px 0 0;color:var(--cx-muted)}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{height:40px;padding-inline:14px;border-radius:999px;border:1px solid var(--cx-line);font-size:var(--cx-t-sm);font-weight:500;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;background:var(--cx-bg)}
.chip:hover{border-color:var(--cx-brand)}
.chip.on{background:var(--cx-ink);color:#fff;border-color:var(--cx-ink)}
.chip .n{font-size:11.5px;opacity:.7}
.shop{display:grid;gap:24px;padding-block:16px 48px}
@media(min-width:960px){.shop{grid-template-columns:250px 1fr}}
.filters{display:none}
@media(min-width:960px){.filters{display:block;position:sticky;top:84px;align-self:start}}
.fgroup{border-bottom:1px solid var(--cx-line);padding-block:16px}
.fgroup:first-child{padding-top:0}
.fgroup h4{margin:0 0 8px;font-size:var(--cx-t-sm)}
.fcheck{display:flex;align-items:center;gap:10px;min-height:38px;font-size:var(--cx-t-sm);cursor:pointer}
.fcheck input{width:20px;height:20px;accent-color:var(--cx-brand)}
.fcheck .n{margin-inline-start:auto;font-size:var(--cx-t-xs);color:var(--cx-muted)}
.price-in{display:flex;gap:8px;align-items:center}
.price-in input{width:100%;height:42px;border:1px solid var(--cx-line);border-radius:8px;padding-inline:10px;font-size:16px}
.price-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.price-presets button{font-size:var(--cx-t-xs);padding:6px 10px;border-radius:999px;background:var(--cx-soft)}
.price-presets button:hover{background:var(--cx-tint)}
.toolbar{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap}
.toolbar .count{color:var(--cx-muted);font-size:var(--cx-t-sm)}
.toolbar select{height:42px;border:1px solid var(--cx-line);border-radius:9px;padding-inline:10px;background:var(--cx-bg);font-size:var(--cx-t-sm)}
.fbtn{display:inline-flex;align-items:center;gap:6px;height:42px;padding-inline:14px;border:1px solid var(--cx-line);border-radius:9px;font-weight:500;font-size:var(--cx-t-sm)}
.fbtn svg{width:16px;height:16px}
@media(min-width:960px){.fbtn{display:none}}
.active-f{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.active-f button{display:inline-flex;align-items:center;gap:6px;font-size:var(--cx-t-xs);padding:6px 10px;border-radius:999px;background:var(--cx-tint);color:var(--cx-brand-d)}
.empty{padding:44px 16px;text-align:center;color:var(--cx-muted);border:1px dashed var(--cx-line);border-radius:var(--cx-r-card)}
.pd{display:grid;gap:22px;padding-block:10px 32px}
@media(min-width:960px){.pd{grid-template-columns:1fr 1fr;gap:44px;align-items:start}}
.gal{display:grid;gap:10px;min-width:0}
@media(min-width:960px){.gal{position:sticky;top:84px}}
.gal-main{position:relative;aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:var(--cx-soft);max-height:70vh;margin-inline:auto;width:100%}
.gal-main img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs{display:flex;gap:8px;overflow-x:auto;max-width:100%;min-width:0;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.thumbs::-webkit-scrollbar{display:none}
.thumb{flex:0 0 auto;scroll-snap-align:start}
.gal-main{touch-action:pan-y}
.gal-main img{transition:opacity .18s ease}
.gal-main img.swap{opacity:.25}
.thumb{width:68px;aspect-ratio:4/5;border-radius:10px;overflow:hidden;border:2px solid transparent;position:relative;background:var(--cx-soft)}
.thumb.on{border-color:var(--cx-brand)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb .tv{position:absolute;inset:0;background:rgba(23,18,31,.55);display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700;align-content:center;gap:2px}
.thumb .tv svg{width:16px;height:16px;justify-self:center}
.pinfo{display:flex;flex-direction:column;gap:14px;min-width:0}
.pinfo h1{font-size:24px;font-weight:700;line-height:1.3}
@media(min-width:960px){.pinfo h1{font-size:30px}}
.price-big{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.price-big .now{font-size:30px;font-weight:700}
.price-big .now small{font-size:16px;margin-inline-start:4px}
.price-big .was{font-size:17px;color:var(--cx-muted);text-decoration:line-through}
.top-cta{display:grid;grid-template-columns:1fr auto;gap:10px}
.top-cta .btn-o{padding-inline:16px}
.assure{display:grid;gap:8px;padding:14px;border-radius:12px;background:var(--cx-soft);font-size:var(--cx-t-sm)}
.assure div{display:flex;gap:10px;align-items:flex-start}
.assure svg{width:18px;height:18px;color:var(--cx-brand);flex:none;margin-top:3px}
.pvideo{border-radius:16px;border:1px solid var(--cx-line);padding:12px;display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;background:linear-gradient(270deg,var(--cx-bg),var(--cx-tint))}
.pvideo .vposter{border-radius:12px}
.pvideo .vposter .vp-play{width:38px;height:38px}
.pvideo .vposter .vp-play svg{width:14px;height:14px}
.pvideo h3{font-size:var(--cx-t-md);margin:6px 0 2px}
.pvideo p{margin:0 0 10px;color:var(--cx-muted);font-size:var(--cx-t-sm)}
.blk h3{font-size:var(--cx-t-md);margin-bottom:10px}
.feats{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.feats li{display:flex;gap:10px}
.feats li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cx-brand);margin-top:11px;flex:none}
details.specs{border:1px solid var(--cx-line);border-radius:12px;overflow:hidden}
details.specs summary{padding:14px 16px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;min-height:var(--cx-tap);align-items:center}
details.specs summary::-webkit-details-marker{display:none}
details.specs summary::after{content:"+";color:var(--cx-muted);font-size:20px}
details.specs[open] summary::after{content:"−"}
.spec-tbl{width:100%;border-collapse:collapse;font-size:var(--cx-t-sm)}
.spec-tbl th,.spec-tbl td{padding:10px 16px;border-top:1px solid var(--cx-line);text-align:start;vertical-align:top}
.spec-tbl th{width:42%;color:var(--cx-muted);font-weight:500}
.notice{display:flex;gap:10px;padding:12px 14px;border-radius:12px;font-size:var(--cx-t-sm);background:#FFF8EC;color:#6B4A00}
.notice svg{width:18px;height:18px;flex:none;margin-top:2px}
.oform{border:1.5px solid var(--cx-form-line);background:var(--cx-form-bg);border-radius:18px;padding:18px 16px;scroll-margin-top:90px}
@media(min-width:700px){.oform{padding:22px}}
.oform-h{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.oform-h .ic{width:36px;height:36px;border-radius:10px;background:var(--cx-brand);color:#fff;display:grid;place-items:center;flex:none}
.oform-h .ic svg{width:19px;height:19px}
.oform-h h2{font-size:19px;color:var(--cx-brand-d)}
.oform-h span{display:block;font-size:var(--cx-t-xs);color:var(--cx-muted);font-weight:500}
.field{display:grid;gap:5px;margin-bottom:12px;scroll-margin-top:110px;min-width:0}
.field label,.field .lbl{font-size:var(--cx-t-sm);font-weight:700}
.opt-row{display:flex;gap:8px;flex-wrap:wrap}
.opt-row button{height:46px;padding-inline:14px;border-radius:11px;border:1.5px solid var(--cx-line);font-weight:500;display:inline-flex;align-items:center;gap:8px;background:#fff}
.opt-row button .sw{width:18px;height:18px;border-radius:50%;border:1px solid var(--cx-line)}
.opt-row button.on{border-color:var(--cx-brand);box-shadow:0 0 0 2px rgba(120,82,169,.18)}
.sbar{position:fixed;inset-inline:0;bottom:calc(var(--cx-bnav-h) + env(safe-area-inset-bottom,0px));z-index:57;background:rgba(255,255,255,.97);border-top:1px solid var(--cx-line);padding-block:8px;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));display:flex;align-items:center;gap:8px;box-shadow:0 -6px 18px rgba(23,18,31,.06);transition:transform .2s ease,opacity .2s;height:var(--cx-sbar-h)}
.sbar.off{transform:translateY(calc(100% + var(--cx-bnav-h)));opacity:0;pointer-events:none}
.sbar .pr{display:flex;flex-direction:column;line-height:1.25;min-width:0;margin-inline-end:auto}
.sbar .pr b{font-size:17px;white-space:nowrap}
.sbar .pr span{font-size:11px;color:var(--cx-muted);white-space:nowrap}
.sbar .btn{height:46px;padding-inline:16px;font-size:var(--cx-t-sm)}
.sbar .add{width:46px;padding:0;border:1.5px solid var(--cx-brand);color:var(--cx-brand);background:#fff}
.sbar .add svg{width:21px;height:21px}
@media(min-width:900px){.sbar{bottom:16px;inset-inline:auto;left:50%;transform:translateX(-50%);width:min(560px,calc(100% - 32px));border:1px solid var(--cx-line);border-radius:16px;box-shadow:var(--cx-shadow)}.sbar.off{transform:translate(-50%,140%)}}
.vhero{background:var(--cx-ink);color:var(--cx-on-dark)}
.vhero .wrap{padding-block:30px}
.vhero h1{font-size:30px;color:#fff;margin-top:12px}
@media(min-width:900px){.vhero h1{font-size:40px}}
.vhero p{color:var(--cx-on-dark-2);margin:8px 0 18px}
.vhero .search:not(body){max-width:520px}
.vhero .search:not(body) input{background:var(--cx-ink-2);border-color:var(--cx-ink-line);color:#fff;height:50px}
.vhero .search:not(body) input::placeholder{color:var(--cx-on-dark-2)}
.vhero .search:not(body) svg{top:16px}
/* ---------- 3. WordPress additions ---------- */
.ribbon .wrap { justify-content: center; text-align: center; }
.nav button { padding: 8px 12px; border-radius: 8px; color: var(--cx-muted); font-weight: 500; font-size: var(--cx-t-sm); }
.nav button:hover { color: var(--cx-text); background: var(--cx-soft); }
.search:not(body) input { -webkit-appearance: none; appearance: none; box-shadow: none; margin: 0; }
.search:not(body) svg { top: 50% !important; transform: translateY(-50%); }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero h1 { font-size: 30px; }
@media (min-width: 900px) { .hero h1 { font-size: 46px; } }
.sec-head h2 { font-size: 22px; }
@media (min-width: 900px) { .sec-head h2 { font-size: 28px; } }
.vprod .t span { display: block; }
.bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: var(--cx-bnav-h); font-size: 11.5px; color: var(--cx-muted); position: relative; font-weight: 500; width: 100%; }
.bnav button svg { width: 23px; height: 23px; }
.ftr ul button { display: block; padding-block: 4px; color: inherit; font-size: inherit; text-align: start; }
.ftr ul button:hover { color: #fff; }
.ftr p { color: var(--cx-on-dark-2); }
.btn { text-decoration: none; }
.btn-p, .btn-p:hover { color: #fff; }
.btn-w, .btn-w:hover { color: #fff; }
.btn-o:hover { color: var(--cx-brand); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--cx-line); color: var(--cx-muted); border-color: var(--cx-line); cursor: not-allowed; opacity: 1; }
.btn[disabled] svg { opacity: .8; }
.pcta, .pcta:hover { color: #fff; }
.pcta.dis { color: var(--cx-muted); }
.pimg img, .gal-main img, .thumb img, .ob-banner .imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pimg .ph, .gal-main .ph { position: absolute; inset: 0; }
.pname { color: var(--cx-text); }
.pname:hover { color: var(--cx-brand); }
.fgroup legend { margin: 0 0 8px; font-size: var(--cx-t-sm); font-weight: 700; padding: 0; }
.fgroup:first-of-type { padding-top: 0; }
.apply-price { margin-top: 10px; }
[data-autosubmit="1"] .apply-price { display: none; }
.price-presets button { font-size: var(--cx-t-xs); padding: 6px 10px; border-radius: 999px; background: var(--cx-soft); }
.active-f a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--cx-t-xs); padding: 6px 10px; border-radius: 999px; background: var(--cx-tint); color: var(--cx-brand-d); min-height: 32px; }
.sortf { display: flex; gap: 8px; align-items: center; }
.toolbar select { color: var(--cx-text); min-height: 42px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.pager .page-numbers { min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 10px; border: 1px solid var(--cx-line); display: inline-grid; place-items: center; font-weight: 500; }
.pager .current { background: var(--cx-ink); color: #fff; border-color: var(--cx-ink); }
.empty .lock-ic { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; background: var(--cx-tint); color: var(--cx-brand); }
.empty .lock-ic svg { width: 22px; height: 22px; }
.oform .locked { margin: 0; font-size: var(--cx-t-sm); color: var(--cx-muted); }
.oform-h { margin-bottom: 8px; }
.notice { margin-bottom: 0; }
.notice b { font-weight: 700; }
.linkish { color: var(--cx-brand); font-weight: 700; text-decoration: underline; font-size: inherit; }
.desc { padding: 0 16px 14px; font-size: var(--cx-t-sm); }
.spec-tbl { margin: 0; border: 0; }
.spec-tbl th, .spec-tbl td { border-inline: 0; border-bottom: 0; }
.guide-list a, .guide-list button { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--cx-line); width: 100%; min-height: 52px; }
.guide-list a:hover, .guide-list button:hover { border-color: var(--cx-brand); background: var(--cx-tint); }
.guide-list { display: grid; gap: 8px; margin: 8px 0 16px; }
.guide-list .mi { color: var(--cx-brand); display: grid; }
.muted { color: var(--cx-muted); }
.src-note { margin: 12px 0 0; }

/* Sticky purchase bar */
.sbar .btn { gap: 6px; }
.sbar .add[disabled] { background: var(--cx-soft); border-color: var(--cx-line); color: var(--cx-muted); }
.sbar .pr span { font-size: 11px; }

/* Native <dialog> drawers and modals */
dialog.drawer, dialog.modal { padding: 0; border: 0; max-width: none; max-height: none; background: transparent; overflow: visible; }
dialog::backdrop { background: rgba(23, 18, 31, .55); }
dialog.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; height: 100dvh; width: min(420px, 100%); background: var(--cx-bg); display: none; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
dialog.drawer.start { inset: 0 auto 0 0; }
[dir="rtl"] dialog.drawer { inset: 0 auto 0 0; }
[dir="rtl"] dialog.drawer.start { inset: 0 0 0 auto; }
dialog.drawer[open] { display: flex; animation: cx-in-end .25s ease; }
[dir="rtl"] dialog.drawer[open] { animation-name: cx-in-start; }
[dir="rtl"] dialog.drawer.start[open] { animation-name: cx-in-end; }
@keyframes cx-in-end { from { transform: translateX(105%); } }
@keyframes cx-in-start { from { transform: translateX(-105%); } }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--cx-line); }
.dr-head h3 { font-size: 18px; }
.dr-body { flex: 1; overflow-y: auto; padding: 4px 18px; }
.dr-foot { padding: 14px 18px; border-top: 1px solid var(--cx-line); display: grid; gap: 10px; }
.dr-foot.sticky { position: sticky; bottom: 0; background: var(--cx-bg); margin-inline: -18px; }
.close-x { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; }
.close-x:hover { background: var(--cx-soft); }
.close-x svg { width: 20px; height: 20px; }
dialog.modal { margin: auto; width: calc(100% - 32px); max-width: 880px; }
dialog.modal[open] { animation: cx-pop .2s ease; }
@keyframes cx-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
dialog.modal .box { background: var(--cx-bg); border-radius: 18px; width: 100%; max-height: calc(100dvh - 32px); overflow: auto; position: relative; margin-inline: auto; }
.del-wrap { max-height: 56vh; overflow: auto; }
.del-tbl { width: 100%; border-collapse: collapse; font-size: var(--cx-t-sm); margin: 0; border: 0; }
.del-tbl th, .del-tbl td { padding: 9px 6px; border: 0; border-bottom: 1px solid var(--cx-line); text-align: start; }
.del-tbl th { position: sticky; top: 0; background: var(--cx-bg); font-size: var(--cx-t-xs); color: var(--cx-muted); }
.vmodal .box { display: grid; grid-template-columns: 1fr; background: var(--cx-ink); color: var(--cx-on-dark); }
@media (min-width: 760px) { .vmodal .box { grid-template-columns: minmax(0, 340px) 1fr; } }
.vplayer { position: relative; aspect-ratio: 9/16; max-height: 60vh; background: #000; margin-inline: auto; width: 100%; }
.vplayer img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer .ov { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; color: #fff; font-size: var(--cx-t-sm); }
.vplayer .ov .big { width: 64px; height: 64px; border-radius: 50%; background: var(--cx-brand); display: grid; place-items: center; color: #fff; }
.vplayer .ov .big svg { width: 22px; height: 22px; margin-inline-start: 4px; }
.vside { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.vside h3 { color: #fff; font-size: 19px; }
.vside p { margin: 0; color: var(--cx-on-dark-2); font-size: var(--cx-t-sm); }
.vside .vprod { background: var(--cx-ink-2); border-color: var(--cx-ink-line); }
.vside .vprod .t b { color: #fff; }
.vside .link-more { color: #C9B3EA; }
.vclose { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; z-index: 2; }
.vclose svg { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--cx-bnav-h) + 18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--cx-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: var(--cx-t-sm); z-index: 100; opacity: 0; transition: .25s; pointer-events: none; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 96px; } }
body.cx.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Narrow phones: keep the video product row readable (price never wraps). */
.vprod .t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
	.vprod { gap: 6px; padding: 5px; }
	.vprod img { width: 34px; height: 34px; }
	.vprod .go { padding-inline: 9px; height: 34px; }
}

/* ==========================================================================
   Mobile density (< 900px). Owner review 2026-11-11: on phones the site felt
   "bigger than the screen". Desktop is unchanged.
   ========================================================================== */
@media (max-width: 899px) {
	:root { --cx-hdr-h: 54px; }
	.d-only { display: none; }

	/* Top of page: one-line ribbon, shorter header, slimmer search. */
	.ribbon .wrap { padding-block: 4px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
	.logo img { height: 22px; }
	.msearch { padding-bottom: 8px; }
	.msearch .search:not(body) input { height: 40px; }

	/* Hero: text and photo side by side, buttons and specs full width below. */
	.hero .wrap { grid-template-columns: minmax(0, 1fr) 36%; grid-template-areas: "eyebrow media" "title media" "lead media" "price media" "cta cta" "specs specs"; column-gap: 14px; row-gap: 0; padding-block: 18px 20px; align-items: start; }
	.hero-txt { display: contents; }
	.hero-eyebrow { grid-area: eyebrow; font-size: var(--cx-t-xs); gap: 6px; }
	.hero h1 { grid-area: title; font-size: 21px; margin: 8px 0 4px; }
	.hero h1 .en { font-size: .64em; margin-top: 4px; }
	.hero p.lead { grid-area: lead; font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
	.hero-price { grid-area: price; margin: 0; gap: 6px 10px; }
	.hero-price .now { font-size: 23px; }
	.hero-cta { grid-area: cta; margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.hero-cta .btn { height: 44px; padding-inline: 10px; font-size: var(--cx-t-sm); }
	.hero-specs { grid-area: specs; margin-top: 14px; gap: 18px; }
	.hero-specs b { font-size: 15px; }
	.hero-media { grid-area: media; max-width: none; align-self: center; }
	.hero-media img { border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
	.hero-media .play-pill { left: 50%; right: auto; transform: translateX(-50%); bottom: 8px; padding: 4px; gap: 0; font-size: 0; }
	.hero-media .play-pill .play-dot { width: 32px; height: 32px; }
	.hero::after { width: 320px; height: 320px; top: -120px; }

	/* Service strip and section rhythm. */
	.trust .wrap { padding-block: 10px; gap: 8px; }
	.trust-i { padding: 8px 12px; gap: 8px; }
	.trust-i svg { width: 20px; height: 20px; }
	.sec { padding-block: 26px; }
	.sec-head { margin-bottom: 12px; }
	.sec-head h2 { font-size: 19px; }
	.sec-head p { font-size: var(--cx-t-xs); }
	.vtitle .ic { width: 32px; height: 32px; }

	/* Categories: one scrollable row (works for any number of categories). */
	.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
	.cats::-webkit-scrollbar { display: none; }
	.cat { flex: 0 0 104px; padding: 12px 6px 10px; gap: 4px; scroll-snap-align: start; }
	.cat .ic { width: 42px; height: 42px; border-radius: 12px; }
	.cat .ic svg { width: 24px; height: 24px; }
	.cat b { font-size: 12.5px; }
	.cat span { font-size: 11px; }

	/* Product cards. */
	.pgrid { gap: 18px 10px; }
	.pbody { padding-top: 8px; gap: 2px; }
	.pname { font-size: 14px; }
	.pprice .now { font-size: 16.5px; }
	.pcard .stock { margin-bottom: 8px; }
	.pcta { height: 40px; font-size: 13px; }

	/* SoumaLouz banner. */
	.ob-banner .txt { padding: 20px 18px 6px; }
	.ob-banner h3 { font-size: 20px; }
	.ob-banner .imgs { padding: 0 18px 18px; }

	/* Category / search pages. */
	.crumbs { padding-top: 10px; font-size: var(--cx-t-xs); }
	.shop-head { padding-block: 4px 10px; }
	.shop-head h1 { font-size: 22px; }
	.chips .chip { height: 36px; padding-inline: 12px; }
	.shop { padding-block: 10px 36px; }
	.toolbar { margin-bottom: 12px; gap: 8px; }

	/* Product page: name and price closer to the top. */
	.pd { gap: 14px; padding-block: 6px 24px; }
	.gal-main { max-height: 38vh; aspect-ratio: auto; height: min(38vh, calc((100vw - 32px) * 1.25)); border-radius: 14px; }
	.gal-main img { object-fit: contain; }
	.thumbs { gap: 6px; }
	.thumb { width: 52px; border-radius: 8px; }
	.pinfo { gap: 10px; }
	.pinfo h1 { font-size: 20px; }
	.price-big .now { font-size: 25px; }
	.price-big .was { font-size: 15px; }
	.top-cta .btn { height: 46px; }
	.oform { padding: 14px; border-radius: 14px; }
	.oform-h h2 { font-size: 17px; }
	.pvideo { grid-template-columns: 76px 1fr; gap: 12px; padding: 10px; }
	.pvideo h3 { font-size: 15px; }

	/* Videos row (home): smaller cards and a third card peeking at the edge,
	   so it is obvious the row scrolls sideways (owner review 2026-11-11). */
	.vtitle h2 { white-space: nowrap; }
	.vrow { grid-auto-columns: 38%; gap: 10px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
	.vrow::-webkit-scrollbar { display: none; }
	.vcard { gap: 6px; }
	.vposter .vp-play { width: 40px; height: 40px; }
	.vposter .vp-play svg { width: 14px; height: 14px; }
	.vposter .vp-t { inset-inline: 8px; bottom: 8px; font-size: 12px; line-height: 1.4; }
	.vposter .vp-k { top: 6px; inset-inline-start: 6px; }
	/* Product row under each video (phone): thumbnail + price + "شوف المنتج ←".
	   The name is already in the video title, and a truncated name ("…0K 45W") helps nobody. */
	.vrow .vprod { padding: 5px 6px; gap: 8px; border-color: var(--cx-form-line); background: var(--cx-form-bg); }
	.vrow .vprod img { width: 34px; height: 34px; border-radius: 7px; }
	.vrow .vprod .t b, .vrow .vprod .go { display: none; }
	.vrow .vprod .t span { font-size: 13px; color: var(--cx-text); }
	.vrow .vprod .t::after { content: "شوف المنتج ←"; display: block; font-size: 11.5px; font-weight: 700; color: var(--cx-brand); white-space: nowrap; }

	/* Video library hero. */
	.vhero .wrap { padding-block: 20px; }
	.vhero h1 { font-size: 24px; margin-top: 8px; }
	.vhero p { margin: 4px 0 12px; font-size: var(--cx-t-sm); }
	.vhero .search:not(body) input { height: 44px; }
}

/* Cart drawer lines (all pages) */
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--cx-line);border-radius:11px;height:50px;background:#fff;justify-self:start}
.qty button{width:46px;height:100%;font-size:20px;font-weight:500}
.qty span{min-width:28px;text-align:center;font-weight:700}
.cart-line{display:flex;gap:12px;padding-block:14px;border-bottom:1px solid var(--cx-line)}
.cart-line img,.cart-line .ph{width:64px;height:80px;border-radius:10px;object-fit:cover;flex:none}
.cart-line .t{flex:1;min-width:0;display:grid;gap:4px}
.cart-line .t b{font-size:var(--cx-t-sm);font-weight:600}
.cart-line .row{display:flex;justify-content:space-between;align-items:center}
.cart-line .qty{height:38px}
.cart-line .qty button{width:36px}
.cart-line .rm{font-size:var(--cx-t-xs);color:var(--cx-muted);text-decoration:underline;justify-self:start;padding:4px 0}
.cart-line .stock { margin-top: 2px; }

/* Sold out (owner request): visible on the photo, so customers see it while scrolling */
.pcard.is-out .pimg img,.gal-main.is-out img{filter:grayscale(.3);opacity:.7}
.pcard.is-out:hover .pimg img{transform:none}
.oos-flag{position:absolute;inset-inline:0;top:50%;transform:translateY(-50%);background:rgba(23,18,31,.78);color:#fff;text-align:center;font-weight:700;font-size:14px;padding:9px 6px;letter-spacing:.2px;pointer-events:none;z-index:2}
.gal-main .oos-flag{font-size:16px;padding:12px 6px}
.opt-row button.oos{color:var(--cx-muted);text-decoration:line-through;border-style:dashed;cursor:not-allowed;opacity:.75}

/* Quantity offer («عرض: 2 قطع بـ 9.000 دج») */
.qoffer{display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:12px;background:#F3EEFA;color:#4B2A7B;font-size:var(--cx-t-sm)}
.qoffer svg{width:18px;height:18px;flex:none}
.qoffer small{color:var(--cx-muted)}

/* ---- Brand hero (Customize → نوع الواجهة = تعريف بـ CONNECTED) ---- */
.hero.brand .hero-media{max-width:440px}
.hero-art{width:100%;height:auto;display:block;overflow:visible}
.hero-steps{list-style:none;margin:0 0 20px;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.hero-steps li{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid var(--cx-ink-line);border-radius:999px;padding:6px 12px 6px 8px;font-size:var(--cx-t-sm)}
.hero-steps li svg{width:18px;height:18px;color:#cdb8ec}
.hero-steps .n{width:22px;height:22px;border-radius:50%;background:var(--cx-brand,#7852A9);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.hero-steps b{color:#fff;font-weight:600}
@media (prefers-reduced-motion:no-preference){
	.hero-art .fl-phone{animation:cxfl 6s ease-in-out infinite}
	.hero-art .fl-a{animation:cxfl 5s ease-in-out -1s infinite}
	.hero-art .fl-b{animation:cxfl 5.5s ease-in-out -2.5s infinite}
	.hero-art .fl-c{animation:cxfl 6.5s ease-in-out -3.5s infinite}
	.hero-art .van{animation:cxvan 3.2s ease-in-out infinite}
	.hero-art .road{animation:cxroad 1s linear infinite}
	.hero-art .prog{animation:cxprog 4s ease-in-out infinite;transform-box:fill-box;transform-origin:left center}
	.hero-art .tw{animation:cxtw 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
	.hero-art .tw.b{animation-delay:-1s}.hero-art .tw.c{animation-delay:-2s}
}
@keyframes cxfl{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes cxvan{0%,100%{transform:translateX(0)}50%{transform:translateX(-6px)}}
@keyframes cxroad{to{stroke-dashoffset:26}}
@keyframes cxprog{0%{transform:scaleX(.15)}70%,100%{transform:scaleX(1.6)}}
@keyframes cxtw{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}
@media (max-width:899px){
	.hero.brand .wrap{grid-template-columns:minmax(0,1fr) 40%;grid-template-areas:"eyebrow media" "title media" "lead media" "steps steps" "cta cta"}
	.hero.brand .hero-steps{grid-area:steps;margin:14px 0 0;gap:6px;flex-wrap:nowrap}
	.hero.brand .hero-steps li{flex:1;flex-direction:column;gap:4px;padding:8px 4px;border-radius:12px;font-size:11.5px;text-align:center;position:relative}
	.hero.brand .hero-steps .n{position:absolute;top:-8px;inset-inline-start:-4px;width:18px;height:18px;font-size:10.5px}
	.hero.brand .hero-media{max-width:none}
}

/* ---- WhatsApp floating button ---- */
.wa-fab{position:fixed;z-index:56;inset-inline-end:16px;bottom:calc(var(--cx-bnav-h) + 14px + env(safe-area-inset-bottom,0px));width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.22);transition:transform .15s}
.wa-fab svg{width:30px;height:30px}
.wa-fab:hover{transform:scale(1.06)}
body.has-sbar .wa-fab{bottom:calc(var(--cx-bnav-h) + var(--cx-sbar-h) + 12px + env(safe-area-inset-bottom,0px))}
@media(min-width:900px){.wa-fab,body.has-sbar .wa-fab{bottom:24px;inset-inline-end:24px;width:58px;height:58px}}

/* ---- Info modal texts ---- */
#infoBody .info-h{margin:14px 0 6px;font-size:15px}
#infoBody .info-h:first-child{margin-top:0}
#infoBody .info-list{margin:0 0 10px;padding-inline-start:20px}
#infoBody .info-list li{margin:3px 0}
#infoBody .info-wa{margin-top:12px;display:inline-flex;align-items:center;gap:8px;background:#25d366;border-color:#25d366}
#infoBody .info-wa svg{width:20px;height:20px}
#infoBody .info-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#infoBody .info-link{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--cx-line);border-radius:999px;padding:7px 12px;font-size:var(--cx-t-sm);color:var(--cx-ink)}
#infoBody .info-link svg{width:18px;height:18px}

/* Brand hero, simplified (20-11): title + one line + buttons, illustration beside. */
.hero.brand .hero-cta{margin-top:6px}
@media (max-width:899px){
	.hero.brand .wrap{grid-template-areas:"title media" "lead media" "cta cta";grid-template-columns:minmax(0,1fr) 38%;align-items:center;padding-block:16px 18px}
	.hero.brand h1{font-size:24px;margin:0 0 6px}
	.hero.brand p.lead{font-size:14px;margin:0}
	.hero.brand .hero-cta{margin-top:14px}
}
@media (min-width:900px){.hero.brand .wrap{padding-block:34px}.hero.brand .hero-media{max-width:340px}}

/* ---- «زيد للشاشة الرئيسية» card (mobile) ---- */
.a2hs{position:fixed;z-index:59;inset-inline:10px;bottom:calc(var(--cx-bnav-h) + 10px + env(safe-area-inset-bottom,0px));max-width:440px;margin-inline:auto;background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:18px;padding:10px 12px 4px;box-shadow:0 14px 40px rgba(23,18,31,.25);transform:translateY(20px);opacity:0;transition:.25s}
.a2hs.on{transform:none;opacity:1}
.a2hs-h{display:flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid var(--cx-line)}
.a2hs-h img{width:34px;height:34px;border-radius:9px;flex:none}
.a2hs .t{flex:1;min-width:0;display:grid;line-height:1.3}.a2hs .t b{font-size:14.5px;font-weight:800}.a2hs .t span{font-size:11.5px;color:var(--cx-muted)}
.a2hs .x{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--cx-soft);border:1px solid var(--cx-line);color:var(--cx-text)}.a2hs .x svg{width:18px;height:18px}
.a2hs .x:active{transform:scale(.94)}
.a2hs-steps{list-style:none;margin:0;padding:0}
.a2hs-steps li{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:13.5px;font-weight:600;line-height:1.45}
.a2hs-steps li+li{border-top:1px solid var(--cx-line)}
.a2hs-steps .n{width:24px;height:24px;flex:none;border-radius:50%;background:var(--cx-brand);color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:800}
.a2hs-steps .ic{width:19px;height:19px;color:#2F7BF6;vertical-align:-4px;margin-inline:1px}
.a2hs-steps small{font-size:11.5px;color:var(--cx-muted);font-weight:500}
.a2hs-steps small.fr{display:block}
.a2hs-go{padding:8px 0 6px}.a2hs-go .btn{width:100%;height:42px;font-size:14px}
.a2hs-ios,.a2hs-app,.a2hs.ios .a2hs-go,.a2hs.app .a2hs-go{display:none}
.a2hs.ios .a2hs-ios,.a2hs.app .a2hs-app{display:block}
@media(min-width:900px){.a2hs{display:none!important}}
body:has(.a2hs.on) .wa-fab{opacity:0;pointer-events:none}

/* Product description box — headings + bullet lists, like the old store. */
.pdesc{border:1px solid var(--cx-line);border-radius:var(--cx-r-card);padding:14px 16px;background:var(--cx-soft)}
.pdesc-h{margin:0 0 8px}
.pdesc-body{font-size:var(--cx-t-sm);line-height:1.8}
.pdesc-body h2,.pdesc-body h3,.pdesc-body h4{font-size:var(--cx-t-md);margin:14px 0 6px;font-weight:700}
.pdesc-body > :first-child,.pdesc-body > div > :first-child{margin-top:0}
.pdesc-body p{margin:0 0 6px}
.pdesc-body ul{list-style:none;padding:0;margin:0 0 8px;display:grid;gap:5px}
.pdesc-body li{position:relative;padding-inline-start:16px}
.pdesc-body li::before{content:"";position:absolute;inset-inline-start:0;top:.75em;width:6px;height:6px;border-radius:50%;background:var(--cx-brand)}
.pdesc-body img{display:none}

/* ---------- Living background (owner, 26 Nov 2026): soft glows + line drawings of what we sell ----------
   Only transform is animated (GPU, no repaint). Body is transparent so the layer shows between blocks;
   cards, header and hero keep their own backgrounds. Still for «reduce motion». */
html:has(body.cx) { background: var(--cx-bg); }
html body.cx { background: transparent; }
.cx-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; color: var(--cx-brand); }
.cx-fx > * { position: absolute; display: block; will-change: transform; }
.cx-fx .g { border-radius: 50%; width: 46vmax; height: 46vmax; opacity: .15; background: radial-gradient(circle at center, var(--cx-brand) 0, transparent 68%); animation: cxfx 28s ease-in-out infinite alternate; }
.cx-fx .g:nth-child(1) { top: -18vmax; inset-inline-start: -14vmax; }
.cx-fx .g:nth-child(2) { bottom: -20vmax; inset-inline-end: -16vmax; animation-duration: 34s; animation-delay: -9s; background: radial-gradient(circle at center, #C79BEA 0, transparent 68%); }
.cx-fx .g:nth-child(3) { top: 38%; inset-inline-start: 42%; width: 30vmax; height: 30vmax; opacity: .09; animation-duration: 40s; animation-delay: -17s; }
.cx-fx .s { width: 46px; height: 46px; opacity: .13; animation: cxfloat 26s ease-in-out infinite alternate; }
.cx-fx .s1  { top: 9%;  left: 6%;  width: 60px; height: 60px; animation-duration: 31s; }
.cx-fx .s2  { top: 14%; left: 78%; animation-duration: 27s; animation-delay: -6s; }
.cx-fx .s3  { top: 30%; left: 40%; width: 38px; height: 38px; animation-duration: 35s; animation-delay: -12s; }
.cx-fx .s4  { top: 36%; left: 88%; width: 54px; height: 54px; animation-duration: 29s; animation-delay: -3s; }
.cx-fx .s5  { top: 46%; left: 12%; width: 42px; height: 42px; animation-duration: 33s; animation-delay: -18s; }
.cx-fx .s6  { top: 58%; left: 62%; width: 50px; height: 50px; animation-duration: 38s; animation-delay: -8s; }
.cx-fx .s7  { top: 70%; left: 30%; width: 56px; height: 56px; animation-duration: 30s; animation-delay: -21s; }
.cx-fx .s8  { top: 78%; left: 84%; width: 34px; height: 34px; animation-duration: 25s; animation-delay: -4s; }
.cx-fx .s9  { top: 88%; left: 8%;  animation-duration: 36s; animation-delay: -14s; }
.cx-fx .s10 { top: 4%;  left: 46%; width: 40px; height: 40px; animation-duration: 32s; animation-delay: -10s; }
.cx-fx .s11 { top: 22%; left: 22%; width: 36px; height: 36px; animation-duration: 28s; animation-delay: -16s; }
.cx-fx .s12 { top: 64%; left: 94%; width: 40px; height: 40px; animation-duration: 34s; animation-delay: -2s; }
.cx-fx .s13 { top: 90%; left: 52%; width: 48px; height: 48px; animation-duration: 37s; animation-delay: -25s; }
.cx-fx .s14 { top: 50%; left: 50%; width: 32px; height: 32px; animation-duration: 27s; animation-delay: -11s; }
@keyframes cxfx { from { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, 4vh, 0) scale(1.12); } to { transform: translate3d(-4vw, 8vh, 0) scale(.94); } }
@keyframes cxfloat { from { transform: translate3d(0, 0, 0) rotate(-8deg); } 50% { transform: translate3d(2.5vw, -4vh, 0) rotate(6deg); } to { transform: translate3d(-2vw, -8vh, 0) rotate(14deg); } }
@media (prefers-reduced-motion: reduce) { .cx-fx > * { animation: none; } }
@media (max-width: 640px) { .cx-fx .s { width: 34px; height: 34px; } .cx-fx .s3, .cx-fx .s11, .cx-fx .s12, .cx-fx .s14 { display: none; } }

/* Video library: two filter rows (product type · video type). */
.vf { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.vf-l { flex: none; font-size: var(--cx-t-xs); font-weight: 700; color: var(--cx-muted); min-width: 46px; }
.vf .chips { flex: 1; min-width: 0; }
.vf .chip .n { color: var(--cx-muted); font-size: 12px; }
.vf + .toolbar { margin-top: 8px; }

/* 0.2.8 — chosen filters are coloured, so you see at once what is on. */
.fcheck { padding-inline: 10px; margin-inline: -10px; border-radius: 10px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.fcheck input { flex: none; margin: 0; -webkit-appearance: auto; appearance: auto; }
.fcheck:hover { background: var(--cx-soft); }
.fcheck:has(input:checked) { background: var(--cx-tint); border-color: var(--cx-brand); color: var(--cx-brand-d); font-weight: 700; }
.fcheck:has(input:checked) .n { color: var(--cx-brand-d); opacity: .8; }
.fcheck:has(input:focus-visible) { outline: 2px solid var(--cx-brand); outline-offset: 1px; }
.price-presets button.on { background: var(--cx-brand); color: #fff; font-weight: 700; }
.price-in input:not(:placeholder-shown) { border-color: var(--cx-brand); }
.tchips { margin-bottom: 14px; }
html[data-theme="dark"] .fcheck:has(input:checked) { background: rgba(180,143,230,.16); border-color: #B48FE6; color: #E4D4FA; }
html[data-theme="dark"] .fcheck:has(input:checked) .n { color: #E4D4FA; }
html[data-theme="dark"] .price-presets button.on { background: #9A72D0; color: #fff; }
html[data-theme="dark"] .price-in input:not(:placeholder-shown) { border-color: #B48FE6; }
html[data-theme="dark"] .chip.on { background: #9A72D0; border-color: #9A72D0; color: #fff; }
html[data-theme="dark"] .chip.on .n { color: #fff; opacity: .85; }

/* 0.2.9 — «آراء الزبائن» */
.stars { color: var(--cx-line); letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.stars .on { color: #E0A100; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rv-head h3 { margin: 0; }
.rv-avg { display: inline-flex; align-items: center; gap: 6px; font-size: var(--cx-t-sm); }
.rv-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.rv-list li { border: 1px solid var(--cx-line); border-radius: 12px; padding: 12px; }
.rv-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--cx-t-sm); }
.rv-meta .muted { margin-inline-start: auto; font-size: var(--cx-t-xs); }
.rv-list p { margin: 6px 0 0; line-height: 1.7; }
.rv-ok { font-size: var(--cx-t-xs); color: #11734b; background: #e8f6ee; border-radius: 99px; padding: 1px 8px; }
.rv-none { margin: 10px 0; }
.rv-write { margin-top: 12px; }
.rv-write > summary { list-style: none; display: inline-flex; cursor: pointer; }
.rv-write > summary::-webkit-details-marker { display: none; }
.rv-write[open] > summary { display: none; }
.rv-form { display: grid; gap: 4px; margin-top: 4px; }
.rv-form input:not([type=radio]), .rv-form textarea { width: 100%; border: 1px solid var(--cx-line); border-radius: 10px; padding: 10px 12px; font-size: 16px; background: var(--cx-bg); color: var(--cx-text); }
.rv-form textarea { resize: vertical; min-height: 96px; }
.rv-stars { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-stars input { position: absolute; inset-inline-start: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rv-stars label { font-size: 32px; line-height: 1; color: var(--cx-line); cursor: pointer; padding: 2px; }
.rv-stars input:checked ~ label, .rv-stars label:hover, .rv-stars label:hover ~ label { color: #E0A100; }
.rv-stars input:focus-visible + label { outline: 2px solid var(--cx-brand); border-radius: 6px; }
.rv-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-msg { margin: 4px 0; font-weight: 600; min-height: 1em; }
.rv-msg.ok { color: #11734b; } .rv-msg.err { color: #c0392b; }
.rv-note { font-size: var(--cx-t-xs); text-align: center; margin: 6px 0 0; }
.rv-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.rv-cards::-webkit-scrollbar { display: none; }
.rv-card { margin: 0; border: 1px solid var(--cx-line); border-radius: 16px; padding: 14px; background: var(--cx-bg); display: flex; flex-direction: column; gap: 8px; }
.rv-card blockquote { margin: 0; padding: 0; border: 0; line-height: 1.7; flex: 1; font-style: normal; }
.rv-card figcaption { font-size: var(--cx-t-sm); }
.rv-card figcaption a { color: var(--cx-muted); font-size: var(--cx-t-xs); }
html[data-theme="dark"] .rv-ok { background: rgba(47,163,107,.18); color: #7fe0b0; }
html[data-theme="dark"] .stars, html[data-theme="dark"] .rv-stars label { color: #4a4058; }
html[data-theme="dark"] .stars .on, html[data-theme="dark"] .rv-stars input:checked ~ label, html[data-theme="dark"] .rv-stars label:hover, html[data-theme="dark"] .rv-stars label:hover ~ label { color: #F2B92E; }
