/* ==========================================================================
   1. VARIABLES & REINITIALISATION / BASE
   ========================================================================== */
:root {
    --resto-bg: #000000;
    --resto-card-bg: #161616;
    --resto-card-hover: #1a1a1a;
    --resto-accent-gold: #FFB020;
    --resto-accent-red: #ff3b30;
    --resto-accent-green: #072217;
    --resto-border: rgba(255, 255, 255, 0.08);
    --resto-text-main: #ffffff;
    --resto-text-muted: rgba(255, 255, 255, 0.6);
}

.penta-resto-wrapper {
    background-color: var(--resto-bg);
    color: var(--text-color, #ffffff);
    font-family: var(--body-font, sans-serif);
    overflow-x: hidden;
}

.penta-resto-wrapper h1, 
.penta-resto-wrapper h2, 
.penta-resto-wrapper h3, 
.penta-resto-wrapper h4 {
    font-family: var(--heading-font, serif);
    color: #ffffff;
    font-weight: 700;
}

.resto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.resto-subtitle {
    color: var(--primary-color, var(--resto-accent-gold));
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
}

.resto-subtitle::before {
    content: "—";
    margin-right: 8px;
}

.text-highlight {
    color: var(--primary-color, var(--resto-accent-gold));
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: normal;
}

.section-center-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-center-title h2 {
    font-size: 2.5rem;
}

/* Boutons globaux */
.penta-resto-wrapper .btn-primary.btn-whatsapp {
    background-color: var(--primary-color, var(--resto-accent-gold)) !important;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.penta-resto-wrapper .btn-primary.btn-whatsapp:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

.btn-secondary-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-secondary-outline:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    color: #000000;
}

/* ==========================================================================
   2. SECTION 1 : HERO BANNER & MARQUEE
   ========================================================================== */
.resto-hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(214, 40, 40, 0.15) 0%, transparent 50%), #050505;
    position: relative;
    padding-bottom: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 8rem;
}

.hero-left-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--resto-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--resto-border);
    padding-top: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: #ffffff;
    font-family: var(--heading-font);
}

.stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Visuel Cercle Hero */
.hero-right-content {
    display: flex;
    justify-content: center;
    position: relative;
}

