/* FirstPrice - single product page */
.fp-product{padding-bottom:40px}
.pd{padding-top:18px}
.pd-notices:empty{display:none}
.pd .crumbs{font-size:13.5px;color:var(--muted);margin-bottom:14px;display:flex;flex-wrap:wrap;gap:4px}
.pd .crumbs a:hover{color:var(--ink)}

/* ---------- top: gallery + buy box ---------- */
.pd-top{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:28px;align-items:start}

/* gallery */
.pd-gal{position:sticky;top:150px;display:flex;flex-direction:column;gap:12px;min-width:0}
.pd-stage{position:relative;background:#fff;border-radius:var(--r-tile);overflow:hidden;aspect-ratio:1/1;border:1px solid var(--line)}
.pd-slides{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.pd-slides::-webkit-scrollbar{display:none}
.pd-slide{flex:0 0 100%;height:100%;scroll-snap-align:center;display:grid;place-items:center;padding:6%;cursor:zoom-in;overflow:hidden;margin:0}
.pd-slide img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transition:transform .25s ease;transform-origin:var(--zx,50%) var(--zy,50%)}
@media (hover:hover) and (min-width:981px){
  .pd-slide.zoom img{transform:scale(2.1);transition:transform .12s ease}
}
.pd-badges{position:absolute;top:16px;inset-inline-start:16px;z-index:2;display:flex;gap:6px;flex-wrap:wrap}
.pd-tools{position:absolute;top:14px;inset-inline-end:14px;z-index:2;display:flex;flex-direction:column;gap:8px}
.pd-tool{width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--ink);box-shadow:0 4px 12px rgba(16,18,24,.06);transition:border-color .15s,background .15s,color .15s}
.pd-tool:hover{border-color:var(--ink)}
.pd-tool.on{background:var(--black);color:var(--yellow);border-color:var(--black)}
.pd-tool .ico{width:20px;height:20px}
.pd-zoom-btn{position:absolute;bottom:14px;inset-inline-end:14px;z-index:2;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--line);display:grid;place-items:center}
.pd-zoom-btn .ico{width:20px;height:20px}
.pd-dots{position:absolute;bottom:18px;inset-inline:0;display:none;justify-content:center;gap:6px;z-index:2;pointer-events:none}
.pd-dots i{width:7px;height:7px;border-radius:50%;background:#cfd3da;transition:width .2s,background .2s}
.pd-dots i.on{width:20px;border-radius:6px;background:var(--black)}
.pd-thumbs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:2px}
.pd-th{flex:none;width:78px;height:78px;border-radius:12px;background:#fff;border:1.5px solid var(--line);padding:6px;display:grid;place-items:center;transition:border-color .15s}
.pd-th img{max-width:100%;max-height:100%;object-fit:contain}
.pd-th:hover{border-color:#9aa0ab}
.pd-th.on{border-color:var(--black);box-shadow:inset 0 0 0 1px var(--black)}

/* buy box */
.pd-buy{background:#fff;border-radius:var(--r-tile);padding:28px 30px 26px;border:1px solid var(--line);min-width:0}
.pd-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-bottom:12px;font-size:13.5px;color:var(--muted)}
.pd-brand{display:inline-flex;align-items:center;min-height:24px;font:700 15px var(--display);color:var(--ink)}
.pd-brand .blogo{height:24px;max-width:120px;width:auto;object-fit:contain}
a.pd-brand:hover{opacity:.75}
.pd-model{border-inline-start:1px solid var(--line);padding-inline-start:14px}
.pd-model bdi{font-family:var(--display);font-weight:600;color:var(--ink-2);direction:ltr}
.pd-stock{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:#0f6b37;margin-inline-start:auto;background:#eaf7ef;border-radius:999px;padding:3px 11px;font-size:13px}
.pd-stock i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(23,138,74,.18)}
.pd-stock.out{color:var(--red);background:#fdeeee}
.pd-stock.out i{box-shadow:0 0 0 3px rgba(215,38,44,.15)}
.pd-title{font:800 clamp(22px,2.2vw,30px)/1.25 var(--display);letter-spacing:-.01em;margin-bottom:10px}
.pd-rate{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);margin-bottom:16px}
.pd-rate b{color:var(--ink);font-family:var(--display)}
.pd-rate:hover span{text-decoration:underline}
.pd-rate .stars{--w:calc(var(--r) / 5 * 100%);position:relative;display:inline-block;font-size:15px;line-height:1;letter-spacing:2px;color:#d9dce1}
.pd-rate .stars::before{content:"★★★★★"}
.pd-rate .stars::after{content:"★★★★★";position:absolute;inset:0 0 0 auto;width:var(--w);overflow:hidden;color:var(--yellow);white-space:nowrap;direction:rtl}
.pd-hl{list-style:none;display:grid;gap:8px;margin:4px 0 8px}
.pd-hl li{display:flex;gap:9px;align-items:flex-start;font-size:15px;line-height:1.5;color:var(--ink-2)}
.pd-hl .ico{width:18px;height:18px;margin-top:3px;color:var(--green);stroke-width:2.4}
.pd-more{display:inline-block;font-size:14px;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px;margin-bottom:18px}

.pd-price{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:18px 0;border-top:1px solid var(--line);margin-top:12px}
.pd-price .tag-wrap{justify-content:center}
.pd-price .tag{--h:62px;font-size:34px}
.pd-was{font-size:13.5px;color:var(--muted)}
.pd-was del{color:var(--muted)}
.pd-pay{display:flex;flex-direction:column;justify-content:center;gap:3px;text-align:start;min-height:62px}
.pd-pay b{font:600 15px var(--body)}
.pd-pay b span{font-family:var(--display);font-weight:800}
.pd-pay small{font-size:12.5px;color:var(--muted)}

/* variations */
.pd-vars{display:grid;gap:14px;margin-bottom:14px}
.pd-var{border:0;padding:0;margin:0}
.pd-var legend{font-weight:600;font-size:14.5px;margin-bottom:8px}
.pd-var legend b{font-weight:700}
.pd-sw{display:flex;flex-wrap:wrap;gap:8px}
.sw{position:relative;cursor:pointer}
.sw input{position:absolute;opacity:0;pointer-events:none}
.sw span{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:42px;padding:0 16px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-weight:600;font-size:14.5px;transition:border-color .15s,box-shadow .15s}
.sw:hover span{border-color:#9aa0ab}
.sw input:checked+span{border-color:var(--black);box-shadow:inset 0 0 0 1px var(--black);background:#fffbe8}
.sw input:focus-visible+span{outline:3px solid var(--yellow);outline-offset:2px}
.sw.na span{opacity:.4;text-decoration:line-through}

/* delivery & assembly add-on (WPCode snippet) */
.pd-asm{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;margin-bottom:14px;transition:border-color .15s,background .15s,box-shadow .15s;position:relative}
.pd-asm input{position:absolute;opacity:0;pointer-events:none}
.pd-asm .box{width:22px;height:22px;border-radius:7px;border:1.5px solid #c5c9d0;flex:none;position:relative;transition:background .15s,border-color .15s}
.pd-asm .ic{width:38px;height:38px;border-radius:10px;background:var(--bg);display:grid;place-items:center;flex:none}
.pd-asm .ic .ico{width:21px;height:21px}
.pd-asm .tx{flex:1;display:flex;flex-direction:column;line-height:1.35}
.pd-asm .tx b{font:700 15px var(--display)}
.pd-asm .tx small{font-size:12.5px;color:var(--muted)}
.pd-asm .pr{font:800 16px var(--display);white-space:nowrap;direction:ltr}
.pd-asm:has(input:checked){border-color:var(--black);box-shadow:inset 0 0 0 1px var(--black);background:#fffbe8}
.pd-asm:has(input:checked) .box{background:var(--black);border-color:var(--black)}
.pd-asm:has(input:checked) .box::after{content:"";position:absolute;inset-inline-start:7px;top:3px;width:5px;height:10px;border:solid var(--yellow);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.pd-asm:has(input:checked) .ic{background:var(--yellow)}
.pd-asm:has(input:focus-visible){outline:3px solid var(--yellow);outline-offset:2px}

/* actions */
.pd-actions{display:flex;gap:10px;align-items:stretch}
.pd-actions .qty{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;height:56px;padding:0 6px;background:#fff;flex:none}
.pd-actions .qty button{width:38px;height:38px;border-radius:50%;font-size:20px;font-weight:600;display:grid;place-items:center;transition:background .15s}
.pd-actions .qty button:hover{background:var(--bg)}
.pd-actions .qty input{width:36px;text-align:center;border:0;font:700 17px var(--display);background:none;-moz-appearance:textfield;color:var(--ink)}
.pd-actions .qty input::-webkit-outer-spin-button,.pd-actions .qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pd-add{flex:1 1 auto;min-width:0;height:56px;font-size:17px;gap:10px;margin:0;white-space:nowrap}
.pd-now{flex:0 0 auto;height:56px;margin:0;padding:0 22px;font-size:16px;white-space:nowrap}
.pd-add .tot{font-family:var(--display);font-weight:800;opacity:.9;direction:ltr;unicode-bidi:isolate;padding-inline-start:12px;margin-inline-start:2px;border-inline-start:1px solid rgba(255,255,255,.3)}
.pd-add .tot:empty{display:none}
.pd-add.done{background:var(--green)}
.pd-actions2{display:flex;gap:10px;margin-top:10px}
.pd-actions2 .btn{flex:1;height:50px;margin:0;font-size:15.5px}
.pd-wa{background:#fff;border:1.5px solid #25d366;color:#0e7a3f}
.pd-specs-btn{background:#fff;border:1.5px solid var(--ink);color:var(--ink)}
.pd-specs-btn .ico{width:19px;height:19px}
.pd-specs-btn:hover{background:var(--ink);color:#fff}
.pd-wa .ico{color:#25d366}
.pd-wa:hover{background:#effcf3}
.pd-oos{background:#fdf4f4;border:1px solid #f3d3d4;border-radius:14px;padding:16px}
.pd-oos p{font-size:14.5px;margin-bottom:12px;line-height:1.55}
.pd-wa-dark .ico{color:#25d366}

.pd-trust{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.pd-trust li{display:flex;gap:10px;align-items:center}
.pd-trust .ai{width:46px;height:46px;padding:4px;border-radius:13px;background:var(--yellow-soft);flex:none;overflow:visible;transition:background .2s,transform .2s}
.pd-trust li:hover .ai{background:#ffeeb0;transform:translateY(-2px)}
.ai *{transform-box:fill-box}
/* truck: wheels roll, body bobs, speed lines and road move */
.ai-wheel{transform-origin:center}
.play .ai-truck .ai-wheel,li:hover .ai-truck .ai-wheel{animation:aiSpin .55s linear 4}
.play .ai-truck .ai-body,li:hover .ai-truck .ai-body{animation:aiBob .28s ease-in-out 8 alternate}
.play .ai-truck .ai-speed,li:hover .ai-truck .ai-speed{animation:aiSpeed .55s ease-out 4}
.play .ai-truck .ai-road,li:hover .ai-truck .ai-road{animation:aiRoad .55s linear 4}
@keyframes aiSpin{to{transform:rotate(-360deg)}}
@keyframes aiBob{to{transform:translateY(-1.2px)}}
@keyframes aiSpeed{0%{transform:translateX(-4px);opacity:0}40%{opacity:1}100%{transform:translateX(4px);opacity:0}}
@keyframes aiRoad{to{stroke-dashoffset:-16}}
/* shield: pulse + the check draws itself + a spark */
.ai-sh{transform-origin:center}
.ai-check{stroke-dasharray:1;stroke-dashoffset:0}
.play .ai-shield .ai-check,li:hover .ai-shield .ai-check{animation:aiDraw .7s .15s ease-out both}
.play .ai-shield .ai-sh,li:hover .ai-shield .ai-sh{animation:aiPulse .7s ease-out}
.ai-spark{transform-origin:center;opacity:0}
.play .ai-shield .ai-spark,li:hover .ai-shield .ai-spark{animation:aiSpark .9s .5s ease-out both}
@keyframes aiDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes aiPulse{40%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes aiSpark{0%{opacity:0;transform:scale(.2) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(45deg)}100%{opacity:0;transform:scale(.6) rotate(90deg)}}
/* payments: the front card slides out, the "24" badge pops */
.ai-c1,.ai-c2{transform-origin:center}
.ai-badge{transform-origin:center}
.play .ai-card .ai-c1,li:hover .ai-card .ai-c1{animation:aiCard 1s ease-in-out}
.play .ai-card .ai-c2,li:hover .ai-card .ai-c2{animation:aiCard2 1s ease-in-out}
.play .ai-card .ai-badge,li:hover .ai-card .ai-badge{animation:aiPop .6s .45s cubic-bezier(.3,1.6,.5,1) both}
@keyframes aiCard{40%{transform:translate(-2px,2px) rotate(-7deg)}100%{transform:none}}
@keyframes aiCard2{40%{transform:translate(2px,-2px) rotate(5deg)}100%{transform:none}}
@keyframes aiPop{0%{transform:scale(.3)}100%{transform:scale(1)}}
/* store: the pin drops and bounces, the awning flutters */
.ai-pin{transform-origin:50% 100%}
.ai-awn{transform-origin:50% 0}
.play .ai-store .ai-pin,li:hover .ai-store .ai-pin{animation:aiPin .9s cubic-bezier(.3,1.5,.5,1)}
.play .ai-store .ai-awn,li:hover .ai-store .ai-awn{animation:aiAwn 1s ease-in-out}
@keyframes aiPin{0%{transform:translateY(-8px) scale(.8);opacity:0}45%{transform:translateY(1px) scale(1.05,.92);opacity:1}70%{transform:translateY(-2px)}100%{transform:none}}
@keyframes aiAwn{25%{transform:scaleY(1.12)}50%{transform:scaleY(.94)}75%{transform:scaleY(1.05)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.ai *{animation:none!important}}
.pd-trust span{display:flex;flex-direction:column;line-height:1.3}
.pd-trust b{font:700 14px var(--display)}
.pd-trust small{font-size:12.5px;color:var(--muted)}

/* ---------- section nav ---------- */
.pd-nav{position:sticky;top:96px;z-index:30;display:flex;gap:6px;margin:34px 0 18px;padding:8px;background:rgba(243,244,246,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:999px;overflow-x:auto;scrollbar-width:none}
.pd-nav::-webkit-scrollbar{display:none}
.pd-nav a{flex:none;height:40px;padding:0 18px;border-radius:999px;display:inline-flex;align-items:center;font-weight:600;font-size:14.5px;color:var(--ink-2);transition:background .15s,color .15s}
.pd-nav a:hover{background:#fff}
.pd-nav a.on{background:var(--black);color:#fff}
.pd [id]{scroll-margin-top:170px}

/* ---------- content ---------- */
.pd-tldr{background:var(--black);color:#e7e9ee;border-radius:var(--r-tile);padding:24px 28px;margin-bottom:18px}
.pd-tldr .pill{display:inline-block;background:var(--yellow);color:var(--black);font:700 13px var(--display);border-radius:999px;padding:3px 12px;margin-bottom:10px}
.pd-tldr p{font-size:16px;line-height:1.75;max-width:95ch}
.pd-cols{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:18px;align-items:start}
.pd-card{background:#fff;border-radius:var(--r-tile);padding:26px 28px;border:1px solid var(--line);margin-bottom:18px}
.pd-card h2,.pd-faq h2{font:800 22px var(--display);margin-bottom:16px}
.spec{width:100%;border-collapse:collapse;margin-bottom:18px;font-size:14.5px}
.spec:last-child{margin-bottom:0}
.spec caption{text-align:start;font:700 15px var(--display);padding:4px 0 10px;color:var(--ink)}
.spec th,.spec td{padding:11px 14px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.5}
.spec th{width:40%;font-weight:600;color:var(--muted);background:#fafbfc}
.spec td{color:var(--ink);font-weight:500;unicode-bidi:plaintext;text-align:start}
.spec tr:first-child th,.spec tr:first-child td{border-top:1px solid var(--line)}
.pd-delivery .pd-notes{list-style:none;display:grid;gap:12px}
.pd-notes li{position:relative;padding-inline-start:18px;font-size:14.5px;line-height:1.6;color:var(--ink-2)}
.pd-notes li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--yellow)}
.pd-asm-note{display:flex;gap:12px;align-items:flex-start;background:#fffbe8;border:1px solid #f4e3a3;border-radius:14px;padding:14px;margin-bottom:16px}
.pd-asm-note .ico{width:22px;height:22px;flex:none;margin-top:2px}
.pd-asm-note p{font-size:14.5px;line-height:1.55}
.pd-terms{margin-top:16px;font-size:13.5px;color:var(--muted)}
.pd-terms a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.pd-desc .seo-body{font-size:15.5px;line-height:1.8;color:var(--ink-2);max-height:360px;overflow:hidden;position:relative}
.pd-desc .seo-body::after{content:"";position:absolute;inset:auto 0 0 0;height:90px;background:linear-gradient(transparent,#fff)}
.pd-desc.open .seo-body{max-height:none}
.pd-desc.open .seo-body::after,.pd-desc.short .seo-body::after{display:none}
.pd-desc.short .seo-more{display:none}
.pd-desc .seo-body p{margin-bottom:10px}
.pd-desc .seo-body img{border-radius:12px;margin:12px 0}
.pd-desc .seo-body h2,.pd-desc .seo-body h3,.pd-desc .seo-body h4{font:700 18px var(--display);margin:18px 0 8px;color:var(--ink)}
.pd-desc .seo-body ul{padding-inline-start:20px;margin-bottom:10px}
.seo-more{margin-top:12px;font-weight:700;color:var(--ink);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:4px}
.pd-faq{margin:10px 0 8px}
.pd-rail{margin-top:26px}
.pd-rail[hidden]{display:none}

/* ---------- floating buy bar ---------- */
.pd-bar{position:fixed;left:50%;bottom:18px;z-index:57;width:min(1000px,calc(100% - 48px));transform:translate(-50%,calc(100% + 40px));opacity:0;visibility:hidden;transition:transform .45s cubic-bezier(.2,.9,.25,1.15),opacity .25s,visibility 0s .45s}
.pd-bar.on{transform:translate(-50%,0);opacity:1;visibility:visible;transition:transform .45s cubic-bezier(.2,.9,.25,1.15),opacity .25s}
.pd-bar-in{display:flex;align-items:center;gap:14px;background:linear-gradient(180deg,#1a1c21,#0d0e11);color:#fff;border:1px solid #2c3038;border-radius:22px;padding:10px;padding-inline-start:12px;box-shadow:0 22px 50px rgba(0,0,0,.35),0 2px 0 rgba(255,255,255,.04) inset;position:relative;overflow:hidden}
.pd-bar-in::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:var(--yellow)}
.pd-bar-img{flex:none;width:56px;height:56px;border-radius:14px;background:#fff;display:grid;place-items:center;padding:5px}
.pd-bar-img img{max-width:100%;max-height:100%;object-fit:contain}
.pd-bar-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pd-bar-nm{font:700 15px var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.pd-bar-pr{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.pd-bar-pr .price{font-size:22px;color:var(--yellow)}
.pd-bar-pr small{font-size:12.5px;color:#9aa1ad}
.pd-bar-pr small span{color:#d7dae0;font-weight:600}
.pd-bar-asm{display:inline-flex;align-items:center;gap:4px;font-style:normal;font-size:12px;font-weight:600;color:var(--black);background:var(--yellow);border-radius:999px;padding:1px 9px 1px 8px;align-self:center}
.pd-bar-asm .ico{width:12px;height:12px;stroke-width:3}
.pd-bar-asm[hidden]{display:none}
.pd-bar-btn{flex:none;display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 26px;border-radius:16px;background:var(--yellow);color:var(--black);font:800 16.5px var(--display);transition:transform .15s,background .15s,box-shadow .2s;box-shadow:0 8px 22px rgba(238,189,17,.28)}
.pd-bar-btn:hover{background:var(--yellow-hi);transform:translateY(-1px)}
.pd-bar-btn:active{transform:translateY(1px)}
.pd-bar-btn .ico{width:22px;height:22px;stroke-width:2}
.pd-bar-btn .t{direction:ltr;unicode-bidi:isolate;padding-inline-start:10px;border-inline-start:1.5px solid rgba(0,0,0,.18);font-weight:800}
.pd-bar-btn .t:empty{display:none}
.pd-bar-btn.done{background:#20b25a;color:#fff;box-shadow:0 8px 22px rgba(32,178,90,.3)}
.pd-bar-btn.busy{opacity:.75;pointer-events:none}
.pd-bar.on .pd-bar-btn{animation:fpBarPop .6s .35s both}
@keyframes fpBarPop{0%{transform:scale(.92)}60%{transform:scale(1.04)}100%{transform:scale(1)}}
body.pd-bar-on .wa{transform:translateY(-92px)}
body.pd-bar-on.has-cmp .cmpbar{bottom:104px}
body.pd-bar-on .toast{bottom:108px}

/* ---------- lightbox ---------- */
.pd-lb{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;background:rgba(10,11,14,.94);color:#fff;overflow:hidden}
.pd-lb::backdrop{background:rgba(10,11,14,.94)}
.pd-lb[open]{display:grid;place-items:center}
.lb-stage{width:min(92vw,1100px);height:min(86vh,1100px);display:grid;place-items:center;background:#fff;border-radius:18px;overflow:hidden;touch-action:pan-y pinch-zoom}
.lb-stage img{width:94%;height:94%;object-fit:contain}
.lb-x{position:absolute;top:18px;inset-inline-end:18px;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--ink);font-size:28px;line-height:1;display:grid;place-items:center;z-index:2}
.lb-arr{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center;z-index:2}
.lb-arr.prev{inset-inline-start:18px}
.lb-arr.next{inset-inline-end:18px}
.lb-count{position:absolute;bottom:18px;inset-inline:0;text-align:center;font:600 14px var(--display);color:#cfd3da;direction:ltr}
.pd-lb[data-single] .lb-arr,.pd-lb[data-single] .lb-count{display:none}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .pd-top{gap:20px}
  .pd-buy{padding:24px 22px}
  .pd-cols{grid-template-columns:1fr}
}
@media (max-width:980px){
  .pd-top{grid-template-columns:1fr}
  .pd-gal{position:static}
  .pd-nav{top:0;border-radius:0;margin-inline:-24px;padding-inline:16px}
  body:has(header.site.pin.show) .pd-nav{transform:translateY(var(--pin-h,60px))}
  .pd-nav{transition:transform .28s cubic-bezier(.2,.8,.2,1)}
}

/* ---------- phones ---------- */
@media (max-width:640px){
  .pd{padding-top:10px}
  .pd .crumbs{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px;line-height:1.5}
  .pd-gal{margin-inline:-16px;gap:8px}
  .pd-stage{border-radius:0;border-inline:0}
  .pd-slide{cursor:default;padding:8%}
  .pd-dots{display:flex}
  .pd-thumbs{display:none}
  .pd-zoom-btn{bottom:12px;width:38px;height:38px}
  .pd-tools{top:12px;inset-inline-end:12px}
  .pd-tool{width:38px;height:38px}
  .pd-buy{border-radius:var(--r-tile);padding:20px 16px;margin-top:-6px;position:relative;z-index:1;box-shadow:0 -10px 30px rgba(16,18,24,.06)}
  .pd-stock{margin-inline-start:0}
  .pd-title{font-size:21px}
  .pd-hl li{font-size:14.5px}
  .pd-price{gap:10px 14px}
  .pd-pay{min-height:54px}
  .pd-price .tag{--h:54px;font-size:29px}
  .pd-actions{gap:8px}
  .pd-actions .qty{height:54px}
  .pd-actions .qty button{width:32px}
  .pd-actions .qty input{width:28px}
  .pd-add{height:54px;font-size:16px;padding:0 12px;white-space:nowrap;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:8px;row-gap:0;align-content:center;justify-content:center;line-height:1.15}
  .pd-add .ico{display:none}
  .pd-add{grid-template-columns:auto}
  .pd-add .tot{grid-column:1;text-align:center}
  .pd-now{height:54px;padding:0 12px;font-size:14.5px}
  .pd-actions .qty{padding:0 2px}
  .pd-add .tot{grid-column:2;border:0;padding:0;margin:0;font-size:12.5px;font-weight:600;opacity:.8;text-align:start}
  .pd-actions2 .btn{height:48px;font-size:14px;padding:0 8px;white-space:nowrap;gap:6px}
  .pd-actions2 .btn .ico{width:18px;height:18px}
  .pd-trust{grid-template-columns:1fr 1fr;gap:12px 8px}
  .pd-trust .ai{width:40px;height:40px;padding:3px;border-radius:11px}
  .pd-trust b{font-size:13px}
  .pd-trust small{font-size:11.5px}
  .pd-nav{margin-inline:-16px;padding-inline:12px;gap:4px;margin-top:22px}
  .pd-nav a{height:38px;padding:0 14px;font-size:14px}
  .pd-tldr{padding:20px 18px}
  .pd-tldr p{font-size:15px}
  .pd-card{padding:20px 16px}
  .pd-card h2,.pd-faq h2{font-size:19px}
  .spec{font-size:14px}
  .spec th,.spec td{padding:10px}
  .spec th{width:44%}
  /* floating buy bar sits above the bottom navigation */
  .pd-bar{width:calc(100% - 20px);bottom:calc(66px + 10px + env(safe-area-inset-bottom))}
  .pd-bar-in{gap:10px;padding:8px;padding-inline-start:10px;border-radius:18px}
  .pd-bar-img{width:46px;height:46px;border-radius:12px;padding:4px}
  .pd-bar-nm{font-size:13.5px}
  .pd-bar-pr .price{font-size:18px}
  .pd-bar-pr small{display:none}
  .pd-bar-asm{font-size:11px;padding:0 7px}
  .pd-bar-btn{height:48px;padding:0 15px;border-radius:14px;font-size:15px;gap:7px}
  .pd-bar-btn .t{display:none}
  .pd-bar-btn .ico{width:20px;height:20px}
  body.pd-bar-on .toast{bottom:calc(66px + 86px + env(safe-area-inset-bottom))}
  body.pd-bar-on.has-cmp .cmpbar{bottom:calc(66px + 84px + env(safe-area-inset-bottom))}
  .lb-stage{width:100vw;height:78vh;height:78dvh;border-radius:0}
  .lb-arr{display:none}
}
@media (prefers-reduced-motion:reduce){.pd-slide img,.pd-bar{transition:none}.pd-bar.on .pd-bar-btn{animation:none}}
/* phones: quantity + add to cart + buy now share one row (311px of content) */
@media (max-width:640px){
  .pd-actions{gap:6px}
  .pd-actions .qty{width:86px;justify-content:space-between;padding:0 3px}
  .pd-actions .qty button{width:26px;height:26px;font-size:18px}
  .pd-actions .qty input{width:22px;font-size:16px!important}
  .pd-add{flex:1 1 0;padding:0 6px;font-size:15px}
  .pd-add .tot{font-size:12px}
  .pd-now{flex:0 0 auto;padding:0 11px;font-size:14px}
}
@media (max-width:360px){.pd-now{font-size:13px;padding:0 9px}.pd-add{font-size:14px}}
@media (max-width:640px){
  /* label on top, total below - stacked so it never clips */
  .pd-add{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;line-height:1.1}
  .pd-add .tot{border:0;padding:0;margin:0}
}
/* SEO opening paragraph + links paragraph inside the description */
.pd-desc .fp-seo-intro{overflow:hidden;font-size:16px;color:var(--ink)}
.pd-desc .fp-seo-img{float:inline-end;width:96px;height:96px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px;margin:0 0 8px 0;margin-inline-start:16px}
.pd-desc .fp-seo-links{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);font-size:14.5px;color:var(--muted)}
.pd-desc .fp-seo-links a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:3px}
.pd-upd{font-size:12.5px;color:var(--muted);margin:-8px 0 14px}
.pd-upd time{font-weight:600;color:var(--ink-2)}
/* buy now wider, add to cart takes the rest */
.pd-actions .pd-add{flex:1 1 0}
.pd-actions .pd-now{flex:0 0 36%;padding:0 16px}
@media (max-width:640px){.pd-actions .pd-now{flex:0 0 37%;padding:0 8px}}
/* desktop: gallery column = buy box height (the image frame fills it, thumbnails at the bottom) */
@media (min-width:981px){
  .pd-top{align-items:stretch}
  .pd-gal{position:static;height:auto;display:flex;flex-direction:column}
  .pd-stage{flex:1 1 auto;aspect-ratio:auto;min-height:520px}
  .pd-slides{position:absolute;inset:0}
  .pd-slide{height:100%}
  .pd-thumbs{flex:none}
}
/* "במלאי": the green dot pulses (product page only) */
.pd-stock:not(.out) i{position:relative;animation:pdLive 1.6s ease-in-out infinite}
.pd-stock:not(.out) i::after{content:"";position:absolute;inset:0;border-radius:50%;background:currentColor;animation:pdRing 1.6s ease-out infinite}
@keyframes pdLive{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes pdRing{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.8);opacity:0}}
@media (prefers-reduced-motion:reduce){.pd-stock i,.pd-stock i::after{animation:none!important}}
/* mobile: the buy bar stays put; it only steps aside while the on-screen keyboard is open */
@media (max-width:640px){html.kbd-open .pd-bar.on{visibility:hidden}}
/* quantity +/- : bigger hit area on narrow phones (the pill is 54px tall, the buttons only 26px) */
.pd-actions .qty button{position:relative}
.pd-actions .qty button::before{content:"";position:absolute;inset:-12px -3px}

/* ---------- קנו יחד (companion products, set per category) ---------- */
.pd-fbt{margin-top:14px;border:1.5px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.pd-fbt.has-sel{border-color:var(--black);box-shadow:inset 0 0 0 1px var(--black)}
.pd-fbt-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 16px 6px}
.pd-fbt-h b{font:800 16px var(--display)}
.pd-fbt-h small{font-size:12.5px;color:var(--muted)}
.pd-fbt-list{list-style:none;margin:0;padding:0 8px}
.pd-fbt-list li{display:flex;align-items:center;gap:4px;border-top:1px solid #f0f1f3}
.pd-fbt-list li:first-child{border-top:0}
.fbt-row{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:12px;cursor:pointer;position:relative;transition:background .15s}
.fbt-row:hover{background:#fafafb}
.fbt-row input{position:absolute;opacity:0;pointer-events:none}
.fbt-row .box{width:22px;height:22px;border-radius:7px;border:1.5px solid #c5c9d0;flex:none;position:relative;transition:background .15s,border-color .15s}
.fbt-row .im{width:52px;height:52px;border-radius:10px;background:var(--bg);display:grid;place-items:center;flex:none;overflow:hidden}
.fbt-row .im img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.fbt-row .tx{flex:1;min-width:0}
.fbt-row .tx b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:600 14px/1.4 var(--body);color:var(--ink)}
.fbt-row .pr{font:800 15px var(--display);white-space:nowrap}
.fbt-row .pr .price{font-size:15px}
.fbt-row:has(input:checked){background:#fffbe8}
.fbt-row:has(input:checked) .box{background:var(--black);border-color:var(--black)}
.fbt-row:has(input:checked) .box::after{content:"";position:absolute;inset-inline-start:7px;top:3px;width:5px;height:10px;border:solid var(--yellow);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.fbt-row:has(input:focus-visible){outline:3px solid var(--yellow);outline-offset:-2px}
.fbt-info{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;color:var(--muted)}
.fbt-info:hover{background:var(--bg);color:var(--ink)}
.fbt-info svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.pd-fbt-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 14px;margin-top:6px;background:#fafafb;border-top:1px solid var(--line)}
.pd-fbt-f .sum{display:flex;flex-direction:column;line-height:1.25}
.pd-fbt-f .sum small{font-size:12.5px;color:var(--muted)}
.pd-fbt-f .sum b{font:800 20px var(--display)}
.pd-fbt-add{height:48px;padding:0 20px;background:var(--yellow);color:var(--black);font-weight:700;gap:8px;white-space:nowrap;transition:background .2s,opacity .2s,transform .15s}
.pd-fbt-add .ico{width:20px;height:20px}
.pd-fbt-add:hover:not(:disabled){background:var(--yellow-hi)}
.pd-fbt-add:disabled{background:#eceef1;color:#8a909c;cursor:default}
.pd-fbt-add.busy{opacity:.7;pointer-events:none}
.pd-fbt-add.done{background:#178a4a;color:#fff}
@media (max-width:640px){
  .pd-fbt{border-radius:14px}
  .pd-fbt-h{padding:12px 12px 4px}
  .pd-fbt-list{padding:0 4px}
  .fbt-row{gap:10px;padding:10px 6px}
  .fbt-row .im{width:46px;height:46px}
  .fbt-row .tx b{font-size:13.5px}
  .pd-fbt-f{flex-direction:column;align-items:stretch;padding:12px}
  .pd-fbt-f .sum{flex-direction:row;align-items:baseline;justify-content:space-between}
  .pd-fbt-add{width:100%;justify-content:center}
}
.fbt-row .pr{direction:ltr}

/* phones: the price goes under the name, so the name gets the whole row (it was cut after 2 lines at 360px) */
@media (max-width:640px){
  .fbt-row{display:grid;grid-template-columns:22px 46px minmax(0,1fr);grid-template-areas:"box im tx" "box im pr";column-gap:10px;row-gap:2px;align-items:center}
  .fbt-row .box{grid-area:box}
  .fbt-row .im{grid-area:im}
  .fbt-row .tx{grid-area:tx;align-self:end}
  .fbt-row .tx b{-webkit-line-clamp:3}
  .fbt-row .pr{grid-area:pr;align-self:start;justify-self:start;font-size:14px}
  .fbt-row .pr .price{font-size:14px}
}

/* "משלוח, התקנה ושירות": icon by the title; on desktop the card stays in view next to the long spec table */
.pd-del-h{display:flex;align-items:center;gap:12px}
.pd-del-h .ai{width:44px;height:44px;padding:4px;border-radius:13px;background:var(--yellow-soft);flex:none;overflow:visible}
@media (min-width:981px){
  /* in-page nav: under the sticky header (it was half hidden behind it at top:96px) */
  .pd-nav{top:calc(var(--hdr-h,143px) + 10px)}

  /* with a "קנו יחד" list the buy box is long: the picture keeps its square frame and follows the shopper */
  .pd-top:has(.pd-fbt){align-items:start}
  .pd-top:has(.pd-fbt) .pd-gal{position:sticky;top:calc(var(--hdr-h,143px) + 16px);height:auto}
  .pd-top:has(.pd-fbt) .pd-stage{flex:none;aspect-ratio:1/1;min-height:0}
}
@media (max-width:640px){.pd-del-h .ai{width:38px;height:38px;padding:3px;border-radius:11px}}

/* two columns (1101px+): the delivery card stays in view next to the long spec table */
@media (min-width:1101px){
  .pd-delivery{position:sticky;top:calc(var(--hdr-h,143px) + 88px);max-height:calc(100vh - var(--hdr-h,143px) - 104px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
/* one column (phones/tablets): delivery first, then a shortened spec table with "show all" */
@media (max-width:1100px){
  .pd-delivery{order:-1}
  .pd-specs.is-clamped{max-height:620px;overflow:hidden;position:relative}
  .pd-specs.is-clamped::after{content:"";position:absolute;inset-inline:0;bottom:0;height:150px;background:linear-gradient(rgba(255,255,255,0),#fff 70%);pointer-events:none}
  .pd-spec-more{position:absolute;z-index:1;bottom:18px;inset-inline:0;margin:auto;width:max-content;display:flex;align-items:center;gap:8px;height:46px;padding:0 22px;border-radius:999px;background:var(--black);color:#fff;font-weight:700;font-size:14.5px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
  .pd-spec-more::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
  .pd-specs:not(.is-clamped) .pd-spec-more{display:none}
}

/* key features (the full short description), warranty (importer terms), about the brand, product reviews */
.pd-kf-h{font:700 16px var(--display);margin:4px 0 10px}
.pd-kf{list-style:none;display:grid;gap:7px;margin:0 0 18px}
.pd-kf li{display:flex;gap:9px;align-items:flex-start;font-size:14.5px;line-height:1.55;color:var(--ink-2)}
.pd-kf .ico{width:16px;height:16px;margin-top:3px;color:var(--green);stroke-width:2.4;flex:none}
.pd-cols-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pd-cols-2>.pd-card:only-child{grid-column:1/-1}
.pd-rich{font-size:14.5px;line-height:1.7;color:var(--ink-2)}
.pd-rich p{margin-bottom:8px}
.pd-rich strong,.pd-rich b{color:var(--ink)}
.pd-rv{padding:12px 0;border-top:1px solid var(--line)}
.pd-rv:first-of-type{border-top:0}
.pd-rv p{margin-top:4px;font-size:14.5px;color:var(--ink-2)}
@media (max-width:1100px){.pd-cols-2{grid-template-columns:1fr}}

/* full delivery & purchase policy (collapsed) */
.pd-policy{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.pd-policy summary{cursor:pointer;list-style:none;padding:13px 16px;font-weight:700;font-size:14.5px;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px}
.pd-policy summary::-webkit-details-marker{display:none}
.pd-policy summary::after{content:"+";font:700 20px/1 var(--display);color:var(--ink)}
.pd-policy[open] summary::after{content:"−"}
.pd-policy .pd-rich{padding:0 16px 14px;max-height:520px;overflow:auto}
.pd-policy .pd-rich h3,.pd-policy .pd-rich h4,.pd-policy .pd-rich h5,.pd-policy .pd-rich h6{font:700 15px var(--display);margin:14px 0 6px;color:var(--ink)}
.pd-policy .pd-rich ul{padding-inline-start:18px;margin-bottom:8px}

/* bought-together discount */
.fbt-row .fbt-was{margin-inline-start:6px;color:var(--muted);font-size:.85em}
.fbt-row .fbt-was .price{font-weight:500}
.fbt-row .fbt-off{display:inline-block;margin-inline-start:6px;font-style:normal;font-size:11.5px;font-weight:700;color:#fff;background:var(--red);border-radius:999px;padding:1px 7px;direction:rtl}
