/* Force solid background and spacing for the main layout */
#wrapper {
    background-color: white !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    padding: 30px !important;
    position: relative !important;
    z-index: 1;
}

/* Fix the footer overlap */
.footer-container {
    background-color: white !important;
    margin-top: 40px !important;
    padding: 20px 0 !important;
    position: relative !important;
}

/* Ensure the header doesn't bleed into the background */
#header {
    background-color: white !important;
    position: relative !important;
    z-index: 10;
}
/* Hide specific footer links */ 
.footer-container li a[href*="sitemap"], 
.footer-container li a[href*="stores"], 
.footer-container li a[href*="prices-drop"] { 
    display: none !important; 
}

/* Fix "Shop with us" button alignment on mobile */ 
@media (max-width: 767px) { 
    .header-top .block_content a, 
    [class*="shop-with-us"] { 
        padding: 10px 15px !important; 
        min-width: 120px !important; 
        display: inline-block !important; 
        text-align: center !important; 
        white-space: nowrap !important; 
        font-size: 14px !important; 
        line-height: 1.2 !important; 
    } 
}

/* Force Header Containers to fit button text on Mobile */
@media (max-width: 767px) {
    #header .header-top .row, 
    #header .header-top .container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    /* Target the specific "Shop with us" link block */
    #header .block_content a, .header-top a[href*="shop"] {
        white-space: nowrap !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        min-width: fit-content !important;
    }
}

/* Global fix for any link that says 'Shop with us' */
a[href*="index.php"] {
    display: inline-block !important;
    white-space: nowrap !important;
}
.logo { max-height: 80px !important; width: auto !important; }
.product-miniature:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.2); transform: scale(1.02); transition: all 0.3s ease; }
