/* 
 * TSCardápio - CSS do Cardápio Público
 */

/* Override primary color from establishment */
.text-primary {
    color: var(--primary-color, #f48c25) !important;
}

.bg-primary {
    background-color: var(--primary-color, #f48c25) !important;
}

/* Category hero */
.category-hero {
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

/* Narrative card animation */
.narrative-card {
    transition: all 0.3s ease;
}

.narrative-card:active {
    transform: scale(0.98);
}

/* Product image hover effect */
.product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Modal animation */
#modal-produto>div {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .category-hero {
        height: 200px;
    }

    .category-hero h2 {
        font-size: 1.75rem;
    }
}