.circle-image-container {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 15px solid #fca311;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-badge-time {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: #ffffff;
    color: #000000;
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.floating-badge-time i {
    color: var(--primary-color, var(--resto-accent-red));
    font-size: 1.5rem;
}

.floating-badge-time strong {
    display: block;
    font-size: 1.1rem;
}

.floating-badge-time span {
    font-size: 0.75rem;
    color: #666666;
}

/* Bandeau défilant (Marquee) */
.resto-marquee-bar {
    background: var(--secondary-color, #111);
    border-top: 1px solid var(--resto-border);
    border-bottom: 1px solid var(--resto-border);
    padding: 1.5rem 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 4rem;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
    font-family: var(--heading-font);
    font-weight: bold;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-content i {
    color: #fca311;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   3. SECTION 2 : CATEGORIES & ABOUT
   ========================================================================== */
.resto-categories-about {
    background-color: #0c0c0c;
}

.categories-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.category-mini-card {
    background-color: var(--secondary-color, #161616);
    border: 1px solid var(--resto-border);
    padding: 2rem 1rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-mini-card:hover {
    border-color: var(--primary-color, var(--resto-accent-gold));
    transform: translateY(-5px);
}

.cat-img-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-img-placeholder {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-mini-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.category-mini-card span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Carousel Catégories */
.categories-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 5rem;
    padding: 10px 5px;
}

.categories-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-carousel-track {
    display: flex;
    gap: 24px;
    scroll-behavior: smooth;
}

.category-slide-card {
    flex: 0 0 calc(16.66% - 20px);
    min-width: 170px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--resto-border);
    border-radius: 20px;
    padding: 24px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-slide-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-color, var(--resto-accent-gold));
}

.cat-img-container {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cat-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-slide-card:hover .cat-real-img {
    transform: scale(1.1);
}

.cat-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    font-size: 2rem;
}

.cat-slide-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.cat-slide-info span {
    font-size: 0.85rem;
    color: var(--primary-color, var(--resto-accent-gold));
    opacity: 0.8;
}

/* About Presentation */
.about-presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images-holder {
    position: relative;
    height: 450px;
}

.main-about-img {
    width: 75%;
    height: 80%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    border-radius: 24px;
    position: absolute;
    top: 0;
    left: 0;
}

.secondary-about-img {
    width: 60%;
    height: 60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #444;
    border-radius: 24px;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 10px solid #0c0c0c;
}

.experience-badge {
    position: absolute;
    top: 40%;
    left: 65%;
    background: var(--primary-color, var(--resto-accent-red));
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(214, 40, 40, 0.3);
}

.experience-badge strong {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
}

.experience-badge span {
    font-size: 0.65rem;
    color: #fff;
    text-transform: uppercase;
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
}

.about-features-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-features-list .icon-box {
    background: rgba(214, 40, 40, 0.1);
    color: var(--primary-color, var(--resto-accent-red));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-features-list h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.about-features-list p {
    font-size: 0.9rem;
    color: var(--resto-text-muted);
}

/* ==========================================================================
   4. SECTION 3 : PLATS FAVORIS & GRILLE
   ========================================================================== */
.resto-favorites-section {
    padding: 80px 0;
    background-color: #0c0c0c;
}

.resto-favorites-section .resto-subtitle {
    color: var(--resto-accent-gold);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fav-card {
    background: var(--resto-card-bg);
    border: 1px solid #222222;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fav-card:hover {
    transform: translateY(-5px);
    border-color: var(--resto-accent-red);
}

.fav-card-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.fav-card-animated {
    display: flex !important;
    animation: fadeInUpResto 0.6s forwards ease;
}

@keyframes fadeInUpResto {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fav-img-box {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.fav-add-btn {
    position: absolute;
    bottom: -18px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #8B0000;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--resto-card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 14px;
    cursor: pointer;
}

.fav-add-btn:hover {
    transform: scale(1.15);
    background: var(--resto-accent-red);
}

.fav-details {
    padding: 30px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-style-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fav-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 0;
    color: #ffffff;
}

.fav-price {
    font-weight: bold;
    color: var(--resto-accent-gold);
    font-size: 18px;
    display: block;
    margin-top: 8px;
    margin-bottom: 20px;
}

.fav-action-btn {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.hotel-card-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.hotel-card-btn-action:hover {
    background-color: var(--resto-accent-red);
    color: #ffffff;
    border-color: var(--resto-accent-red);
    transform: scale(1.05);
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   5. SECTION 4 : HISTOIRE & STATISTIQUES
   ========================================================================== */
.resto-history-section {
    background-color: var(--resto-accent-green);
    padding: 6rem 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.chef-main-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    object-fit: cover;
}

.history-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.history-content p {
    color: var(--resto-text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.progress-bars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.progress-bar-container {
    width: 100%;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--heading-font);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.progress-line-bg {
    background: rgba(255, 255, 255, 0.15);
    height: 5px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-line-fill {
    background: var(--primary-color, var(--resto-accent-gold));
    height: 100%;
    border-radius: 10px;
}

.history-bottom-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--resto-border);
    padding-top: 2rem;
    gap: 1.5rem;
}

.history-stat-box {
    flex: 1;
    text-align: center;
    position: relative;
}

.history-stat-box:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--resto-border);
}

.history-stat-box strong {
    display: block;
    font-size: 2.2rem;
    color: #ffffff;
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.history-stat-box span {
    font-size: 0.85rem;
    color: var(--resto-text-muted);
    display: block;
}

/* ==========================================================================
   6. SECTION 5 : CARTE DU MENU
   ========================================================================== */
.resto-menu-card-section {
    background-color: var(--resto-bg);
}

.menu-card-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.menu-filter-tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--body-font);
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active, 
.filter-btn:hover {
    background: var(--primary-color, var(--resto-accent-gold));
    border-color: var(--primary-color, var(--resto-accent-gold));
    color: #000000;
}

.menu-lines-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-line-row {
    background: var(--secondary-color, var(--resto-card-bg));
    border: 1px solid var(--resto-border);
    padding: 1.25rem 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: inherit;
}

.menu-line-row:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.01);
}

.menu-line-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-round-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-line-details {
    flex: 1;
    min-width: 0;
}

.menu-line-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    gap: 0.5rem;
}

.menu-line-header h3 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
}

.dots-spacer {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.15);
    margin: 0 8px;
    min-width: 15px;
}

.menu-line-price {
    font-family: var(--heading-font);
    color: var(--primary-color, var(--resto-accent-gold));
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-line-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--resto-text-muted);
}

.btn-whatsapp-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #0d0d0d;
    color: #ffffff;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-mini:hover,
.menu-line-row:hover .btn-whatsapp-mini {
    background-color: var(--resto-accent-red);
    color: #ffffff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 15px rgba(255, 59, 48, 0.4);
}

.menu-ambiance-right {
    height: 100%;
}

.ambiance-img-card {
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-color: #111;
    border-radius: 24px;
    position: relative;
}

.floating-price-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fca311;
    color: #000;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    font-family: var(--heading-font);
}

.floating-price-badge span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.floating-price-badge strong {
    font-size: 1.6rem;
}

.menu-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.menu-page-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-page-btn.active, 
.menu-page-btn:hover {
    background: var(--primary-color, var(--resto-accent-gold));
    border-color: var(--primary-color, var(--resto-accent-gold));
    color: #000000;
}

.menu-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   7. SECTION 6 : HORAIRES & RESERVATION
   ========================================================================== */
.resto-hours-section {
    background-color: var(--resto-accent-green);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hours-video-block {
    height: 400px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-video-bg-wrapper {
    background-size: cover;
    background-position: center;
}

.video-overlay-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.4);
}

.video-overlay-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #000000;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--resto-border);
}

.hours-list li span {
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.hours-list li strong {
    color: #fca311;
}

.resto-reservation-section {
    background-color: var(--resto-bg);
}

.reservation-bicolor-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background-color: var(--resto-accent-green);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.reservation-left-ambiance {
    padding: 4rem;
    display: flex;
    align-items: flex-end;
}

.ambiance-text-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.ambiance-text-overlay p {
    color: var(--resto-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.reservation-right-form {
    padding: 4rem;
}

.form-subtitle {
    color: #fca311;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.reservation-right-form h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.booking-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.booking-grid-form input,
.booking-grid-form select,
.booking-grid-form textarea {
    background-color: #fffdec;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-family: var(--body-font);
    font-size: 0.95rem;
    color: #333;
    outline: none;
}

.booking-grid-form textarea,
.booking-grid-form button {
    grid-column: span 2;
}

.booking-grid-form button {
    justify-content: center;
    margin-top: 1rem;
}

/* ==========================================================================
   8. MODALE PANIER HAUT DE GAMME (GLASSMORPHISM & PREMIUM)
   ========================================================================== */

/* Overlay d'arrière-plan */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.cart-modal.active {
    display: flex;
}

/* Conteneur principal */
.cart-modal-content {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 
                0 0 30px rgba(255, 176, 32, 0.05);
    overflow: hidden;
    animation: cartModalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* En-tête de la modale */
.cart-modal-header {
    padding: 20px 24px;
    background: #181818;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.cart-modal-header h3 i {
    color: var(--resto-accent-gold);
    font-size: 1.2rem;
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.cart-modal-close:hover {
    background: rgba(255, 59, 48, 0.2);
    color: var(--resto-accent-red);
    transform: rotate(90deg);
}

/* Corps du panier & Scrollbar */
.cart-items-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-items-body::-webkit-scrollbar {
    width: 6px;
}
.cart-items-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.cart-items-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* Ligne d'un article */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 14px;
    gap: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cart-item-row:hover {
    border-color: rgba(255, 176, 32, 0.3);
    transform: translateX(2px);
}

.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}

.cart-item-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--resto-accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Actions Quantité */
.cart-item-actions {
    display: flex;
    align-items: center;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 3px 6px;
    gap: 8px;
    flex-shrink: 0;
}

.btn-qty-minus,
.btn-qty-plus {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-qty-minus:hover,
.btn-qty-plus:hover {
    background: var(--resto-accent-gold);
    color: #000000;
}

.cart-item-qty {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    min-width: 18px;
    text-align: center;
}

/* Bouton Supprimer */
.btn-remove-item {
    background: rgba(255, 59, 48, 0.1);
    border: none;
    color: var(--resto-accent-red);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-remove-item:hover {
    background: var(--resto-accent-red);
    color: #ffffff;
    transform: scale(1.08);
}

/* Message Panier Vide */
.empty-cart-msg {
    text-align: center;
    color: #777777;
    padding: 40px 10px;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-cart-msg i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
}

/* Pied de la modale */
.cart-modal-footer {
    padding: 20px 24px;
    background: #181818;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-clear-all {
    background: transparent;
    color: #888888;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-clear-all:hover {
    color: var(--resto-accent-red);
    background: rgba(255, 59, 48, 0.1);
}

.cart-modal-total {
    text-align: right;
    color: #a0a0a0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-modal-total strong {
    display: block;
    color: var(--resto-accent-gold);
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 2px;
}

/* ==========================================================================
   9. ISOLATION ET COMPATIBILITE
   ========================================================================== */
#penta-cart-bar button,
#penta-cart-modal button {
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.cart-active .floating-whatsapp {
    bottom: 90px !important;
    transition: bottom 0.3s ease;
}

.cart-modal-content i {
    color: inherit;
    margin: 0;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .category-slide-card {
        flex: 0 0 calc(33.33% - 16px);
    }
}

@media (max-width: 992px) {
    .hero-grid, 
    .about-presentation-grid, 
    .history-grid, 
    .menu-card-layout-grid, 
    .hours-grid, 
    .reservation-bicolor-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left-content h1 { 
        font-size: 2.8rem; 
    }
    
    .reservation-left-ambiance { 
        height: 300px; 
    }
    
    .booking-grid-form { 
        grid-template-columns: 1fr; 
    }
    
    .booking-grid-form textarea, 
    .booking-grid-form button { 
        grid-column: span 1; 
    }
    
    .about-images-holder, 
    .menu-ambiance-right { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .history-bottom-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .history-stat-box:not(:last-child)::after {
        display: none;
    }

    .category-slide-card {
        flex: 0 0 calc(50% - 12px);
        padding: 20px 10px;
    }

    .cat-img-container {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 576px) {
    .resto-container {
        padding: 3rem 1rem !important;
    }

    .menu-line-row {
        width: 100%;
        display: flex;
        padding: 1rem 0.8rem;
        gap: 0.75rem;
        box-sizing: border-box;
    }

    .menu-line-thumb {
        width: 50px;
        height: 50px;
    }

    .dots-spacer {
        display: none;
    }

    .menu-line-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .menu-line-header h3,
    .menu-line-price {
        font-size: 1rem;
    }

    .menu-line-details p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Adaptations modale panier sur smartphone */
    #penta-cart-bar {
        width: 95% !important;
        bottom: 15px !important;
        padding: 10px 15px !important;
    }

    .cart-modal-content {
        max-height: 90vh !important;
        border-radius: 16px;
    }

    .cart-modal-header,
    .cart-items-body,
    .cart-modal-footer {
        padding: 16px;
    }

    .cart-item-row {
        padding: 10px 12px;
        gap: 10px;
    }

    .cart-item-title {
        font-size: 0.88rem !important;
    }

    .cart-item-price {
        font-size: 0.85rem;
    }

    .cart-modal-total strong {
        font-size: 1.15rem;
    }
}