/* Voucher Rotator — loaded as an element dependency (not via defaultCSS), so
   changes apply without regenerating Breakdance's per-page CSS cache. */

/* ── Container ─────────────────────────────────────────────────────────────── */

.breakdance .rfl-voucher-rotator {
    width: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #1E3256;
    text-align: center;
}

/* ── Button ────────────────────────────────────────────────────────────────── */
/* Look comes from the RFL Button element (Secondary · Squared · Regular),
   also loaded as a dependency. Only the icon and voucher tweaks live here. */

.rfl-voucher-rotator .rfl-button {
    display: flex;
    justify-content: center;
}

.rfl-voucher-rotator .rfl-btn__icon {
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.441.0/icons/coffee.svg');
    mask-image: url('https://cdn.jsdelivr.net/npm/lucide-static@0.441.0/icons/coffee.svg');
}

.rfl-voucher-rotator .rfl-voucher-rotator__button {
    min-height: 3.25rem; /* comfortable tap target */
}

.rfl-voucher-rotator .rfl-voucher-rotator__button:focus-visible {
    outline: 3px solid #EEAB1F;
    outline-offset: 3px;
}

.rfl-voucher-rotator .rfl-voucher-rotator__button--preview {
    cursor: default;
}

/* ── Message (none left, etc.) ─────────────────────────────────────────────── */

.rfl-voucher-rotator .rfl-voucher-rotator__message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #1E3256;
}

/* ── Mobile: full-width button ─────────────────────────────────────────────── */

@media (max-width: 640px) {
    .rfl-voucher-rotator .rfl-voucher-rotator__button {
        width: 100%;
        justify-content: center;
        min-height: 3.5rem;
    }
}
