/* ==============================================================
   WilkaïPlus — Wilkaï Eats
   Thème inspiré d'Uber Eats sur les couleurs officielles Wilkaï.
   Réutilisé dans toutes les pages du module.
   ============================================================== */

.eats-container {
    --wilkai-purple: #7e1dbe;
    --wilkai-purple-dark: #5b0f8c;
    --wilkai-purple-light: #a144e8;
    --wilkai-deep: #4a0a72;
    --wilkai-coral: #ff6b4a;
    --wilkai-coral-dark: #e64d2e;
    --wilkai-coral-light: #ff8b73;
    --wilkai-lilac: #f5f0fa;
    --eats-green: #06c167;          /* clin d'œil Uber Eats */
    --card-bg: #ffffff;
    --card-border: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --bg-soft: #f5f0fa;

    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    padding-bottom: 4rem;
    color: var(--text-primary);
}

/* Pastilles ouvert / fermé (cartes restaurants & plats catalogue) */
.eats-restaurant-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
}

.eats-restaurant-status i {
    font-size: 0.55rem;
    line-height: 1;
}

.eats-rs-open {
    background: rgba(22, 163, 74, 0.96);
    color: #fff;
}

.eats-rs-closed {
    background: rgba(185, 28, 28, 0.96);
    color: #fff;
}

.eats-rs-unknown {
    background: rgba(75, 80, 95, 0.94);
    color: #fff;
}

.eats-product-restaurant-pill {
    margin-left: auto;
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.eats-product-restaurant-pill.eats-rs-open {
    background: rgba(22, 163, 74, 0.14);
    color: #15803d;
}

.eats-product-restaurant-pill.eats-rs-closed {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.eats-product-restaurant-pill.eats-rs-unknown {
    background: rgba(100, 100, 120, 0.12);
    color: var(--text-secondary);
}

/* ==============================================================
   Accueil /eats — dashboard (cartes flottantes, grands arrondis)
   Inspiré Wilkaï Musik / charte Wilkaï+
   ============================================================== */

.eats-container.eats-home {
    background: var(--bg-soft, #f5f0fa);
    padding: 0;
    padding-bottom: 3rem;
}

.eats-home-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.eats-home-page-head h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--wilkai-purple);
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.eats-home-page-head p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 42rem;
}

/* Hero : carte violette + photo + recherche */
.eats-home-hero-row {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 300px);
    gap: 1.25rem;
    align-items: stretch;
}

.eats-home-hero-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 44px rgba(91, 15, 140, 0.28);
    min-height: 280px;
}

.eats-home-hero-card {
    position: relative;
    background: linear-gradient(135deg, #5b0f8c 0%, #7e1dbe 48%, #a144e8 100%);
    color: #fff;
    border-radius: 28px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: 0 14px 44px rgba(91, 15, 140, 0.38);
    overflow: hidden;
    min-height: 220px;
}

.eats-home-hero-main .eats-home-hero-card {
    border-radius: 0;
    box-shadow: none;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.eats-home-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 107, 74, 0.35), transparent 42%),
        radial-gradient(circle at 8% 92%, rgba(161, 68, 232, 0.4), transparent 45%);
    pointer-events: none;
}

.eats-home-hero-main .eats-home-hero-card::after {
    display: none;
}

.eats-home-hero-photo {
    background:
        linear-gradient(180deg, rgba(91, 15, 140, 0.08), transparent 35%),
        url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=900&q=80") center / cover no-repeat;
    min-height: 100%;
}

.eats-home-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

.eats-home-hero-title {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.03em;
}

.eats-home-hero-stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 2rem;
}

.eats-home-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.eats-home-stat-pill i {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Carte recherche (blanche, grands arrondis) */
.eats-home-search-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eats-home-search-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.eats-home-search-field {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #f3edf9;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    flex: 1;
}

.eats-home-search-field i {
    color: var(--wilkai-purple);
    font-size: 1.1rem;
}

.eats-home-search-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary);
    min-width: 0;
}

.eats-home-search-field input::placeholder {
    color: var(--text-secondary);
}

