/* ==========================================================================
   POP-UP GOLD DAYS
   ========================================================================== */

.gd-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 15, 15, .55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

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

.gd-popup-overlay * {
    box-sizing: border-box;
}

.gd-popup-overlay .gd-popup {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0 0 28px;
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    font-family: 'Almarai', sans-serif;
    text-align: center;
    transform: translateY(25px) scale(.97);
    transition: transform .35s ease;
}

.gd-popup-overlay.is-visible .gd-popup {
    transform: translateY(0) scale(1);
}

.gd-popup-overlay .gd-popup__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 20px 20px 0 0;
}

.gd-popup-overlay .gd-popup__body {
    padding: 0 22px;
}

.gd-popup-overlay .gd-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 22px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    transition: background .25s ease;
}

.gd-popup-overlay .gd-popup__close:hover,
.gd-popup-overlay .gd-popup__close:focus {
    background: rgba(0, 0, 0, .6);
    color: #fff;
    outline: none;
}

.gd-popup-overlay .gd-popup__title {
    margin: 26px 0 14px;
    padding: 0;
    font-family: 'Gilda Display', Times, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    color: #2b2825;
}

.gd-popup-overlay .gd-popup__title .gd-gold {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: #b1863c;
}

.gd-popup-overlay .gd-popup__text {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-transform: none;
    color: #6f6f6f;
}

.gd-popup-overlay .gd-popup__code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 20px;
    padding: 13px 28px;
    border: 1px solid #d8c8a6;
    border-radius: 6px;
    background: none;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .12em;
    color: #2b2825;
}

.gd-popup-overlay .gd-popup__code b {
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: #b1863c;
}

.gd-popup-overlay .gd-popup__cta {
    display: block;
    width: 100%;
    margin: 0;
    padding: 17px 10px;
    border: 0;
    border-radius: 8px;
    background: #2b2825;
    color: #fff;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease;
}

.gd-popup-overlay .gd-popup__cta:hover,
.gd-popup-overlay .gd-popup__cta:focus {
    background: #b1863c;
    color: #fff;
    text-decoration: none;
}

body.gd-popup-open {
    overflow: hidden;
}

/* --- Móvil --- */
@media screen and (max-width: 520px) {

    .gd-popup-overlay .gd-popup {
        max-width: 340px;
        padding: 0 0 22px;
        border-radius: 16px;
    }

    .gd-popup-overlay .gd-popup__img {
        border-radius: 16px 16px 0 0;
    }

    .gd-popup-overlay .gd-popup__body {
        padding: 0 16px;
    }

    .gd-popup-overlay .gd-popup__close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .gd-popup-overlay .gd-popup__title {
        margin: 20px 0 10px;
        font-size: 23px;
    }

    .gd-popup-overlay .gd-popup__text {
        font-size: 13px;
    }

    .gd-popup-overlay .gd-popup__code {
        margin: 18px 0 16px;
        padding: 11px 22px;
        font-size: 13px;
    }

    .gd-popup-overlay .gd-popup__cta {
        padding: 15px 10px;
        font-size: 13px;
    }
}
