/* ===== Zoompri home v2 — design improvements, layered over the unchanged theme CSS =====
   Every colour, font, radius and shadow below is one of the theme's own tokens. */

/* 1. WHERE the deal is: shop + neighbourhood on every card (the deals page already shows both) */
.zp-h2.zp-v2 .dc-by{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;min-width:0;font-size:13.5px;color:var(--z-mute)}
.zp-h2.zp-v2 .dc-ar{display:inline-flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}
.zp-h2.zp-v2 .dc-ar .ic{width:13px;height:13px;stroke-width:2.2;color:var(--z-acc)}
@media(min-width:1024px){.zp-h2.zp-v2 .hx>li:nth-child(n+2) .dc-by{display:none}}

/* 2. The "see all" tile: the number is the design, and it ends in a real button */
.zp-h2.zp-v2 .dc-all.da2{gap:18px}
.zp-h2.zp-v2 .dc-all.da2 b{margin-top:14px;display:flex;flex-direction:column;gap:6px;font:inherit;letter-spacing:0}
.zp-h2.zp-v2 .da-n{font:800 104px/.82 var(--fd);letter-spacing:-.06em;color:var(--z-deep)}
.zp-h2.zp-v2 .da-l{font:700 24px/1.08 var(--fd);letter-spacing:-.03em}
.zp-h2.zp-v2 .dc-all.da2 small{margin-top:12px}
.zp-h2.zp-v2 .da-go{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 6px 0 18px;border-radius:999px;background:var(--z-card);color:var(--z-deep);font-weight:650;font-size:15.5px;box-shadow:0 0 0 1px var(--z-line)}
.zp-h2.zp-v2 .dc-all.da2 .da-go i{width:36px;height:36px}
.zp-h2.zp-v2 .dc-all.da2 .da-go .ic{width:18px;height:18px}
.zp-h2.zp-v2 .dc-all.da2:hover .da-go i{transform:translateX(3px)}

/* 3. Phones and tablets: Quick picks is a grid you scroll down, not one card at a time sideways */
@media(max-width:1023.98px){
.zp-h2.zp-v2 #find .tp .offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0;padding:0;overflow:visible;scroll-snap-type:none}
.zp-h2.zp-v2 #find .offers>li{width:auto;min-width:0}
.zp-h2.zp-v2 #find .offers .dc{border-radius:20px}
.zp-h2.zp-v2 #find .offers .dc-b{padding:10px 12px 12px;gap:5px}
.zp-h2.zp-v2 #find .offers .dc-cat{font-size:10.5px;letter-spacing:.08em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zp-h2.zp-v2 #find .offers .dc-t{font-size:15px;line-height:1.2}
.zp-h2.zp-v2 #find .offers .dc-by{font-size:12.5px}
.zp-h2.zp-v2 #find .offers .dc-pct{top:8px;left:8px;font-size:13px;padding:6px 9px}
.zp-h2.zp-v2 #find .offers .dc-pr{flex-wrap:wrap;gap:4px 8px;padding-top:2px}
.zp-h2.zp-v2 #find .offers .dc-pr strong{font-size:27px}
.zp-h2.zp-v2 #find .offers .dc-pr s{font-size:13.5px}
.zp-h2.zp-v2 #find .offers .dc-sv{height:24px;padding:0 9px;font-size:12px}
.zp-h2.zp-v2 #find .offers .dc-go{display:none}
.zp-h2.zp-v2 #find .offers .dc-all.da2{min-height:0;padding:14px;gap:14px;border-radius:20px}
.zp-h2.zp-v2 #find .offers .da-n{font-size:72px}
.zp-h2.zp-v2 #find .offers .da-l{font-size:18px}
.zp-h2.zp-v2 #find .offers .dc-all.da2 small{font-size:13px;margin-top:8px}
.zp-h2.zp-v2 #find .offers .da-go{min-height:44px;padding:0 5px 0 14px;font-size:14.5px}
.zp-h2.zp-v2 #find .offers .dc-all.da2 .da-go i{width:34px;height:34px}
/* a tile left alone on its row stretches across it */
.zp-h2.zp-v2 #find .offers>.so-all:nth-child(odd){grid-column:1/-1}
}
@media(min-width:640px) and (max-width:1023.98px){
.zp-h2.zp-v2 #find .tp .offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.zp-h2.zp-v2 #find .offers>.so-all:nth-child(odd){grid-column:auto}
.zp-h2.zp-v2 #find .offers>.so-all:nth-child(3n+2){grid-column:span 2}
.zp-h2.zp-v2 #find .offers>.so-all:nth-child(3n+1){grid-column:1/-1}
}

/* 4. Rhythm: the same sections, with the empty space between them cut by about a third */
.zp-h2.zp-v2 .sec{padding:40px 0 70px}
.zp-h2.zp-v2 .cmp{padding:36px 0 66px}
.zp-h2.zp-v2 .hero{padding-bottom:44px}
@media(min-width:1024px){
.zp-h2.zp-v2 .sec{padding:84px 0 124px}
.zp-h2.zp-v2 .cmp{padding:64px 0 104px}
.zp-h2.zp-v2 .hero{padding-bottom:72px}
}
/* the guarantee and the "explore" banner now share one light band: close the gap between them */
.zp-h2.zp-v2 #guarantee{padding-bottom:58px}
.zp-h2.zp-v2 #explore{padding-top:26px}
@media(min-width:1024px){.zp-h2.zp-v2 #guarantee{padding-bottom:72px}.zp-h2.zp-v2 #explore{padding-top:32px}}

/* 5. One trust section with four promises (was three sections saying the same three things) */
@media(min-width:760px){.zp-h2.zp-v2 #guarantee .g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.zp-h2.zp-v2 #guarantee .g3{grid-template-columns:repeat(4,minmax(0,1fr))}.zp-h2.zp-v2 #guarantee .g3 h3{font-size:21px}}

/* 6. Area tiles carry information: how many deals, and from what price */
.zp-h2.zp-v2 .ar-tx{display:flex;flex-direction:column;gap:5px;min-width:0}
.zp-h2.zp-v2 .ar small{font:500 14px/1.25 var(--fb);color:var(--z-mute);transition:color .35s var(--ease)}
.zp-h2.zp-v2 .ar a:hover small{color:inherit}
@media(max-width:1023.98px){.zp-h2.zp-v2 .ar-tx{gap:2px}.zp-h2.zp-v2 .ar small{font-size:12.5px;white-space:nowrap}}
@media(max-width:479.98px){.zp-h2.zp-v2 .ar .ar-fr{display:none}}

/* 7. Phone hero: the headline gets room under the category chips; the search box keeps its placeholder at 320 */
@media(max-width:1023.98px){.zp-h2.zp-v2 .hero{padding-top:calc(var(--bh) + var(--ch) + 24px)}}
@media(max-width:359.98px){
.zp-h2.zp-v2 .hero .hsx .hs{padding-left:12px}
.zp-h2.zp-v2 .hero .hsx .hs input{font-size:16px}
.zp-h2.zp-v2 .hero .hsx .hs .hs-loc{padding:0 6px 0 8px;margin-right:4px;font-size:13px}
.zp-h2.zp-v2 .hero .hsx .hs button[type=submit]{width:44px}
}

/* 8. Narrow laptops (1024-1179 px): the "Save $60" pill poked 12 px out of the card on the live page; let the price row wrap */
@media(min-width:1024px) and (max-width:1179.98px){.zp-h2.zp-v2 .offers .dc-pr{flex-wrap:wrap}}
