/* ==================== HEALTHCARE24 MOBILE MENU - PREMIUM DESIGN ==================== */
/* Modern, Card-Based Mobile Navigation */

/* Mobile Utility Bar - Hidden on desktop, Gradient on mobile */
.mobile-utility-bar {
    display: none;
    background: linear-gradient(to right, #4A9BAA, #5BB5C5);
    color: white;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
}

.mobile-utility-bar a.utility-phone {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-utility-bar a.utility-phone:hover {
    opacity: 0.9;
}

/* Phone badge - circular white/20 background */
.mobile-utility-bar .phone-badge {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-utility-bar .phone-badge svg {
    width: 14px;
    height: 14px;
}

/* Language button - pill style */
.mobile-utility-bar .utility-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-utility-bar .utility-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-utility-bar .utility-lang-btn svg {
    width: 16px;
    height: 16px;
}

/* Hide mobile-only elements on desktop */
.mobile-submenu-toggle {
    display: none;
}

/* Mobile Menu Toggle Button - Premium Style with Gray Background */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: #f9fafb;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1200;
    position: relative;
    transition: background 0.2s ease;
    gap: 5px;
}

.mobile-menu-toggle:hover {
    background: #f3f4f6;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active {
    background: #f3f4f6;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #5bb5c5;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #5bb5c5;
}

/* ==================== MOBILE STYLES ==================== */
@media (max-width: 991px) {
    /* Add shadow to header */
    .main-header {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* Show mobile utility bar */
    .mobile-utility-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger button */
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    
    /* Restructure header-top for mobile */
    .header-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 15px 15px !important;
        gap: 12px;
    }
    
    /* Logo - bigger size */
    .header-top .logo {
        flex: 1;
        display: flex;
        justify-content: flex-start;
        margin-left: 10px;
    }
    
    .header-top .logo img {
        height: 90px !important;
        width: auto !important;
    }
    
    /* Header actions on the right */
    .header-actions {
        display: flex !important;
        gap: 15px !important;
        flex-shrink: 0;
    }
    
    .header-actions .header-icon,
    .header-actions .account-link,
    .header-actions .cart-icon-link {
        display: flex !important;
    }
    
    .header-actions svg {
        width: 24px;
        height: 24px;
    }
    
    .account-text {
        display: none;
    }
    
    /* Search bar - full width row below header */
    .header-search {
        display: flex !important;
        width: 100% !important;
        order: 10;
        margin-top: 5px;
        flex-basis: 100%;
    }
    
    .header-search .search-form,
    .header-search form {
        width: 100%;
    }
    
    .header-search input[type="search"],
    .header-search input[type="text"],
    .header-search .search-input {
        width: 100%;
        padding: 12px 15px 12px 45px;
        border: none;
        border-bottom: 2px solid #5bb5c5;
        border-radius: 0;
        font-size: 16px;
        background: #fff;
    }
    
    .header-search input:focus {
        outline: none;
        border-bottom-color: #4a9aa8;
    }
    
    /* ==================== FULL-SCREEN OVERLAY ==================== */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .mobile-menu-overlay.active,
    body.menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* ==================== SLIDE-OUT MENU PANEL ==================== */
    .header-nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 4px 0 25px rgba(0,0,0,0.2) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .header-nav.mobile-open {
        left: 0 !important;
    }
    
    /* ==================== MENU HEADER - PREMIUM STYLE ==================== */
    .mobile-menu-header {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px 16px 16px !important;
        background: #fff !important;
        flex-shrink: 0;
        border-bottom: 1px solid #f0f0f0 !important;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .menu-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .mobile-menu-header .menu-logo {
        height: 40px !important;
        width: auto !important;
    }

    .mobile-menu-header .menu-title {
        color: #333;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .mobile-menu-close {
        width: 40px !important;
        height: 40px !important;
        background: #f3f4f6 !important;
        border: none !important;
        border-radius: 50% !important;
        color: #6b7280 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: #e5e7eb !important;
    }

    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }

    /* Auth buttons row */
    .menu-auth-buttons {
        display: flex;
        gap: 8px;
    }

    .auth-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .auth-btn-primary {
        background: #5bb5c5;
        color: white;
    }

    .auth-btn-primary:hover {
        background: #4a9aa8;
    }

    .auth-btn-secondary {
        background: #f3f4f6;
        color: #374151;
    }

    .auth-btn-secondary:hover {
        background: #e5e7eb;
    }
    
    /* ==================== MENU ITEMS CONTAINER ==================== */
    .header-nav .nav-menu {
        display: block !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ddd transparent;
    }
    
    .header-nav .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .header-nav .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .header-nav .nav-menu::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 2px;
    }
    
    /* Remove the ::before pseudo element */
    .header-nav .nav-menu::before {
        display: none !important;
    }
    
    /* ==================== MAIN MENU ITEMS ==================== */
    .header-nav .nav-menu > li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .header-nav .nav-menu > li:last-child {
        border-bottom: none !important;
    }
    
    /* Main category links - Large, touch-friendly (min 48px) */
    .header-nav .nav-menu > li > a.nav-link {
        display: flex !important;
        align-items: center !important;
        min-height: 56px !important;
        padding: 16px 55px 16px 20px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        background: #fff !important;
        border: none !important;
        letter-spacing: -0.2px;
    }
    
    .header-nav .nav-menu > li > a.nav-link:hover,
    .header-nav .nav-menu > li > a.nav-link:active {
        background: #f8f9fa !important;
        color: #5bb5c5 !important;
    }
    
    /* Hide the original dropdown arrow in nav link */
    .header-nav .nav-menu > li > a > svg.dropdown-arrow {
        display: none !important;
    }
    
    /* ==================== ACCORDION TOGGLE (+/-) INDICATOR ==================== */
    .mobile-submenu-toggle {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 55px !important;
        height: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        border-left: 1px solid #f0f0f0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        z-index: 5;
    }
    
    .mobile-submenu-toggle:hover,
    .mobile-submenu-toggle:active {
        background: #f8f9fa !important;
    }
    
    /* Plus/Minus indicator */
    .mobile-submenu-toggle::before {
        content: "+" !important;
        font-size: 24px !important;
        font-weight: 300 !important;
        color: #999 !important;
        line-height: 1;
        transition: all 0.3s ease !important;
    }
    
    .mobile-submenu-toggle.expanded::before {
        content: "−" !important;
        color: #5bb5c5 !important;
    }
    
    /* Hide the SVG chevron, use CSS +/- instead */
    .mobile-submenu-toggle svg {
        display: none !important;
    }
    
    /* ==================== ACCORDION-STYLE SUBMENUS ==================== */
    .header-nav .mega-menu {
        display: none !important;
        background: #f8f9fa !important;
        padding: 0 !important;
        margin: 0 !important;
        border-top: 1px solid #eee !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .header-nav .mega-menu.mobile-expanded {
        display: block !important;
        max-height: 1000px;
    }
    
    .header-nav .mega-menu-inner {
        padding: 0 !important;
    }
    
    .header-nav .mega-menu-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .header-nav .mega-menu-column {
        padding: 0 !important;
        border-bottom: 1px solid #eee !important;
    }
    
    .header-nav .mega-menu-column:last-child {
        border-bottom: none !important;
    }
    
    /* Subcategory headers */
    .header-nav .mega-menu-column h4 {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    
    .header-nav .mega-menu-column h4 a {
        display: flex !important;
        align-items: center !important;
        min-height: 48px !important;
        padding: 12px 20px 12px 30px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #5bb5c5 !important;
        text-decoration: none !important;
        background: #f8f9fa !important;
        transition: all 0.2s ease !important;
        border-bottom: none !important;
    }
    
    .header-nav .mega-menu-column h4 a:hover {
        background: #f0f0f0 !important;
        color: #4a9aa8 !important;
    }
    
    /* Sub-subcategory links - indented */
    .header-nav .mega-menu-column ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .header-nav .mega-menu-column ul li {
        margin: 0 !important;
    }
    
    .header-nav .mega-menu-column ul li a {
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
        padding: 10px 20px 10px 45px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #666 !important;
        text-decoration: none !important;
        background: #fff !important;
        border-bottom: 1px solid #f5f5f5 !important;
        transition: all 0.2s ease !important;
    }
    
    .header-nav .mega-menu-column ul li:last-child a {
        border-bottom: none !important;
    }
    
    .header-nav .mega-menu-column ul li a:hover {
        background: #f8f9fa !important;
        color: #5bb5c5 !important;
        padding-left: 50px !important;
    }
    
    /* Hide "see all" link on mobile */
    .header-nav .mega-menu-column .see-all {
        display: none !important;
    }
    
    /* ==================== OFFERS/CTA BUTTON IN MENU ==================== */
    .header-nav .nav-menu > li.nav-offers {
        padding: 15px !important;
        border-bottom: none !important;
        margin-top: auto !important;
    }
    
    .header-nav .nav-menu > li.nav-offers > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 52px !important;
        padding: 14px 24px !important;
        background: linear-gradient(135deg, #f5a623 0%, #e09100 100%) !important;
        color: white !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3) !important;
        letter-spacing: 0.3px;
    }
    
    .header-nav .nav-menu > li.nav-offers > a:hover {
        background: linear-gradient(135deg, #e6951a 0%, #d08400 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4) !important;
    }
    
    /* ==================== MENU FOOTER - PREMIUM STYLE ==================== */
    .mobile-menu-footer {
        padding: 0 !important;
        border-top: none !important;
        background: transparent !important;
        flex-shrink: 0;
    }

    /* Quick links section */
    .menu-quick-links {
        padding: 16px;
        border-top: 1px solid #f0f0f0;
    }

    .menu-section-title {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #9ca3af;
        margin: 0 0 12px 4px;
    }

    .quick-link {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 4px !important;
        color: #6b7280 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

    .quick-link:hover {
        color: #5bb5c5 !important;
    }

    .quick-link svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .quick-link:hover svg {
        color: #5bb5c5;
    }

    /* Phone support section */
    .menu-phone-support {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px;
        background: #f9fafb;
        border-top: 1px solid #f0f0f0;
    }

    .phone-icon-circle {
        width: 40px;
        height: 40px;
        background: rgba(91, 181, 197, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .phone-icon-circle svg {
        color: #5bb5c5;
    }

    .phone-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .phone-label {
        font-size: 12px;
        color: #9ca3af;
    }

    .phone-number {
        font-size: 15px;
        font-weight: 600;
        color: #374151;
        text-decoration: none;
    }

    .phone-number:hover {
        color: #5bb5c5;
    }
    
    /* Prevent body scroll when menu open */
    body.menu-open {
    /* position: fixed removed - it breaks scrolling */
        overflow: hidden !important;
        /* position: fixed; - DISABLED causes scroll issues */
        width: 100%;
    }

    /* ==================== PROMO BANNER - CARD STYLE ==================== */
    .promo-banner {
        padding: 12px 16px !important;
        background: transparent !important;
    }

    .promo-banner .container {
        position: relative;
        background: linear-gradient(to right, #F5A623, #E09400);
        border-radius: 16px;
        padding: 14px 16px;
        overflow: hidden;
    }

    .promo-banner-content {
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
        z-index: 1;
    }

    .promo-banner .promo-icon {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .promo-banner .promo-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .promo-banner .promo-title {
        font-size: 15px;
        font-weight: 600;
        color: white;
    }

    .promo-banner .promo-subtitle {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Decorative circle */
    .promo-banner .promo-circle {
        position: absolute;
        top: -50%;
        right: -20px;
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    /* ==================== HEADER ICONS - ROUNDED HOVER ==================== */
    .header-actions .header-icon,
    .header-actions .account-link,
    .header-actions .cart-icon-link {
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        transition: background 0.2s ease;
    }

    .header-actions .header-icon:hover,
    .header-actions .account-link:hover,
    .header-actions .cart-icon-link:hover {
        background: #f9fafb;
    }

    /* Cart badge - orange */
    .cart-count-badge {
        background: #F5A623 !important;
    }
}

/* ==================== SMALL MOBILE ADJUSTMENTS ==================== */
@media (max-width: 576px) {
    .header-top {
        padding: 10px !important;
    }

    .header-top .logo img {
        height: 70px !important;
    }

    .header-actions {
        gap: 8px !important;
    }

    .header-actions svg {
        width: 22px;
        height: 22px;
    }

    /* Hamburger - smaller on small screens but keep rounded style */
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }

    /* Header icons - smaller on small screens */
    .header-actions .header-icon,
    .header-actions .account-link,
    .header-actions .cart-icon-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    /* Smaller menu header on small screens */
    .mobile-menu-header {
        padding: 16px !important;
        min-height: 70px;
    }

    .mobile-menu-header .menu-logo {
        height: 38px !important;
    }

    .mobile-menu-close {
        width: 36px !important;
        height: 36px !important;
    }
    
    /* Slightly smaller menu items on small screens */
    .header-nav .nav-menu > li > a.nav-link {
        min-height: 52px !important;
        padding: 14px 50px 14px 16px !important;
        font-size: 15px !important;
    }
    
    .mobile-submenu-toggle {
        width: 50px !important;
        min-height: 52px !important;
    }
}

/* ==================== CART BADGE ON MOBILE ==================== */
@media (max-width: 991px) {
    .cart-icon-link {
        position: relative;
    }
    
    .cart-count-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        background: #5bb5c5;
        color: white;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        border-radius: 9px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cart-count-badge:empty {
        display: none !important;
    }
}

/* ==================== SEARCH DROPDOWN POSITIONING ==================== */
@media (max-width: 991px) {
    .search-dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 70vh !important;
        border-radius: 20px 20px 0 0 !important;
        z-index: 2000 !important;
    }
    
    .search-dropdown.active {
        display: block !important;
    }
}

/* ==================== ANIMATIONS & TRANSITIONS ==================== */
@media (max-width: 991px) {
    /* Smooth menu slide animation */
    .header-nav {
        will-change: left;
    }
    
    /* Stagger animation for menu items when menu opens */
    .header-nav.mobile-open .nav-menu > li {
        animation: slideInFromLeft 0.3s ease forwards;
        opacity: 0;
    }
    
    .header-nav.mobile-open .nav-menu > li:nth-child(1) { animation-delay: 0.05s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(2) { animation-delay: 0.1s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(3) { animation-delay: 0.15s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(4) { animation-delay: 0.2s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(5) { animation-delay: 0.25s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(6) { animation-delay: 0.3s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(7) { animation-delay: 0.35s; }
    .header-nav.mobile-open .nav-menu > li:nth-child(8) { animation-delay: 0.4s; }
    
    @keyframes slideInFromLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Submenu expand animation */
    .header-nav .mega-menu {
        transition: all 0.3s ease !important;
    }
    
    .header-nav .mega-menu.mobile-expanded {
        animation: expandSubmenu 0.3s ease forwards;
    }
    
    @keyframes expandSubmenu {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */
@media (max-width: 991px) {
    /* Focus states */
    .header-nav .nav-menu > li > a:focus,
    .mobile-submenu-toggle:focus,
    .mobile-menu-close:focus {
        outline: 2px solid #5bb5c5;
        outline-offset: -2px;
    }
    
    .header-nav .mega-menu-column a:focus {
        outline: 2px solid #5bb5c5;
        outline-offset: -2px;
        background: #f0f0f0 !important;
    }
    
    /* Reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .header-nav,
        .mobile-menu-overlay,
        .header-nav .mega-menu,
        .header-nav.mobile-open .nav-menu > li {
            animation: none !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* ==================== LEFT CUTOFF FIX - 2025-12-31 ==================== */
/* Ensure menu doesn't cause body offset when closed */
@media (max-width: 991px) {
    body:not(.menu-open) {
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* When menu is closed, ensure proper positioning */
    .header-nav:not(.mobile-open) {
        transform: none !important;
    }
    
    /* Ensure overlay doesn't affect body position when hidden */
    .mobile-menu-overlay:not(.active) {
        transform: none !important;
        left: 0 !important;
    }
}
