/* Menu Tabs Responsive Fix - Basé sur Restoria-2-Standard-Hero */

/* Ajustements pour tablettes */
@media (max-width: 1199px) and (min-width: 992px) {
    .menu-tabs .buttons .tab-buttons .tab-btn {
        margin: 0 22px;
        font-size: 16px;
    }
    
    .menu-tabs .buttons .tab-buttons .tab-btn:after {
        margin-left: 22px;
    }
}

/* Ajustements pour écrans moyens */
@media (max-width: 991px) and (min-width: 769px) {
    .menu-tabs .buttons .tab-buttons .tab-btn {
        margin: 0 15px;
    }
    
    .menu-tabs .buttons .tab-buttons .tab-btn:after {
        display: none;
    }
    
    .tabs-box .tabs-content:before {
        display: none;
    }
    
    .menu-tabs .menu-col .inner {
        padding-left: 0;
    }
    
    .tabs-box .tabs-content .tab {
        padding: 40px 25px;
    }
    
    .menu-tabs .dish-block .dish-image {
        width: 80px;
        height: 80px;
    }
    
    .menu-tabs .dish-block .dish-image img {
        width: 80px;
        height: 80px;
    }
    
    .menu-tabs .dish-block .inner-box {
        padding-left: 100px;
    }
}

/* Ajustements pour mobile - Tabs en colonne */
@media (max-width: 768px) {
    .menu-tabs .buttons .tab-buttons .tab-btn {
        display: block;
        margin: 0 0 20px;
        width: 100%;
        text-align: center;
    }
    
    .menu-tabs .buttons .tab-buttons .tab-btn:last-child {
        margin-bottom: 0;
    }
    
    .menu-tabs .buttons .tab-buttons .tab-btn:before {
        left: 50%;
        margin-left: -50px;
        width: 100px;
    }
    
    .menu-tabs .dish-block .title::before {
        display: none;
    }
    
    .menu-tabs .dish-block .title .ttl {
        width: 100%;
        padding-right: 0px;
    }
    
    .menu-tabs .dish-block .title .ttl .s-info {
        width: 80px;
        display: block;
        margin-left: 0px;
        margin-top: 10px;
        text-align: center;
    }
    
    .menu-tabs .dish-block .inner-box {
        padding-top: 0px;
    }
    
    .menu-tabs .dish-block .title .price {
        position: relative;
        right: 0px;
        float: left;
        padding-left: 0px;
    }
    
    /* Ajuster l'espacement des colonnes sur mobile */
    .menu-tabs .menu-col {
        margin-bottom: 30px;
    }
    
    .menu-tabs .img-col {
        order: -1; /* Image en premier sur mobile */
        margin-bottom: 20px;
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .menu-tabs .buttons .tab-buttons .tab-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .tabs-box .tabs-content .tab {
        padding: 20px 15px;
    }
    
    .menu-tabs .dish-block .inner-box {
        padding-left: 0;
        text-align: center;
    }
    
    .menu-tabs .dish-block .title .price {
        float: none;
        display: block;
        margin-top: 10px;
    }
}
