/* style.css - Personnalisation foodtrip */

/* Importation de Fraunces (Chic Gourmet) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700;1,9..144,900&display=swap');

.leaflet-container { z-index: 1 !important; border-radius: 2.5rem; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Correction bordure image */
.group img { border-radius: 0 !important; }

/* Application de Fraunces sur le corps du site (SANS !important) */
body { 
    font-family: 'Fraunces', serif; 
    -webkit-font-smoothing: antialiased; 
}

/* FORMULAIRES : Forcer Montserrat */
select, input, textarea, button, option {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

button:active { transform: scale(0.98); }

/* --- GESTION DU SCROLL HORIZONTAL --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.flex.overflow-x-auto > div { flex-shrink: 0; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-center { scroll-snap-align: center; }

/* --- FORCE DESIGN FOODTRIP --- */

/* 1. Sticker de réduction (Style de base pour module_card) */
.absolute.top-5.right-5.flex.items-center.justify-center.rounded-full,
.sticker-reduction {
    background-color: white !important;
    color: #E30613 !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    z-index: 50 !important;
}

/* 2. Prix : Plus grand et Gras Noir */
.price-style {
    font-weight: 900 !important;
    font-size: 1.875rem !important;
}

/* 3. Ancien prix barré */
.line-through {
    font-size: 14px !important;
    opacity: 0.6 !important;
}

/* 4. Validité */
.tracking-widest.uppercase {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
}

/* 5. Fix line-clamp-1 */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 6. Fix header mobile */
@media (max-width: 767px) {
    header .text-2xl, header .text-lg { font-size: 1.25rem !important; }
}

select { text-overflow: clip !important; white-space: nowrap !important; }
.logo-main-resize { max-height: none !important; }