.hzads-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(10,14,22,.72);opacity:0;transition:opacity .2s ease;box-sizing:border-box;overscroll-behavior:contain}
.hzads-overlay *{box-sizing:border-box}
.hzads-overlay.hzads-in{opacity:1}
.hzads-card{position:relative;width:min(94vw,540px);max-height:calc(100dvh - 32px);max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:#111827;border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.45);transform:translateY(14px) scale(.97);transition:transform .22s ease;font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.hzads-in .hzads-card{transform:none}
.hzads-media{background:#0b0f19;display:flex;align-items:center;justify-content:center;line-height:0}
.hzads-media img,.hzads-media video{display:block;width:100%;height:auto;max-height:62vh;object-fit:contain;background:#0b0f19}
.hzads-tag{position:absolute;left:10px;top:10px;z-index:2;background:rgba(0,0,0,.62);color:#fff;font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px;line-height:1.4}
.hzads-x{position:absolute;right:10px;top:10px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.hzads-x[hidden]{display:none}
.hzads-x:hover{background:#000}
.hzads-info{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}
.hzads-h{margin:0;font-size:19px;line-height:1.3;color:#111827}
.hzads-p{margin:0;color:#374151;white-space:pre-line}
.hzads-acts{display:flex;gap:10px;flex-wrap:wrap}
.hzads-btn{flex:1 1 150px;text-align:center;text-decoration:none;font-weight:600;padding:12px 14px;border-radius:10px;color:#fff;min-height:44px;display:flex;align-items:center;justify-content:center}
.hzads-web{background:var(--hzads-accent,#0b5fff)}
.hzads-wa{background:#0b7a4b}
.hzads-btn:hover{filter:brightness(1.08);color:#fff}
.hzads-btn:focus-visible,.hzads-skip:focus-visible,.hzads-x:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
.hzads-skip{align-self:center;background:none;border:0;color:#4b5563;font-size:14px;padding:8px 14px;cursor:pointer;text-decoration:underline;min-height:40px}
.hzads-skip:disabled{cursor:default;text-decoration:none;color:#6b7280}
/* The store's floating WhatsApp pill must not sit on top of the popup. */
html.hzads-open{overflow:hidden}
html.hzads-open .ic-wa{display:none!important}
@media (max-width:520px){
	.hzads-overlay{padding:10px}
	.hzads-card{width:100%;border-radius:14px}
	.hzads-media img,.hzads-media video{max-height:54vh}
	.hzads-btn{flex:1 1 100%}
}
@media (prefers-reduced-motion:reduce){.hzads-overlay,.hzads-card{transition:none}}
