/*
 * Heikaya v6.19.1e — Welcome offer popup.
 * Premium dark/bright treatment, responsive, no existing page layout changes.
 */

.heikaya-welcome-offer[hidden] { display: none !important; }

.heikaya-welcome-offer {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: Montserrat, Arial, sans-serif;
}

.heikaya-welcome-offer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21,18,15,.66);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.heikaya-welcome-offer__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 34px 38px 32px;
    border: 1px solid rgba(21,18,15,.14);
    border-radius: 4px;
    background: #fffdf9;
    color: #15120f;
    box-shadow: 0 34px 90px rgba(0,0,0,.24);
    text-align: center;
}

.heikaya-welcome-offer__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(21,18,15,.16);
    border-radius: 50%;
    background: #fffdf9;
    color: #15120f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.heikaya-welcome-offer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin: 0 auto 18px;
}

.heikaya-welcome-offer__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 72px;
    object-fit: contain;
}

.heikaya-welcome-offer__eyebrow {
    margin: 0 0 10px;
    color: #15120f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.heikaya-welcome-offer h2 {
    margin: 0;
    color: #15120f;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.02em;
}

.heikaya-welcome-offer__intro {
    max-width: 390px;
    margin: 16px auto 22px;
    color: rgba(21,18,15,.7);
    font-size: 14px;
    line-height: 1.65;
}

.heikaya-welcome-offer__form {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.heikaya-welcome-offer__field {
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid rgba(21,18,15,.18);
    background: #fff;
}

.heikaya-welcome-offer__field svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-left: 16px;
    color: rgba(21,18,15,.55);
}

.heikaya-welcome-offer__field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 16px 0 10px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #15120f !important;
    box-shadow: none !important;
    font-size: 14px;
}

.heikaya-welcome-offer__submit,
.heikaya-welcome-offer__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid #15120f;
    border-radius: 0;
    background: #15120f;
    color: #fffdf9;
    -webkit-text-fill-color: #fffdf9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}

.heikaya-welcome-offer__submit:hover,
.heikaya-welcome-offer__copy:hover {
    background: #fffdf9;
    color: #15120f;
    -webkit-text-fill-color: #15120f;
}

.heikaya-welcome-offer__submit[disabled] {
    opacity: .55;
    cursor: wait;
}

.heikaya-welcome-offer__message {
    min-height: 20px;
    margin: 2px 0 0;
    color: #8d2d22;
    font-size: 12px;
    line-height: 1.45;
}

.heikaya-welcome-offer__success[hidden] { display: none !important; }

.heikaya-welcome-offer__success {
    max-width: 410px;
    margin: 0 auto;
}

.heikaya-welcome-offer__success-label {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.heikaya-welcome-offer__code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    margin: 20px 0 12px;
    padding: 9px 9px 9px 18px;
    border: 1px dashed rgba(21,18,15,.35);
    background: #fff;
}

.heikaya-welcome-offer__code strong {
    overflow-wrap: anywhere;
    color: #15120f;
    font-size: 17px;
    letter-spacing: .12em;
}

.heikaya-welcome-offer__copy {
    min-height: 44px;
    flex: 0 0 auto;
}

.heikaya-welcome-offer__terms {
    margin: 12px auto 0;
    color: rgba(21,18,15,.56);
    font-size: 10px;
    line-height: 1.55;
}

.heikaya-welcome-offer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(21,18,15,.1);
    color: rgba(21,18,15,.68);
    font-size: 12px;
}

.heikaya-welcome-offer__social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #15120f;
    font-weight: 600;
    text-decoration: none;
}

.heikaya-welcome-offer__social svg {
    width: 18px;
    height: 18px;
}

body.heikaya-welcome-offer-open {
    overflow: hidden !important;
}

@media (max-width: 640px) {
    .heikaya-welcome-offer {
        padding: 14px;
    }

    .heikaya-welcome-offer__dialog {
        max-height: calc(100vh - 28px);
        padding: 28px 20px 24px;
    }

    .heikaya-welcome-offer__logo {
        min-height: 58px;
        margin-bottom: 14px;
    }

    .heikaya-welcome-offer__logo img {
        max-width: 125px;
        max-height: 58px;
    }

    .heikaya-welcome-offer h2 {
        font-size: 40px;
    }

    .heikaya-welcome-offer__intro {
        margin-top: 13px;
        margin-bottom: 18px;
    }

    .heikaya-welcome-offer__code {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }
}


/* ============================================================
   v6.19.1g — strict monochrome popup interactions
   NO GOLD under any hover/focus/active state.
   ============================================================ */

/* The full-screen backdrop is a button for accessibility/click-to-close.
   Global site button hover rules must NEVER recolor it. */
html body .heikaya-welcome-offer__backdrop,
html body .heikaya-welcome-offer__backdrop:hover,
html body .heikaya-welcome-offer__backdrop:focus,
html body .heikaya-welcome-offer__backdrop:focus-visible,
html body .heikaya-welcome-offer__backdrop:active {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: rgba(21,18,15,.66) !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: default !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
}

