/* Estilos específicos para os cards de produtos */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.menu-item {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.menu-item-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.menu-item-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.menu-item-footer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    min-width: 24px;
    text-align: center;
}

.menu-item .primary-button {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item .primary-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
        padding: 16px;
    }

    .menu-item-content {
        padding: 14px;
    }

    .menu-item-title {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .menu-items {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
        background: white;
    }

    .menu-item {
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        border: none;
        border-bottom: 12px solid var(--background-color);
    }

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

    .menu-item:hover {
        transform: none;
        box-shadow: none;
    }

    .menu-item img {
        height: 160px;
        border-radius: 0;
        border: none;
    }

    .menu-item-content {
        padding: 16px;
        background: white;
        border: none;
    }

    .menu-item-footer {
        margin-top: 12px;
    }

    .quantity-controls {
        border-radius: 6px;
    }

    .menu-item .primary-button {
        border-radius: 6px;
    }
}

.removed-ingredients {
    display: block;
    color: #f44336; /* Vermelho */
    font-size: 0.9rem;
    margin-top: 2px;
}

.added-ingredients {
    display: block;
    color: #4CAF50; /* Verde */
    font-size: 0.9rem;
    margin-top: 2px;
} 