/* Gaby Charbachy Lifetime 15% Popup - v2.0.0 */

.gc-popup,
.gc-popup * {
    box-sizing: border-box;
}

.gc-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 16px;
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif;
}

.gc-popup.is-open {
    display: flex !important;
}

.gc-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gc-popup__card {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px), calc((100dvh - 32px) * 0.8571428571));
    aspect-ratio: 6 / 7;
    max-width: 720px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: #111;
    background-image: url('https://gabycharbachy.com/wp-content/uploads/2026/09/subscribe-01.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
    isolation: isolate;
}

.gc-popup__card::after {
    content: '';
    position: absolute;
    inset: 42% 0 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.03) 25%, rgba(0,0,0,.22) 100%);
}

.gc-popup__close {
    position: absolute !important;
    top: 13px !important;
    right: 14px !important;
    z-index: 4 !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.48) !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 1 !important;
    text-transform: none !important;
    transition: background .2s ease, transform .2s ease;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.gc-popup__close span {
    display: block;
    transform: translateY(-1px);
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
}

.gc-popup__close:hover,
.gc-popup__close:focus-visible {
    background: rgba(0, 0, 0, 0.76) !important;
    transform: scale(1.04);
    outline: none !important;
}

.gc-popup__content {
    position: absolute;
    z-index: 2;
    left: 7.5%;
    right: 7.5%;
    bottom: 9.2%;
    color: #fff;
    text-align: center;
}

.gc-popup__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(29px, 4.15vw, 44px) !important;
    font-weight: 300 !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;
    text-transform: uppercase !important;
}

.gc-popup__line {
    width: 78%;
    height: 1px;
    margin: 8px auto 15px;
    background: rgba(255,255,255,.96);
}

.gc-popup__subtitle {
    margin: 0 0 44px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(19px, 2.75vw, 29px) !important;
    font-weight: 300 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
}

.gc-popup__form {
    display: flex !important;
    width: 100%;
    gap: 12px;
    align-items: stretch;
    margin: 0 !important;
    padding: 0 !important;
}

.gc-popup__email {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    height: 58px !important;
    min-height: 58px !important;
    border: 1px solid #d9dde3 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #151515 !important;
    padding: 0 18px !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 58px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.gc-popup__email::placeholder {
    color: #999 !important;
    opacity: 1;
}

.gc-popup__email:focus {
    border-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(255,255,255,.25) !important;
}

.gc-popup__submit {
    flex: 0 0 120px;
    width: 120px !important;
    min-width: 120px !important;
    height: 58px !important;
    min-height: 58px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 5px !important;
    background: #000 !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: opacity .2s ease, transform .2s ease;
}

.gc-popup__submit:hover,
.gc-popup__submit:focus-visible {
    background: #000 !important;
    color: #fff !important;
    opacity: .92;
    outline: none !important;
}

.gc-popup__submit:active {
    transform: scale(.985);
}

.gc-popup__submit[disabled] {
    cursor: wait;
    opacity: .75;
}

.gc-popup__check {
    position: relative;
    display: block;
    width: 25px;
    height: 15px;
    transform: rotate(-45deg) translate(1px, -1px);
    border-left: 5px solid #fff;
    border-bottom: 5px solid #fff;
}

.gc-popup__spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 999px;
    animation: gcPopupSpin .7s linear infinite;
}

.gc-popup__submit.is-loading .gc-popup__check {
    display: none;
}

.gc-popup__submit.is-loading .gc-popup__spinner {
    display: block;
}

.gc-popup__message {
    min-height: 19px;
    margin-top: 10px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.gc-popup__message.is-error {
    color: #ffd7d7;
}

.gc-popup__success {
    margin-top: 26px;
}

.gc-popup__success[hidden] {
    display: none !important;
}

.gc-popup__success-label {
    margin-bottom: 11px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.gc-popup__coupon {
    width: 100% !important;
    min-height: 72px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,.85) !important;
    border-radius: 4px !important;
    background: #000 !important;
    color: #fff !important;
    padding: 12px 18px !important;
    margin: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
    text-transform: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.gc-popup__coupon-code {
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 500;
    letter-spacing: .14em;
}

.gc-popup__coupon-copy {
    font-size: 12px;
    font-weight: 400;
    opacity: .72;
    letter-spacing: .03em;
}

.gc-popup.is-success .gc-popup__headline-wrap,
.gc-popup.is-success .gc-popup__form,
.gc-popup.is-success .gc-popup__message {
    display: none !important;
}

.gc-popup.is-success .gc-popup__content {
    bottom: 8.5%;
}

.gc-popup.is-success .gc-popup__success {
    margin-top: 0;
}

.gc-popup__hp,
.gc-popup__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html.gc-popup-lock,
body.gc-popup-lock {
    overflow: hidden !important;
    overscroll-behavior: none;
}

@keyframes gcPopupSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .gc-popup {
        padding: 10px;
        align-items: center;
    }

    .gc-popup__card {
        width: min(calc(100vw - 20px), calc((100dvh - 20px) * 0.8571428571));
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }

    .gc-popup__content {
        left: 7.2%;
        right: 7.2%;
        bottom: 8.4%;
    }

    .gc-popup__title {
        font-size: clamp(24px, 7.6vw, 34px) !important;
    }

    .gc-popup__line {
        width: 84%;
        margin-top: 7px;
        margin-bottom: 12px;
    }

    .gc-popup__subtitle {
        margin-bottom: 25px !important;
        font-size: clamp(17px, 5.2vw, 22px) !important;
        line-height: 1.18 !important;
    }

    .gc-popup__form {
        gap: 8px;
    }

    .gc-popup__email {
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 13px !important;
        font-size: 16px !important;
        line-height: 50px !important;
    }

    .gc-popup__submit {
        flex-basis: 72px;
        width: 72px !important;
        min-width: 72px !important;
        height: 50px !important;
        min-height: 50px !important;
    }

    .gc-popup__check {
        width: 21px;
        height: 13px;
        border-left-width: 4px;
        border-bottom-width: 4px;
    }

    .gc-popup__message {
        margin-top: 8px;
        font-size: 12px;
    }

    .gc-popup__close {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    .gc-popup__close span {
        font-size: 25px;
    }

    .gc-popup__coupon {
        min-height: 64px !important;
        flex-direction: column;
        gap: 4px;
        padding: 10px 12px !important;
    }

    .gc-popup__coupon-code {
        font-size: clamp(20px, 6.5vw, 27px);
    }
}

@media (max-width: 360px), (max-height: 590px) {
    .gc-popup__content {
        left: 6.5%;
        right: 6.5%;
        bottom: 6.8%;
    }

    .gc-popup__subtitle {
        margin-bottom: 16px !important;
        font-size: 16px !important;
    }

    .gc-popup__title {
        font-size: 23px !important;
    }

    .gc-popup__email {
        font-size: 14px !important;
    }

    .gc-popup__submit {
        flex-basis: 60px;
        width: 60px !important;
        min-width: 60px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-popup *,
    .gc-popup *::before,
    .gc-popup *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
