/* =========================================
   RESET DE QUARK
   ========================================= */
   
/* Masque le header natif de Quark (Logo + Menu de navigation) */
#header, 
.header-fixed #header {display: none;}

/* On supprime le menu en mobile */
.mobile-menu {display: none !important}

/* Supprime la marge supérieure que Quark ajoute souvent pour compenser le header fixe */
#body-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}


/* Force le Hero à coller tout en haut de l'écran */
.restaurant-hero {
    margin-top: 0 !important;
    top: 0;
}
/* On force le conteneur principal de Quark à prendre toute la largeur pour le Hero */
#body-wrapper .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* On redonne de la marge au contenu du menu uniquement */
.menu-app-wrapper {
    margin-top: -40px !important; /* Petit effet de chevauchement sur le Hero */
    position: relative;
    z-index: 10;
}

/* --- CORRECTION BUG COLONNES QUARK --- */
/* Force l'affichage du contenu sur une seule colonne */
.plat-description, 
.plat-description p {
    display: block !important;
    width: 100% !important;
    column-count: auto !important;
}

/* Cache le footer par défaut du thème Quark */
#footer {
    display: none !important;
}


/* =========================================
   VARIABLES GLOBALES DU THÈME (DÉFAUT : DARK)
   ========================================= */
:root {
    --yoommy-bg-main: #121212;         /* Fond général de la page */
    --yoommy-bg-nav: #1a1a1a;          /* Fond du menu défilant en haut */
    --yoommy-bg-card: #1e1e1e;         /* Fond des accordéons et de la légende */
    --yoommy-text-main: #ffffff;       /* Texte principal (Titres, plats, etc.) */
    --yoommy-text-muted: #aaaaaa;      /* Texte secondaire (Descriptions, sous-titres) */
    --yoommy-accent: #8b5cf6;          /* Couleur Yoommy (Boutons, icônes, loaders) */
    --yoommy-border: #333333;          /* Bordures principales */
    --yoommy-border-light: #2a2a2a;    /* Bordures subtiles (séparation de plats) */
    --yoommy-font-title: 'Abril Fatface', serif;
    --yoommy-font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   1. ESPACE CLIENT (yoommy-dashboard)
   (On garde ce bloc indépendant pour ne pas casser l'admin)
   ========================================= */
.yoommy-dashboard { max-width: 1000px; margin: 40px auto; padding: 20px; font-family: sans-serif; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #eee; padding-bottom: 20px; margin-bottom: 30px; }
.dashboard-header h1 { margin: 0; font-size: 24px; }
.btn-logout { background: #ff4757; color: white; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: bold; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.tool-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.tool-card.full-width { grid-column: 1 / -1; }
.tool-card h3 { margin-top: 0; }
.tool-card p.subtitle { color: #666; font-size: 14px; }
.yoommy-dropzone { border: 2px dashed #dcdde1; padding: 40px; text-align: center; border-radius: 8px; cursor: pointer; background: #f5f6fa; transition: all 0.3s ease; }
.yoommy-dropzone.active { border-color: var(--yoommy-accent); background: #f3f0ff; }
.yoommy-dropzone .icon { font-size: 30px; margin-bottom: 10px; }
.yoommy-dropzone .title { margin: 0; color: #666; font-weight: bold; }
.yoommy-dropzone .hint { margin: 5px 0 0 0; font-size: 13px; color: #a4b0be; }
.btn-action { width: 100%; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 16px; transition: 0.2s; display: block; text-align: center; text-decoration: none; box-sizing: border-box; }
.btn-action.success { background: #2ed573; color: white; margin-top: 15px; }
.btn-action.primary { background: var(--yoommy-accent); color: white; }
.btn-action.danger { background: #ff4757; color: white; }
.btn-action.danger.recording { background: #e84118; }
.yoommy-loader { margin-top: 15px; padding: 15px; border-radius: 8px; text-align: center; font-weight: bold; }
.yoommy-loader.scan { background: #e5f8ed; color: #2ed573; }
.yoommy-loader.ia { background: #f1f2f6; color: var(--yoommy-accent); }
.yoommy-loader.ia.success { background: #e5f8ed; color: #2ed573; }
.yoommy-loader .subtext { font-size: 12px; color: #666; font-weight: normal; margin-top: 5px; }
.ia-prompt-wrapper { display: flex; gap: 10px; margin-top: 20px; }
.ia-prompt-wrapper textarea { flex-grow: 1; padding: 15px; border: 1px solid #dcdde1; border-radius: 8px; font-family: inherit; font-size: 16px; resize: vertical; }
.ia-prompt-actions { display: flex; flex-direction: column; gap: 10px; }

/* =========================================
   2. FRONT-END : MENU & CARTE DYNAMIQUE
   ========================================= */

body {
    background: var(--yoommy-bg-main) !important;
}

.yoommy-theme-wrapper {
    background-color: var(--yoommy-bg-main);
    color: var(--yoommy-text-main);
    min-height: 100vh;
    font-family: var(--yoommy-font-text);
}

/* =========================================
   MENU STICKY HORIZONTAL (BULLes SVG)
   ========================================= */
.sticky-nav-categories {
    position: sticky;
    top: 0;
    background-color: var(--yoommy-bg-nav);
    z-index: 1000;
    border-bottom: 1px solid var(--yoommy-border);
    padding: 15px 0px;
    border-radius: 20px 0 0 0;
    margin-top: -30px;
}

.nav-scroll-container {
    display: flex;
    justify-content: left;
    overflow-x: auto;
    padding: 0 15px;
    gap: 15px; /* Espacement un peu plus large pour aérer les bulles */
    scrollbar-width: none; 
    scroll-behavior: smooth; /* Défilement fluide natif */
    -webkit-overflow-scrolling: touch; /* Optimisation pour iOS */
}

@media only screen and (min-width:1140px){
  .nav-scroll-container {
    justify-content: center;
  }  
}

.nav-scroll-container::-webkit-scrollbar { display: none; }

/* --- Les boutons bulles (Anti-chevauchement) --- */
.nav-category-btn {
    flex: 0 0 auto; /* 👈 LE SECRET ANTI-ÉCRASEMENT EST ICI */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;  /* Largeur de la bulle */
    height: 65px; /* Hauteur de la bulle */
    background: transparent;
    border-radius: 50%; /* Transforme le carré en rond parfait */
    color: var(--yoommy-text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--yoommy-border);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin: 5px 0;
}

/* Apparence au clic ou au survol */
.nav-category-btn:focus, 
.nav-category-btn:hover, 
.nav-category-btn.active {
    background: var(--yoommy-accent);
    border-color: var(--yoommy-accent);
    color: #ffffff; /* On force le blanc pour l'icône sur fond violet */
    text-decoration: none;
}

/* --- Style de l'icône via CSS Mask (Zéro bug Twig, couleur 100% dynamique) --- */
.nav-category-btn .cat-icon-mask {
    display: inline-block;
    width: 28px;
    height: 28px;
    
    /* Le secret est ici : la couleur du pochoir s'adapte à la couleur du texte du bouton */
    background-color: currentColor; 
    
    /* Configuration du pochoir */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    
    transition: transform 0.2s ease;
}

/* Petit effet de rebond de l'icône au survol */
.nav-category-btn:hover .cat-icon svg {
    transform: scale(1.15);
}

/* --- Style de secours (Si aucun SVG n'est présent dans le dossier) --- */
.nav-category-btn .cat-text { 
    font-size: 10px; 
    font-weight: bold; 
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 5px;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: pre-wrap; /* Autorise le texte à passer à la ligne dans la bulle */
}

/* Hero Section */
.restaurant-hero {
    height: 40vh;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 120px;
    border-radius: 25px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--yoommy-font-title);
    font-size: 2rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0 0 5px 0;
    color: #ffffff; /* Forcé en blanc sur l'image de fond */
}
.hero-subtitle { font-size: 1rem; color: #dddddd; margin: 0 0 10px 0; }
.hero-subtitle p { 
    margin: 0; 
    font-size: 1.1rem;
    text-align: center;
}

/* Sections Principales */
.menu-content-wrapper { padding: 20px; max-width: 800px; margin: 0 auto; }
.main-menu-section { margin-top: 30px; margin-bottom: 50px; }
.main-section-title {
    font-family: var(--yoommy-font-title);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border-bottom: 1px dotted var(--yoommy-border);
    padding-bottom: 10px;
    color: var(--yoommy-accent);
    text-align: center;
    letter-spacing: -0.03em;
}


/* =========================================
   ACCORDÉONS
   ========================================= */

.yoommy-accordion summary.has-bg {
    position: relative;
    background-size: cover;          
    background-position: center;    
    background-repeat: no-repeat;
    padding: 25px 15px;            
    border: none;
    overflow: hidden;
}

/* Overlay */
.yoommy-accordion summary.has-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 👈 C'est ici que tu règles ton assombrissement ! */
    z-index: 1; /* On le pose juste au-dessus de l'image de fond */
    transition: background-color 0.3s ease; /* Pour une petite animation fluide */
}

/* On met les txt et la fleche au premier plan */
.yoommy-accordion summary.has-bg .summary-left,
.yoommy-accordion summary.has-bg .summary-arrow {
    position: relative;
    z-index: 2; 
}

/*L'overlay devient légèrement plus sombre quand on passe la souris ! */

.yoommy-accordion[open] summary.has-bg::before {
    background-color: rgba(0, 0, 0, 0.3);
}


/* Accordéons (Sous-catégories) */
.accordions-container {
    background-color: var(--yoommy-bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 5px #778b8242;
}
.yoommy-accordion {
    border-bottom: 5px solid var(--yoommy-border-light);
}
.yoommy-accordion:last-child { border-bottom: none; }
.yoommy-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--yoommy-text-main);
}
.yoommy-accordion summary::-webkit-details-marker { display: none; }
.summary-left { 
    display: flex; 
    align-items: center; 
    gap: 10px;
    text-transform: uppercase;
    }
    
.summary-arrow {max-height: 20px;}
    
.summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--yoommy-border-light);
    color: var(--yoommy-accent);
    border-radius: 6px;
    font-size: 0.9rem;
}
.summary-arrow i {
    font-size: 1.2rem; /* Tu peux ajuster la taille ici */
    color: var(--yoommy-text-main);
    transition: transform 0.3s ease-in-out;
    
    /* TRÈS IMPORTANT : Les balises <i> sont "inline" par défaut. 
       Le CSS refuse de faire tourner (transform) un élément inline. 
       Il faut le forcer en inline-block ! */
    display: inline-block;
    max-height: 20px;
}

.yoommy-accordion[open] .summary-arrow i { 
    transform: rotate(-180deg); 
}

/* Contenu des plats */
.accordion-content { 
    background: var(--yoommy-bg-main);
    padding: 0 15px 15px 15px; 
}
.plat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--yoommy-border);
}
.plat-card:last-child { border-bottom: none; }
.plat-info { flex: 1; padding-right: 15px; }
.plat-title-row h3 { 
    margin: 0 0 5px 0; 
    font-size: 1.05rem; 
    color: var(--yoommy-accent);
    }
    
.plat-desc { 
    margin: 0 0 10px 0; 
    font-size: 0.85rem; 
    color: var(--yoommy-text-muted); 
    line-height: 1.4;
    
}
.price { 
    font-weight: bold; 
    font-size: 1.1rem; 
    color: var(--yoommy-accent); 
}

.badge { font-size: 0.8rem; margin-left: 5px; }
.badge:after {display:none !important;}

/* Image du plat */
.plat-image img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }

/* Étiquettes Allergènes */
.allergene-tags { margin-top: 8px; margin-bottom: 10px; font-size: 0.75rem; }
.allergene-label { color: var(--yoommy-text-muted); margin-right: 5px; }
.allergene-tag {
    display: inline-block;
    background-color: var(--yoommy-border-light);
    color: var(--yoommy-text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid var(--yoommy-border);
    font-style: italic;
}

/* =========================================
   LIGHTBOX (ZOOM IMAGES PLATS)
   ========================================= */
.lightbox-overlay {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fond noir semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* Inactif quand c'est caché */
    transition: opacity 0.3s ease;
}

/* Classe active ajoutée par le JS */
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh; /* Pour ne pas déborder sur les petits écrans */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.95); /* Image légèrement rétrécie de base */
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1); /* Effet de zoom fluide à l'ouverture */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--yoommy-accent, #8b5cf6); /* Prend la couleur Yoommy au survol */
}

/* =========================================
   3. LÉGENDE, FOOTER & LANGUES
   ========================================= */
/* --- Position --- */
#yoommy-lang-trigger {
    position:absolute;
    top: 15px;
    right: 15px;
}

/* --- Bouton Déclencheur --- */
.lang-trigger-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    border: 1px solid var(--yoommy-border-light);
    color: var(--yoommy-text-main);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.lang-trigger-btn:hover {
    background: var(--yoommy-accent)
}

/* --- Backdrop (Fond sombre) --- */
.lang-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(85, 85, 85, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    z-index: 9998;
}
.lang-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- Menu Coulissant (Bottom Sheet) --- */
.lang-bottom-sheet {
    position: fixed;
    bottom: -100%; /* Caché en bas par défaut */
    left: 0;
    width: 100%;
    background: rgba(255,255,255);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 -4px 20px rgba(20,20,20,0.2);
}
.lang-bottom-sheet.open {
    bottom: 0; /* Remonte à l'écran */
}

/* --- Intérieur du menu --- */
.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
    padding-bottom: 15px;
}
.sheet-header h3 {
    margin: 0;
    color: var(--yoommy-text-muted);
    font-size: 18px;
}
.close-sheet {
    background: none;
    border: none;
    color: var(--yoommy-text-muted);
    font-size: 20px;
    cursor: pointer;
}

.lang-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--yoommy-text-muted);
    border-radius: 8px;
    transition: background 0.2s;
}
.lang-row:hover {
    background: var(--yoommy-bg-main);
}
.lang-row.active {
    background: var(--yoommy-bg-main);
}
.lang-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: bold;
}
.lang-flag {
    font-size: 22px;
}

.lang-name {
    color: var(--yoommy-text-muted);
}

/* Légende */
.menu-legende { margin: 40px auto; padding: 0 20px; max-width: 800px; }
.menu-legende details { 
    border: 3px solid var(--yoommy-bg-card); 
    padding: 15px 20px; 
    border-radius: 12px; 
    border: 1px solid var(--yoommy-border); 
    cursor: pointer; 
    color: var(--yoommy-text-main); 
}
.menu-legende summary { 
    color: var(--yoommy-text-muted);
    font-weight: bold; 
    font-size: 1.1em; 
    outline: none; 
    list-style: none;
    }
.menu-legende summary::-webkit-details-marker { display: none; }
.menu-legende p { color: var(--yoommy-text-muted); font-size: 0.9rem; line-height: 1.5; margin: 10px 0; }

/* Footer */
.footMenu { 
    text-align: center; 
    padding: 40px 20px; 
    border-top: 1px solid var(--yoommy-border-light); 
    margin-top: 0px; 
    color: var(--yoommy-text-muted); 
    font-size: 0.9rem;
    background: var(--yoommy-bg-main);
}

/* Bloc Avis Google */
.googleAvis { 
    display: inline-block; 
    border: 3px solid var(--yoommy-bg-card); 
    padding: 15px 25px; 
    border-radius: 12px; 
    border: 1px solid var(--yoommy-border); 
    margin-bottom: 25px; 
    transition: background 0.3s; 
}
.googleAvis a { text-decoration: none; color: var(--yoommy-text-main); }
.googleAvis strong {color: var(--yoommy-text-muted);}
.googleAvis:hover { background: var(--yoommy-border-light); }
.googleImg { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 5px; }
.googleRate { color: #f39c12; font-size: 1.2rem; margin-top: 5px;}
.googleRate span { color: var(--yoommy-text-muted); font-size: 0.9rem; }

/* Réseaux Sociaux */
.social-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.social-icons img { 
    filter: brightness(0) saturate(100%) invert(67%) sepia(24%) saturate(356%) hue-rotate(74deg) brightness(95%) contrast(92%);
    transition: transform 0.3s; 
    opacity: 0.8;
}
.social-icons a:hover img { transform: scale(1.1); opacity: 1; }

.pulseggg {
	animation-name: pulse_animation;
	animation-duration: 2000ms;
	transform-origin:70% 70%;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	width: 20px;
    margin-bottom: -5px
}

@keyframes pulse_animation {
	0% { transform: scale(1); }
	30% { transform: scale(1); }
	40% { transform: scale(1.08); }
	50% { transform: scale(1); }
	60% { transform: scale(1); }
	70% { transform: scale(1.05); }
	80% { transform: scale(1); }
	100% { transform: scale(1); }
}

/* =========================================
   SLIDER DE SUGGESTIONS (FULL WIDTH)
   ========================================= */
.yoommy-suggestions-wrapper {
    margin: 25px 0 10px 0;
    overflow: hidden; /* Empêche le débordement horizontal */
}

.suggestions-title {
    font-family: var(--yoommy-font-title);
    font-size: 1.3rem;
    color: var(--yoommy-accent);
    padding: 0 20px;
    margin-bottom: 15px;
}

/* Le conteneur du slider tactile */
.suggestions-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 0 20px 20px 20px;
    
    /* Le secret de l'aimantation façon Instagram/Tinder */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Cache la barre Firefox */
}
.suggestions-slider::-webkit-scrollbar {
    display: none; /* Cache la barre Chrome/Safari */
}

/* La carte individuelle (Le Slide) */
.suggestion-slide {
    flex: 0 0 85%; /* Prend 85% de l'écran pour laisser deviner le slide suivant ! */
    height: 220px;
    border-radius: 16px;
    background-color: var(--yoommy-text-muted); /* Couleur de secours si pas d'image */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center; /* S'aimante au centre de l'écran */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    
    /* Flexbox pour coller le texte en bas */
    display: flex;
    align-items: flex-end;
}

/* Le dégradé sombre pour lire le texte sur n'importe quelle photo */
.suggestion-overlay {
    width: 100%;
    padding: 50px 20px 20px 20px;
    background: linear-gradient(to top, var(--yoommy-text-muted) 0%, var(--yoommy-text-muted)70 70%, var(--yoommy-text-muted)05 100%);
    color: #ffffff;
}

.suggestion-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.8);
    color: var(--yoommy-text-main);
}

.suggestion-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--yoommy-accent);
    background: var(--yoommy-text-main)15;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--yoommy-accent);
}

