﻿:root {
    --gold: #D4A574;
    --gold-light: #E8C591;
    --gold-dark: #B88A5A;
    --gold-border: rgba(212, 165, 116, 0.4);
    --gold-glow: rgba(212, 165, 116, 0.1);
    --bg: #0a0a0a;
    --bg-elevated: #111;
    --border: #1a1a1a;
    --text: #f0eded;
    --text-muted: #888;
    --text-faint: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #888;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid #222;
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error */
.error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
}

.error h2 {
    color: #ff4444;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.error p {
    color: #888;
}

/* Header */
header {
    background: #0a0a0a;
    color: #f0eded;
    padding: 40px 20px 30px;
    border-bottom: 1px solid #1a1a1a;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.15);
}

.header-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--gold);
}

.header-info p {
    font-size: 13px;
    font-weight: 300;
    color: #888;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.header-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.5;
    margin: 6px 0;
}

/* Menu Navigation */
nav {
    background: #0a0a0a;
    padding: 20px 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1a1a1a;
}

.menu-tabs {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 0;
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.menu-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: #ccc;
}

.menu-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: transparent;
}

/* Search Bar */
#search-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px 0;
}

.search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    border: 1px solid #222;
    border-radius: 30px;
    padding: 10px 16px;
    transition: border-color 0.2s;
}
.search-inner:focus-within {
    border-color: var(--gold-border);
}

.search-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: rgba(245,240,235,0.35);
}

#search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 16px;
    color: #f5f0eb;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}
#search-input::placeholder {
    color: rgba(245,240,235,0.3);
}

#search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(245,240,235,0.35);
    font-size: 0.75rem;
    padding: 0 2px;
    transition: color 0.2s;
    line-height: 1;
}
#search-clear:hover { color: var(--gold); }

.search-empty {
    text-align: center;
    padding: 48px 20px;
    font-size: 0.88rem;
    color: rgba(245,240,235,0.3);
}

/* Category Filter */
#category-filter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 0;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 6px 16px;
    border-radius: 0;
    border: 1px solid #333;
    background: transparent;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-tab:hover {
    color: #f0eded;
    border-color: #666;
}

.category-tab.active {
    background: var(--gold);
    color: #1a0f00;
    border-color: var(--gold);
    font-weight: 700;
}

/* Dishes Grid */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.dishes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

@media (max-width: 768px) {
    .dishes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

.dish-card {
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #1a1a1a;
    transition: all 0.4s ease;
    cursor: pointer;
    max-width: 100%;
    min-width: 0;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.dish-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.12);
}

.dish-card-unavailable {
    position: relative;
}

.dish-card-unavailable .dish-image,
.dish-card-unavailable .no-photo {
    filter: grayscale(80%) brightness(0.5);
}

.dish-card-unavailable .dish-name,
.dish-card-unavailable .dish-description,
.dish-card-unavailable .dish-price {
    opacity: 0.55;
}

.dish-card-unavailable:hover {
    border-color: #1a1a1a;
    transform: none;
    box-shadow: none;
}

.unavailable-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.dish-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #1a1a1a;
    transition: transform 0.4s ease;
}

.dish-card:hover .dish-image {
    transform: scale(1.03);
}

.dish-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dish-name {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
    color: #f0eded;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.dish-description {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dish-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.dish-price {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.view-3d-btn {
    background: var(--gold);
    color: #1a0f00;
    border: 1px solid var(--gold-light);
    padding: 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-3d-btn:hover {
    background: var(--gold-light);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Bouton 3D dans la modale de dÃ©tails */
.view-3d-btn-modal {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: var(--gold);
    color: #1a0f00;
    border: 1px solid var(--gold-light);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.25);
}

.view-3d-btn-modal:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Modale 3D plein Ã©cran */
.modal-3d-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    overflow: hidden;
    isolation: isolate;
}

.modal-3d-fullscreen.hidden {
    display: none;
}

.ar-button-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: #1a0f00;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.35);
}

.model-3d-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(10px);
    padding: 0;
}

.model-3d-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.model-3d-fullscreen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

.model-3d-fullscreen-container model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    background: #0a0a0a;
}

.model-3d-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #fff;
    pointer-events: none;
}

.model-3d-loader.hidden {
    display: none;
}

.model-3d-info {
    position: absolute;
    bottom: 70px;
    right: 24px;
    z-index: 10;
    max-width: 60%;
    text-align: right;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.model-3d-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin: 0 0 6px 0;
    color: var(--gold);
}

.model-3d-info p {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.model-3d-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    z-index: 10;
}

/* Carte sans photo — layout moderne texte seul */
.dish-card-no-photo {
    background: #111;
    border: 1px solid #1e1e1e;
    min-height: unset;
}

.dish-card-no-photo:hover {
    border-color: var(--gold-border) !important;
}

.dish-card-no-photo .dish-info {
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dish-card-no-photo .dish-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    margin-bottom: 0;
}