.btn-eats-coral-pill {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: var(--wilkai-coral);
    color: #fff;
    box-shadow: 0 6px 22px rgba(255, 107, 74, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-eats-coral-pill:hover {
    background: var(--wilkai-coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(255, 107, 74, 0.5);
    color: #fff;
}

.btn-eats-primary-pill {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--wilkai-purple), var(--wilkai-purple-dark));
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

/* KPI */
.eats-home-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.eats-home-kpi {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 1.2rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.eats-home-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(126, 29, 190, 0.1), rgba(255, 107, 74, 0.1));
    color: var(--wilkai-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.eats-home-kpi-value {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.eats-home-kpi-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

/* Sections accueil (sans panneau blanc global) */
.eats-home-section {
    margin: 0;
    padding: 0;
}

.eats-home-section .eats-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.eats-home-section .eats-section-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.eats-home .eats-section {
    max-width: none;
    margin: 0;
    padding: 0;
}

.eats-home-loading,
.eats-home .eats-loading {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.eats-home-alert {
    border-radius: 20px;
    border: none;
}

/* Cartes catalogue — arrondis prononcés */
.eats-home .eats-product-card,
.eats-home .eats-restaurant-card {
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.eats-home .eats-product-image {
    border-radius: 20px 20px 0 0;
}

.eats-home .eats-empty {
    border-radius: 24px;
    border: 1px dashed var(--card-border);
    background: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.eats-empty-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    background: rgba(126, 29, 190, 0.1);
    color: var(--wilkai-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* Tuiles cuisine (grille carrée + icônes) */
.eats-cuisine-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.85rem;
}

.eats-cuisine-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    aspect-ratio: 1;
    padding: 0.75rem 0.5rem;
    background: #fff;
    border: 2px solid var(--card-border);
    border-radius: 22px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.eats-cuisine-tile:hover {
    border-color: rgba(126, 29, 190, 0.35);
}

.eats-cuisine-tile.active {
    border-color: var(--wilkai-purple);
    color: var(--wilkai-purple);
    box-shadow: 0 6px 20px rgba(126, 29, 190, 0.12);
}

.eats-cuisine-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f5f0fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: background 0.2s ease, color 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.eats-cuisine-tile-icon.has-image {
    background-color: #f5f0fa;
}

.eats-cuisine-tile-emoji {
    font-size: 1.55rem;
    line-height: 1;
}

.eats-cuisine-tile.active .eats-cuisine-tile-icon:not(.has-image) {
    background: rgba(126, 29, 190, 0.12);
    color: var(--wilkai-purple);
}

.eats-cuisine-tile-name {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* Filtres type de produit (accueil — pastilles horizontales Wilkaï) */
.eats-home-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.15rem 0 0.35rem;
}

.eats-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 0.55rem;
    background: #fff;
    border: 2px solid var(--card-border);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.eats-filter-pill:hover {
    border-color: rgba(126, 29, 190, 0.35);
    transform: translateY(-1px);
}

.eats-filter-pill.active {
    background: linear-gradient(135deg, var(--wilkai-purple), var(--wilkai-coral));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(126, 29, 190, 0.22);
}

.eats-filter-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--wilkai-lilac);
    color: var(--wilkai-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.eats-filter-pill.active .eats-filter-pill-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.eats-filter-pill-label {
    line-height: 1.15;
    padding-right: 0.15rem;
}

/* Alias legacy (tuiles → pastilles, avant redéploiement DLL) */
.eats-product-kind-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.15rem 0 0.35rem;
}

.eats-product-kind-tile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem 0.55rem 0.55rem;
    background: #fff;
    border: 2px solid var(--card-border);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.eats-product-kind-tile:hover {
    border-color: rgba(126, 29, 190, 0.35);
    transform: translateY(-1px);
}

.eats-product-kind-tile.active {
    background: linear-gradient(135deg, var(--wilkai-purple), var(--wilkai-coral));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(126, 29, 190, 0.22);
}

.eats-product-kind-tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--wilkai-lilac);
    color: var(--wilkai-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.eats-product-kind-tile.active .eats-product-kind-tile-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.eats-product-kind-tile-name {
    line-height: 1.15;
    padding-right: 0.15rem;
}

.eats-product-kind-pill {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(126, 29, 190, 0.08);
    color: var(--wilkai-purple);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Plats populaires — grille 3 colonnes */
.eats-home-products-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.eats-home .eats-product-card {
    background: #fff;
}

.eats-home .eats-product-image-placeholder {
    font-size: 2.5rem;
    color: var(--wilkai-purple);
    opacity: 0.35;
}

.eats-home .eats-add-button:not(.closed):not(.added) {
    background: var(--wilkai-purple);
    box-shadow: 0 4px 14px rgba(126, 29, 190, 0.35);
}

.eats-home-teaser-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2rem 1.25rem;
    min-height: 320px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.eats-home-teaser-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(126, 29, 190, 0.1);
    color: var(--wilkai-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.eats-home-teaser-text {
    margin: 0;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
}

.eats-home-teaser-dots {
    display: flex;
    gap: 0.35rem;
}

.eats-home-teaser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8cfe3;
}

.eats-home-teaser-dots span.active {
    background: var(--wilkai-purple);
    width: 22px;
    border-radius: 999px;
}

/* Bannière restaurants vide */
.eats-home-restaurants-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #f3ebfa 0%, #ebe0f5 100%);
    border-radius: 28px;
    padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(126, 29, 190, 0.12);
}

.eats-home-restaurants-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--wilkai-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(126, 29, 190, 0.12);
}

.eats-home-restaurants-banner-text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.eats-home-restaurants-banner-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.eats-home-restaurants-banner-art {
    font-size: clamp(3.5rem, 8vw, 5rem);
    color: rgba(126, 29, 190, 0.25);
    line-height: 1;
}

/* Bannières CTA horizontales */
.eats-home-banner-cta {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    border-radius: 24px;
    padding: 1.25rem 1.35rem;
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.eats-home-banner-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.eats-home-banner-cta-text {
    flex: 1;
    min-width: 0;
}

.eats-home-banner-cta-text h3 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.eats-home-banner-cta-text p {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.92;
    line-height: 1.4;
}

.eats-home-banner-cta-btn {
    flex-shrink: 0;
    margin-left: auto;
    background: #fff;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eats-home-banner-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.eats-home-banner-cta--restaurant {
    background: linear-gradient(90deg, #5b0f8c, #7e1dbe);
}

.eats-home-banner-cta--restaurant .eats-home-banner-cta-btn {
    color: var(--wilkai-purple);
}

.eats-home-banner-cta--courier {
    background: linear-gradient(90deg, #1a6b3f, #2d9a5c);
}

.eats-home-banner-cta--courier .eats-home-banner-cta-btn {
    color: #1a6b3f;
}

/* Boutons partagés module */
.btn-eats-coral {
    background: var(--wilkai-coral);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 22px rgba(255, 107, 74, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-eats-coral:hover {
    color: #fff;
    background: var(--wilkai-coral-dark);
    transform: translateY(-1px);
}

.btn-eats-primary {
    background: linear-gradient(135deg, var(--wilkai-purple), var(--wilkai-purple-dark));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
}

/* Grilles & cartes (accueil + pages internes) */
.eats-section {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.eats-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.eats-section-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.eats-section-header a {
    color: var(--wilkai-purple);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.eats-cuisines-grid {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.eats-cuisine-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: #fff;
    border: 2px solid var(--card-border);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.eats-cuisine-pill:hover {
    border-color: var(--wilkai-purple-light);
}

.eats-cuisine-pill.active {
    background: rgba(126, 29, 190, 0.12);
    border-color: var(--wilkai-purple);
    color: var(--wilkai-purple);
    box-shadow: none;
}

.eats-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.eats-product-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.eats-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(126, 29, 190, 0.12);
}

.eats-product-image {
    height: 170px;
    background: linear-gradient(135deg, #f0e6f8, #ffefe8);
    background-size: cover;
    background-position: center;
    position: relative;
}

.eats-product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.eats-product-badge,
.eats-product-promo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--wilkai-purple);
}

.eats-product-promo {
    left: auto;
    right: 10px;
    background: var(--wilkai-coral);
    color: #fff;
}

.eats-product-body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.eats-product-restaurant-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.eats-product-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.eats-product-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
    flex: 1;
    line-height: 1.45;
}

.eats-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eats-product-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--wilkai-purple);
}

.eats-product-strike {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-right: 0.35rem;
}

.eats-add-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--wilkai-coral);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 107, 74, 0.4);
}

.eats-add-button.added {
    background: var(--eats-green);
}

.eats-add-button.closed {
    background: #9ca3af;
    cursor: not-allowed;
}

.eats-restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.eats-restaurant-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--card-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eats-restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(126, 29, 190, 0.12);
    color: inherit;
}

.eats-restaurant-cover {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.eats-restaurant-logo {
    position: absolute;
    bottom: -20px;
    left: 16px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.eats-restaurant-eta {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.eats-restaurant-body {
    padding: 1.6rem 1.1rem 1.1rem;
}

.eats-restaurant-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.eats-restaurant-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.eats-restaurant-cuisine {
    background: rgba(126, 29, 190, 0.1);
    color: var(--wilkai-purple);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.eats-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: #faf8fc;
    border-radius: 24px;
}

.eats-cta {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.eats-cta-card {
    border-radius: 28px;
    padding: 2rem 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(135deg, #5b0f8c, #7e1dbe);
    box-shadow: 0 14px 40px rgba(91, 15, 140, 0.35);
}

.eats-cta-card-courier {
    background: linear-gradient(135deg, #06c167, #0d8a4f);
}

.eats-cta-text {
    flex: 1;
    min-width: 220px;
}

.eats-cta-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.eats-cta h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.eats-cta p {
    margin: 0;
    opacity: 0.92;
}

.btn-eats-courier {
    background: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #0d8a4f;
}

.eats-count {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.eats-cuisine-emoji {
    font-size: 1.2rem;
    line-height: 1;
}

.eats-product-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.eats-product-rest-name {
    min-width: 0;
    flex: 1;
}

.eats-restaurant-rating {
    color: #f5b400;
    font-weight: 700;
}

.eats-dot {
    opacity: 0.45;
}

.eats-empty.subtle {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2rem 1rem;
}

@media (max-width: 1100px) {
    .eats-home-hero-row {
        grid-template-columns: 1fr;
    }

    .eats-home-products-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eats-home-teaser-card {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .eats-home-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eats-home-hero-main {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .eats-home-hero-photo {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .eats-home-kpis {
        grid-template-columns: 1fr;
    }

    .eats-home-hero-main,
    .eats-home-hero-card,
    .eats-home-search-card {
        border-radius: 22px;
    }

    .eats-home-products-row {
        grid-template-columns: 1fr;
    }

    .eats-home-teaser-card {
        grid-column: auto;
        min-height: 240px;
    }

    .eats-home-restaurants-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .eats-home-restaurants-banner-icon {
        margin: 0 auto;
    }

    .eats-home-restaurants-banner-art {
        display: none;
    }

    .eats-home-banner-cta {
        flex-wrap: wrap;
    }

    .eats-home-banner-cta-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .eats-cuisine-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eats-home-filter-pills,
    .eats-product-kind-tiles {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -0.25rem;
        padding: 0.15rem 0.25rem 0.5rem;
    }

    .eats-home-filter-pills::-webkit-scrollbar,
    .eats-product-kind-tiles::-webkit-scrollbar {
        display: none;
    }
}

/* Tableau de bord restaurateur : pause des commandes */
.manage-pause-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.85rem 1rem; margin: 0.75rem 0 1rem; border: 1px solid #fde68a; background: #fffbeb; border-radius: 14px; }
.manage-pause-state { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #92400e; }
.manage-pause-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.manage-pause-reason { width: 13rem; max-width: 100%; }
/* Ligne de menu : régimes */
.product-row-diets { margin: 0.2rem 0 0; font-size: 0.78rem; color: #065f46; }
