/*
 * WhatsApp Store (public page). Colours and fonts come from the theme as CSS
 * variables; body.st-<theme> adds each theme's own character.
 */
*, *::before, *::after { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font-body); padding-bottom: 96px; }
body.locked { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero { position: relative; }
.hero-banner { height: 190px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--bg))) center / cover; }
.hero-body { position: relative; text-align: center; margin-top: -54px; padding-bottom: 8px; }
/* The logo at its own shape, never cut (owner 2026-11-29: a wide logo was cut into a square): as high as the owner chose,
   at most twice as wide; on a plate (rounded, the plate colour or the boxes' colour) or bare */
.hero-logo { display: block; width: auto; height: var(--logo-size, 104px); max-width: min(calc(var(--logo-size, 104px) * 2.4), 86vw); object-fit: contain; margin: 0 auto 12px; }
.hero-logo.logo-plate { padding: 8px; border-radius: calc(var(--radius) + 12px); background: var(--logo-plate, var(--surface)); box-shadow: 0 12px 30px rgb(0 0 0 / .18); }
.hero-logo.logo-bare { filter: drop-shadow(0 6px 14px rgb(0 0 0 / .22)); }
.hero h1 { margin: 0; font: 700 30px/1.15 var(--font-head); letter-spacing: -.01em; }
.hero-body:not(:has(.hero-logo)) { margin-top: 18px; }
.tagline { margin: 6px auto 0; max-width: 520px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.chip-ok .fa-circle { color: #22c55e; font-size: 8px; } .chip-off .fa-circle { color: #ef4444; font-size: 8px; }

/* Toolbar */
.toolbar { position: sticky; top: 0; z-index: 20; padding: 12px 0 8px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: calc(var(--radius) + 6px); background: var(--surface); color: var(--muted); box-shadow: 0 2px 10px rgb(0 0 0 / .06); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--text) 14%, transparent); background: var(--surface); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cat.on { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }

/* Sections */
.block { margin-top: 18px; }
.block-title { margin: 0 0 12px; font: 700 18px var(--font-head); }
.featured { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.featured::-webkit-scrollbar { display: none; }
.feat { flex: 0 0 72%; max-width: 320px; scroll-snap-align: start; padding: 0; border: 0; text-align: left; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--surface); box-shadow: 0 8px 24px -10px rgb(0 0 0 / .25); }
.feat-img { display: block; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--muted) 20%, transparent) center / cover; }
.feat-body { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .feat { flex-basis: 40%; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgb(0 0 0 / .06); }
.card-img { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: color-mix(in srgb, var(--muted) 12%, transparent); aspect-ratio: 1; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* pinned, so a portrait photo cannot stretch the tile */
.noimg { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 28px; opacity: .5; }
.badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: 11px; font-weight: 700; }
.badge-dark { left: auto; right: 8px; background: #111; color: #fff; }
.soldout .card-img img { filter: grayscale(.8); opacity: .7; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.card-body .name, .feat .name { padding: 0; border: 0; background: none; text-align: left; font-weight: 600; font-size: 14px; line-height: 1.3; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font-weight: 700; color: var(--text); font-size: 14px; }
.price del { margin-left: 4px; font-weight: 400; font-size: 12px; color: var(--muted); }
.add { width: 34px; height: 34px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-text); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--accent) 80%, transparent); }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.foot { text-align: center; color: var(--muted); font-size: 12px; margin: 40px 0 10px; }
.foot a { color: inherit; }

/* Cart bar */
.cartbar { position: fixed; z-index: 30; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(520px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 600; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 85%, black); }
.cartbar strong { margin-left: auto; }
.cartbar-count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: rgb(255 255 255 / .25); font-size: 13px; }

