/*@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');*/

/* Global resets for body when loaded locally as file:/// */
body {
    /*margin: 0;*/
    /*padding: 0;*/
    /* background-color: #ffeff2; */
}

/* Base Styles & Universal Resets for the Promo Section */
section.offer_page_main {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* min-height: 100vh; */
    align-items: stretch;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #ffeff2;
    /* Soft pink background placeholder */
}

section.offer_page_main *,
section.offer_page_main *::before,
section.offer_page_main *::after {
    box-sizing: border-box;
}

/* Columns - Left 32% (Building Image), Right 68% (Promotional Content) */
.left-img {
    flex: 0 0 68%;
    position: relative;
    overflow: hidden;
    background-color: #e0f2f1;
}

.right-img {
    flex: 0 0 32%;
    position: relative;
    overflow: hidden;
}

/* Image Scaling - Avoid distortion across all devices */
.left-img img,
.right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Desktop Viewport Rules (1024px and above) */
.des_top {
    display: block;
}

.left-img .i_pad,
.left-img .i_mobile,
.right-img .i_pad,
.right-img .i_mobile {
    display: none;
}

/* Absolute Floating Container */
.offer_page_ctc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    text-align: center;
    z-index: 5;
}

/* Sub-containers */
.heading_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.offer_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.action_cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* Typography Styles */
img.title-img {
    width: 85%;
    max-width: 320px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.offer_page_ctc h1 {
    font-family: "Zalando Sans Expanded", sans-serif;
    color: #f72a6d;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.15;
    text-align: center;
    margin: 0;
}

span.discount_tag {
    font-family: 'Manrope', sans-serif;
    background: #4f0f2a;
    color: #ffeff2;
    font-weight: 700;
    padding: 6px 14px;
    font-size: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(79, 15, 42, 0.15);
}

span.discount_percent {
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 76px;
    font-weight: bold;
    color: #4b0d29;
    line-height: 1.05;
    margin: 4px 0;
}

.applied_on {
    font-family: 'Manrope', sans-serif;
    color: #4f0f2a;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    letter-spacing: -0.2px;
}

/* CTA Button Styles & Animations */
a.offer_banner_btn {
    font-family: "Zalando Sans Expanded", sans-serif;
    background: #f72a6e;
    color: #ffffff;
    font-weight: bold;
    font-size: 26px;
    padding: 14px 38px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(247, 42, 110, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
}

a.offer_banner_btn svg {
    fill: #ffffff;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a.offer_banner_btn:hover {
    background: #e0215c;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(247, 42, 110, 0.45);
}

a.offer_banner_btn:hover svg {
    transform: scale(1.1) rotate(5deg);
}

a.offer_banner_btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(247, 42, 110, 0.3);
}

p.availablity_text {
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(79, 15, 42, 0.65);
    margin: 0;
    line-height: 1.4;
}

/* Large Desktop Viewport Scaling (1201px to 1400px) */
@media (max-width: 1400px) and (min-width: 1200px) {
    .des_top {
        display: block !important;
    }

    .i_pad,
    .i_mobile {
        display: none !important;
    }

    img.title-img {
        max-width: 290px;
    }

    .offer_page_ctc h1 {
        font-size: 37px;
    }

    span.discount_tag {
        font-size: 18px;
    }

    span.discount_percent {
        font-size: 52px;
    }

    .applied_on {
        font-size: 18px;
    }

    a.offer_banner_btn {
        font-size: 20px;
        padding: 12px 32px;
    }

    p.availablity_text {
        font-size: 11px;
    }
}

/* Medium Desktop Viewport Scaling (1024px to 1200px) */
@media (max-width: 1200px) and (min-width: 1024px) {
    .des_top {
        display: block !important;
    }

    .i_pad,
    .i_mobile {
        display: none !important;
    }

    .offer_page_ctc {
        gap: 20px;
    }

    .offer_div {
        gap: 5px;
    }

    img.title-img {
        max-width: 260px;
    }

    .offer_page_ctc h1 {
        font-size: 29px;
    }

    span.discount_tag {
        font-size: 14px;
    }

    span.discount_percent {
        font-size: 42px;
    }

    .applied_on {
        font-size: 16px;
    }

    a.offer_banner_btn {
        font-size: 14px;
        padding: 5px 20px;
    }

    p.availablity_text {
        font-size: 11px;
    }
}

/* Tablet (iPad) Responsive Layout (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {

    /* Responsive image swapping: Hide desktop & mobile, show tab */
    .des_top,
    .i_mobile {
        display: none !important;
    }

    .i_pad {
        display: block !important;
    }

    /* Stack vertically: promotional banner on top, building on the bottom */
    section.offer_page_main {
        flex-direction: column-reverse;
        min-height: auto;
        gap: 5px;
    }

    .left-img,
    .right-img {
        flex: none;
        width: 100%;
        height: auto;
    }

    /* Rely on the natural aspect ratio of the ipad background and building images */
    .left-img img,
    .right-img img {
        height: auto;
    }

    /* Keep the relative aspect height intact */
    .left-img img.i_pad,
    .right-img img.i_pad {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Position overlay text over the top banner */
    .offer_page_ctc {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 40px;
        gap: 30px;
    }
    .offer_div{
        gap: 0;
    }
    .heading_div{
        gap:5px;
    }
    img.title-img {
        max-width: 380px;
    }

    .offer_page_ctc h1 {
        font-size: 40px;
    }

    span.discount_tag {
        font-size: 18px;
        padding: 5px 12px;
    }

    span.discount_percent {
        font-size: 64px;
    }

    .applied_on {
        font-size: 20px;
    }

    a.offer_banner_btn {
        font-size: 22px;
        padding: 12px 30px;
    }

    p.availablity_text {
        font-size: 14px;
    }
}

/* Mobile Responsive Layout (Below 768px) */
@media (max-width: 767px) {

    /* Responsive image swapping: Hide desktop & tab, show mobile */
    .des_top,
    .i_pad {
        display: none !important;
    }

    .i_mobile {
        display: block !important;
    }

    /* Hide building image, show only the promo card */
    .left-img {
        display: none;
    }


    section.offer_page_main {
        min-height: 100vh;
    }

    .right-img {
        flex: auto;
        width: 100%;
    }

    .right-img img.i_mobile {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .offer_page_ctc {
        padding: 30px 20px;
        gap: 24px;
    }
    

    img.title-img {
        max-width: 306px;
    }

    .offer_page_ctc h1 {
        font-size: 36px;
    }

    span.discount_tag {
        font-size: 20px;
        padding: 4px 10px;
        letter-spacing: 1px;
    }

    span.discount_percent {
        font-size: 50px;
    }

    .applied_on {
        font-size: 18px;
    }

    a.offer_banner_btn {
        font-size: 22px;
        padding: 10px 26px;
        box-shadow: 0 4px 15px rgba(247, 42, 110, 0.3);
    }

    p.availablity_text {
        font-size: 14px;
        max-width: 280px;
        color: rgba(79, 15, 42, 0.7);
    }
}



/*popup and sticky css*/

/* Spring Sale Promotion Popup Stylesheet */

/* Custom Bootstrap Modal Overrides */
#BrowserCloseComingSoon.modal {
    /*background-color: rgba(79, 15, 42, 0.45);  Plum tinted overlay tint */
    /*backdrop-filter: blur(8px);*/
    /*-webkit-backdrop-filter: blur(8px);*/
}

#BrowserCloseComingSoon .modal-dialog {
    max-width: 960px;
    width: 90%;
    margin: 30px auto;
}

