@font-face {
    font-family: 'Urbanist';
    src: url('/fonts/Urbanist/Urbanist-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

button{
    outline : none !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
body {
    font-family: 'Urbanist';
}

/* Style du bouton WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    background-color: #128C7E;
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Animation de pulsation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-button.pulse {
    animation: pulse 2s infinite;
}

/* Style pour le contenu de démonstration */
.content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.navbar-toggler {
    outline: none !important;
}

.nav-link {
    color: black !important;
    font-weight: bold !important;
    text-transform: uppercase;
}

.breadcrumb-wrapper {
    text-transform: uppercase;
}

.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
}

.product-card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.quantity-input {
    width: 60px;
    text-align: center;
}

/* Styles modernisés pour le panier flottant - MÊMES CLASSES */
.floating-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: white;
    border-radius: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-open .floating-cart {
    right: 0;
    display: flex;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-toggle {
    border-radius: 50px;
    font-weight: bold;
    background: rgb(175 145 48);
    border: none !important;
    padding: 12px 12px 12px 17PX !important;
    position: relative;
    color: white !important;
}


.cart-items {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    flex: 1;
    transition: filter 0.3s ease;
}

.cart-blurred {
    filter: blur(2px);
}

.cart-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 15px;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item:hover {
    background-color: #f8f9ff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.cart-quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e0e0e0;
    background: white;
    transition: all 0.2s ease;
    font-weight: bold;
}

.cart-quantity-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
    border-color: #667eea;
}

.cart-quantity-display {
    min-width: 45px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-open .cart-overlay {
    opacity: 1;
    visibility: visible;
}

.empty-cart-message {
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.empty-cart-message i {
    opacity: 0.5;
    margin-bottom: 20px;
}

.cart-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-header h5 {
    font-weight: 700;
    font-size: 1.3em;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 25px;
}

.checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.continue-shopping:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Scrollbar personnalisée */
.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Responsive */
@media (max-width: 768px) {
    .mbnone{
        display:none !important;
    }
    .navbar-collapse {
        position: absolute;
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
               top: 91px;
        background: white;
        width: 100%;
        padding: 20px;
        z-index: 10000000;
        left: 0;
    }

    .cart-items {
        max-height: 100% !important;
    }

    .floating-cart {
        width: 100%;
        right: -100%;
    }
}


/* Exemple d'utilisation */
body {
    font-family: 'Urbanist';
}

@media(max-width:600px) {
    .breadcrumb-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* STYLES POUR LES SOUS-MENUS */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -8px;
    margin-left: -1px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: block;
}

.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Flèches pour les sous-menus */
.dropdown-submenu>a::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f054";
    float: right;
    margin-left: 10px;
    margin-top: 4px;
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
    display: none;
}

.dropdown-submenu:hover>a::after {
    color: black;
}

/* Style pour les menus principaux */
.categories-menu {
    min-width: 250px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

.categories-menu .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #495057;
    border-radius: 6px;
    margin: 2px 8px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.categories-menu .dropdown-item:hover {
    background: #af9130;
    color: white;
}

.categories-menu .dropdown-item:active {
    background-color: #e7f1ff;
    color: #0d6efd;
}

/* Style pour les sous-menus */
.categories-menu .dropdown-menu {
    min-width: 220px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
}

.categories-menu .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    margin: 1px 6px;
}

/* Séparateurs */
.categories-menu .dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

/* Style pour "Voir tous" */
.categories-menu .dropdown-item[href*="app_category_show"]:not(.dropdown-toggle) {
    background-color: #f8f9fa;
    font-weight: 600;
    color: white;
    border-left: 3px solid white;
}

.categories-menu .dropdown-item[href*="app_category_show"]:not(.dropdown-toggle):hover {
    background-color: #e7f1ff;
    color: white;
}

/* Animation pour l'ouverture des menus */
.dropdown-menu {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour les icônes de flèches */
.categories-menu .fa-chevron-right {
    font-size: 10px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.dropdown-submenu:hover .fa-chevron-right {
    color: white;
}

/* Style pour les badges (si vous en ajoutez) */
.category-badge {
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .dropdown-submenu>.dropdown-menu {
        position: static;
        margin: 8px 0 8px 16px;
        box-shadow: none;
        border: 1px solid #e9ecef;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown-submenu.mobile-open>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu>a::after {
        content: "\f078";
    }

    .categories-menu {
        min-width: 200px;
    }
}

/* Style pour l'état actif */
.categories-menu .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

.categories-menu .dropdown-item.active::after {
    color: white;
}

/* Effet de profondeur */
.categories-menu .dropdown-menu .dropdown-menu {
    margin-top: -8px;
    margin-left: -5px;
}

/* Transition smooth pour tous les éléments */
.categories-menu * {
    transition: all 0.3s ease;
}