/* --- 1. THE BLUE BOX TRIGGER (FIXED ON TOP) --- */

#lw-menu-burger {
    background-color: #00b2e2 !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    position: fixed !important;
    z-index: 1000001 !important;
    top: 15px;
    left: 15px;
    color: transparent !important;
    overflow: hidden;

    transition:
        background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease,
        opacity 0.2s ease;

    will-change: transform;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1400px) {
    #lw-menu-burger {
        left: 10vw !important;
    }
}

#lw-menu-burger:hover {
    background-color: #0095bf !important;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

#lw-menu-burger:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(0,0,0,0.14);
}

#lw-menu-burger:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* --- 2. THE WHITE BURGER BARS & X MORPH --- */
.lw-icon-bar, .lw-icon-bar::before, .lw-icon-bar::after {
    background: #ffffff !important;
    width: 22px !important;
    height: 2px !important;
    display: block !important;
    content: "" !important;
    position: absolute;
    transition: all 0.3s ease;
}
.lw-icon-bar { position: relative; }
.lw-icon-bar::before { top: -7px; left: 0; }
.lw-icon-bar::after { top: 7px; left: 0; }

#lw-menu-burger.active .lw-icon-bar { background: transparent !important; }
#lw-menu-burger.active .lw-icon-bar::before { top: 0; transform: rotate(45deg); }
#lw-menu-burger.active .lw-icon-bar::after { top: 0; transform: rotate(-45deg); }

/* --- 3. THE DRAWER (FIXED & SCROLLABLE) --- */
#block_top_menu {
    background: #ffffff !important;
    display: none;
    position: fixed !important; /* Fixed for independent scroll */
    top: 0;
    left: 0;
    width: 320px !important;
    height: 100vh !important;
    z-index: 1000000;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    border-right: 1px solid #eee;
    overflow-y: auto !important; 
    -webkit-overflow-scrolling: touch;
    padding-top: 80px !important; /* Space so content starts below the X */
}

#block_top_menu.open { display: block !important; }
#block_top_menu .cat-title { display: none !important; }

#block_top_menu .sf-menu, 
#block_top_menu .sf-menu li {
    float: none !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

/* --- 4. ACCORDION TOGGLES (+ / -) --- */
.menu-toggle {
    cursor: pointer;
    position: absolute !important;
    right: 0;
    top: 0;
    width: 50px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.menu-toggle::after {
    content: '\E145' !important; /* Material Plus */
    font-family: 'Material Icons' !important;
    color: #000;
    font-size: 24px;
}

li.mobile-open > .menu-toggle::after,
.menu-toggle.active::after {
    content: '\E15B' !important; /* Material Minus */
}
/* --- 5. SUBMENU & TEXT STYLING --- */
#block_top_menu .sf-menu ul {
    display: none !important;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fdfdfd;
}
#block_top_menu li.mobile-open > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
#block_top_menu a {
    color: #000000 !important;
    padding: 14px 20px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}
#block_top_menu .sf-menu > li > a {
    font-weight: 700 !important;
    text-transform: uppercase;
}
#block_top_menu .sf-menu ul li a {
    font-weight: 400 !important;
    padding-left: 40px !important;
}
/* --- 6. BACKGROUND LOCK --- */
body.menu-open {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed !important; 
}
.lw-drawer-contact-item {
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fafafa !important;
}
#block_top_menu .lw-contact-main-link {
    font-weight: 700 !important;
    text-transform: uppercase;
    border-bottom: none !important;
    padding: 0 0 10px 0 !important;
}
.lw-drawer-contact-icons {
    display: flex !important;
    justify-content: flex-start;
    gap: 12px;
}
.lw-contact-ico-btn {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    text-decoration: none !important;
    padding: 0 !important;
}
#block_top_menu .lw-contact-ico-btn i {
    font-size: 20px !important;
    color: #000 !important;
    padding: 0 !important;
    border-bottom: none !important;
}
.lw-wa-text {
    font-size: 12px;
    font-weight: 700;
    color: #25d366;
}
.lw-contact-ico-btn:hover,
.lw-contact-ico-btn:active {
    background: #00b2e2 !important;
    border-color: #00b2e2 !important;
}
.lw-contact-ico-btn:hover i,
.lw-contact-ico-btn:active i,
.lw-contact-ico-btn:hover .lw-wa-text,
.lw-contact-ico-btn:active .lw-wa-text {
    color: #fff !important;
}
#block_top_menu .lw-contact-main-link:hover,
#block_top_menu .lw-contact-main-link:active {
    color: #00b2e2 !important;
}
#block_top_menu .lw-contact-ico-btn .material-icons {
    font-size: 20px !important;
}
#block_top_menu .lw-contact-ico-btn[aria-label="WhatsApp"] .material-icons {
    color: #25d366 !important;
}
#block_top_menu .lw-contact-ico-btn[aria-label="WhatsApp"]:hover .material-icons,
#block_top_menu .lw-contact-ico-btn[aria-label="WhatsApp"]:active .material-icons {
    color: #ffffff !important;
}