/* Zevar product page, compact marketplace layout. Loaded after zevar.css; scoped under .zv-theme.
   Gallery state, variants, cart and quantity behaviour stay with the native v2 owners (product.js); this file only
   re-lays-out and restyles them.

   Layout (>=960px):  [ thumbs | photo ]   [ buy box (sticky card) ]
                      [ product details  ]   [ ...follows you down      ]
   blocks/pdp-details.sg renders the buy blocks in `.vo-pdp-details` and the description in a sibling
   `.vo-pdp-info`, so the buy box can stay in view while the long description scrolls past (Alibaba-style). */

/* ---------- Page frame ---------- */
.zv-theme main .vo-pdp { --pdp-gap:0px; padding-top:18px; padding-bottom:36px; }
.zv-theme main .vo-pdp .vo-pdp-layout { max-width:1240px; row-gap:0; }
.zv-theme main .vo-pdp .vo-pdp-details { gap:0; }
.zv-theme main .vo-shell:has(> nav[aria-label="Breadcrumb"]):has(+ .vo-pdp) { max-width:calc(1240px + 2 * var(--vo-gutter,32px)); }
.zv-theme main .vo-pdp ~ section > .vo-shell,.zv-theme main .vo-pdp ~ section.vo-section > .vo-shell.vo-content-flow { max-width:calc(1240px + 2 * var(--vo-gutter,32px)); }
.zv-theme nav[aria-label="Breadcrumb"] { font-size:14px; letter-spacing:.03em; color:var(--zv-muted); }
.zv-theme nav[aria-label="Breadcrumb"] a:hover { color:var(--zv-ink); }
.zv-theme nav[aria-label="Breadcrumb"] [aria-current="page"] { display:inline-block; max-width:min(60ch,60vw); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom; }

@media (min-width:960px) {
 .zv-theme main .vo-pdp .vo-pdp-layout { grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:56px; align-items:start; }
 .zv-theme main .vo-pdp .vo-pdp-media-column { grid-column:1; grid-row:1; }
 .zv-theme main .vo-pdp .vo-pdp-info { grid-column:1; grid-row:2; }
 /* the buy box: a card that stays in view for the whole length of the page */
 .zv-theme main .vo-pdp .vo-pdp-details { grid-column:2; grid-row:1 / span 2; position:sticky; top:96px; align-self:start; padding-top:4px; }
}
@media (max-width:959px) {
 .zv-theme main .vo-pdp .vo-pdp-layout { grid-template-columns:minmax(0,1fr); max-width:680px; }
 .zv-theme main .vo-pdp .vo-pdp-media-column { margin-bottom:22px; }
}

