/* Zoompri — FOCUSED home (owner approved 2026-11-28). Hand-written; NOT generated by tools/build-blue.py.
   Loaded last, only on the focused home (inc/zp-focus.php), after zp-ad.css / zp-blue-site.css / zp-red.css.
   Site tokens only: no colour, font or radius of its own. Source: home-focused-2026-11-28/build_focused.py (FX_CSS + HALF_CSS). */
/* ============ fx: additions for the focused home page (site tokens only) ============ */
.zp-h2.fx [hidden]{display:none!important}

/* city picker: the header pill (from 1024px) and the chip that starts the category row (phones and tablets) */
.zp-h2.fx .x-nbc .ic:last-child{transition:transform .3s var(--ease)}
.zp-h2.fx :is(.bar .loc,.x-nbc)[aria-expanded=true] .ic:last-child{transform:rotate(180deg)}
html:not(.zp-js) .zp-h2.fx :is(.bar .loc,.x-nbc){cursor:default}
html:not(.zp-js) .zp-h2.fx :is(.bar .loc,.x-nbc) .ic:last-child{display:none}
/* the category row: the storefront home's chip bar (css/zp-ad.css) with links for chips; this page is the Beauty one.
   The theme draws a link in .cats as plain underlined text from 1024px (the /deals/ row); here it stays the .tab chip. */
.zp-h2.fx .x-fb-s a.tab{border:1px solid var(--z-line2);border-radius:999px;background:var(--card);color:var(--z-deep)}
.zp-h2.fx .x-fb-s a.tab::after{content:none}
.zp-h2.fx .x-fb-s a.tab:hover{background:var(--z-soft);border-color:var(--z-ink-a32)}
.zp-h2.fx .x-fb-s a.tab[aria-current]{background:var(--z-deep);color:var(--z-deep-ink);border-color:var(--z-deep)}
/* below 1024px the city panel opens under the row, not over the chip that opened it */
@media(max-width:1023.98px){
  .zp-h2.fx .apop{top:calc(100% + var(--ch) + 8px);max-height:calc(100svh - var(--bh) - var(--ch) - 24px)}
}
/* the header and the row leave on the way down the page and come back on the way up (js/zp-focus.js: body.fx-gone).
   Both travel the same distance, so they move as one piece; 24px more than their height takes the shadow with them. */
.zp-h2.fx .bar,.zp-h2.fx .cats{transition:transform .34s var(--ease)}
.zp-h2.fx.fx-gone :is(.bar,.cats){transform:translateY(calc(-1 * (var(--bh) + var(--ch) + 24px)))}
@media(prefers-reduced-motion:reduce){.zp-h2.fx .bar,.zp-h2.fx .cats{transition:none}}
/* city picker: the panel (the site's .apop box, plus a search field and two small lines) */
.zp-h2.fx .fx-cs{display:flex;align-items:center;gap:10px;height:48px;margin:0 4px 8px;padding:0 14px;border-radius:999px;background:var(--z-card);border:1px solid var(--z-line2);transition:border-color .3s var(--ease)}
.zp-h2.fx .fx-cs:focus-within{border-color:var(--z-deep)}
.zp-h2.fx .fx-cs .ic{flex:none;width:18px;height:18px;color:var(--z-mute)}
.zp-h2.fx .fx-cs input{flex:1;min-width:0;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--z-ink);font:400 16px/1.2 var(--fb)}
.zp-h2.fx .fx-cs input::placeholder{color:var(--z-mute)}
.zp-h2.fx .fx-cs input:focus,.zp-h2.fx .fx-cs input:focus-visible{outline:none}
.zp-h2.fx .fx-cs input::-webkit-search-cancel-button{display:none}
.zp-h2.fx .fx-hint,.zp-h2.fx .fx-src{margin:0;padding:6px 12px 8px;font-size:13.5px;line-height:1.4;color:var(--z-mute)}
.zp-h2.fx .fx-hint{color:var(--z-ink);font-weight:600}
.zp-h2.fx .fx-src{margin-top:4px;padding-top:10px;border-top:1px solid var(--z-line)}
@media(min-width:1024px){.zp-h2.fx .apop{width:380px}}