#BrowserCloseComingSoon .modal-content {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(79, 15, 42, 0.35);
    overflow: hidden;
}

#BrowserCloseComingSoon .modal-body {
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}
#BrowserCloseComingSoon .wpcf7-form-control-wrap{
    display: block;
}

/* Inner wrapper matching our original popup content style */
.spring-popup-content-inner {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Close X Button */
button.spring-popup-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f0f2a;
    cursor: pointer;
    z-index: 10010;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

button.spring-popup-close:hover {
    transform: rotate(90deg) scale(1.05);
    background-color: #ffeff2;
    color: #f72a6e;
}

button.spring-popup-close svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Left Panel / Banner (Widescreen Desktop) */
.spring-popup-left {
    flex: 0 0 50%;
    height: 100%;
    position: relative;
    background: url('../img/offer/spring/Popup-Desktop-Bg.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    box-sizing: border-box;
}

.popup-logo-img {
    width: 80%;
    max-width: 260px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.spring-popup-left h2.popup-title {
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: bold;
    font-size: 38px;
    /* 32 pt */
    color: #f72a6d;
    margin: 5px 0 12px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.spring-popup-left p.popup-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 19px;
    /* 16 pt */
    color: #4f0e2a;
    margin: 0;
    line-height: 1.4;
    max-width: 320px;
}

/* Right Panel / Lead Capture Form (Widescreen Desktop) */
.spring-popup-right {
    flex: 0 0 50%;
    height: 100%;
    background-color: #4f0f2a; /* Plum background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px; /* Spacing between inputs form, submit, link, and footnote */
    padding: 50px 45px;
    box-sizing: border-box;
    border-radius: 0 20px 20px 0;
}

.popup-lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.popup-form-group {
    width: 100%;
}

.popup-form-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
}

.popup-form-col {
    flex: 1;
}

.form-rowmain{
    margin: 0;
    gap: 18px;
}

.form-rowmain .wpcf7-not-valid-tip {
    color: #f70202;
    font-size: 1em;
    font-weight: normal;
    display: block;
    position: absolute;
    font-size: 12px;
    width: 100%;
}

.wpcf7-response-output{
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.form-rowmain .col-md-6, .form-rowmain .col-md-12{
    padding: 0;
}
.form-rowmain .col-md-6 {
    flex: 0 0 calc(50% - 9px);
}
/* Input Fields (Desktop Mode) */
input.popup-input,
select.popup-select, input.form-control, input.form-control[readonly] {
    width: 100%;
    height: 40px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background-color: rgba(0, 0, 0, 0.4);
    /* Fill #000 40% Opacity */
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

/* Input Placeholder Color */
input.popup-input::placeholder,  input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input.popup-input:focus,
select.popup-select:focus, input.form-control:focus {
    border-color: #f72a6e;
    background-color: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 8px rgba(247, 42, 110, 0.25);
}

/* Style for native dropdown wrapper and option elements */
select.popup-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

select.popup-select option {
    background-color: #4f0f2a;
    color: #ffffff;
}

/* Submit Button Style (Desktop Mode) */
.popup-submit-btn {
    width: 100%;
    height: 46px;
    border-radius: 50px;
    border: none;
    background-color: #ffffff;
    /* White BG */
    color: #4b0d29;
    /* Dark Plum text */
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: bold;
    font-size: 19px;
    /* 16 pt */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.popup-submit-btn:hover {
    background-color: #ffeff2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.popup-submit-btn:active {
    transform: translateY(-1px);
}

/* Check our offer link (Desktop Mode) */
.popup-dismiss-wrapper {
    text-align: center;
}
.form-rowmain .wpcf7-spinner{
    display:none;
}

a.popup-dismiss-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    /* 14 pt */
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

a.popup-dismiss-link:hover {
    color: #ffeff2;
    opacity: 0.9;
}

a.popup-dismiss-link svg {
    transition: transform 0.25s ease;
}

a.popup-dismiss-link:hover svg {
    transform: translateX(4px);
}

/* Footnote Legal (Desktop Mode) */
p.popup-legal-footnote {
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 13px;
    /* 11 pt */
    color: rgba(255, 255, 255, 0.6);
    /* 60% Opacity */
    margin: 0;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpContent {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   TABLET & MOBILE STYLES (Below 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
    #BrowserCloseComingSoon .modal-dialog {
        max-width: 440px;
        margin: 20px auto;
        width: 92%;
    }

    .spring-popup-content-inner {
        width: 100%;
        height: auto;
        max-height: 90vh;
        flex-direction: column;
        background: url('../img/offer/spring/Popup-Mobile-Bg.webp') no-repeat center center;
        background-size: cover;
        border-radius: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 45px 25px 35px 25px;
    }

    /* Reposition Close Button for Mobile layout */
    button.spring-popup-close {
        top: 15px;
        left: 15px;
        width: 36px;
        height: 36px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    button.spring-popup-close svg {
        width: 14px;
        height: 14px;
    }

    /* Stack panels vertically with transparent backgrounds */
    .spring-popup-left {
        flex: none;
        width: 100%;
        height: auto;
        background: none !important;
        /* Remove background image */
        padding: 0 0 15px 0;
    }

    .popup-logo-img {
        max-width: 180px;
        margin-bottom: 5px;
    }

    .spring-popup-left h2.popup-title {
        font-size: 26px;
        /* 22 pt */
        margin: 5px 0 8px 0;
    }

    .spring-popup-left p.popup-subtitle {
        font-size: 15px;
        /* 13 pt */
        max-width: 280px;
    }

    .spring-popup-right {
        flex: none;
        width: 100%;
        height: auto;
        background: none !important; /* Remove plum background */
        padding: 10px 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 12px; /* Spacing between input form, submit, link, and footnote on mobile */
    }

    .popup-lead-form {
        gap: 12px;
    }
    
    .form-rowmain .wpcf7-not-valid-tip{
        font-size: 11px;
    }
    .wpcf7-response-output {
        color: #000;
        font-size: 12px;
    }
    /* Inputs in Mobile Mode */
    input.popup-input,
    select.popup-select, input.form-control, input.form-control[readonly] {
        height: 36px;
        background-color: rgba(255, 255, 255, 0.6);
        /* Fill #FFF 60% Opacity */
        border: 1px solid #4f0f2a;
        /* Border 1px #4f0f2a */
        color: #4f0f2a;
        /* Text color */
        font-size: 12px;
    }

    input.popup-input::placeholder, input.form-control::placeholder {
        color: rgba(79, 15, 42, 0.7);
    }

    input.popup-input:focus,
    select.popup-select:focus, input.form-control:focus {
        border-color: #f72a6e;
        background-color: rgba(255, 255, 255, 0.85);
        box-shadow: 0 0 8px rgba(247, 42, 110, 0.2);
    }

    select.popup-select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f0f2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-position: right 14px center;
        background-size: 14px;
    }

    select.popup-select option {
        background-color: #ffffff;
        color: #4f0f2a;
    }

    /* Button in Mobile Mode */
    .popup-submit-btn {
        height: 40px;
        background-color: #f72a6e;
        /* BG #f72a6e */
        color: #ffffff;
        /* White text */
        font-size: 16px;
        /* 14 pt */
        box-shadow: 0 4px 12px rgba(247, 42, 110, 0.25);
    }

    .popup-submit-btn:hover {
        background-color: #e0215c;
        transform: none;
    }

    /* Link in Mobile Mode */
    a.popup-dismiss-link {
        font-size: 15px;
        /* 13 pt */
        color: #4f0f2a;
    }

    a.popup-dismiss-link:hover {
        color: #f72a6e;
    }

    /* Footnote in Mobile Mode */
    p.popup-legal-footnote {
        font-size: 13px;
        /* 11 pt */
        color: rgba(79, 15, 42, 0.65);
    }
}

/* Custom Sticky Springs Sale Button */
.sticky-spring-sale {
    position: fixed;
    left: 0;
    bottom: 40px;
    background-color: #f72a6e; /* Bg #f72a6e */
    color: #ffffff; /* White text */
    text-decoration: none; /* Prevents anchor underline */
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: bold;
    font-size: 18px; /* 18 pt */
    padding: 24px 10px 14px 10px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 2px 4px 12px rgba(79, 15, 42, 0.25);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sticky-spring-sale:hover {
    background-color: #e0215c;
    color: #ffffff; /* Ensure white text remains */
    text-decoration: none; /* Explicitly block hover underlines */
    padding-bottom: 20px; /* Moves it out slightly! */
    box-shadow: 3px 6px 16px rgba(79, 15, 42, 0.35);
}

.sticky-spring-sale:active {
    transform: rotate(180deg) scale(0.98);
}

/* If screen is extremely tiny, scale down the sticky button font size */
@media (max-width: 480px) {
    .sticky-spring-sale {
        font-size: 15px;
        padding: 18px 8px 10px 8px;
        bottom: 30px;
    }
}