/*
 * Premium Mobile Menu Custom Styles
 * Tailored for Brazilian Sugar Statically Exported Wix Site
 */

/* 1. Reset state & control layer clicks */
.big2ZD {
    pointer-events: none !important;
}

/* 2. Menu contents container transition (opacity & visibility) */
.big2ZD .z_w3mq {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s !important;
}

body.mobile-menu-active .big2ZD {
    pointer-events: auto !important;
}

body.mobile-menu-active .big2ZD .z_w3mq {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. Sliding menu drawer (SPKdgB) with a luxury glassmorphism touch */
.big2ZD .SPKdgB {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
}

body.mobile-menu-active .big2ZD .SPKdgB {
    transform: translateX(0);
}

/* 4. Elegant Dark Backdrop overlay with blur effect */
.big2ZD .gWQdkh {
    background-color: rgba(18, 12, 5, 0.6) !important; /* warm luxury brown-black backdrop */
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: auto !important;
}

body.mobile-menu-active .big2ZD .gWQdkh {
    opacity: 1 !important;
}

/* 5. Submenu toggling details & dynamic heights */
.wixui-vertical-menu__submenu {
    display: none !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    padding-left: 20px !important;
    border-left: 2px solid rgba(229, 156, 0, 0.2) !important; /* accent left border for submenu list */
    margin-left: 10px !important;
}

.wixui-vertical-menu__item.expanded > .saNEb7,
.wixui-vertical-menu__item.expanded .wixui-vertical-menu__submenu {
    display: block !important;
    opacity: 1 !important;
    max-height: 1000px !important;
}

/* 6. Arrow indicator rotation on submenu open */
.wixui-vertical-menu__arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wixui-vertical-menu__item.expanded .wixui-vertical-menu__arrow {
    transform: rotate(180deg) !important;
}

/* 7. Hover and Active Micro-interactions */
.wixui-vertical-menu__item-label {
    position: relative;
    color: #333333 !important;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
}

.wixui-vertical-menu__item-label:hover {
    color: #e59c00 !important; /* beautiful gold highlight */
    padding-left: 5px !important;
}

/* 8. Hamburger and Close Button styling */
button.wixui-vector-image {
    cursor: pointer !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
}

button.wixui-vector-image:hover {
    transform: scale(1.12);
}

button.wixui-vector-image:active {
    transform: scale(0.92);
}

/* Let's make sure the SVGs inside the buttons inherit styles nicely */
button.wixui-vector-image svg {
    pointer-events: none !important;
    transition: fill 0.3s ease, stroke 0.3s ease !important;
}

button.wixui-vector-image:hover svg {
    fill: #e59c00 !important;
}
