
/* ==================================================
   WOODZ & NAILS INTERIORS
   DIWALI POPUP - FINAL CORRECTED STYLESHEET
   Premium Navy | Gold | Ivory
================================================== */

#wn-diwali-popup,
#wn-diwali-popup * {
    box-sizing: border-box !important;
}

#wn-diwali-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

#wn-diwali-popup.wn-is-open {
    display: flex !important;
}

#wn-diwali-popup .wn-popup__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(5, 13, 25, .78) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

#wn-diwali-popup .wn-popup__dialog {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    max-width: 1080px !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    margin: auto !important;
    padding: 0 !important;
    border: 1px solid #c99a3c !important;
    border-radius: 16px !important;
    background: #faf9f6 !important;
    box-shadow: 0 25px 90px rgba(0, 0, 0, .35) !important;
    animation: wnPopupEnter .4s ease both;
}

@keyframes wnPopupEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CLOSE BUTTON */

#wn-diwali-popup .wn-popup__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 1px solid #d5a13b !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #10243c !important;
    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

/* LEFT OFFER PANEL */

#wn-diwali-popup .wn-popup__offer {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 54px 48px 40px !important;
    overflow: hidden !important;
    background: linear-gradient(145deg, #102b48, #06172b) !important;
    color: #ffffff !important;
}

#wn-diwali-popup .wn-popup__brand {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 0 48px !important;
    text-align: center !important;
}

#wn-diwali-popup .wn-popup__brand-name {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}

#wn-diwali-popup .wn-popup__brand-name small {
    display: block !important;
    margin-top: 11px !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 7px !important;
}

#wn-diwali-popup .wn-popup__eyebrow {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 0 18px !important;
    color: #e6bb66 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
}

#wn-diwali-popup .wn-popup__headline {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(39px, 4vw, 58px) !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
}

#wn-diwali-popup .wn-popup__headline strong {
    color: #efa91d !important;
    font-weight: 700 !important;
}

#wn-diwali-popup .wn-popup__additional {
    position: relative !important;
    z-index: 2 !important;
    align-self: flex-start !important;
    margin: 22px 0 30px !important;
    padding: 13px 17px !important;
    border: 1px solid #d9a12e !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#wn-diwali-popup .wn-popup__benefits {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 25px 0 0 !important;
    border-top: 1px solid rgba(221, 177, 88, .45) !important;
}

#wn-diwali-popup .wn-popup__benefit {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

#wn-diwali-popup .wn-popup__benefit-icon {
    color: #eeb13b !important;
    font-family: Georgia, serif !important;
    font-size: 32px !important;
}

#wn-diwali-popup .wn-popup__fineprint {
    position: relative !important;
    z-index: 2 !important;
    margin: 38px 0 0 !important;
    color: #c5ced8 !important;
    font-size: 11px !important;
}

/* RIGHT FORM PANEL */

#wn-diwali-popup .wn-popup__form-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 55px 48px 38px !important;
    background: #faf9f6 !important;
}

#wn-diwali-popup .wn-popup__form-heading {
    margin: 0 0 25px !important;
}

#wn-diwali-popup .wn-popup__form-eyebrow {
    margin: 0 0 12px !important;
    color: #a77a28 !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
}

#wn-diwali-popup .wn-popup__form-heading h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #10243c !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

#wn-diwali-popup .wn-popup__form-description {
    margin: 12px 0 0 !important;
    color: #727b87 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* FORM FIELDS */

#wn-diwali-popup #wn-diwali-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 13px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#wn-diwali-popup .wn-field {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

#wn-diwali-popup .wn-field input,
#wn-diwali-popup .wn-field select {
    display: block !important;
    width: 100% !important;
    height: 53px !important;
    min-height: 53px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #cbd0d7 !important;
    border-radius: 7px !important;
    outline: none !important;
    background: #ffffff !important;
    color: #18283b !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

#wn-diwali-popup .wn-field input::placeholder {
    color: #66717f !important;
    opacity: 1 !important;
}

