/* Extracted inline styles */

body {transition: opacity ease-in 0.2s; } 
body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } 



/* Custom Image Slider Styles */
.custom-image-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    cursor: ew-resize;
    user-select: none;
}

.custom-image-slider img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.custom-image-slider .slider-before {
    position: relative;
    z-index: 1;
}

.custom-image-slider .slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

/* Slider handle - matches live site exactly */
.custom-image-slider .slider-handle {
    position: absolute;
    top: 0;
    width: 0px;
    height: 100%;
    z-index: 3;
    /* NO transform - just left positioning */
}

.custom-image-slider .slider-handle img {
    height: 100%;
    width: auto;
    margin-left: -23px;
    pointer-events: none;
}

/* Mobile popup menu */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
}

.popup.show {
    display: flex !important;
}

/* Mobile popup navigation */
.popup-nav-link {
    transition: opacity 0.3s ease;
}
.popup-nav-link:hover {
    opacity: 0.7;
}
#closePopup {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Fix for CTA anchor tags to display like buttons */
a.order-button,
a.pulse-button,
a.floating-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

a.order-button:hover,
a.pulse-button:hover,
a.floating-order-button:hover {
    text-decoration: none;
}


/* Mobile width fixes - match reference site */
@media (max-width: 768px) {
    /* Reduce container padding on mobile */
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* FAQ section - match reference site width */
    .faq-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .faq-section.container {
        max-width: 100% !important;
    }
    .faq-section .faq-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .faq-section .faq-content .accordion {
        width: 100% !important;
        max-width: 100% !important;
    }
    .faq-section .faq-content .accordion-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Header section */
    .header-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Nav logo container */
    .nav-logo {
        padding: 10px 12px !important;
    }
    
    /* Relief section */
    .relief-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* How works section */
    .how-works-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Compare section */
    .compare-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Reviews section */
    .would-recommend-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Time offer section */
    .time-offer-section {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Section spacing */
    .section-space {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Left banner */
    .left-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
