/* Extracted from the approved mockup (home-redesign, 3.12.2026). Edit here, not in the mockup. */
.pp .pi{min-width:0}
.gal-main{position:relative}
.g-bd{position:absolute;top:16px;right:16px;display:flex;gap:6px;z-index:2}
.g-bd i{font-style:normal;font-size:12.5px;font-weight:700;background:#fff;border-radius:999px;padding:4px 11px;box-shadow:0 4px 12px -6px rgba(0,0,0,.3)}
.g-bd i.s{background:var(--ember);color:#fff}.g-bd i.d{background:var(--green-dd);color:#fff}
.g-th{display:flex;gap:10px;margin-top:12px}.g-th button{width:76px;height:76px;border-radius:14px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--stone)}
.g-th button.on{border-color:var(--ember)}.g-th img{width:100%;height:100%;object-fit:cover}
.pprice s{font-size:20px;color:var(--mut);margin-inline-start:8px;font-weight:500}
.pprice .off{display:inline-block;margin-inline-start:10px;font-size:13px;font-weight:700;color:#fff;background:var(--ember);border-radius:999px;padding:3px 10px;vertical-align:middle}
.est{font-size:14px;color:var(--mut);margin-top:4px}.est b{color:var(--ink)}
.oosbox{margin:18px 0;padding:18px 20px;border-radius:20px;background:var(--stone);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.oosbox b{font-size:17px}.oosbox .btn{height:46px}
.dbox{margin:18px 0;border-radius:22px;background:var(--cream);padding:18px 20px;border:1.5px solid rgba(49,77,65,.14)}
.db-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.db-tag{font-size:12px;font-weight:700;color:#fff;background:var(--ember);border-radius:999px;padding:3px 10px;align-self:center}
.db-h b{font:700 38px/.9 Karantina;color:var(--green-dd)}.db-h small{flex-basis:100%;font-size:13.5px;color:var(--mut)}
.db-f{font-size:15px;font-weight:700;color:var(--ink)}.db-f s{font-weight:400;color:var(--mut)} /* 4.12 kg deal: "מ־2 ק״ג · במקום ₪65" */
.g-bd{align-items:flex-start}.g-bd i.kg{display:inline-flex;flex-direction:column;align-items:center;line-height:1.1;border-radius:12px;padding:5px 11px;white-space:nowrap}.g-bd i.kg small{display:block;margin:0;color:inherit;font-size:10.5px;font-weight:600;opacity:.85}
.db-p{margin:14px 0 4px}.db-p p{font-size:14.5px;margin:0 0 8px}.db-p p b{color:var(--green-dd)}
.db-p i{display:block;height:8px;border-radius:9px;background:rgba(49,77,65,.13);overflow:hidden}
.db-p s{display:block;height:100%;width:0;border-radius:9px;background:var(--green);transition:width .7s var(--e-out)}
.dbox.done .db-p p{color:var(--green);font-weight:700}
.db-m h4{font-size:13px;font-weight:700;color:var(--mut);margin:14px 0 8px}
.dm-l{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px;min-width:0}
.dm-i{flex:0 0 210px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:8px}
.dm-i img{width:52px;height:52px;border-radius:10px;object-fit:cover;flex:none}
.dm-i b{display:block;font-size:13.5px;line-height:1.25}.dm-i b a:hover{color:var(--ember)}.dm-i small{font-size:12.5px;color:var(--mut)}
.dm-i .pr-add{margin-inline-start:auto;flex:none}
.pr-i b a:hover{color:var(--ember)}
.ab h2,.ab h3,.ab h4{font-size:16px;margin:12px 0 4px}.ab ul{padding-inline-start:20px}.ab p+p{margin-top:8px}
.scg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
.sc{display:block;min-width:0}.sc-i{position:relative;display:block;aspect-ratio:1;border-radius:20px;overflow:hidden;background:var(--stone)}
.sc-i img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--e-out)}.sc:hover .sc-i img{transform:scale(1.05)}
.sc.oos img{opacity:.55}
.sc-d{position:absolute;top:10px;right:10px;font-style:normal;font-size:12px;font-weight:700;background:var(--green-dd);color:#fff;border-radius:999px;padding:3px 10px}
.sc-o{position:absolute;inset:auto 10px 10px;text-align:center;font-style:normal;font-size:12px;font-weight:700;background:rgba(31,28,26,.8);color:#fff;border-radius:999px;padding:4px}
.sc-n{display:block;font-weight:700;font-size:15px;margin:10px 2px 2px;line-height:1.3}.sc:hover .sc-n{color:var(--ember)}
.sc-p{display:block;margin-inline:2px}.sc-p b{font-size:17px}.sc-p small{font-size:12px;color:var(--mut);margin-inline-start:3px}.sc-p s{font-size:13px;color:var(--mut);margin-inline-start:6px}
@media (max-width:760px){.scg{grid-template-columns:1fr 1fr;gap:18px 12px}.dm-i{flex-basis:190px}}
h1 .h1w{font:600 .3em/1 Heebo,system-ui,sans-serif;color:var(--mut);white-space:nowrap;vertical-align:middle;margin-inline-start:.2em}

/* ---- R10 (3.12.2026, VISUAL-A) ---- */
/* price row: "₪162 לק״ג ₪180 10% הנחה" (no underline on the struck price) */
.tc-pdp .pprice{flex-wrap:wrap;row-gap:4px}
.tc-pdp .pprice s{text-decoration:line-through;text-decoration-thickness:1.5px}
.tc-pdp .pprice s .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.tc-pdp .pprice .off{align-self:center}
/* one badge on the photo; sale = solid orange */
.tc-pdp .g-bd i:not(.frz)+i{display:none}
html body.tc-pdp .g-bd i.frz+i{display:inline-flex!important}
.tc-pdp .g-bd{display:flex;gap:6px}
.tc-pdp .g-bd i.frz{background:#fff;color:var(--ink)}
.tc-pdp .g-bd i.s{background:var(--ember);color:#fff}
/* the cow map (single beef cut only): one compact green card, no empty beige card next to it */
.gal-row.r10-where{grid-template-columns:1fr;margin-top:14px}
.r10-where .where{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px;align-items:center}
.r10-where .where svg{margin:0}
@media (max-width:760px){.r10-where .where{grid-template-columns:1fr}.r10-where .where svg{max-width:300px}}
/* out of stock: mockup .oosbox; the notify link is a pill like the mockup field */
.tc-pdp .oosbox{order:6}
.tc-pdp .oosbox .notify{display:inline-grid;place-items:center;flex:1;max-width:320px;height:46px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-weight:600;font-size:14px;color:var(--mut);text-decoration:none}
.tc-pdp .oosbox .notify:hover{border-color:var(--ink);color:var(--ink)}
.tc-pdp p.stock.out-of-stock{display:none}
/* pairing reason tag + rows */
.tc-pdp .pr-i .pr-why{display:block;font-style:normal;font-size:11.5px;font-weight:700;color:var(--ember);margin-bottom:1px}
.tc-pdp .pr-add.tc-r10add{flex:none;text-decoration:none}
/* deal box sits under the price, like the mockup */
.tc-pdp .pi>.dbox{order:5}
@media (max-width:760px){.tc-pdp .pi>.dbox,.tc-pdp .pi>.oosbox{order:10}.tc-pdp .pi>.oosbox{margin:0 0 16px}}
/* "מידע נוסף" rows (pack facts moved here from the old beige card) */
.tc-pdp .ab .shop_attributes{width:100%;border-collapse:collapse}
.tc-pdp .ab .shop_attributes th,.tc-pdp .ab .shop_attributes td{padding:8px 0;border-bottom:1px dashed var(--line);text-align:start;font-size:14.5px;vertical-align:top}
.tc-pdp .ab .shop_attributes th{width:38%;white-space:nowrap;padding-inline-end:12px;color:var(--mut);font-weight:600}
.tc-pdp .ab .shop_attributes td p{margin:0}
/* related grid: 8 cards; long bottle photos stay inside the card */
.tc-rel .pk-img{overflow:hidden}
.tc-rel .pk-img img{object-fit:cover;max-height:100%}

/* phone: stepper + add-to-cart on ONE row (mockup); only the kg/units switch case keeps two rows */
@media (max-width:560px){
  body.tc-pdp .buybox .r1:not(:has(.ocwsu_unit_switch)){flex-wrap:nowrap!important}
  body.tc-pdp .buybox .r1:not(:has(.ocwsu_unit_switch)) .qty.tc-sq{flex:0 0 auto!important;width:auto!important}
  body.tc-pdp .buybox .r1:not(:has(.ocwsu_unit_switch)) .tc-sq .simple-quantity-input{width:auto!important}
  body.tc-pdp .buybox .r1:not(:has(.ocwsu_unit_switch)) .single_add_to_cart_button{flex:1 1 0!important;width:auto!important;min-width:0!important}
}

/* floating a11y / bot / WhatsApp buttons never cover the buy box: room at the bottom of the page and the sticky bar */
@media (max-width:760px){
  body.tc-pdp .pp{padding-bottom:96px}
  body.tc-pdp .buybox{scroll-margin-bottom:110px}
}

/* R11 */
/* desktop: the gallery column hugs its content (mobfix stretches .pp items, which spread the gallery rows apart) */
.tc-pdp .gal{align-content:start;align-self:start}
/* "מידע נוסף" rows: label and value side by side, one line under each row */
.tc-pdp .ab .shop_attributes tr{display:grid;grid-template-columns:minmax(110px,38%) 1fr;gap:12px;border-bottom:1px dashed var(--line)}
.tc-pdp .ab .shop_attributes th,.tc-pdp .ab .shop_attributes td{border:0!important;width:auto!important;text-align:start!important;padding:9px 0!important;background:none!important}
.tc-pdp .ab .shop_attributes td p{text-align:start}
/* phone: room on the left of the trust rows / doneness scale for the floating bot bubble */
@media (max-width:760px){.tc-pdp .done-m{padding-inline:0 62px}}

/* R12: related grid never shows holes: cards flow centred, so a short last row sits in the middle */
.tc-rel .plist{display:flex!important;flex-wrap:wrap;justify-content:center;column-gap:20px}
.tc-rel .plist>*{flex:0 0 calc((100% - 60px)/4);min-width:0}
@media (max-width:1100px){.tc-rel .plist>*{flex-basis:calc((100% - 40px)/3)}}
@media (max-width:760px){.tc-rel .plist{column-gap:12px}.tc-rel .plist>*{flex-basis:calc((100% - 12px)/2)}}
/* R12 phone: the 56px bot bubble (bottom-left) never sits on the trust rows */
@media (max-width:760px){.tc-pdp .ptrust{padding-inline:68px!important}.tc-pdp .ptrust>div{max-width:100%}} /* both sides: the bubble may sit bottom-left or bottom-right */
