/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/* Contenedor principal del selector */
#selector-platos-container {
    background-color: #f9f9f9;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#selector-platos-container h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* El contador flotante o destacado */
#contador-platos {
    font-weight: bold;
    color: #e67e22; /* Color naranja apetitoso */
}

/* La rejilla (Grid) */
.grid-platos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Tarjeta individual de plato */
.item-plato {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-plato:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.item-plato img {
    border-radius: 6px;
    margin-bottom: 10px;
    object-fit: cover;
    height: 120px;
    width: 100%;
}

.item-plato h4 {
    font-size: 1rem;
    margin: 5px 0;
    color: #2c3e50;
}

.item-plato p {
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Control de cantidad */
.cantidad-plato {
    width: 100% !important;
    border: 2px solid #3498db !important;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    padding: 5px;
}

/* Cambiar color cuando llega al máximo (opcional vía JS) */
.limite-alcanzado {
    color: #27ae60;
}