/* === MEDIA QUERIES RESPONSIVE MODERNES === */
@media (max-width: 1280px) {
    body { font-size: 1.08em; }
    .container, .main, .content { max-width: 98vw; }
}
@media (max-width: 900px) {
    body { font-size: 1em; }
    .container, .main, .content { max-width: 100vw; padding: 0 1rem; }
}
@media (max-width: 600px) {
    body { font-size: 0.95em; }
    .container, .main, .content { max-width: 100vw; padding: 0 0.5rem; }
    .card, .box, .panel { width: 100vw !important; margin: 0 !important; border-radius: 0 !important; }
}
@media (min-width: 901px) {
    .burger-menu {
        display: none !important;
    }
}
/* ==========================================
   MENU BURGER PREMIUM - SAZULIS
   Fichier: public/assets/css/burger-menu.css
   ========================================== */

/* Bouton Burger */
.burger-menu {
    background: linear-gradient(135deg, #8c744e 0%, #be995b 100%);
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(140, 116, 78, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.burger-menu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.burger-menu:hover::before {
    width: 300px;
    height: 300px;
}

.burger-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(140, 116, 78, 0.4);
}

.burger-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.burger-menu.active .burger-icon {
    transform: rotate(90deg);
}

.burger-text {
    position: relative;
    z-index: 1;
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #fff7e2 100%);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Scrollbar personnalisée */
.mobile-menu-overlay::-webkit-scrollbar {
    width: 8px;
}

.mobile-menu-overlay::-webkit-scrollbar-track {
    background: rgba(140, 116, 78, 0.1);
    border-radius: 10px;
}

.mobile-menu-overlay::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8c744e 0%, #be995b 100%);
    border-radius: 10px;
}

.mobile-menu-overlay::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7a5c2b 0%, #8c744e 100%);
}

/* Header du menu */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(140, 116, 78, 0.2);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: #7a5c2b;
}

.mobile-menu-logo span:first-child {
    filter: drop-shadow(0 0 10px rgba(140, 116, 78, 0.5));
}

.close-menu {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
    transition: all 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.5);
}

/* Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    text-decoration: none;
    color: #7a5c2b;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(140, 116, 78, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-links a:hover::before {
    left: 100%;
}

.mobile-nav-links a:hover {
    background: rgba(140, 116, 78, 0.1);
    border-color: rgba(140, 116, 78, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(140, 116, 78, 0.15);
}

.mobile-nav-links a span:first-child {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(140, 116, 78, 0.3));
}

/* Badge panier */
.cart-badge {
    background: linear-gradient(135deg, #be995b 0%, #8c744e 100%);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(140, 116, 78, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Section utilisateur */
.mobile-user-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(140, 116, 78, 0.2);
}

.mobile-user-info {
    background: linear-gradient(135deg, #fff7e2 0%, #faf5e8 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid rgba(140, 116, 78, 0.2);
}

.mobile-user-info .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8c744e 0%, #be995b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(140, 116, 78, 0.3);
}

.mobile-user-info .user-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #7a5c2b;
    margin-bottom: 0.3rem;
}

.mobile-user-info .user-email {
    font-size: 0.9rem;
    color: #6e573a;
}

/* Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 480px) {
    .mobile-menu-overlay {
        max-width: 100%;
        padding: 1.5rem;
    }

    .burger-text {
        display: none;
    }
    
    .burger-menu {
        padding: 0.8rem;
    }
}

/* Cacher le burger sur desktop par défaut */
.burger-menu {
    display: none;
}

/* Afficher le burger seulement sur mobile/tablette */
@media (max-width: 768px) {
    .burger-menu {
        display: flex !important;
    }
    
    /* Cacher le menu desktop sur mobile */
    .navbar-links-desktop {
        display: none !important;
    }
}