/* Mobile Optimization Styles */

/* Hide sticky CTA on desktop */
@media (min-width: 768px) {
    .fb-mobile-sticky-cta {
        display: none !important;
    }
}

/* Mobile specific styles */
@media (max-width: 767px) {
    /* Sticky CTA */
    .fb-mobile-sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        gap: 8px;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 99999;
        box-sizing: border-box;
    }
    
    .fb-mobile-sticky-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 18px;
        height: 48px;
        text-decoration: none;
        border-radius: 4px;
        font-weight: bold;
        letter-spacing: 1px;
    }
    
    .fb-mobile-sticky-cta .fb-btn-check {
        width: 55%;
        background-color: #DBB926;
        color: #000000;
    }
    
    .fb-mobile-sticky-cta .fb-btn-wa {
        width: 45%;
        background-color: #25D366;
        color: #ffffff;
    }
    
    /* Ensure content is not hidden behind the sticky footer */
    body {
        padding-bottom: 70px !important;
    }

    /* Force columns/flexboxes to stack vertically on mobile */
    .elementor-element.e-flexbox,
    .elementor-element.e-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }

    /* Override padding for major sections to prevent overflow and ensure consistency */
    .elementor-section, 
    .e-flexbox {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    /* Full edge-to-edge for specific elements if needed (e.g., images and background colors) */
    .elementor-widget-image {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px) !important;
        max-width: none !important;
    }

    .elementor-widget-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Typography scale down */
    h1, .elementor-heading-title {
        line-height: 1.1em !important;
        word-wrap: break-word;
    }

    /* Make buttons touch-friendly */
    .elementor-button {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}