.dish-card-no-photo .dish-description {
    font-size: 11px;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

.dish-card-no-photo .dish-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.dish-card-no-photo .dish-price {
    font-size: 15px;
}

.dish-card-no-photo .dish-rating {
    margin: 4px 0 0;
    font-size: 11px;
}

.dish-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.4;
    margin: 8px 0;
}

/* Header de la modale sans photo */
.modal-no-photo-header {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 0 0 28px;
    opacity: 0.7;
    border-radius: 2px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: #111;
    border: 1px solid #222;
    border-radius: 4px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.close:hover {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.85);
    border-color: var(--gold);
    transform: scale(1.05);
}

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 300;
}

.modal-price {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.model-3d-container {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #1a1a1a;
    margin-top: 40px;
}

footer p {
    font-size: 12px;
    color: #444;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-info h1 {
        font-size: 22px;
    }

    .modal-content {
        padding: 24px;
    }

    .modal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 55px;
        height: 55px;
    }

    .header-info h1 {
        font-size: 20px;
    }

    .dish-info {
        padding: 8px;
    }

    .dish-name {
        font-size: 12px;
    }

    .dish-price {
        font-size: 12px;
    }
}


/* ============================================
   DISH RATING (affichage étoiles sur cartes)
   ============================================ */
.dish-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
    font-size: 12px;
}

.dish-rating.empty .rating-stars {
    color: #444;
}

.rating-stars {
    color: var(--gold);
    letter-spacing: 1px;
    font-size: 13px;
}

.rating-value {
    color: var(--gold);
    font-weight: 600;
}

.rating-count {
    color: #888;
    font-size: 11px;
}

/* ============================================
   RATING MODAL
   ============================================ */
.rating-modal-content {
    background: #0a0a0a;
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 32px 24px;
    max-width: 420px;
    width: 90%;
    margin: auto;
    position: relative;
    text-align: center;
}

.rating-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gold);
    margin: 0 0 8px;
    line-height: 1.4;
}

.rating-modal-title span {
    color: #f0eded;
}

.rating-modal-subtitle {
    color: #888;
    font-size: 13px;
    margin: 0 0 24px;
}

.rating-stars-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
}

