/* ===== MISE EN VALEUR DES PRIX EN FORMAT MOBILE ===== */

@media screen and (max-width: 768px) {
    /* Style de base pour tous les prix */
    .price {
        display: inline-block;
        padding: 6px 12px;
        background-color: rgba(215, 58, 49, 0.1);
        border-radius: 6px;
        margin-top: 8px;
        font-weight: 700;
        font-size: 1.3rem;
        color: var(--primary-color);
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 1;
        transition: all 0.3s ease;
    }
    
    /* Effet de surbrillance pour les prix */
    .price::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(215, 58, 49, 0.2) 0%, rgba(215, 58, 49, 0.05) 100%);
        border-radius: 6px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .price:hover::before,
    .price:active::before {
        opacity: 1;
    }
    
    /* Style spécifique pour les prix dans les cartes de pizza */
    .pizza-info .price {
        font-size: 1.4rem;
        margin-top: 10px;
        padding: 8px 14px;
        background-color: rgba(215, 58, 49, 0.12);
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
        display: inline-block;
        position: relative;
        overflow: hidden;
    }
    
    /* Effet de pulsation subtil pour attirer l'attention */
    @keyframes pulsePriceHighlight {
        0% {
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 4px 12px rgba(215, 58, 49, 0.15);
            transform: scale(1.03);
        }
        100% {
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
            transform: scale(1);
        }
    }
    
    /* Appliquer l'animation de pulsation aux prix des pizzas */
    .pizza-card:hover .price {
        animation: pulsePriceHighlight 1.5s ease infinite;
    }
    
    /* Amélioration de la lisibilité des prix */
    .pizza-info {
        position: relative;
    }
    
    /* Optimisations pour les très petits écrans */
    @media screen and (max-width: 480px) {
        .price {
            font-size: 1.2rem;
            padding: 5px 10px;
        }
        
        .pizza-info .price {
            font-size: 1.3rem;
            padding: 6px 12px;
        }
    }
}