/* Clean editorial close icon: just a precise X, no bulky circular button. */
html body .heikaya-welcome-offer__close,
html body .heikaya-welcome-offer__close:hover,
html body .heikaya-welcome-offer__close:focus,
html body .heikaya-welcome-offer__close:focus-visible,
html body .heikaya-welcome-offer__close:active {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 3 !important;
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
}

html body .heikaya-welcome-offer__close::before,
html body .heikaya-welcome-offer__close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 17px !important;
    height: 1.5px !important;
    border-radius: 999px !important;
    background: #15120f !important;
    transform-origin: center !important;
    transition: opacity .18s ease, transform .18s ease !important;
}

html body .heikaya-welcome-offer__close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

html body .heikaya-welcome-offer__close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

html body .heikaya-welcome-offer__close:hover::before,
html body .heikaya-welcome-offer__close:hover::after,
html body .heikaya-welcome-offer__close:focus-visible::before,
html body .heikaya-welcome-offer__close:focus-visible::after {
    opacity: .58 !important;
}

/* Form field stays bright/dark under every state. */
html body .heikaya-welcome-offer__field,
html body .heikaya-welcome-offer__field:hover,
html body .heikaya-welcome-offer__field:focus-within {
    border-color: rgba(21,18,15,.22) !important;
    background: #fff !important;
    color: #15120f !important;
    box-shadow: none !important;
}

html body .heikaya-welcome-offer__field:focus-within {
    border-color: #15120f !important;
}

html body .heikaya-welcome-offer__field input,
html body .heikaya-welcome-offer__field input:hover,
html body .heikaya-welcome-offer__field input:focus,
html body .heikaya-welcome-offer__field input:active {
    background: transparent !important;
    color: #15120f !important;
    -webkit-text-fill-color: #15120f !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Chrome autofill must not inject another visual color. */
html body .heikaya-welcome-offer__field input:-webkit-autofill,
html body .heikaya-welcome-offer__field input:-webkit-autofill:hover,
html body .heikaya-welcome-offer__field input:-webkit-autofill:focus,
html body .heikaya-welcome-offer__field input:-webkit-autofill:active {
    -webkit-text-fill-color: #15120f !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    caret-color: #15120f !important;
}

/* Main CTA and Copy button: strict two-color interaction only. */
html body .heikaya-welcome-offer__submit,
html body .heikaya-welcome-offer__copy,
html body .heikaya-welcome-offer__submit:active,
html body .heikaya-welcome-offer__copy:active,
html body .heikaya-welcome-offer__submit:focus,
html body .heikaya-welcome-offer__copy:focus,
html body .heikaya-welcome-offer__submit:focus-visible,
html body .heikaya-welcome-offer__copy:focus-visible {
    border-color: #15120f !important;
    background: #15120f !important;
    color: #fffdf9 !important;
    -webkit-text-fill-color: #fffdf9 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html body .heikaya-welcome-offer__submit:hover,
html body .heikaya-welcome-offer__copy:hover {
    border-color: #15120f !important;
    background: #fffdf9 !important;
    color: #15120f !important;
    -webkit-text-fill-color: #15120f !important;
}

/* "Copied" state remains dark, never gold. */
html body .heikaya-welcome-offer__copy[data-copied="true"],
html body .heikaya-welcome-offer__copy[data-copied="true"]:hover,
html body .heikaya-welcome-offer__copy[data-copied="true"]:focus {
    border-color: #15120f !important;
    background: #15120f !important;
    color: #fffdf9 !important;
    -webkit-text-fill-color: #fffdf9 !important;
}

/* Coupon ticket itself never inherits theme accent colors. */
html body .heikaya-welcome-offer__code,
html body .heikaya-welcome-offer__code:hover,
html body .heikaya-welcome-offer__code:focus-within {
    border-color: rgba(21,18,15,.35) !important;
    background: #fff !important;
    color: #15120f !important;
    box-shadow: none !important;
}

html body .heikaya-welcome-offer__code strong {
    color: #15120f !important;
    -webkit-text-fill-color: #15120f !important;
}

/* Social area and link also remain monochrome. */
html body .heikaya-welcome-offer__social,
html body .heikaya-welcome-offer__social a,
html body .heikaya-welcome-offer__social a:hover,
html body .heikaya-welcome-offer__social a:focus,
html body .heikaya-welcome-offer__social a:active,
html body .heikaya-welcome-offer__social svg {
    color: #15120f !important;
    -webkit-text-fill-color: #15120f !important;
    stroke: currentColor !important;
    text-decoration-color: #15120f !important;
}

/* Explicitly neutralize common theme/global gold accents inside popup. */
html body .heikaya-welcome-offer *,
html body .heikaya-welcome-offer *::before,
html body .heikaya-welcome-offer *::after {
    accent-color: #15120f !important;
}