#wn-diwali-popup .wn-field input:focus,
#wn-diwali-popup .wn-field select:focus {
    border-color: #c99a3c !important;
    box-shadow: 0 0 0 3px rgba(201, 154, 60, .12) !important;
}

/* ==========================================
   CTA BUTTON - HIGH SPECIFICITY FIX
========================================== */

html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit,
html body #wn-diwali-popup button.wn-popup__submit {
    all: unset !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;

    width: 100% !important;
    min-height: 56px !important;
    margin: 7px 0 0 !important;
    padding: 14px 18px !important;

    border: 1px solid #c99a3c !important;
    border-radius: 7px !important;

    background: #0b2038 !important;
    background-color: #0b2038 !important;
    background-image: none !important;

    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    letter-spacing: .3px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    text-shadow: none !important;

    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color .25s ease, color .25s ease !important;
}

html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit span,
html body #wn-diwali-popup button.wn-popup__submit span {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    letter-spacing: .3px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit:hover {
    background: #d5a13b !important;
    background-color: #d5a13b !important;
    color: #10243c !important;
}

html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit:hover span {
    color: #10243c !important;
}

html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

/* STATUS AND PRIVACY */

#wn-diwali-popup .wn-popup__status {
    margin: 2px 0 0 !important;
    color: #167447 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

#wn-diwali-popup .wn-popup__status.wn-error {
    color: #c0392b !important;
}

#wn-diwali-popup .wn-popup__privacy {
    margin: 12px 0 0 !important;
    color: #77808c !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

#wn-diwali-popup .wn-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

#wn-diwali-popup .wn-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* TABLET */

@media (max-width: 850px) {
    #wn-diwali-popup .wn-popup__offer {
        padding: 45px 28px 30px !important;
    }

    #wn-diwali-popup .wn-popup__form-panel {
        padding: 48px 30px 30px !important;
    }

    #wn-diwali-popup .wn-popup__headline {
        font-size: 40px !important;
    }

    #wn-diwali-popup .wn-popup__form-heading h3 {
        font-size: 29px !important;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    #wn-diwali-popup {
        padding: 10px !important;
    }

    #wn-diwali-popup .wn-popup__dialog {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 430px !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 12px !important;
    }

    #wn-diwali-popup .wn-popup__close {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
    }

    #wn-diwali-popup .wn-popup__offer {
        padding: 32px 22px 25px !important;
    }

    #wn-diwali-popup .wn-popup__brand {
        margin-bottom: 23px !important;
    }

    #wn-diwali-popup .wn-popup__brand-name {
        font-size: 24px !important;
    }

    #wn-diwali-popup .wn-popup__brand-name small {
        font-size: 9px !important;
        letter-spacing: 5px !important;
    }

    #wn-diwali-popup .wn-popup__headline {
        font-size: clamp(36px, 10vw, 46px) !important;
    }

    #wn-diwali-popup .wn-popup__additional {
        margin: 15px 0 20px !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

    #wn-diwali-popup .wn-popup__benefits {
        padding-top: 17px !important;
        gap: 5px !important;
    }

    #wn-diwali-popup .wn-popup__benefit {
        font-size: 10px !important;
    }

    #wn-diwali-popup .wn-popup__benefit-icon {
        font-size: 25px !important;
    }

    #wn-diwali-popup .wn-popup__fineprint {
        margin-top: 19px !important;
    }

    #wn-diwali-popup .wn-popup__form-panel {
        padding: 28px 22px 24px !important;
    }

    #wn-diwali-popup .wn-popup__form-heading {
        margin-bottom: 18px !important;
    }

    #wn-diwali-popup .wn-popup__form-heading h3 {
        font-size: 27px !important;
    }

    #wn-diwali-popup .wn-field input,
    #wn-diwali-popup .wn-field select {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 13px !important;
    }

    html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit,
    html body #wn-diwali-popup #wn-diwali-form button.wn-popup__submit span {
        font-size: 13px !important;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    #wn-diwali-popup .wn-popup__dialog {
        animation: none !important;
    }
}
