/* TechMobile theme — product page ("showroom"). Loaded only on single products.
   Ported from src/pages/product/[slug].astro and src/components/BuyBox.astro; every rule is
   scoped under .pg-pdp so nothing reaches the header, footer or product cards. */

.pg-pdp .stage{background:var(--tm-panel);padding:20px 0 40px}
.pg-pdp .crumbs{margin-bottom:20px}
.pg-pdp .top{display:grid;grid-template-columns:3fr 2fr;gap:40px;align-items:start}
.pg-pdp .woocommerce-notices-wrapper:empty{display:none}

/* ---------- gallery: one set of images; a framed crossfade on desktop, a swipe strip on mobile ---------- */
.pg-pdp .gallery{display:flex;flex-direction:column;gap:14px;min-width:0}
.pg-pdp .frame{height:500px;background:#fff;border:1px solid var(--tm-border);border-radius:8px;position:relative;overflow:hidden}
.pg-pdp .strip{position:absolute;inset:0}
.pg-pdp .sl{position:absolute;inset:7%;display:none}
.pg-pdp .sl.on{display:block;animation:tm-fade 200ms var(--tm-ease-out)}
.pg-pdp .sl img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;display:block}
.pg-pdp .frame .ptags{top:14px;inset-inline-start:14px} /* the tags themselves: base.css, shared with the cards */
.pg-pdp .zoom{position:absolute;bottom:12px;inset-inline-end:12px;width:40px;height:40px;border-radius:8px;border:1px solid var(--tm-border);background:#fff;color:var(--tm-navy);display:flex;align-items:center;justify-content:center;padding:0;z-index:1;transition:transform 120ms var(--tm-ease-out)}
.pg-pdp .thumbs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.pg-pdp .th{width:92px;height:92px;border-radius:8px;border:1px solid var(--tm-border);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:4px;transition:border-color 150ms var(--tm-ease-out),transform 120ms var(--tm-ease-out),box-shadow 150ms}
.pg-pdp .th.sel{border-color:var(--tm-navy);box-shadow:inset 0 0 0 1px var(--tm-navy)}
.pg-pdp .th img{width:80%;height:80%;object-fit:contain;mix-blend-mode:multiply}
@media (hover:hover){.pg-pdp .th:hover{border-color:var(--tm-navy)}}
.pg-pdp .dots{display:none}

.pg-pdp .lb{position:fixed;inset:0;z-index:80;background:rgba(20,33,61,.92);display:flex;align-items:center;justify-content:center;animation:tm-fade 200ms var(--tm-ease-out)}
.pg-pdp .lb[hidden]{display:none}
.pg-pdp .lb img{max-width:min(92vw,1100px);max-height:88vh;object-fit:contain;background:#fff;border-radius:8px;animation:tm-enter 200ms var(--tm-ease-out)}
.pg-pdp .lb-x{position:absolute;top:16px;inset-inline-end:16px;width:44px;height:44px;border-radius:8px;border:0;background:#fff;color:var(--tm-navy);display:flex;align-items:center;justify-content:center;padding:0}

/* ---------- buy column ---------- */
.pg-pdp .buy{color:var(--tm-navy);display:flex;flex-direction:column;gap:18px;font-size:14px;min-width:0}
.pg-pdp .buy .brand{font-size:14px;color:var(--tm-text-2);font-weight:600;margin-bottom:4px}
.pg-pdp .buy h1{font-size:var(--tm-t-product);line-height:1.25}
.pg-pdp .prow{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pg-pdp .prow .price{font-size:40px;font-weight:900;line-height:1}
.pg-pdp .prow .was{font-size:16px;color:var(--tm-text-2);text-decoration:line-through}
.pg-pdp .prow .sale{background:var(--tm-navy);color:#fff;font-size:12px;font-weight:700;padding:2px 8px;border-radius:6px;line-height:18px;align-self:center}
.pg-pdp .prow [hidden]{display:none}
.pg-pdp .inst{font-size:13px;color:var(--tm-text-2)}
.pg-pdp .inst b{color:var(--tm-navy)}

.pg-pdp .opts-row{display:flex;gap:20px;align-items:flex-start}
.pg-pdp .opts{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px}
/* Two lines, then cut. The link sits over the end of the last line on the stage's own background;
   the gap after the text keeps a short text's last words clear of it. Right-to-left only. */
.pg-pdp .teaser{position:relative;margin:0;font-size:14px;line-height:1.5;max-height:3em;overflow:hidden;color:var(--tm-text-2)}
.pg-pdp .teaser-gap{display:inline-block;width:6.5em;height:1px}
.pg-pdp .teaser-more{position:absolute;bottom:0;inset-inline-end:0;padding-inline-start:28px;background:linear-gradient(to left,transparent,var(--tm-panel) 24px);font-weight:700;color:var(--tm-sky-text);text-decoration:underline;text-underline-offset:2px}
.pg-pdp .opt{display:flex;flex-direction:column;gap:8px}
.pg-pdp .lbl{font-weight:700;font-size:14px}
.pg-pdp .val{font-weight:500;color:var(--tm-text-2)}
.pg-pdp .tiles{display:flex;gap:6px;flex-wrap:wrap}
.pg-pdp .ct{width:58px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border:1px solid var(--tm-border);border-radius:8px;background:#fff;font:500 11px var(--tm-font);color:var(--tm-navy);white-space:nowrap;overflow:hidden;transition:transform 120ms var(--tm-ease-out),border-color 120ms,box-shadow 120ms}
.pg-pdp .ct img{width:34px;height:34px;object-fit:contain;mix-blend-mode:multiply}
.pg-pdp .ct>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.pg-pdp .dotc{width:34px;height:34px;border-radius:50%;border:1px solid var(--tm-border);display:block}
.pg-pdp .ct.sel,.pg-pdp .st.sel{border-color:var(--tm-navy);box-shadow:inset 0 0 0 1px var(--tm-navy);font-weight:700}
@media (hover:hover){.pg-pdp .ct:hover,.pg-pdp .st:hover{border-color:var(--tm-navy)}}
.pg-pdp .stor{display:flex;gap:8px;flex-wrap:wrap}
.pg-pdp a.st{text-decoration:none}
.pg-pdp .st{height:40px;padding:0 16px;border-radius:8px;border:1px solid var(--tm-border);background:#fff;font:600 14px var(--tm-font);color:var(--tm-navy);display:inline-flex;align-items:center;gap:6px;transition:transform 120ms var(--tm-ease-out),border-color 120ms,box-shadow 120ms}
/* an option with no variation for the rest of the current choice: still selectable, it switches the rest */
.pg-pdp .ct.na,.pg-pdp .st.na{opacity:.45}
.pg-pdp .delta{font-size:12px;color:var(--tm-sky-text);font-weight:600}
.pg-pdp .stock{display:flex;gap:8px;align-items:center;font-weight:700}
.pg-pdp .pip{width:8px;height:8px;border-radius:50%;background:var(--tm-success)}
.pg-pdp .stock.out .pip{background:var(--tm-error)}

.pg-pdp .why{flex:none;width:230px;border:1px solid var(--tm-border);border-radius:8px;background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:12.5px;line-height:1.2}
.pg-pdp .wt{font-size:13px;font-weight:800}
.pg-pdp .wr{display:flex;align-items:center;gap:8px;white-space:nowrap}
.pg-pdp .wi{width:22px;height:22px;border-radius:6px;background:var(--tm-sky-tint);display:flex;align-items:center;justify-content:center;flex:none;color:var(--tm-navy)}
.pg-pdp .wi svg{width:14px;height:14px}
.pg-pdp .wi.g{background:#fff;border:1px solid var(--tm-border)}
.pg-pdp .stars{color:#FBBC04;font-size:10px;letter-spacing:1px}
.pg-pdp .whym{display:none}

.pg-pdp .arow{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.pg-pdp .alabel{font-weight:700;font-size:15px}
.pg-pdp .chips{display:flex;gap:6px;flex-wrap:wrap}
.pg-pdp .chip{height:28px;padding:0 10px;border-radius:6px;border:1px solid var(--tm-border);background:#fff;font:600 12px var(--tm-font);color:var(--tm-navy);transition:transform 120ms var(--tm-ease-out),background 120ms,color 120ms}
.pg-pdp .chip.on{background:var(--tm-navy);color:#fff;border-color:var(--tm-navy)}
.pg-pdp .addons{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:168px;overflow-y:auto;padding-inline-end:10px}
/* the standard properties switch off the ::-webkit-scrollbar rules below and bring back arrow buttons on
   Windows, so they are only for browsers without ::-webkit-scrollbar (Firefox) */
@supports not selector(::-webkit-scrollbar){.pg-pdp .addons{scrollbar-width:thin;scrollbar-color:var(--tm-navy) var(--tm-border)}}
.pg-pdp .addons::-webkit-scrollbar{display:block;width:6px}
.pg-pdp .addons::-webkit-scrollbar-thumb{background:var(--tm-navy);border-radius:3px}
.pg-pdp .addons::-webkit-scrollbar-track{background:var(--tm-border);border-radius:3px}
.pg-pdp .addon{display:flex;gap:10px;padding:8px 10px;border:1px solid var(--tm-border);border-radius:8px;background:#fff;min-width:0;position:relative;transition:border-color 120ms,background 120ms}
.pg-pdp .addon[hidden]{display:none}
.pg-pdp .addon input{position:absolute;opacity:0;width:0;height:0;margin:0}
.pg-pdp .addon:has(input:checked){border-color:var(--tm-navy);background:var(--tm-sky-tint)}
.pg-pdp .addon input:focus-visible~.aimg{outline:2px solid var(--tm-sky);outline-offset:2px}
.pg-pdp .aimg{width:60px;height:60px;flex:none;display:flex;align-items:center;justify-content:center}
.pg-pdp .aimg.aico{width:44px;height:44px;margin:8px;border-radius:8px;background:var(--tm-panel);color:var(--tm-text-2)}
.pg-pdp .aimg img{max-width:56px;max-height:56px;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply}
.pg-pdp .abody{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:4px}
.pg-pdp .at{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pg-pdp .abot{display:flex;align-items:center;justify-content:space-between}
.pg-pdp .ap{font-size:15px}
.pg-pdp .acart{width:40px;height:28px;border-radius:6px;background:var(--tm-navy);color:#fff;display:flex;align-items:center;justify-content:center;transition:background 120ms}
.pg-pdp .addon:has(input:checked) .acart{background:var(--tm-success)}

.pg-pdp .buy .cta{display:flex;flex-direction:column;gap:10px}
.pg-pdp .cta-row{display:flex;align-items:center;gap:18px}
.pg-pdp .cta-row[hidden],.pg-pdp .buy .add[hidden]{display:none}
.pg-pdp .total{display:flex;flex-direction:column;line-height:1.1;flex:none}
.pg-pdp .tk{font-size:12px;color:var(--tm-text-2);font-weight:600}
.pg-pdp .tv{font-weight:900;font-size:26px}
.pg-pdp .buy .add{flex:1;height:56px;border:0;border-radius:8px;background:var(--tm-navy);color:#fff;font:700 17px var(--tm-font);display:flex;align-items:center;justify-content:center;gap:10px;transition:transform 120ms var(--tm-ease-out),background 120ms}
.pg-pdp .buy .add:hover{color:#fff}
@media (hover:hover){.pg-pdp .buy .add:hover{background:var(--tm-navy-700)}}
.pg-pdp .buy .add[disabled]{opacity:.7}
.pg-pdp .buy .add.notify{flex:none;width:100%}
/* back-in-stock signup: the button opens the form in the same place */
.pg-pdp .nbox{display:flex;flex-direction:column;gap:10px}
.pg-pdp .nbox[hidden],.pg-pdp .nbox [hidden]{display:none}
.pg-pdp .nform{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--tm-border);border-radius:var(--tm-r-md);background:var(--tm-panel);animation:tm-fade 200ms var(--tm-ease-out)}
.pg-pdp .nform label{font-size:14px;font-weight:700}
.pg-pdp .nrow{display:flex;gap:8px}
.pg-pdp .nrow input{flex:1;min-width:0;height:48px;padding:0 12px;border:1px solid var(--tm-border);border-radius:var(--tm-r-md);background:#fff;font:400 16px var(--tm-font);color:var(--tm-text)}
.pg-pdp .nrow input[aria-invalid="true"]{border-color:var(--tm-error)}
.pg-pdp .nsub{flex:none;height:48px;min-width:44px;padding:0 18px;border:0;border-radius:var(--tm-r-md);background:var(--tm-navy);color:#fff;font:700 15px var(--tm-font);cursor:pointer}
.pg-pdp .nsub[disabled]{opacity:.7}
@media (hover:hover){.pg-pdp .nsub:hover{background:var(--tm-navy-700)}}
.pg-pdp .nerr{margin:0;font-size:13px;font-weight:600;color:var(--tm-error)}
.pg-pdp .nnote{margin:0;font-size:13px;color:var(--tm-text-2)}
.pg-pdp .nok{margin:0;padding:14px;border-radius:var(--tm-r-md);background:#E8F5EE;color:var(--tm-success);font-size:15px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.pg-pdp .nhp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0;pointer-events:none}
.pg-pdp .nwa{min-height:44px;display:flex;align-items:center;justify-content:center;color:var(--tm-text-2);font:600 13px var(--tm-font);text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.pg-pdp .nwa:hover{color:var(--tm-navy)}}
@media (max-width:420px){.pg-pdp .nrow{flex-direction:column}.pg-pdp .nsub{width:100%}}
.pg-pdp .add-done{display:none;align-items:center;gap:10px}
.pg-pdp .add.done{background:var(--tm-success)}
.pg-pdp .add.done .add-txt{display:none}
.pg-pdp .add.done .add-done{display:flex;animation:tm-fade 200ms var(--tm-ease-out)}
.pg-pdp .add-err{margin:0;font-size:13px;font-weight:600;color:var(--tm-error)}
.pg-pdp .add-err[hidden]{display:none}
/* A quiet text link under the buy button: only the icon is WhatsApp green. */
.pg-pdp .wa-ask{min-height:36px;color:var(--tm-text-2);font:600 13px var(--tm-font);display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:color 160ms var(--tm-ease-out),text-decoration-color 160ms var(--tm-ease-out)}
.pg-pdp .wa-ask svg{color:#1FAF54;flex:none}
.pg-pdp .wa-ask:hover{color:var(--tm-navy);text-decoration-color:currentColor}

/* ---------- facts, tabs, sections ---------- */
.pg-pdp .facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:28px}
.pg-pdp .fact{display:flex;flex-direction:column;gap:4px;border-top:2px solid var(--tm-navy);padding-top:12px;color:var(--tm-navy)}
.pg-pdp .fb{font-size:26px;font-weight:800;line-height:1.1;overflow-wrap:anywhere}
.pg-pdp .fs{font-size:13px;color:var(--tm-text-2)}

/* Section tabs: one thin grey line under the whole bar, a navy underline under the current tab only.
   The section titles below carry no line of their own, so the page reads tab bar, title, content. */
.pg-pdp .tabs-wrap{position:sticky;top:var(--tm-stuck);z-index:5;background:#fff;margin-top:32px;border-bottom:1px solid var(--tm-border)}
.pg-pdp .tabs{display:flex;gap:32px;font-size:15px;font-weight:600;white-space:nowrap}
.pg-pdp .tabs a{padding:15px 0 13px;color:var(--tm-text-2);border-bottom:2px solid transparent;margin-bottom:-1px;transition:color 150ms,border-color 150ms}
@media (hover:hover){.pg-pdp .tabs a:hover{color:var(--tm-navy)}}
.pg-pdp .tabs a.on{color:var(--tm-navy);font-weight:700;border-color:var(--tm-navy)}
.pg-pdp .tabs a:active{transform:none}

.pg-pdp .below{display:flex;flex-direction:column;gap:48px;padding-top:32px;color:var(--tm-navy)}
.pg-pdp .below .sec-head{margin-bottom:14px}
.pg-pdp .below .sec-head .rule{display:none}
.pg-pdp .entry.desc{max-width:860px}
.pg-pdp .below>section,.pg-pdp .duo>section{scroll-margin-top:64px;min-width:0}
.pg-pdp .entry{font-size:15px;line-height:1.7;text-wrap:pretty}
.pg-pdp .entry>*+*{margin-top:.8em}
/* Inside a section headed "תיאור" and the like, so one step below the section heading. */
.pg-pdp .entry :is(h1,h2){font-size:var(--tm-t-h3);font-weight:800;line-height:1.35;margin-top:1.4em}
.pg-pdp .entry :is(h3,h4,h5,h6){font-size:var(--tm-t-h4);font-weight:700;line-height:1.4;margin-top:1.2em}
.pg-pdp .entry ul,.pg-pdp .entry ol{padding-inline-start:1.3em}
.pg-pdp .entry ul{list-style:disc}
.pg-pdp .entry ol{list-style:decimal}
.pg-pdp .entry li+li{margin-top:.3em}
.pg-pdp .entry a{color:var(--tm-sky-text);text-decoration:underline}
.pg-pdp .entry img{max-width:100%;height:auto;border-radius:8px}
.pg-pdp .entry table{width:100%;border-collapse:collapse;font-size:14px}
.pg-pdp .entry th,.pg-pdp .entry td{border-bottom:1px solid var(--tm-border);padding:8px 0;text-align:start}
.pg-pdp .hl{background:var(--tm-panel-2);border-radius:12px;padding:20px 24px;font-weight:500}
.pg-pdp .hl .points{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 32px}
.pg-pdp .hl .points:first-child{margin-top:0}
.pg-pdp .hl .points li{position:relative;margin:0;padding-inline-start:18px}
.pg-pdp .hl .points li::before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:7px;height:7px;border-radius:50%;background:var(--tm-sky)}
/* as in the design: a small label on the start side, the value large and bold */
.pg-pdp .specs{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.pg-pdp .sr{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--tm-border)}
.pg-pdp .sr .sk{font-size:13px;color:var(--tm-text-2);font-weight:500}
.pg-pdp .sr .sv{font-size:18px;line-height:1.55;font-weight:700;color:var(--tm-navy);text-align:start;overflow-wrap:anywhere}
.pg-pdp .cross{grid-template-columns:repeat(4,minmax(0,1fr))}
.pg-pdp .duo{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.pg-pdp .faq{border:1px solid var(--tm-border);border-radius:8px;overflow:hidden}
.pg-pdp .faq details{border-bottom:1px solid var(--tm-border);padding:0 18px}
.pg-pdp .faq details:last-child{border-bottom:0}
.pg-pdp .faq summary{font-weight:700;font-size:15px;list-style:none;min-height:52px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
.pg-pdp .faq summary::-webkit-details-marker{display:none}
.pg-pdp .pm{width:12px;height:12px;position:relative;flex:none;color:var(--tm-text-2)}
.pg-pdp .pm::before,.pg-pdp .pm::after{content:"";position:absolute;background:currentColor;left:0;top:5px;width:12px;height:2px;transition:transform 200ms var(--tm-ease-out)}
.pg-pdp .pm::after{transform:rotate(90deg)}
.pg-pdp .faq details[open] .pm::after{transform:rotate(0)}
.pg-pdp .faq details p{margin:0;padding:0 0 14px;font-size:14px;color:var(--tm-text-2);line-height:1.6;animation:tm-fade 200ms var(--tm-ease-out)}
.pg-pdp .lab{margin-top:42px;border:1px solid var(--tm-border);border-radius:8px;overflow:hidden;display:flex;flex-direction:column}
.pg-pdp .lab>img{width:100%;height:190px;object-fit:cover;display:block}
.pg-pdp .lab-txt{padding:20px 24px;display:flex;flex-direction:column;gap:8px;color:var(--tm-navy)}
.pg-pdp .kicker{font-size:12px;font-weight:700;color:var(--tm-sky-text)}
.pg-pdp .lab h2{font-size:22px;font-weight:800;line-height:1.2;text-wrap:pretty}
.pg-pdp .lab p{font-size:14px;color:var(--tm-text-2);line-height:1.5}
.pg-pdp .lab-btns{display:flex;gap:10px;margin-top:4px}
.pg-pdp .lab .btn{height:42px;padding:0 18px;font-size:14px}
.pg-pdp .gap{height:64px}

/* ---------- sticky buy bar ---------- */
/* hidden from the keyboard and screen readers while it is off screen */
.pg-pdp .sticky{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--tm-border);box-shadow:var(--tm-shadow-sticky);transform:translateY(100%);visibility:hidden;transition:transform 250ms var(--tm-ease-out),visibility 0s 250ms;color:var(--tm-navy)}
.pg-pdp .sticky.show{transform:translateY(0);visibility:visible;transition-delay:0s}
/* room for the bar at the end of the page, so it does not cover the footer's last row */
body.single-product:has(.pg-pdp .sticky) .ftr{padding-bottom:73px}
.pg-pdp .sbar{display:flex;align-items:center;gap:16px;height:72px}
.pg-pdp .sbar img{width:44px;height:44px;object-fit:contain;mix-blend-mode:multiply;border:1px solid var(--tm-border);border-radius:6px;background:#fff}
.pg-pdp .sname{font-weight:700;font-size:15px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-pdp .stot{display:flex;flex-direction:column;line-height:1.15}
.pg-pdp .stk{font-size:11px;color:var(--tm-text-2)}
.pg-pdp .stv{font-size:20px;font-weight:900}
.pg-pdp .sinst{font-size:13px;color:var(--tm-text-2)}
.pg-pdp .sinst b{color:var(--tm-navy)}
.pg-pdp .sbtn{height:50px;padding:0 32px;border:0;border-radius:8px;background:var(--tm-navy);color:#fff;font:700 16px var(--tm-font);transition:transform 120ms var(--tm-ease-out),background 120ms}
.pg-pdp .sbtn.done{background:var(--tm-success)}

/* product types WooCommerce renders itself (grouped, external) */
.pg-pdp .wc-native .button{height:56px;padding:0 28px;border:0;border-radius:8px;background:var(--tm-navy);color:#fff;font:700 17px var(--tm-font)}
.pg-pdp .wc-native .qty{height:44px;width:72px;border:1px solid var(--tm-border);border-radius:6px;text-align:center;font:600 15px var(--tm-font)}

@media (max-width:1199px) and (min-width:900px){
  .pg-pdp .prow .price{font-size:34px}
  .pg-pdp .opts-row{flex-direction:column}
  .pg-pdp .why{width:100%}
  .pg-pdp .top{grid-template-columns:1fr 1fr;gap:32px}
  .pg-pdp .frame{height:420px}
  .pg-pdp .th{width:72px;height:72px}
  .pg-pdp .cross{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pg-pdp .cross>.card:nth-child(4){display:none}
  .pg-pdp .facts{gap:16px}
}

@media (max-width:899px){
  .pg-pdp .stage{padding:12px 0 16px}
  .pg-pdp .crumbs{margin-bottom:10px}
  /* One H1 in the markup. The buy column's wrappers dissolve so the title sits right under the
     breadcrumbs, the photo follows, then price and options. */
  .pg-pdp .top{display:flex;flex-direction:column;gap:16px;align-items:stretch}
  .pg-pdp .buy,.pg-pdp .opts-row,.pg-pdp .opts{display:contents}
  .pg-pdp .head{order:-2;color:var(--tm-navy)}
  .pg-pdp .gallery{order:-1;gap:10px}
  .pg-pdp .buy .brand{font-size:13px;margin-bottom:0}
  .pg-pdp .buy h1{line-height:1.25}
  .pg-pdp .prow,.pg-pdp .opt,.pg-pdp .stock,.pg-pdp .addons-wrap,.pg-pdp .buy .cta,.pg-pdp .whym{color:var(--tm-navy);font-size:14px}
  .pg-pdp .prow .price{font-size:34px}

  .pg-pdp .frame{height:auto;border:0;background:none;border-radius:0;overflow:visible}
  .pg-pdp .strip{position:static;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;touch-action:pan-x pan-y;margin-inline:-12px;padding-inline:12px}
  .pg-pdp .strip::-webkit-scrollbar{display:none}
  .pg-pdp .sl,.pg-pdp .sl.on{position:relative;inset:auto;flex:none;width:100%;aspect-ratio:1;scroll-snap-align:center;border:1px solid var(--tm-border);border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;animation:none}
  .pg-pdp .sl img{width:80%;height:80%}
  .pg-pdp .frame .ptags{top:10px;inset-inline-start:10px}
  .pg-pdp .zoom{display:none}
  .pg-pdp .dots{display:flex;justify-content:center;gap:2px}
  .pg-pdp .dot{width:24px;height:24px;border:0;padding:0;background:transparent;position:relative}
  .pg-pdp .dot::before{content:'';position:absolute;left:2px;right:2px;top:10px;height:3px;border-radius:2px;background:rgba(20,33,61,.3);transition:background 200ms var(--tm-ease-out)}
  .pg-pdp .dot.on::before{background:var(--tm-navy)}
  .pg-pdp .dot:active{transform:none}

  .pg-pdp .ct{width:auto;flex:1 1 56px;min-width:0;padding:8px 4px;font-size:12px}
  .pg-pdp .ct img,.pg-pdp .dotc{width:46px;height:46px}
  .pg-pdp .tiles{gap:8px}
  .pg-pdp .st{height:44px}
  .pg-pdp .addons{grid-template-columns:1fr;max-height:164px;padding-inline-end:8px}
  .pg-pdp .cta-row{gap:10px}
  .pg-pdp .buy .add{height:54px;font-size:16px}
  .pg-pdp .whym{display:flex;flex-direction:column;gap:12px;border:1px solid var(--tm-border);border-radius:8px;background:var(--tm-panel-2);padding:14px 16px}
  .pg-pdp .whym .wt{font-size:15px}
  .pg-pdp .wg{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
  .pg-pdp .wc{display:flex;align-items:center;gap:10px;min-width:0}
  .pg-pdp .whym .wi{width:34px;height:34px;border-radius:8px}
  .pg-pdp .whym .wi svg{width:18px;height:18px}
  .pg-pdp .wtx{display:flex;flex-direction:column;line-height:1.25;min-width:0}
  .pg-pdp .wtx b{font-size:13px;white-space:nowrap}
  .pg-pdp .wtx span{font-size:12px;color:var(--tm-text-2);white-space:nowrap}
  .pg-pdp .wtx .stars{font-size:11px;color:#FBBC04}

  .pg-pdp .facts{grid-template-columns:1fr 1fr;gap:12px;padding-top:20px}
  .pg-pdp .fact{gap:2px;padding-top:8px}
  .pg-pdp .fb{font-size:20px}
  .pg-pdp .fs{font-size:12px}
  .pg-pdp .tabs-wrap{margin-top:16px}
  .pg-pdp .tabs{gap:20px;font-size:14px}
  .pg-pdp .tabs a{padding:13px 0 11px}
  .pg-pdp .below{gap:36px;padding-top:24px}
  .pg-pdp .below>section,.pg-pdp .duo>section{scroll-margin-top:52px}
  .pg-pdp .hl{padding:14px 16px;border-radius:10px}
  .pg-pdp .hl .points{grid-template-columns:1fr}
  .pg-pdp .specs{grid-template-columns:1fr}
  .pg-pdp .sr{grid-template-columns:1fr;gap:2px;padding:12px 0}
  .pg-pdp .sr .sv{font-size:16px}
  .pg-pdp .cross{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:0 12px 4px;scroll-snap-type:x mandatory;touch-action:pan-x pan-y}
  .pg-pdp .cross>.card{width:160px;flex:none;scroll-snap-align:start}
  .pg-pdp .duo{display:flex;flex-direction:column;gap:20px}
  .pg-pdp .faq details{padding:0 14px}
  .pg-pdp .faq summary{font-size:14px;min-height:48px}
  .pg-pdp .lab{margin-top:0}
  .pg-pdp .lab>img{height:140px}
  .pg-pdp .lab-txt{padding:14px;gap:6px}
  .pg-pdp .lab h2{font-size:17px}
  .pg-pdp .lab p{font-size:13px}
  .pg-pdp .lab .btn{height:40px;flex:1;font-size:14px}
  .pg-pdp .gap{height:32px}
  /* Phones: the buy bar is a card floating above the bottom edge, not a strip glued to it. */
  .pg-pdp .sticky{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));border:1px solid var(--tm-border);border-radius:14px;box-shadow:0 10px 30px rgba(20,33,61,.18);transform:translateY(calc(100% + 24px))}
  .pg-pdp .sticky .sbar{height:auto;margin:0;padding:8px;padding-inline-start:14px;gap:12px}
  .pg-pdp .stv{font-size:19px}
  .pg-pdp .sbtn{flex:1;height:48px;padding:0;border-radius:10px}
  body.single-product:has(.pg-pdp .sticky) .ftr{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  body.single-product .wa,body.single-product .callf{--wa-mb:140px}
}
@media (prefers-reduced-motion:reduce){
  .pg-pdp .sticky{transform:none;opacity:0;transition:opacity 250ms,visibility 0s 250ms}
  .pg-pdp .sticky.show{opacity:1;transition-delay:0s}
}
.pg-pdp .teaser.fits .teaser-gap{display:none}
.pg-pdp .teaser.fits .teaser-more{position:static;padding:0;background:none}

/* Desktop: the buy bar is a compact card floating at the bottom centre, not a full-width strip.
   Photo, name, price and the button; the "total" label and the installments stay on the page above. */
@media (min-width:900px){
  .pg-pdp .sticky{left:50%;right:auto;bottom:16px;width:min(560px,calc(100% - 32px));border:1px solid var(--tm-border);border-radius:14px;box-shadow:0 10px 30px rgba(20,33,61,.16);transform:translate(-50%,calc(100% + 24px))}
  .pg-pdp .sticky.show{transform:translate(-50%,0)}
  .pg-pdp .sticky .sbar{max-width:none;margin:0;height:auto;padding:8px 10px;gap:12px}
  .pg-pdp .sbar img{width:44px;height:44px;flex:none}
  .pg-pdp .sname{font-size:13px;font-weight:600;line-height:1.3;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical} /* two lines: a one-line cut of a Hebrew + English name lands mid-word */
  .pg-pdp .stk,.pg-pdp .sinst{display:none}
  .pg-pdp .stv{font-size:17px;font-weight:800}
  .pg-pdp .sbtn{height:44px;padding:0 22px;border-radius:10px;font-size:15px;white-space:nowrap;flex:none}
  body.single-product:has(.pg-pdp .sticky) .ftr{padding-bottom:92px}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce){
  .pg-pdp .sticky,.pg-pdp .sticky.show{transform:translate(-50%,0)}
}
