/* ── Age-verification popup ───────────────────────────────────────────────────
   The "Advertencia: Aviso Legal" popup comes from the Easy Age Verifier plugin
   (#taseav-age-verify, injected by its JS on every page until the visitor
   confirms). Styles only: the plugin's markup, text and behaviour are untouched,
   so deleting this file restores its own look.
   ──────────────────────────────────────────────────────────────────────────── */

/* Dim + blur the page behind the popup. Visual only (pointer-events:none), so
   the page behaves exactly as before. The plugin removes #taseav-age-verify on
   "+18 años", which takes this layer with it. */
.taseav-age-verify::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgb(var(--brand-dark-rgb) / .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.taseav-age-verify form.taseav-verify-form {
    max-width: 520px;
    padding: 32px 32px 28px;
    border: 1px solid rgb(var(--brand-purpleL-rgb) / .2);
    border-radius: 20px;
    background: rgb(var(--brand-card-rgb) / .97);
    box-shadow: 0 24px 64px rgb(0 0 0 / .55), 0 0 0 1px rgb(var(--brand-purple-rgb) / .08), 0 0 80px rgb(var(--brand-purple-rgb) / .18);
    text-align: center;
}

.taseav-verify-form,
.taseav-verify-form *:not(i) {
    font-family: 'BDO Grotesk', sans-serif;
}

/* The plugin always prints an empty <h2> above the title. */
.taseav-verify-form h2:empty,
.taseav-verify-form > br {
    display: none;
}

/* "+18" badge above the title, drawn by CSS (no markup change). */
.taseav-verify-form h5::before {
    content: '+18';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border: 1px solid rgb(var(--brand-purpleL-rgb) / .45);
    border-radius: 50%;
    background: rgb(var(--brand-purple-rgb) / .14);
    color: var(--brand-purpleL);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .5px;
}

.taseav-verify-form h5 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.taseav-verify-form h6 {
    margin: 0 0 24px;
    color: var(--brand-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.taseav-age-verify .taseav-verify-form input[type="submit"] {
    height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background-color .2s ease;
}

/* Replaces the red `!important` rule that used to live in style.css. */
.taseav-age-verify .taseav-verify-form input[name="overAge"] {
    background-color: var(--brand-purpleL);
    background-image: var(--gradient-button);
    color: var(--brand-action-deep);
}

.taseav-age-verify .taseav-verify-form input[name="overAge"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 30px rgb(var(--brand-purpleL-rgb) / .35);
}

.taseav-age-verify .taseav-verify-form input[name="underAge"] {
    background: transparent;
    border-color: rgb(var(--brand-purpleL-rgb) / .6);
    color: var(--brand-purpleL);
}

.taseav-age-verify .taseav-verify-form input[name="underAge"]:hover {
    background: rgb(var(--brand-purpleL-rgb) / .1);
    border-color: var(--brand-purpleL);
}

.taseav-age-verify .taseav-verify-form input[type="submit"]:focus {
    outline: none;
}

.taseav-age-verify .taseav-verify-form input[type="submit"]:focus-visible {
    box-shadow: 0 0 0 2px var(--brand-purpleL), 0 0 0 5px rgb(var(--brand-purple-rgb) / .35);
}

@media (max-width: 575.98px) {
    .taseav-age-verify form.taseav-verify-form {
        padding: 24px 20px 20px;
    }

    .taseav-verify-form h5 {
        font-size: 19px;
    }

    .taseav-verify-form h6 {
        font-size: 13px;
    }
}
