/* Age gate: original custom code from the live header widget 9e6f188 (body font rule dropped; base.css sets it). */
/* FULL-SCREEN AGE GATE */
    .popup-overlay {
        position: fixed;
        inset: 0;
        width: 100%;
        min-height: 100dvh;
        padding: 24px;
        box-sizing: border-box;

        background-image: url('/wp-content/uploads/2026/05/Untitled-1vmgfh-2.webp');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 999999;
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;

        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .popup-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    /* COMPACT MODAL CARD */
    .confirmation-popup {
        width: 100%;
        max-width: 760px;
        max-height: calc(100dvh - 48px);
        padding: 46px 52px;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;

        background: rgba(13, 13, 15, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 32px;
        box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);

        text-align: center;
        overflow-y: auto;
    }

    /* LOGO */
    .confirmation-title img {
        display: block;
        width: 210px;
        max-width: 66%;
        height: auto;
        margin: 0 auto;
    }

    /* MAIN CONTENT */
    .confirmation-content {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .confirmation-heading {
        margin: 0 0 12px;

        font-family: 'Octin Stencil', sans-serif;
        font-size: 38px;
        line-height: 1.12;
        font-weight: 700;
        color: #ffffff;
        text-transform: uppercase;
    }

    .confirmation-subcopy {
        margin: 0;

        font-family: 'Poppins', sans-serif;
        font-size: 17px;
        line-height: 1.55;
        font-weight: 400;
        color: #d7d7d9;
    }

    .confirmation-text {
        margin: 0;

        font-family: 'Octin Stencil', sans-serif;
        font-size: 31px;
        line-height: 1.15;
        font-weight: 700;
        color: #ffffff;
        text-transform: uppercase;
    }

    /* CHECKBOXES */
    .age-checkboxes {
        display: flex;
        flex-direction: column;
        gap: 15px;

        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .checkbox-item {
        display: flex;
        align-items: flex-start;
        gap: 13px;

        text-align: left;
        color: #d7d7d9;
        font-size: 15px;
        line-height: 1.5;
        font-weight: 400;
        cursor: pointer;
    }

    .checkbox-item input[type="checkbox"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;

        flex: 0 0 auto;
        width: 24px;
        height: 24px;
        margin: 1px 0 0;

        border: 2px solid #ffb000;
        border-radius: 5px;
        background-color: transparent;

        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
    }

    .checkbox-item input[type="checkbox"]:hover {
        border-color: #ffb000;
    }

    .checkbox-item input[type="checkbox"]:checked {
        background-color: #ffb000;
        border-color: #ffb000;
    }

    .checkbox-item input[type="checkbox"]:checked::after {
        content: "";
        position: absolute;
        left: 7px;
        top: 3px;

        width: 6px;
        height: 11px;

        border: solid #0d0d0d;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .checkbox-item a.policy-link {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: opacity 0.2s ease;
    }

    .checkbox-item a.policy-link:hover {
        opacity: 0.75;
    }

    /* BUTTONS */
    .confirmation-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;

        width: 100%;
        max-width: 620px;
    }

    .confirmation-btn {
        min-height: 58px;
        width: 100%;
        padding: 14px 22px;
        box-sizing: border-box;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        border: 2px solid #ffb000;
        border-radius: 6px;
        background: transparent;

        font-family: 'Octin Stencil', sans-serif;
        font-size: 16px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        text-decoration: none;

        cursor: pointer;
        transition:
            transform 0.2s ease,
            opacity 0.2s ease,
            background-color 0.2s ease;
    }

    .confirmation-btn.yes {
        color: #0d0d0d;
        background-color: #ffb000;
    }

    .confirmation-btn.no {
        color: #ffffff;
        background-color: transparent;
    }

    .confirmation-btn:hover {
        transform: translateY(-2px);
    }

    .confirmation-btn.yes:hover {
        color: #0d0d0d;
        background-color: #ffc13d;
    }

    .confirmation-btn.no:hover {
        color: #ffffff;
        background-color: rgba(255, 176, 0, 0.1);
    }

    .confirmation-btn.disabled {
        opacity: 0.4;
        pointer-events: none;
        cursor: not-allowed;
    }

    /* TABLET */
    @media (max-width: 768px) {
        .popup-overlay {
            padding: 16px;
        }

        .confirmation-popup {
            max-height: calc(100dvh - 32px);
            padding: 32px 26px;
            gap: 20px;
            border-radius: 26px;
        }

        .confirmation-title img {
            width: 170px;
        }

        .confirmation-heading {
            font-size: 29px;
        }

        .confirmation-subcopy {
            font-size: 15px;
        }

        .confirmation-text {
            font-size: 25px;
        }

        .checkbox-item {
            font-size: 14px;
        }

        .confirmation-btn {
            min-height: 54px;
            padding: 12px 14px;
            font-size: 14px;
        }
    }

    /* STACK BUTTONS ON MOBILE */
    @media (max-width: 600px) {
        .confirmation-buttons {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .confirmation-btn {
            width: 100%;
        }
    }

    /* MOBILE */
    @media (max-width: 480px) {
        .popup-overlay {
            padding: 10px;
        }

        .confirmation-popup {
            max-height: calc(100dvh - 20px);
            padding: 22px 17px;
            gap: 14px;
            border-radius: 20px;
        }

        .confirmation-title img {
            width: 130px;
        }

        .confirmation-heading {
            margin-bottom: 8px;
            font-size: 21px;
        }

        .confirmation-subcopy {
            font-size: 13px;
            line-height: 1.4;
        }

        .confirmation-text {
            font-size: 19px;
        }

        .age-checkboxes {
            gap: 11px;
        }

        .checkbox-item {
            gap: 10px;
            font-size: 12.5px;
            line-height: 1.4;
        }

        .checkbox-item input[type="checkbox"] {
            width: 21px;
            height: 21px;
        }

        .checkbox-item input[type="checkbox"]:checked::after {
            left: 6px;
            top: 2px;
        }

        .confirmation-buttons {
            gap: 10px;
        }

        .confirmation-btn {
            min-height: 48px;
            padding: 10px 7px;
            font-size: 12px;
            letter-spacing: 1px;
        }
    }

    /* VERY SMALL MOBILE */
    @media (max-width: 360px) {
        .confirmation-popup {
            padding: 18px 14px;
            gap: 12px;
        }

        .confirmation-title img {
            width: 112px;
        }

        .confirmation-heading {
            font-size: 19px;
        }

        .confirmation-subcopy {
            font-size: 12px;
        }

        .confirmation-text {
            font-size: 17px;
        }

        .checkbox-item {
            font-size: 11.5px;
        }

        .confirmation-btn {
            font-size: 11px;
        }
    }