.rating-star-input {
    font-size: 40px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.rating-star-input:hover,
.rating-star-input.filled {
    color: var(--gold);
    transform: scale(1.1);
}

.rating-comment {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 6px;
    color: #f0eded;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 70px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.rating-comment:focus {
    outline: none;
    border-color: var(--gold);
}

.rating-comment::placeholder {
    color: #666;
}

.rating-submit-btn {
    background: var(--gold);
    color: #0a0a0a;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.rating-submit-btn:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.rating-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Rating success */
.rating-success {
    text-align: center;
    padding: 20px 0;
}

.rating-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 40px;
    line-height: 70px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.rating-success h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 22px;
    margin: 0 0 8px;
}

.rating-success p {
    color: #aaa;
    margin: 0 0 24px;
}

.rating-close-btn {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   RATE BUTTON IN DISH MODAL
   ============================================ */
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.rate-btn-modal {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.rate-btn-modal:hover {
    background: var(--gold);
    color: #0a0a0a;
}


/* ============================================
   AVIS CLIENTS (dans la modale du plat)
   ============================================ */
.dish-reviews {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #D4A574;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.reviews-loading,
.reviews-empty {
    color: #888;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}

.review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-stars {
    color: #D4A574;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-date {
    color: #666;
    font-size: 12px;
}

.review-author {
    color: #f0eded;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-comment {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.review-report-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.review-report-btn:hover {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.4);
    background: rgba(255, 107, 107, 0.08);
}

/* ============================================
   FOOTER LEGAL
   ============================================ */
.footer-legal {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
}
.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: #D4A574;
}
.footer-legal span {
    margin: 0 6px;
    color: #333;
}







/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.3);
}

/* ============================================
   LIGHT MODE
   ============================================ */
body.light-mode {
    background: #f8f5f0;
    color: #2c2416;
}

body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    color: #b8915d;
    border-color: rgba(184, 145, 93, 0.4);
}

body.light-mode header {
    background: #f8f5f0;
    color: #2c2416;
    border-bottom: 1px solid #e8dcc4;
}

body.light-mode .header-info h1 {
    color: #b8915d;
}

body.light-mode .header-info p,
body.light-mode .rating-count,
body.light-mode .rating-modal-subtitle,
body.light-mode .reviews-loading,
body.light-mode .reviews-empty {
    color: #7a6f5e;
}

body.light-mode nav {
    background: #f8f5f0;
}

body.light-mode .menu-tab {
    color: #7a6f5e;
}

body.light-mode .menu-tab.active {
    color: #b8915d;
    border-bottom-color: #b8915d;
}

body.light-mode .category-tab {
    background: #ffffff;
    color: #2c2416;
    border: 1px solid #e8dcc4;
}

body.light-mode .category-tab.active {
    background: #b8915d;
    color: #ffffff;
    border-color: #b8915d;
}

body.light-mode .dish-card {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(180, 145, 93, 0.08);
    border: 1px solid #f0e8d8;
}

body.light-mode .dish-card:hover {
    border-color: rgba(184, 145, 93, 0.4);
    box-shadow: 0 8px 24px rgba(180, 145, 93, 0.15);
}

body.light-mode .dish-image {
    background: #f0e8d8;
}

body.light-mode .dish-name {
    color: #2c2416;
}

body.light-mode .dish-description {
    color: #7a6f5e;
}

body.light-mode .dish-price {
    color: #b8915d;
}

body.light-mode .view-3d-btn,
body.light-mode .view-3d-btn-modal {
    background: #b8915d;
    color: #ffffff;
    border-color: #b8915d;
}

body.light-mode .view-3d-btn:hover,
body.light-mode .view-3d-btn-modal:hover {
    background: #a07b4a;
}

body.light-mode .rating-stars,
body.light-mode .rating-value {
    color: #b8915d;
}

body.light-mode .dish-rating.empty .rating-stars {
    color: #d4c8b0;
}

body.light-mode .modal-content,
body.light-mode .rating-modal-content {
    background: #ffffff;
    border: 1px solid #e8dcc4;
    color: #2c2416;
}

body.light-mode .modal-title,
body.light-mode .modal-price,
body.light-mode .rating-modal-title,
body.light-mode .footer-brand,
body.light-mode .model-3d-info h2 {
    color: #b8915d;
}

body.light-mode .modal-description {
    color: #7a6f5e;
}

body.light-mode .close {
    color: #2c2416;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(184, 145, 93, 0.5);
}

body.light-mode .close:hover {
    color: #b8915d;
    background: #ffffff;
    border-color: #b8915d;
}

body.light-mode .close:hover {
    color: #b8915d;
}

body.light-mode .rate-btn-modal {
    color: #b8915d;
    border-color: #b8915d;
}

body.light-mode .rate-btn-modal:hover {
    background: #b8915d;
    color: #ffffff;
}

body.light-mode .rating-comment {
    background: #faf8f3;
    border-color: rgba(184, 145, 93, 0.3);
    color: #2c2416;
}

body.light-mode .rating-star-input {
    color: #d4c8b0;
}

body.light-mode .rating-star-input:hover,
body.light-mode .rating-star-input.filled {
    color: #b8915d;
}

body.light-mode .rating-submit-btn {
    background: #b8915d;
    color: #ffffff;
}

body.light-mode .rating-submit-btn:hover:not(:disabled) {
    background: #a07b4a;
}

body.light-mode footer p {
    color: #a89e8c;
}

body.light-mode .footer-legal {
    color: #a89e8c;
}

body.light-mode .footer-legal a {
    color: #7a6f5e;
}

body.light-mode .search-inner {
    background: #ffffff;
    border-color: #e0d5c4;
}
body.light-mode .search-inner:focus-within {
    border-color: var(--gold-border);
}
body.light-mode .search-icon {
    color: #a89e8c;
}
body.light-mode #search-input {
    color: #2c2416;
}
body.light-mode #search-input::placeholder {
    color: #b0a898;
}
body.light-mode #search-clear {
    color: #a89e8c;
}
body.light-mode .search-empty {
    color: #a89e8c;
}

body.light-mode .footer-legal a:hover {
    color: #b8915d;
}

body.light-mode .unavailable-badge {
    background: rgba(220, 80, 80, 0.95);
}

body.light-mode .dish-card-no-photo {
    background: #ffffff;
    border-color: rgba(184, 145, 93, 0.35);
}

body.light-mode .dish-card-no-photo .dish-description {
    color: #9a8f7e;
}

/* ============================================
   ANIMATIONS - Fade-in cards & hover zoom
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dish-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.dish-card:nth-child(1) { animation-delay: 0.05s; }
.dish-card:nth-child(2) { animation-delay: 0.1s; }
.dish-card:nth-child(3) { animation-delay: 0.15s; }
.dish-card:nth-child(4) { animation-delay: 0.2s; }
.dish-card:nth-child(5) { animation-delay: 0.25s; }
.dish-card:nth-child(6) { animation-delay: 0.3s; }
.dish-card:nth-child(7) { animation-delay: 0.35s; }
.dish-card:nth-child(8) { animation-delay: 0.4s; }
.dish-card:nth-child(9) { animation-delay: 0.45s; }
.dish-card:nth-child(10) { animation-delay: 0.5s; }
.dish-card:nth-child(n+11) { animation-delay: 0.55s; }

/* Zoom plus visible sur l'image au survol */
.dish-card .dish-image {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.dish-card:hover .dish-image {
    transform: scale(1.08) !important;
}

/* Effet de fondu doux sur l'overlay au survol */
.dish-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Animation des onglets de menu au changement */
.dishes-grid {
    animation: fadeInUp 0.4s ease-out;
}
