/* ==========================================================================
   Zoompri — css/zp-site-catalog.css  (H2 site install, catalog unit, 2026-11-11)
   Category archives, /shop/, search and the 404 page. Everything else they show is /deals/'s own markup and
   css/zp-h2-home.css + css/zp-kit.css; this file only adds what those pages need beyond /deals/.
   ========================================================================== */

/* the head that holds the search (search results, 404) — as the 404 mockup's .dh.sx: the suggestions list must
   not be clipped, and must sit above the next section. Raised only while the search is in use: a permanent
   z-index paints the head over the next section's rounded top (.sec margin-top:-34/-40px) and flattens it. */
.zp-h2 .dh.zps-catalog-hs{overflow:visible}
.zp-h2 .dh.zps-catalog-hs:focus-within{z-index:6}
.zp-h2 .dh .hsx{margin-top:22px}

/* category names and search queries are longer than "All deals": let the crumb wrap and a long word break */
.zp-h2 .zps-catalog-long .crumb{flex-wrap:wrap;column-gap:8px;row-gap:0}
.zp-h2 .zps-catalog-long h1{overflow-wrap:anywhere}

/* onward links inside an empty state (live departments) */
.zp-h2 .empty .zps-catalog-on{margin-top:14px;font:600 12px/1.3 var(--fb);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}

/* plain search: matching pages and articles — rows in a kit .box, type as .bl-t, arrow as .lnk (NEW) */
.zp-h2 .sec.lt + .zps-catalog-pages{padding-top:0}
.zp-h2 .zps-catalog-pl{list-style:none;margin:0;gap:0;padding:4px 24px}
.zp-h2 .zps-catalog-pl li{position:relative;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}
.zp-h2 .zps-catalog-pl li:last-child{border-bottom:0}
.zp-h2 .zps-catalog-pl a{flex:1;display:grid;gap:4px;min-width:0;min-height:44px;padding:16px 0;color:inherit;text-decoration:none}
.zp-h2 .zps-catalog-pl a::after{content:"";position:absolute;inset:0}
.zp-h2 .zps-catalog-pl b{font:700 17px/1.2 var(--fd);letter-spacing:-.015em;color:var(--f)}
.zp-h2 .zps-catalog-pl small{font-size:13.5px;color:var(--mute)}
.zp-h2 .zps-catalog-pl .ic{flex:none;width:18px;height:18px;color:var(--f);transition:transform .35s var(--ease)}
.zp-h2 .zps-catalog-pl li:hover .ic{transform:translateX(4px)}
.zp-h2 .zps-catalog-pl li:hover b{text-decoration:underline;text-underline-offset:3px}
@media(min-width:1024px){
.zp-h2 .zps-catalog-pl{padding:8px 32px}
}
@media(prefers-reduced-motion:reduce){
.zp-h2 .zps-catalog-pl .ic{transition:none}
}
