/**
 * Menu Hybride CSS
 * Design moderne pour Food (grandes images) et Drinks (liste compacte)
 */

/* === LISTE BOISSONS === */
.drinks-list-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.drink-item-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.drink-item-v2:hover {
    border-color: var(--color-wood);
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.2);
    transform: translateY(-2px);
}

/* Image miniature */
.drink-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.drink-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drink-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-wood) 0%, #d4a574 100%);
    font-size: 1.5rem;
}

/* Nom */
.drink-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Boutons d'ajout */
.drink-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.drink-add-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--color-wood);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.drink-add-btn:hover {
    background: #d4a574;
    transform: scale(1.05);
}

.drink-add-btn:active {
    transform: scale(0.95);
}

/* Bouton Specialty - style différent */
.drink-add-btn.specialty {
    background: #1a1a1a;
    color: #ffffff;
}

.drink-add-btn.specialty:hover {
    background: #333333;
}

.drink-price-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.drink-price-value {
    font-weight: 700;
}

/* === BOUTON PANIER PLATS === */
.add-to-cart-v2 {
    width: 100%;
    padding: 1rem;
    background: var(--color-wood);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.add-to-cart-v2:hover {
    background: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.3);
}

.add-to-cart-v2:active {
    transform: translateY(0);
}

.add-to-cart-v2 i {
    font-size: 1.125rem;
}

/* === SECTION BOISSONS === */
.category-section-v2.drink-category {
    margin-bottom: 3rem;
}

.category-section-v2.drink-category .category-title-v2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #1a1a1a;
}

/* === MOBILE === */
@media (max-width: 768px) {
    /* Liste boissons - 1 colonne sur mobile */
    .drinks-list-v2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Item boisson - layout optimisé mobile */
    .drink-item-v2 {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
        gap: 1rem;
    }
    
    /* Image plus grande sur mobile */
    .drink-image {
        width: 70px;
        height: 70px;
    }
    
    .drink-icon {
        font-size: 2rem;
    }
    
    /* Nom prend toute la largeur */
    .drink-name {
        flex: 1;
        min-width: calc(100% - 90px);
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    /* Boutons en bas, pleine largeur */
    .drink-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .drink-add-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        justify-content: space-between;
    }
    
    .drink-add-btn i {
        font-size: 1.25rem;
    }
    
    /* Bouton panier plats */
    .add-to-cart-v2 {
        padding: 1.25rem;
        font-size: 1.125rem;
    }
    
    /* Titre catégorie */
    .category-section-v2.drink-category .category-title-v2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

/* === TABLET === */
@media (min-width: 769px) and (max-width: 1024px) {
    .drinks-list-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .drink-item-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .drink-name {
        width: 100%;
    }
    
    .drink-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* === DESKTOP === */
@media (min-width: 1025px) {
    .drinks-list-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}
