/* 2026-12-05 — CTA fisso in basso nella scheda annuncio (solo mobile/tablet ≤979px).
   Sta SOPRA l'annuncio ancorato di Google: il JS in templates/single-annuncio.php misura l'anchor ad
   e imposta --vcb-ad (px). Rollback: togliere il blocco "vcb" in fondo al template (bak-20261205-ctabar). */
.vcb { display: none; }
@media (max-width: 979px) {
    .vcb {
        display: flex; align-items: center; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: var(--vcb-ad, 0px); z-index: 880;
        padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(21,23,28,.12); box-shadow: 0 -8px 24px rgba(15,23,42,.12);
        font-family: 'DM Sans','DM Sans Fallback A','DM Sans Fallback R',system-ui,sans-serif; color: #15171c;
        transform: translateY(calc(100% + var(--vcb-ad, 0px))); visibility: hidden;
        transition: transform .22s ease, visibility .22s, bottom .18s ease;
    }
    .vcb.is-ad { padding-bottom: 10px; }
    .vcb.is-on { transform: none; visibility: visible; }
    body.has-cmp-tray .vcb { display: none; }
    .vcb-info { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
    .vcb-t { font-size: 12.5px; color: rgba(21,23,28,.64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .vcb-p { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
    .vcb-btn {
        flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px;
        background: var(--mx-brand, #e8ff47); color: var(--mx-ink, #15171c) !important;
        font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
    }
    .vcb-btn .msr { font-size: 20px; }
    body.has-vcb { padding-bottom: calc(76px + var(--vcb-ad, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .vcb { transition: none; } }
