/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
*/

/* Import fonts for Banana Moon style */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

/* Reset and base styles */
.custom-menu-container {
    width: 100%;
    background-color: #fff;
    position: relative;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

/* Logo styling */
.custom-menu-logo-container {
    text-align: center;
    padding: 25px 0;
    background-color: #fff;
}

.custom-menu-logo {
    display: inline-block;
    max-width: 180px;
}

.custom-menu-logo img {
    max-width: 100%;
    height: auto;
}

/* Sticky menu styles */
.menu-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
    z-index: 1050;
}

.menu-sticky .custom-menu-logo-container {
    display: none;
}

.menu-hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.custom-menu-container a {
    text-decoration: none;
    color: #000;
}

.custom-menu-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Main menu structure */
.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* Navigation styling */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.custom-menu-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

.custom-menu-item {
    margin: 0 25px;
    position: relative;
}

.custom-menu-link {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.custom-menu-link:hover,
.custom-menu-link.active {
    color: #777;
}

.custom-menu-link:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.custom-menu-link:hover:after,
.custom-menu-link.active:after {
    width: 100%;
}

/* Menu actions (search, account, cart) */
.custom-menu-actions {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.custom-menu-search, 
.custom-menu-account, 
.custom-menu-cart {
    margin-left: 20px;
    position: relative;
}

.search-toggle,
.custom-menu-account a,
.custom-menu-cart a {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle i,
.custom-menu-account i,
.custom-menu-cart i {
    font-size: 18px;
    color: #000;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
    margin-left: 15px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 991px) {
    .custom-menu-logo-container {
        padding: 15px 0;
    }
    
    .custom-menu-logo {
        max-width: 130px;
    }
    
    .main-menu {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        padding: 70px 20px 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 1001;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    
    .mobile-menu-active .main-navigation {
        left: 0;
    }
    
    .custom-menu-list {
        flex-direction: column;
        margin: 0;
    }
    
    .custom-menu-item {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .custom-menu-link {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .custom-menu-actions {
        margin-left: auto;
        margin-right: 0;
    }
    
    .custom-menu-search, 
    .custom-menu-account, 
    .custom-menu-cart {
        margin-left: 15px;
    }
    
    /* Overlay for mobile menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .mobile-menu-active .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* Animated hamburger menu */
    .mobile-menu-active .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-active .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-active .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