/* hero: the picture tiles are the one filter */
.zp-h2.fx .y-tiles .xp{cursor:pointer;transition:box-shadow .3s var(--ease)}
.zp-h2.fx .y-tiles .xp img{transition:transform .7s var(--ease),opacity .3s var(--ease)}
.zp-h2.fx .y-tiles .xp[aria-pressed=true]{box-shadow:0 0 0 3px var(--z-hero-ink)}
.zp-h2.fx .y-tiles.fx-f .xp[aria-pressed=false] img{opacity:.45}
.zp-h2.fx .fx-on{position:absolute;top:8px;right:8px;display:none;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--z-card);color:var(--z-deep)}
.zp-h2.fx .fx-on .ic{width:16px;height:16px;stroke-width:2.6}
.zp-h2.fx .xp[aria-pressed=true] .fx-on{display:grid}
@media(min-width:1024px){.zp-h2.fx .y-tiles{flex-wrap:wrap;overflow:visible}}
@media(max-width:389.98px){.zp-h2.fx .x-hero .ttl em{white-space:normal}}

/* the one deals section */
.zp-h2.fx .fx-clear{margin-bottom:14px}
.zp-h2.fx .fx-clear .ic{width:15px;height:15px}
.zp-h2.fx .fx-near{margin-top:34px}
.zp-h2.fx .fx-else{margin-top:40px;padding-top:22px;border-top:1px solid var(--z-line)}
.zp-h2.fx .fx-else-t{margin:0;font:600 15px/1.3 var(--fb);color:var(--z-mute)}
.zp-h2.fx .fx-else .qk{list-style:none;margin:12px 0 0;padding:0}
@media(min-width:1024px){.zp-h2.fx .fx-near{margin-top:48px}.zp-h2.fx .fx-clear{margin-bottom:18px}}

/* ---- deal cards: the "half-way" sizes (owner approved 2026-11-28). Phone: two per row, picture 5:4, title 16px up to
   three lines, price + regular price + Save badge on one line. Screen edge stays 16px; the neighbourhood stays under the shop. ---- */
.zp-h2.zx.fx .zx-c .dc-img{aspect-ratio:5/4}
@media(max-width:699.98px){
.zp-h2.zx.fx .zx-c .dc-b{padding:10px 11px 12px;gap:5px}
.zp-h2.zx.fx .zx-c .dc-cat{font-size:11px;letter-spacing:.07em}
.zp-h2.zx.fx .zx-c .dc-t{font-size:16px;line-height:1.2;-webkit-line-clamp:3}
.zp-h2.zx.fx .zx-c .dc-by{font-size:13.5px}
/* sizes follow the card width (--cw is set on .dc-pr by the theme), so price + regular price + Save badge stay on one line */
.zp-h2.zx.fx .zx-c .dc-pr{column-gap:clamp(3px,calc(var(--cw)*.028),6px)}
.zp-h2.zx.fx .zx-c .dc-pr strong{font-size:clamp(18px,calc(var(--cw)*.15),24px)}
.zp-h2.zx.fx .zx-c .dc-pr s{font-size:clamp(11px,calc(var(--cw)*.08),13px)}
.zp-h2.zx.fx .zx-c .dc-sv{height:24px;padding:0 clamp(4px,calc(var(--cw)*.038),8px);font-size:clamp(10px,calc(var(--cw)*.07),11.5px)}
.zp-h2.zx.fx .zx-c .dc-pct{font-size:13.5px}
.zp-h2.fx .lede{font-size:16px}
}
@media(min-width:1024px){
.zp-h2.zx.fx .zx-c .dc-cat{font-size:12px}
.zp-h2.zx.fx .zx-c .dc-by{font-size:13.5px}
}
/* small laptops (1024 to about 1130 wide): four cards per row are narrower than the price row at full size, so the row
   scales with the card, as the theme already does below 1024. From about 1130 up every value is the theme's own. */
@media(min-width:1024px){
.zp-h2.zx.fx .zx-c .dc-pr{--cw:calc(100cqw - 32px);column-gap:clamp(5px,calc(var(--cw)*.045),10px)}
.zp-h2.zx.fx .zx-c .dc-pr strong{font-size:clamp(26px,calc(var(--cw)*.155),34px)}
.zp-h2.zx.fx .zx-c .dc-pr s{font-size:clamp(13px,calc(var(--cw)*.07),15px)}
.zp-h2.zx.fx .zx-c .dc-sv{padding:0 clamp(7px,calc(var(--cw)*.05),11px);font-size:clamp(11.5px,calc(var(--cw)*.06),13px)}
}