/* =========================================
   AFFICHAGE EN PASTILLES (GRILLE DEUX COLONNES)
   ========================================= */
.yoommy-pastilles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 40px 20px;
}

.pastille-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pastille-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.pastille-item:hover .pastille-circle {
    transform: scale(1.05);
}

.pastille-info {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pastille-title {
    font-family: var(--yoommy-font-text, inherit);
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
}

.pastille-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--yoommy-accent, #8b5cf6);
}

/* =========================================
   ANIMATIONS D'APPARITION (INTERSECTION OBSERVER)
   ========================================= */

/* État initial (caché et légèrement décalé vers le bas) */
.yoommy-animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

/* État final (visible à sa place) */
.yoommy-animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Petit délai en cascade pour les pastilles (optionnel mais très joli) */
.yoommy-pastilles-grid .yoommy-animate-up:nth-child(even) {
    transition-delay: 0.1s;
}

/* =========================================
   ANIMATIONS AU CHARGEMENT (MENU & SUGGESTIONS)
   ========================================= */

/* 1. Apparition du menu de navigation */
.sticky-nav-categories {
    animation: fadeInMenu 1.5s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes fadeInMenu {
    0% { opacity: 0; transform: translateY(-15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 2. Apparition du slider de suggestions */
.yoommy-suggestions-wrapper {
    /* Le slider reste invisible (opacity 0) le temps que le délai passe */
    opacity: 0; 
    /* L'animation dure 1s, mais ne commence qu'après 0.4s */
    animation: fadeInSuggestions 1.5s cubic-bezier(0.2, 0, 0, 1) 0.4s forwards;
}

@keyframes fadeInSuggestions {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}