.categories ul {
    list-style: none;
    padding: 0;
}

.categories li {
    margin: 10px 0;
}

.category-link {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: #ff7e00;
}

.menu-item {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}



.info-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.popup .close {
    cursor: pointer;
    float: right;
    font-size: 20px;
}


#sidebar {
    height: 100vh;
    overflow-y: auto;
}

/* ✅ Grille des plats */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

/* ✅ Style des cartes */
.menu-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    border: 2px solid #ff7e00;
}

.menu-item:hover {
    transform: scale(1.03);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.menu-title-first {
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    color: #ff7e00;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ✅ Images */
.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #ff7e00;
    transition: transform 0.3s ease-in-out;
}
.menu-item img:hover {
    transform: scale(1.1);
    margin: 6px;
}


.menu-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.menu-size {
    margin-top: 5px;
    width: 100%;
}

/*.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}*/

.add-to-cart {
    width: 100%;
    margin-top: 10px;
}

.local-toast {
    font-size: 0.9rem;
    text-align: center;
    transition: opacity 0.3s ease;
}


/* ✅ Animation fade-in/out 
.toast-notif {
    opacity: 0;
    display: block;
    max-width: 100%;
    padding: 8px 12px;
    margin: 8px auto;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    background-color: #28a745;
    color: white;
    transition: opacity 0.4s ease-in-out;
    position: relative;
    z-index: 10;
    pointer-events: none;
    visibility: hidden;
}*/
/* ✅ Lorsqu'on affiche la notif */
.toast-notif.show {
    opacity: 1;
    visibility: visible;
}