/* Sheets */
.overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgb(0 0 0 / .5); }
@media (min-width: 720px) { .overlay { align-items: center; padding: 24px; } }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; background: var(--surface); color: var(--text); border-radius: calc(var(--radius) + 14px) calc(var(--radius) + 14px) 0 0; box-shadow: 0 -10px 40px rgb(0 0 0 / .3); }
@media (min-width: 720px) { .sheet { border-radius: calc(var(--radius) + 14px); } }
.sheet-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery img { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; object-fit: cover; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.name-row .field { min-width: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; font-size: 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.consent small { display: block; opacity: .7; font-size: 12px; }
.sheet-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); } /* room under the last button for the phone's home bar */
.sheet-body h3 { margin: 0 40px 4px 0; font: 700 22px/1.2 var(--font-head); }
.price.big { font-size: 18px; margin: 0 0 10px; }
.desc { color: var(--muted); white-space: pre-line; margin: 0 0 14px; }
.opt { margin-bottom: 14px; }
.opt-name { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent); background: none; font-weight: 600; font-size: 13px; }
.pill.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.sheet-actions { display: flex; gap: 12px; align-items: center; position: sticky; bottom: 0; padding-top: 10px; background: var(--surface); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.qty.small button { width: 32px; height: 34px; font-size: 16px; }
.btn-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: calc(var(--radius) + 6px); background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-main:disabled { opacity: .5; cursor: not-allowed; }
.btn-main.wa { background: #25d366; color: #fff; }
.btn-ghost { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 0; background: none; color: var(--muted); font-weight: 600; }

/* Cart */
.line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.line img { width: 54px; height: 54px; object-fit: cover; border-radius: calc(var(--radius) * .6 + 4px); }
.line-info { flex: 1; min-width: 0; }
.line-info p { margin: 0; }
.line-info .name { font-weight: 600; font-size: 14px; }
.muted { color: var(--muted); font-size: 12.5px; }
.checkout { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: calc(var(--radius) + 6px); background: color-mix(in srgb, var(--text) 7%, transparent); }
.seg button { padding: 10px; border: 0; border-radius: calc(var(--radius) + 3px); background: none; font-weight: 600; }
.seg button.on { background: var(--surface); box-shadow: 0 2px 8px rgb(0 0 0 / .1); }
.totals p { display: flex; justify-content: space-between; margin: 4px 0; font-size: 14px; }
.totals .total { font-weight: 800; font-size: 17px; }
.warn, .err { color: #dc2626; font-size: 13px; margin: 0; }
.note { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 13px; }
.field { width: 100%; padding: 12px 14px; border-radius: calc(var(--radius) * .5 + 6px); border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); background: var(--bg); color: var(--text); font: 15px var(--font-body); }
.phone-row .iti { width: 100%; }
.done { text-align: center; padding: 34px 22px 26px; }
.done-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #16a34a; font-size: 28px; }
.done h3 { margin: 0 0 6px; }
.done .btn-main { margin-top: 18px; }

/* ===================== Theme personalities ===================== */
.st-boutique .hero h1, .st-boutique .block-title { font-weight: 600; letter-spacing: .02em; }
.st-boutique .block-title { text-transform: uppercase; font-size: 14px; letter-spacing: .2em; font-family: var(--font-body); }
.st-boutique .card { box-shadow: none; border: 1px solid #efe4df; }
.st-boutique .add, .st-boutique .btn-main, .st-boutique .cartbar { border-radius: 2px; }

.st-market .hero-banner { height: 220px; }
.st-market .card { box-shadow: 0 6px 18px -8px rgb(60 100 20 / .35); }
.st-market .price { color: var(--accent); }

.st-midnight .card, .st-midnight .search, .st-midnight .chip, .st-midnight .cat { box-shadow: 0 0 0 1px rgb(255 255 255 / .06); }
.st-midnight .add, .st-midnight .cartbar { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent); }
.st-midnight .hero-banner { filter: saturate(1.2) brightness(.8); }

.st-minimal .card, .st-minimal .search, .st-minimal .chip, .st-minimal .feat { box-shadow: none; }
.st-minimal .card { border-bottom: 1px solid #e5e5e5; }
.st-minimal .search { border: 1px solid #e5e5e5; }
.st-minimal .hero h1, .st-minimal .block-title { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.st-minimal .hero-banner { filter: grayscale(1); }
.st-minimal .add, .st-minimal .cartbar, .st-minimal .chip, .st-minimal .cat { border-radius: 0; }

.st-bold .hero h1 { font-size: 46px; letter-spacing: .02em; text-shadow: 3px 3px 0 #fff, 5px 5px 0 #111; }
.st-bold .card, .st-bold .search, .st-bold .feat, .st-bold .chip { border: 3px solid #111; box-shadow: 5px 5px 0 #111; }
.st-bold .add, .st-bold .cartbar, .st-bold .btn-main { border: 3px solid #111; box-shadow: 3px 3px 0 #111; }
.st-bold .block-title { font-size: 28px; letter-spacing: .03em; }
.st-bold .cat.on { border-color: #111; }

.st-luxe .hero h1, .st-luxe .block-title { text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.st-luxe .card, .st-luxe .feat, .st-luxe .search, .st-luxe .chip { box-shadow: none; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.st-luxe .add, .st-luxe .btn-main:not(.wa), .st-luxe .cartbar { background: linear-gradient(180deg, #ecd27a, #b8902a); color: #111; }
.st-luxe .hero-logo.logo-plate { outline: 3px solid var(--accent); outline-offset: -3px; }
.st-luxe .price { color: var(--accent); }

.st-pastel .hero-banner { background: linear-gradient(135deg, #e9d5ff, #fed7aa, #bfdbfe); }
.st-pastel .card { box-shadow: 0 10px 26px -14px rgb(139 92 246 / .45); }
.st-pastel .search, .st-pastel .chip { box-shadow: 0 6px 18px -10px rgb(139 92 246 / .4); }

.st-earthy body, body.st-earthy { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.st-earthy .card { box-shadow: 0 1px 0 rgb(0 0 0 / .05); border: 1px solid #e8dccb; }
.st-earthy .block-title { font-style: italic; }

.st-neon .hero h1 { color: #fff; text-shadow: 0 0 12px var(--accent), 0 0 30px var(--accent); font-weight: 400; }
.st-neon .card, .st-neon .feat { box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.st-neon .add, .st-neon .cartbar, .st-neon .cat.on { box-shadow: 0 0 18px var(--accent); }
.st-neon .block-title { font-weight: 400; font-size: 22px; color: var(--accent); }
.st-neon .hero-banner { background-image: linear-gradient(135deg, #e879f9, #22d3ee); }

/* ---------- Extras: hero buttons, location, contact buttons, links, labels, stock, share ---------- */
.hero-banner { position: relative; }
.hero-top { display: flex; justify-content: space-between; gap: 8px; padding-top: 14px; }
.hero-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgb(0 0 0 / .35); color: #fff; font-size: 12.5px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 380px) { .hero-btn span { display: none; } }
.location { margin: 4px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: calc(var(--radius) + 6px); background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.cbtn + .cbtn { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 18%, transparent); }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: 13px; }
.links a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.links .fa { font-size: 10px; opacity: .6; }
.feat-img { position: relative; }
.badge.static { position: static; display: inline-block; margin-bottom: 8px; }
.name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.mini-share { flex-shrink: 0; border: 0; background: none; padding: 2px; color: var(--muted); font-size: 12px; }
.left { margin: 0; font-size: 12px; font-weight: 700; color: #dc2626; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.link-btn .fa-whatsapp { color: #25d366; }

/* Product photo shape (owner's choice) */
.shape-landscape .card-img, .shape-landscape .gallery img { aspect-ratio: 4 / 3; }
.shape-portrait .card-img, .shape-portrait .gallery img { aspect-ratio: 3 / 4; }
.shape-landscape .feat-img { aspect-ratio: 16 / 10; }
.shape-portrait .feat-img { aspect-ratio: 4 / 5; }

.book-when{display:grid;grid-template-columns:1fr 1fr;gap:10px}.book-when label{display:block;font-size:12px;color:var(--muted)}.book-when .field{margin-top:4px}
button.cbtn{font:inherit;cursor:pointer}

/* Where to collect, with a Google Maps link. */
.pickup-at { margin: 0; font-size: 14px; opacity: .85; } .pickup-at a { margin-left: 6px; font-weight: 700; color: var(--accent); }

/* Sub-categories under the chosen category. */
.cats.subcats { margin-top: 6px; } .cats.subcats .cat { font-size: 12px; padding: 5px 11px; opacity: .9; }

/* "Have a code?" (shop discount codes) */
.code-box { display: grid; gap: 6px; }
.code-label { font-size: 13px; font-weight: 600; }
.code-row { display: flex; gap: 8px; }
.code-row .field { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.code-btn { flex-shrink: 0; padding: 0 16px; border: 1px solid var(--accent); border-radius: calc(var(--radius) * .5 + 6px); background: transparent; color: var(--text); font-weight: 700; }
.code-btn:disabled { opacity: .5; }
.code-ok { margin: 0; color: #16a34a; font-size: 13px; font-weight: 600; }
.totals .discount { color: #16a34a; font-weight: 600; }

/* Floating cart: remove a line; pay now or send on WhatsApp */
.line-x { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.line-x:hover { color: #dc2626; }
.btn-main.btn-alt { background: transparent; color: var(--text); border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); }
.checkout-or { margin: 2px 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Review-and-pay page (store-pay/{token}) */
.review-page { padding-bottom: 32px; }
.review { max-width: 560px; padding-top: 18px; display: grid; gap: 12px; }
.review h1 { margin: 0; font: 700 26px/1.2 var(--font-head); }
.review .back { color: var(--muted); font-size: 14px; text-decoration: none; }
.review .muted { margin: 0; }
.review .center { text-align: center; }
.panel-box { display: grid; gap: 10px; padding: 16px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.panel-box p { margin: 0; }
.rline { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.rline small { color: var(--muted); }
.pay-list { display: grid; gap: 10px; }
.pay-list .btn-main { flex: none; height: auto; min-height: 50px; padding: 10px 14px; text-align: center; flex-wrap: wrap; }
.pay-list .btn-main small { font-weight: 500; opacity: .8; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.bank dt { color: var(--muted); } .bank dd { margin: 0; font-weight: 600; word-break: break-word; }
.review .foot { text-align: center; font-size: 12px; color: var(--muted); }
.review .foot a { color: inherit; }

/* Phones: form boxes at 16px or more, or iPhones zoom the page in when one is tapped (audit 2026-11-14). */
@media (max-width: 639px) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; } }
/* Product photos: slider with dots and counter, tap for the large view (owner 2026-11-15) */
.gallery-wrap { position: relative; }
.gallery img { cursor: zoom-in; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.g-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .15); transition: width .2s; }
.g-dots button.on { width: 20px; background: #fff; }
.g-count { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 99px; background: rgb(0 0 0 / .55); color: #fff; font-size: 12px; font-weight: 700; }
.g-arrow, .g-zoom { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 99px; background: rgb(255 255 255 / .9); color: #111; box-shadow: 0 2px 8px rgb(0 0 0 / .2); cursor: pointer; }
.g-arrow { top: 50%; transform: translateY(-50%); }
.g-arrow.prev { left: 10px; } .g-arrow.next { right: 10px; }
.g-zoom { right: 12px; bottom: 12px; width: 36px; height: 36px; font-size: 14px; }
@media (hover: none) { .g-arrow { display: none; } }
.viewer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgb(0 0 0 / .94); touch-action: pinch-zoom; }
.viewer img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.viewer-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 99px; background: rgb(255 255 255 / .15); color: #fff; font-size: 20px; cursor: pointer; }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 99px; background: rgb(255 255 255 / .15); color: #fff; font-size: 18px; cursor: pointer; }
.viewer-arrow.prev { left: 12px; } .viewer-arrow.next { right: 12px; }
.viewer-count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 700; }
[data-drag-scroll] { cursor: grab; } [data-drag-scroll] img { -webkit-user-drag: none; user-select: none; }

/* Deals, sale end, back-in-stock list, policies (2026-11-15) */
.sale-ends { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #b45309; }
.deal-chip { display: inline-flex; align-items: center; gap: 6px; margin: 8px 6px 0 0; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); font-size: 13px; font-weight: 600; }
.waitlist { margin: 12px 0 4px; }
.waitlist-form { display: grid; gap: 8px; }
.policies { margin: 12px 0 4px; display: grid; gap: 6px; }
.policy { border: 1px solid color-mix(in srgb, var(--text) 12%, transparent); border-radius: 12px; padding: 10px 12px; }
.policy summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.policy p { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Specials (App card plan section 5): products on special and running deals, above Featured */
.specials .block-title .fa { color: var(--accent); margin-right: 4px; }
.specials .deal-row { display: flex; flex-wrap: wrap; margin: -4px 0 10px; }
.specials .deal-chip { min-height: 40px; margin-top: 4px; border: 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600; }
.specials .feat-body { flex-wrap: wrap; }
.sale-ends { flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: var(--accent); }
/* No price yet: "Ask for the price" (owner 2026-11-30) */
.ask-price { font-weight: 600; font-size: .92em; color: var(--accent); }