/* ---------- Gallery: vertical thumbs + photo ---------- */
.zv-theme .vo-pdp .vo-pdp-gallery [data-gallery-slide] { border:0; border-radius:16px; background:#fff; }
.zv-theme .vo-pdp-zoom { width:40px; height:40px; font-size:22px; background:rgba(255,255,255,.94); box-shadow:0 6px 16px -8px rgba(27,27,27,.5); }
.zv-theme [data-product-sale] { background:var(--zv-sale-bg)!important; color:var(--zv-sale)!important; border-radius:6px; padding:5px 10px!important; font-size:11px!important; font-weight:500; letter-spacing:.08em; }
/* arrows live on the photo (the native layout pushes them 48px outside, where the left one is clipped) */
@media (min-width:640px) {
 .zv-theme main [data-product-detail] [data-gallery] > [aria-roledescription="carousel"] { margin-inline:0; }
 .zv-theme main [data-product-detail] [data-gallery-prev] { inset-inline-start:12px; inset-inline-end:auto; }
 .zv-theme main [data-product-detail] [data-gallery-next] { inset-inline-end:12px; inset-inline-start:auto; }
 .zv-theme main [data-product-detail] [data-gallery-prev],.zv-theme main [data-product-detail] [data-gallery-next] { width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.94); color:var(--zv-ink); box-shadow:0 6px 16px -8px rgba(27,27,27,.5); transition:background .2s,color .2s; }
 .zv-theme main [data-product-detail] [data-gallery-prev]:hover,.zv-theme main [data-product-detail] [data-gallery-next]:hover { background:var(--zv-primary); color:var(--zv-on-primary); }
}
.zv-theme .vo-pdp-gallery [data-gallery-thumbs] button { border:0; border-radius:12px; background:#fff; overflow:hidden; transition:box-shadow .2s; }
.zv-theme .vo-pdp-gallery [data-gallery-thumbs] button:hover { opacity:1; }
.zv-theme .vo-pdp-gallery [data-gallery-thumbs] button:is([aria-current="true"],[aria-pressed="true"],[data-active="true"]) { opacity:1; box-shadow:0 0 0 2px var(--zv-ink); }
/* tablet/phone: one row of small thumbs under the photo (phones use the dots instead) */
@media (min-width:640px) {
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs] { display:flex; gap:10px; margin-top:12px; padding:2px; overflow-x:auto; scrollbar-width:none; }
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs]::-webkit-scrollbar { display:none; }
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs] li { flex:none; width:68px; }
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs] button { aspect-ratio:1; height:auto; }
}
@media (min-width:960px) {
 .zv-theme .vo-pdp .vo-pdp-gallery { display:grid; grid-template-columns:76px minmax(0,1fr); column-gap:14px; align-items:start; }
 .zv-theme .vo-pdp .vo-pdp-gallery > [aria-roledescription="carousel"] { grid-column:2; grid-row:1; min-width:0; }
 /* contain:size keeps the strip from stretching the row; it scrolls inside the photo's height */
 .zv-theme .vo-pdp .vo-pdp-gallery [data-gallery-thumbs] { grid-column:1; grid-row:1; align-self:stretch; contain:size; flex-direction:column; gap:10px; margin:0; padding:2px; overflow-x:hidden; overflow-y:auto; }
 .zv-theme .vo-pdp .vo-pdp-gallery [data-gallery-thumbs] li { width:72px; }
 .zv-theme .vo-pdp .vo-pdp-gallery:has([data-gallery-thumbs][style*="display:none"]),.zv-theme .vo-pdp .vo-pdp-gallery:has([data-gallery-thumbs][style*="display: none"]) { grid-template-columns:minmax(0,1fr); }
 .zv-theme .vo-pdp .vo-pdp-gallery:has([data-gallery-thumbs][style*="display:none"]) > [aria-roledescription="carousel"],.zv-theme .vo-pdp .vo-pdp-gallery:has([data-gallery-thumbs][style*="display: none"]) > [aria-roledescription="carousel"] { grid-column:1; }
}

/* ---------- Buy panel: header ---------- */
.zv-theme .vo-pdp-header { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:0 0 26px; }
.zv-theme .vo-pdp-header > * { order:2; flex:0 0 100%; margin:0; }
.zv-theme .vo-pdp-header > div:not(:has(*)) { display:none; }
.zv-theme .vo-pdp-header > .vo-pdp-title { order:1; }
.zv-theme .vo-pdp-header > .vo-pdp-price { order:3; }
.zv-theme .vo-pdp-header > [data-product-discount] { order:4; flex:0 0 auto; }
.zv-theme .vo-pdp-header > [data-product-stock] { order:5; flex:0 0 auto; }
.zv-theme .vo-pdp-header > [data-product-sku] { order:6; flex:0 1 auto; }
.zv-theme .vo-pdp-header > .vo-product-offer-container { order:7; }
.zv-theme .vo-pdp-title .vo-h1 { font-size:clamp(22px,2vw,28px); font-weight:500; line-height:1.28; letter-spacing:-.01em; color:var(--zv-ink); }
.zv-theme .vo-pdp [data-product-sku] { font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--zv-muted); }
.zv-theme .vo-pdp-price { gap:4px 12px; }
.zv-theme .vo-pdp-price .text-2xl { font-size:30px; font-weight:600; letter-spacing:0; line-height:1.15; color:var(--zv-ink); }
.zv-theme .vo-pdp-price s { font-size:17px; font-weight:400; color:#949494; }
.zv-theme .vo-pdp .vo-saving { align-self:center; display:inline-flex; width:auto; min-height:0; margin:0; padding:4px 10px; border:0; border-radius:6px; background:var(--zv-sale-bg); color:var(--zv-sale); font-size:12px; font-weight:500; letter-spacing:.08em; line-height:1.3; }
.zv-theme .vo-pdp [data-product-stock] { display:inline-flex; align-items:center; gap:8px; margin:0; font-size:13.5px; font-weight:500; letter-spacing:.02em; color:#1f6b52; }
.zv-theme .vo-pdp [data-product-stock]::before { content:''; width:8px; height:8px; border-radius:50%; background:currentColor; }
.zv-theme .vo-pdp [data-product-stock].is-out { color:var(--zv-sale); }
.zv-theme .vo-pdp-details > hr { display:none; }

/* ---------- Options ---------- */
.zv-theme .vo-pdp-options { gap:18px; margin-bottom:22px; }
.zv-theme .vo-pdp-details > :has(> .vo-pdp-options) { margin-bottom:0; }
.zv-theme .vo-pdp-options legend { margin-bottom:10px; font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--zv-muted); }
.zv-theme .vo-pdp-options [data-selected-option] { margin-inline-start:6px; font-weight:500; letter-spacing:.04em; color:var(--zv-ink); text-transform:none; }
.zv-theme .vo-pdp-options[data-show-labels="false"] [data-option-display="colors"] .vo-swatch[data-has-color="true"] { width:40px; height:40px; min-height:0; padding:6px; border:0; background:transparent; }
.zv-theme .vo-pdp-color { width:100%; height:100%; border:1px solid rgba(27,27,27,.12); background:var(--zv-swatch,transparent); }
.zv-theme .vo-pdp-options input:checked + .vo-swatch { background:transparent; box-shadow:0 0 0 2px var(--zv-ink); border-color:transparent; }
.zv-theme .vo-pdp-options input:not(:checked) + .vo-swatch:hover { box-shadow:0 0 0 2px #d2d2d2; }
.zv-theme .vo-pdp-options [data-option-display="buttons"] .vo-swatch,.zv-theme .vo-pdp-options [data-option-display="labels"] .vo-swatch { min-height:40px; border-radius:999px; padding:0 18px; font-size:14px; }

/* image selector: each value shows that variant's own photo; no outlines, one ring on the chosen one */
.zv-theme .vo-pdp-options [data-option-display="images"] .vo-option-values { gap:12px; }
.zv-theme .vo-pdp-options [data-option-display="images"] .vo-swatch { position:relative; width:var(--option-image-size,68px); height:var(--option-image-size,68px); min-height:0; padding:0; overflow:hidden; border:0; border-radius:14px; background:#fff; transition:box-shadow .2s,opacity .2s; }
.zv-theme .vo-pdp-options [data-option-display="images"] .vo-option-image { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; border-radius:0; object-fit:contain; }
.zv-theme .vo-pdp-options [data-option-display="images"] .vo-swatch:not([data-has-image="true"]) { width:auto; min-width:var(--option-image-size,68px); padding:0 16px; flex-direction:row; justify-content:center; font-size:14px; }
.zv-theme .vo-pdp-options [data-option-display="images"] input:not(:checked) + .vo-swatch:hover { opacity:1; box-shadow:0 0 0 2px #d2d2d2; }
.zv-theme .vo-pdp-options [data-option-display="images"] input:checked + .vo-swatch { box-shadow:0 0 0 2px #fff,0 0 0 4px var(--zv-ink); }

/* ---------- Purchase: [ qty ][ Add to cart ][ Buy now ] on one row ---------- */
.zv-theme .vo-pdp-purchase { display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1fr); gap:10px; align-items:stretch; margin-bottom:18px; }
.zv-theme .vo-pdp-quantity-row { order:1; grid-column:1; margin:0; padding:0; border:0; gap:0; }
.zv-theme .vo-pdp-quantity-row > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.zv-theme .vo-pdp-quantity { min-height:52px; border:0; border-radius:999px; background:#f1f1f1; }
.zv-theme .vo-pdp-quantity button { width:40px; font-size:18px; color:var(--zv-ink); }
.zv-theme .vo-pdp-quantity button:hover { color:var(--zv-orange-deep); }
.zv-theme .vo-pdp-quantity input { width:38px; font-family:var(--zv-font); font-size:16px; }
.zv-theme .vo-pdp-purchase .vo-btn { min-height:52px; padding-inline:12px; font-family:var(--zv-font); font-size:13px; font-weight:500; letter-spacing:.09em; white-space:nowrap; transition:background .2s,color .2s,border-color .2s; }
.zv-theme .vo-pdp-purchase [data-add-to-cart] { order:2; }
.zv-theme .vo-pdp-purchase [data-buy-now] { order:3; }
.zv-theme .vo-pdp-purchase [data-add-to-cart]:not(.vo-btn--alt),.zv-theme .vo-pdp-purchase [data-add-to-cart]:disabled { grid-column:2 / -1; }
.zv-theme .vo-pdp-purchase [data-buy-now]:disabled { display:none; }
.zv-theme .vo-pdp-purchase [data-add-to-cart].vo-btn--alt { background:#e8e8e8; color:var(--zv-ink); border:0; }
.zv-theme .vo-pdp-purchase [data-add-to-cart].vo-btn--alt:not(:disabled):hover { background:#d8d8d8; color:var(--zv-ink); }
.zv-theme .vo-pdp-purchase .vo-btn:disabled { background:#eaeaea; border-color:#eaeaea; color:#949494; }
@media (max-width:639px) {
 .zv-theme .vo-pdp-purchase { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .zv-theme .vo-pdp-quantity-row { grid-column:1 / -1; justify-content:space-between; }
 .zv-theme .vo-pdp-quantity-row > span { position:static; width:auto; height:auto; clip-path:none; font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--zv-muted); }
 .zv-theme .vo-pdp-purchase [data-add-to-cart]:not(.vo-btn--alt),.zv-theme .vo-pdp-purchase [data-add-to-cart]:disabled { grid-column:1 / -1; }
}

/* ---------- Accordions in the buy column (the reference store: sentence case, plus / minus) ---------- */
/* Delivery & returns (old pdp-delivery block) stays hidden; blocks/pdp-assurance.sg replaces it. */
.zv-theme .vo-pdp-details > .vo-content-block:has(> details:not([data-product-specifications])) { display:none; }
.zv-theme .vo-pdp-details > :is(details,.vo-content-block:has(> details)) { margin:0; }
.zv-theme .vo-pdp-details details,.zv-theme .vo-pdp-disclosures > details { padding:0; border:0; border-top:1px solid var(--zv-line); }
.zv-theme .vo-pdp-details details > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; padding:0; font-size:16px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--zv-ink); list-style:none; cursor:pointer; }
.zv-theme .vo-pdp-details details > summary::-webkit-details-marker { display:none; }
.zv-theme .vo-pdp-details details > summary::after { content:''; flex:none; width:12px; height:12px; margin-right:2px; border:0; transform:none; background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat; transition:background-size .2s; }
.zv-theme .vo-pdp-details details[open] > summary::after { transform:none; background-size:12px 1.5px,1.5px 0; }
.zv-theme .vo-pdp-details details > summary:hover { color:var(--zv-gold-text); }
.zv-theme .vo-pdp-details details > summary:focus-visible { outline:2px solid var(--zv-primary); outline-offset:4px; border-radius:2px; }
.zv-theme .vo-pdp-details details > :not(summary) { padding-bottom:22px; font-size:15px; line-height:1.7; color:var(--zv-body); }
/* the last accordion closes the list with a rule */
.zv-theme .vo-pdp-details > :has(> details):not(:has(~ :has(> details))) details { border-bottom:1px solid var(--zv-line); }

/* ---------- Description ----------
   "Product details & care" accordion in the buy column (pdp-description, collapsible). No inner scroll box: the
   accordion opens to the full text. Pictures from the description still go under the gallery (`.vo-pdp-info`). */
.zv-theme .vo-pdp-details > div:not(:has(*)) { display:none; }
.zv-theme .vo-pdp-details .vo-prose { font-size:15px; line-height:1.7; color:var(--zv-body); }
.zv-theme .vo-pdp-details .vo-prose p { margin:0 0 10px; }
.zv-theme .vo-pdp-details .vo-prose :is(h1,h2,h3,h4) { margin:16px 0 8px; font-size:16px; font-weight:600; letter-spacing:0; color:var(--zv-ink); }
.zv-theme .vo-pdp-details .vo-prose strong { font-weight:600; color:var(--zv-ink); }
.zv-theme .vo-pdp-details .vo-prose :is(ul,ol) { margin:0 0 12px; padding-left:20px; }
.zv-theme .vo-pdp-details .vo-prose li { margin:0 0 6px; }
.zv-theme .vo-pdp-details .vo-prose table { display:block; max-width:100%; overflow-x:auto; font-size:14px; border-collapse:collapse; }
.zv-theme .vo-pdp-details .vo-prose :is(td,th) { padding:6px 10px; border-bottom:1px solid var(--zv-line); text-align:left; }
/* an uncollapsed description (setting off) just flows, with a small label */
.zv-theme .vo-pdp-details > div:has(> .vo-prose) { margin-top:24px; }
.zv-theme .vo-pdp-details > div:has(> .vo-prose)::before { content:'Description'; display:block; margin-bottom:10px; font-size:12px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--zv-muted); }
.zv-theme main .vo-pdp .vo-pdp-info { min-width:0; margin-top:48px; }
.zv-theme main .vo-pdp .vo-pdp-info::before { content:'Product details'; display:block; margin-bottom:16px; font-size:22px; font-weight:500; letter-spacing:-.01em; color:var(--zv-ink); }
.zv-theme .vo-pdp-desc-images { display:grid; gap:14px; }
.zv-theme .vo-pdp-desc-images img { display:block; width:100%; height:auto; border-radius:14px; background:#f1f1f1; }

/* ---------- Reviews + related ---------- */
.zv-theme [class*="review"],.zv-theme [class*="review"] :is(h2,h3,p,a,button,span,label,input,textarea) { font-family:var(--zv-font); }
.zv-theme main .vo-pdp ~ section.vo-section h2 { font-size:30px; font-weight:400; letter-spacing:-.012em; }
.zv-theme .vo-catalog-product > .vo-content-block:has(> s.block) { grid-column:1; grid-row:3; display:flex; flex-direction:row-reverse; justify-content:flex-end; align-items:baseline; gap:2px 10px; padding:10px 0 0 18px; }
.zv-theme .vo-catalog-product > .vo-content-block > s.block { font-size:14px; font-weight:400; color:#949494; }
.zv-theme .vo-catalog-product > .vo-content-block > span.block { font-size:17px; font-weight:500; letter-spacing:.02em; color:var(--zv-ink); }

/* ---------- Sticky add-to-cart bar ---------- */
/* Floating product bar: see zevar-brand.css, Floating product bar. */

@media (max-width:767px) {
 .zv-theme main .vo-pdp { padding-top:12px; }
 .zv-theme .vo-pdp-price .text-2xl { font-size:28px; }
 .zv-theme .vo-pdp-gallery [data-gallery-slide] { border-radius:16px; }
 .zv-theme main .vo-pdp ~ section.vo-section h2 { font-size:24px; }
 .zv-theme main .vo-pdp .vo-pdp-info { margin-top:32px; }
 .zv-theme .vo-catalog-product > .vo-content-block:has(> s.block) { grid-column:1/-1; padding:8px 12px 0; }
}

/* ---------- Gallery details: zoom icon, photo counter, rail cues ---------- */
.zv-theme .vo-pdp-zoom { font-size:0; line-height:0; background-color:rgba(255,255,255,.94); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1916' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:center; background-size:20px; transition:background-color .2s; }
.zv-theme .vo-pdp-zoom:hover { background-color:var(--zv-primary); }
.zv-theme .vo-pdp .vo-pdp-gallery [data-gallery-slide] img { cursor:zoom-in; }
.zv-gallery-count { position:absolute; inset-inline-end:14px; bottom:14px; z-index:3; padding:6px 12px; border-radius:999px; background:rgba(27,27,27,.72); color:#fff; font:500 12px/1 var(--zv-font); letter-spacing:.08em; pointer-events:none; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.zv-gallery-count[hidden] { display:none; }
@media (min-width:960px) {
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs][data-fade-end="true"]:not([data-fade-start="true"]) { -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 44px),transparent); mask-image:linear-gradient(to bottom,#000 calc(100% - 44px),transparent); }
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs][data-fade-start="true"]:not([data-fade-end="true"]) { -webkit-mask-image:linear-gradient(to bottom,transparent,#000 44px); mask-image:linear-gradient(to bottom,transparent,#000 44px); }
 .zv-theme .vo-pdp-gallery [data-gallery-thumbs][data-fade-start="true"][data-fade-end="true"] { -webkit-mask-image:linear-gradient(to bottom,transparent,#000 44px,#000 calc(100% - 44px),transparent); mask-image:linear-gradient(to bottom,transparent,#000 44px,#000 calc(100% - 44px),transparent); }
}

/* ---------- Full-screen gallery (built by zevar-product.js) ---------- */
html.zv-lb-open { overflow:hidden; }
.zv-lb { position:fixed; inset:0; z-index:100; display:grid; grid-template-columns:112px minmax(0,1fr); grid-template-rows:68px minmax(0,1fr); background:rgba(20,18,16,.96); color:#fff; font-family:var(--zv-font); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.zv-lb[hidden] { display:none; }
.zv-lb button { cursor:pointer; border:0; font-family:inherit; }
.zv-lb button:focus-visible { outline:2px solid var(--zv-primary); outline-offset:3px; }
.zv-lb__bar { grid-column:1 / -1; grid-row:1; position:relative; display:flex; align-items:center; justify-content:center; }
.zv-lb__count { font-size:14px; font-weight:500; letter-spacing:.16em; }
.zv-lb__close { position:absolute; inset-inline-end:20px; top:12px; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; transition:background .2s,color .2s; }
.zv-lb__close:hover { background:var(--zv-primary); color:var(--zv-on-primary); }
.zv-lb__thumbs { grid-column:1; grid-row:2; display:flex; flex-direction:column; gap:10px; padding:4px 14px 28px 24px; overflow-y:auto; scrollbar-width:none; }
.zv-lb__thumbs::-webkit-scrollbar { display:none; }
.zv-lb__thumbs button { flex:none; width:72px; height:72px; padding:0; border-radius:12px; overflow:hidden; background:#fff; opacity:.6; transition:opacity .2s,box-shadow .2s; }
.zv-lb__thumbs button img { display:block; width:100%; height:100%; object-fit:contain; }
.zv-lb__thumbs button:hover { opacity:1; }
.zv-lb__thumbs button[aria-current="true"] { opacity:1; box-shadow:0 0 0 2px var(--zv-primary); }
.zv-lb__stage { grid-column:2; grid-row:2; position:relative; display:grid; place-items:center; min-height:0; padding:0 96px 32px; }
.zv-lb__img { display:block; max-width:100%; max-height:calc(100vh - 112px); width:auto; height:auto; object-fit:contain; border-radius:14px; background:#fff; box-shadow:0 30px 80px -30px rgba(0,0,0,.8); transition:opacity .2s; }
.zv-lb__img.is-loading { opacity:.35; }
.zv-lb__nav { position:absolute; top:calc(50% - 16px); transform:translateY(-50%); display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:#fff; color:var(--zv-ink); box-shadow:0 12px 28px -12px rgba(0,0,0,.7); transition:background .2s,color .2s; }
.zv-lb__nav--prev { inset-inline-start:24px; }
.zv-lb__nav--next { inset-inline-end:24px; }
.zv-lb__nav:hover { background:var(--zv-primary); color:var(--zv-on-primary); }
.zv-lb.is-single { grid-template-columns:minmax(0,1fr); }
.zv-lb.is-single .zv-lb__stage { grid-column:1; }
.zv-lb.is-single .zv-lb__thumbs,.zv-lb.is-single .zv-lb__nav { display:none; }
@media (max-width:767px) {
 .zv-lb { grid-template-columns:minmax(0,1fr); grid-template-rows:60px minmax(0,1fr) 84px; }
 .zv-lb__close { top:8px; inset-inline-end:12px; width:42px; height:42px; }
 .zv-lb__stage { grid-column:1; grid-row:2; padding:0 12px 8px; }
 .zv-lb__img { max-height:calc(100vh - 170px); border-radius:10px; }
 .zv-lb__nav { width:42px; height:42px; top:calc(50% - 4px); }
 .zv-lb__nav--prev { inset-inline-start:14px; }
 .zv-lb__nav--next { inset-inline-end:14px; }
 .zv-lb__thumbs { grid-column:1; grid-row:3; flex-direction:row; gap:8px; padding:8px 14px 14px; overflow-x:auto; overflow-y:hidden; }
 .zv-lb__thumbs button { width:60px; height:60px; border-radius:10px; }
}

/* ---------- Stars ----------
   Five stars filled to a rating: set --zv-rating (0–5) on the element. Reviews themselves: zevar-reviews.css. */
.zv-stars { font-size:0!important; display:inline-block; line-height:1; white-space:nowrap; }
.zv-stars::before { content:'\2605\2605\2605\2605\2605'; font-size:var(--zv-star-size,20px); letter-spacing:.12em; background:linear-gradient(90deg,#6f6f6f calc(var(--zv-rating,0) / 5 * 100%),#e0e0e0 0); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; }
.zv-theme .vo-pdp-header .zv-rating-link { margin-top:-4px; }

/* ---------- Sale badges: solid, high-contrast (overrides the old lavender .vo-saving in brand-consistency.css) ---------- */
.zv-theme .vo-saving { position:relative; display:inline-flex; align-items:center; gap:7px; padding:8px 15px 8px 12px!important; border:0!important; border-radius:10px!important; background:linear-gradient(135deg,#535353 0%,#3d3d3d 100%)!important; color:#fff!important; font-size:14px!important; font-weight:600!important; letter-spacing:.06em!important; line-height:1!important; text-transform:uppercase; box-shadow:0 10px 20px -10px rgba(125,13,44,.8)!important; }
.zv-theme .vo-saving::before { content:''; flex:none; width:15px; height:15px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.3' fill='white'/%3E%3C/svg%3E") center/contain no-repeat; }
.zv-theme .vo-saving[hidden] { display:none!important; }
.zv-theme [data-product-sale] { background:var(--mn-brown,#3d3d3d)!important; color:#fff!important; border-radius:8px!important; padding:7px 12px!important; font-size:12px!important; font-weight:600!important; letter-spacing:.1em!important; box-shadow:0 10px 20px -10px rgba(125,13,44,.8); }
.zv-theme .vo-catalog-product > .vo-catalog-discount { background:var(--mn-brown,#3d3d3d)!important; color:#fff!important; font-weight:600!important; letter-spacing:.05em; border-radius:7px!important; padding:4px 9px!important; box-shadow:0 8px 16px -9px rgba(125,13,44,.8); }

/* ---------- Quantity: say why the + stops ---------- */
.zv-theme .vo-pdp-quantity[data-at-max="true"] button[data-qty-step="1"] { opacity:.3; cursor:not-allowed; }
.zv-qty-note { grid-column:1 / -1; order:4; display:flex; align-items:center; gap:8px; margin:2px 0 0; font-size:13px; font-weight:500; letter-spacing:.02em; color:#646464; }
.zv-qty-note[hidden] { display:none; }
.zv-qty-note::before { content:''; flex:none; width:6px; height:6px; border-radius:50%; background:var(--zv-primary); box-shadow:0 0 0 4px #e8e8e8; }

/* ---------- Delivery note, payment options, Delivery & exchanges (blocks/pdp-assurance.sg) ---------- */
.zv-theme .zv-assure { display:grid; gap:18px; margin:6px 0 22px; }
.zv-theme .zv-assure p { margin:0; }
.zv-theme .zv-assure__note { display:flex; align-items:flex-start; gap:14px; padding:14px 18px; border:1px solid #e0e0e0; border-radius:8px; background:#f7f7f7; }
.zv-theme .zv-assure__icon { flex:none; margin-top:1px; color:var(--zv-gold-text); }
.zv-theme .zv-assure__title { font-size:15px; font-weight:600; color:var(--zv-ink); }
.zv-theme .zv-assure__text { margin-top:2px!important; font-size:14.5px; line-height:1.55; color:var(--zv-body); }
.zv-theme .zv-assure a { color:var(--zv-gold-text); text-decoration:underline; text-underline-offset:3px; }
.zv-theme .zv-assure a:hover { color:var(--zv-ink); }
.zv-theme .zv-assure__label { margin-bottom:10px!important; font-size:14.5px; color:var(--zv-muted); }
.zv-theme .zv-assure__methods { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0; list-style:none; }
.zv-theme .zv-pay { display:flex; line-height:0; }
.zv-theme .zv-pay svg { display:block; border-radius:4px; }
.zv-theme .zv-pay--cod { align-items:center; gap:6px; height:30px; padding:0 10px; border:1px solid var(--zv-line); border-radius:4px; background:#fff; font-size:12.5px; font-weight:500; line-height:1; color:var(--zv-ink); }
.zv-theme .zv-assure__fine { margin-top:10px!important; font-size:13.5px; color:var(--zv-muted); }
.zv-theme .zv-assure__more { margin-top:4px; }
.zv-theme .zv-assure__body p { margin:0 0 8px; }
.zv-theme .zv-assure__links { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:4px!important; font-size:14px; }
.zv-theme .zv-assure__links a + a::before { content:'·'; display:inline-block; margin-right:14px; color:var(--zv-muted); text-decoration:none; }
/* the assurance accordion and the next one share one rule between them */
.zv-theme .vo-pdp-details > .zv-assure + * details { border-top:1px solid var(--zv-line); }
.zv-theme .vo-pdp-details > .zv-assure:has(+ :has(> details)) { margin-bottom:0; }

/* ---------- WhatsApp question (blocks/pdp-whatsapp.sg) ---------- */
.zv-theme .zv-wa { margin:22px 0 0; text-align:center; }
.zv-theme .zv-wa a { display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:500; color:var(--zv-gold-text); text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.zv-theme .zv-wa a svg { color:#1f9d55; }
.zv-theme .zv-wa a:hover { color:var(--zv-ink); }

/* ---------- Sticky buy box: only while it fits the screen (zevar-product.js sets data-zv-tall) ---------- */
@media (min-width:960px) {
 .zv-theme main .vo-pdp .vo-pdp-details[data-zv-tall="true"] { position:static; }
}
