
        :root {
            --bg-cream: #FFFDF9;
            --text-dark: #0F172A;
            --brand-green: #0d3025;
            --brand-gold: #A97C2A;
            --slate-gray: #64748B;
        }

        body {
            font-family: 'Plus Jakarta Sans', 'Noto Sans Ethiopic', sans-serif;
            background-color: var(--bg-cream);
            color: var(--text-dark);
            margin: 0;
            padding-bottom: 90px;
            overflow-x: hidden;
        }

        /* --- LAYERED HERO BACKGROUND --- */
        .hero-image-bg {
    position: relative;
    width: 100%;
    height: 42vh;
    /* Your original base restaurant image */
    background-image: url('https://res.cloudinary.com/dba0xkgb9/image/upload/v1781510367/Picsart_26-06-14_17-42-40-603_2_hkmctp.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* --- LIGHTER DARK-GREEN MASK OVERLAY --- */
.hero-image-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Turned down the opacity significantly so the background image is highly visible */
    background: linear-gradient(
        135deg, 
        rgba(8, 28, 15, 0.336) 0%,   /* Mild tint on the left for contrast behind text */
        rgba(10, 30, 18, 0.185) 100%  /* Barely-there tint on the right */
    );
    z-index: 1;
}

/* --- THE BOUNCING ROASTED CHICKEN ELEMENT --- */
.hero-image-bg::after {
    content: "";
    position: absolute;
    right: 8%; /* Placed elegantly on the right side of the slogan */
    top: 49%;
    width: 130px; /* Kept it small and tasteful */
    height: 130px;
    
    /* Pulling your background-removed asset */
    background-image: url('https://res.cloudinary.com/dba0xkgb9/image/upload/v1780872047/Picsart_26-06-07_17-41-03-314-removebg-preview_hgxkin.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Dark contrast backdrop specifically behind the chicken to lift it up */
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 6px rgba(4, 18, 9, 0.4));
    
    z-index: 2;
    pointer-events: none;
    
    /* Attaching the smooth, continuous bouncing animation */
    animation: smoothBounce 3s ease-in-out infinite;
}

/* --- CRITICAL: KEEP TEXT ON TOP --- */
.hero-image-bg > * {
    position: relative;
    z-index: 3;
}

/* --- PURE CSS BOUNCE TIMELINE --- */
@keyframes smoothBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-62%) scale(1.02); /* Gently glides up and breathes slightly */
    }
}

        .hero-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }

        .menu-header {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 24px 0 24px;
        }

        .menu-header .logo-group {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 1.1rem;
            color: #FFFFFF;
        }

        .lang-selector {
    font-size: 0.85rem; 
    font-weight: 600; 
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;

    /* FORCE ABSOLUTE BOUNDARIES TO OVERRIDE THE FLEX RECALCULATION */
    position: absolute !important;
    top: 24px; /* Matches the top padding of your menu-header */
}

/* For English and Amharic (LTR): Lock it perfectly to the right side */
html[dir="ltr"] .lang-selector {
    right: 24px !important;
    left: auto !important;
}

/* For Arabic (RTL): Automatically switch the lock perfectly to the left side */
html[dir="rtl"] .lang-selector {
    left: 24px !important;
    right: auto !important;
}
        .lang-selector:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .hero-banner {
            position: relative;
            z-index: 2;
            padding: 35px 24px 0 24px;
        }

        .hero-banner h1 {
            font-size: 2.1rem;
            font-weight: 700;
            line-height: 1.2;
            margin: 0;
            color: #FFFFFF;
            letter-spacing: -0.5px;
        }

        /* --- CURVY APPMORPHIC SHEET --- */
        .menu-content-sheet {
            position: relative;
            z-index: 10;
            margin-top: -30px;
            background-color: var(--bg-cream);
            border-top-left-radius: 32px;
            border-top-right-radius: 32px;
            padding-top: 24px;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
        }

        /* --- SEARCH CONSOLE --- */
        .search-wrapper {
            display: flex;
            padding: 0 24px;
            gap: 12px;
            margin-bottom: 20px;
        }

        .search-box {
            position: relative;
            flex-grow: 1;
        }

        .search-box input {
            width: 100%;
            background-color: #F1F5F9;
            border: none;
            padding: 14px 16px 14px 44px;
            border-radius: 16px;
            font-size: 0.95rem;
            color: var(--text-dark);
            outline: none;
            box-sizing: border-box;
        }

        .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--slate-gray);
        }

        .filter-btn {
            width: 48px;
            height: 48px;
            background-color: #E2E8F0;
            border: none;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dark);
            font-size: 1.1rem;
            cursor: pointer;
        }

        .menu-section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--brand-green);
            margin: 0 24px 14px 24px;
        }

        /* --- HORIZONTAL CATEGORIES SCROLLER --- */
        .category-scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    
    /* Adjusted padding: keeps the side offsets but drops the bottom spacing 
       so the menu cards don't sit too far below it when sticky */
    padding: 12px 24px; 

    /* --- CRITICAL STICKY ARCHITECTURE --- */
    position: sticky;
    top: 0;                /* Pins it to the absolute top edge of its parent container */
    background: #FFFFFF;   /* REQUIRED: Prevents food cards from bleeding behind transparent gaps */
    z-index: 90;           /* High enough to float over food cards, but safely below headers & overlays */
    
    /* Optional: Adds a premium, soft elevation shadow ONLY underneath 
       the element when it leaves its original position */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Clear webkit scrollbar tracks completely for clean mobile visuals */
.category-scroller::-webkit-scrollbar {
    display: none;
}
        .category-scroller::-webkit-scrollbar { display: none; }
        
        .category-pill {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            flex-shrink: 0;
        }
        .category-img-frame {
            width: 72px;
            height: 72px;
            border-radius: 22px;
            background-color: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            border: 2px solid transparent;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        .category-img-frame img { width: 100%; height: 100%; object-fit: cover; }
        .category-img-frame i { color: var(--brand-green); font-size: 1.3rem; }
        .category-pill span {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--slate-gray);
        }
        .category-pill.active .category-img-frame {
            background-color: var(--brand-green);
            border-color: var(--brand-green);
        }
        .category-pill.active .category-img-frame i { color: #FFFFFF; }
        .category-pill.active span {
            color: var(--brand-green);
            font-weight: 700;
        }

        /* --- CARDS FEED --- */
        .menu-container {
            padding: 0 24px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .food-card {
            background: #FFFFFF;
            border-radius: 18px;
            padding: 12px;
            display: flex;
            gap: 16px;
            box-shadow: 0 4px 18px rgba(15, 23, 42, 0.02);
            position: relative;
            cursor: pointer;
        }
        .food-card-img { width: 90px; height: 90px; border-radius: 14px; object-fit: cover; }
        .food-card-info { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; }
        .food-card-info h3 { margin: 0 0 4px 0; font-size: 1.05rem; color: var(--brand-green); font-weight: 600; }
        .food-card-info p { margin: 0 0 8px 0; font-size: 0.8rem; color: var(--slate-gray); line-height: 1.4; }
        .food-card-price { font-size: 0.95rem; font-weight: 700; color: var(--brand-gold); }
        
        .favorite-star-trigger {
            position: absolute;
            top: 14px; right: 14px;
            background: transparent; border: none;
            font-size: 1.2rem; color: #CBD5E1;
            cursor: pointer; z-index: 10;
        }
        .favorite-star-trigger.is-active { color: var(--brand-gold); }

        /* --- NAVIGATION --- */
/* --- COMPACT FLOATING BOTTOM NAVIGATION SYSTEM --- */
.floating-bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%); /* Keeps the navbar perfectly centered horizontally */
    
    /* --- HORIZONTAL LONGEVITY DECREASE ARCHITECTURE --- */
    width: calc(100% - 78px);     /* Keeps safe safety padding on small screens */
    max-width: 280px;            /* Forces the bar to lock at a compact premium size */
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.85); /* Premium glassmorphism translucency mask */
    backdrop-filter: blur(12px);          /* Blurs menu items scrolling underneath it */
    -webkit-backdrop-filter: blur(12px);
    
    padding: 10px 14px;
    border-radius: 30px;         /* Sleek organic pill boundary edges */
    border: 3px solid rgba(11, 49, 21, 0.055); /* Sophisticated green-tinted borders */
    box-shadow: 0 10px 30px rgba(13, 36, 10, 0.849);
    z-index: 995;                /* Ensures it floats nicely below item sheets */
}

/* Action node design spacing profiles */
.nav-action-node {
    background: transparent;
    border: none;
    outline: none;
    color: var(--slate-gray, #a0aec0);
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover & Active System States */
.nav-action-node:hover {
    color: var(--brand-gold, #c5a880);
    transform: translateY(-2px);
}

.nav-action-node.active-tab {
    color: #ffffff;
    background: var(--brand-green, #0f4c3a); /* Premium brand accent block highlight */
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.623);
}

.nav-action-node:active {
    transform: scale(1.4) translateY(0);
}
        /* --- EXPANDED SHEET --- */
        .item-detail-view-sheet {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: #FFFFFF;
            display: flex; flex-direction: column;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: fixed;
   
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* Transparent dark blur mask */
    
    /* CRITICAL LAYER MATRIX VALUES */
    z-index: 9999999 !important; /* Pushes the entire popup sheet over your sticky headers */
    pointer-events: auto;
        }
        /* Ensure the absolute inner modal container fills context pointer clicks */
.item-detail-view-card {
    position: relative;
    z-index: 10000;
}
        .item-detail-view-sheet.sheet-open { transform: translateY(0); }
        .sheet-hero-cover { width: 100%; height: 40vh; position: relative; }
        .sheet-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
        .sheet-dismiss-btn {
            position: absolute; top: 16px; left: 16px;
            width: 36px; height: 36px; border-radius: 50%;
            background: rgba(255, 255, 255, 0.9); border: none;
            display: flex; align-items: center; justify-content: center; cursor: pointer;
        }
        .sheet-content-scroller {
            flex-grow: 1; background: var(--bg-cream);
            margin-top: -24px; border-top-left-radius: 28px; border-top-right-radius: 28px;
            padding: 28px 24px; overflow-y: auto;
        }
        /* --- APP STRUCTURE STABILITY BOX CONTAINMENT --- */
*, *::before, *::after {
    box-sizing: border-box;
}

/* --- THE PREMIUM BOLD TILE LAYOUT (Activated on Toggle) --- */

/* 1. Turns the layout grid into a single-column sequence of beautiful stacked cards */
.menu-container.horizontal {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important; 
    gap: 24px !important; /* Elegant breathing space between tiles */
    width: 100% !important;
    padding: 10px 0 !important;
}

/* 2. Reconfigures the card into a luxury bold layout tile block */
.food-card.horizontal {
    display: flex !important;
    flex-direction: column !important; /* Stack image on top, text details underneath */
    background: #FFFFFF !important;
    border-radius: 32px !important; /* Clean rounded look from your photo */
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important; /* No restriction—lets description breathe naturally */
    padding: 16px !important; /* Uniform padding inside the white frame */
    border: none !important;
    position: relative !important;
}

/* 3. Bold Image Frame Adjustments */
.food-card.horizontal .food-card-img-wrapper {
    width: 100% !important;
    height: 260px !important; /* Gives the image a prominent showcase layout */
    border-radius: 24px !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.food-card.horizontal .food-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
}

/* 4. Luxury Typography Spacing Panel */
.food-card.horizontal .food-card-info {
    padding: 20px 8px 4px 8px !important;
    text-align: center !important; /* Centers headings exactly like your sample */
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Title text configuration styling */
.food-card.horizontal .food-card-title,
.food-card.horizontal .food-card-info h3 {
    font-size: 1.65rem !important; /* Striking headline look */
    font-weight: 800 !important;
    color: #1A202C !important;
    margin: 0 0 10px 0 !important;
    font-family: 'Playfair Display', 'Georga', serif, inherit;
}

/* Full natural description wrapper (No more clipping) */
.food-card.horizontal .food-card-desc,
.food-card.horizontal .food-card-info p {
    font-size: 0.95rem !important;
    color: #A0AEC0 !important; /* Muted modern grey description style text */
    line-height: 1.5 !important;
    margin: 0 0 16px 0 !important;
    max-width: 90% !important;
    display: block !important; /* Disables webkit clipping completely */
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

/* Bold Price tags style tracking */
.food-card.horizontal .food-card-price {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #8C6D53 !important; /* Elegant soft gold-brown palette accent tint */
    margin: 0 !important;
}

/* 5. Clean Floating Stock Badge Overlay Style */
.stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(139, 92, 92, 0.9);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Re-anchoring favorites layout button safely on the card surface edge */
.food-card.horizontal .favorite-star-trigger {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* --- S-CURVE HERO COVER BLOCK --- */
.sheet-hero-cover {
    position: relative !important;
    width: 100% !important;
    height: 320px !important; /* Premium image viewport depth */
    background-color: #F7FAFC;
    overflow: hidden;
    z-index: 1 !important;
}

.sheet-hero-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* --- THE FLUID VECTOR SHAPING CONTAINER --- */
.custom-wave-container {
    position: absolute !important;
    bottom: -1px !important; /* Pulling down 1px completely prevents micro-gaps or pixel lines */
    left: 0 !important;
    width: 100% !important;
    height: 75px !important; /* Dictates the steepness/depth of your custom wave curve */
    z-index: 4 !important;
    line-height: 0 !important;
    pointer-events: none; /* Clicks pass right through safely */
}

.custom-wave-container svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* --- THE PURE WHITE DESCRIPTION SCROLLER SHEET --- */
.sheet-content-scroller {
    position: relative !important;
    background: #FFFFFF !important; /* Matches the curve fill color perfectly */
    z-index: 5 !important;
    
    /* Kept flat because the custom vector shape handles the curve layout above it */
    border-radius: 0px !important; 
    margin-top: 0px !important; 
    
    /* Padding holds space for text clear of the wave depth overlay */
    padding: 24px 24px 30px 24px !important; 
}

/* Floating Dismiss Chevron button style sync */
.sheet-dismiss-btn {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    color: #1A202C !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    cursor: pointer !important;
}
/* --- WAVE OVERLAY CONTROLS CONTAINER --- */
.wave-overlay-controls {
    position: absolute !important;
    bottom: 15px !important; /* Positions them right on top of the wave baseline */
    left: 0 !important;
    width: 100% !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 10 !important; /* Forces layout layers to stay above the white SVG path */
    pointer-events: none; /* Allows natural scrolling containment underneath */
}

/* --- LEFT SIDE: MODERN CATEGORY BADGE --- */
.wave-category-badge {
    pointer-events: auto; /* Re-enables touch interaction if needed */
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    color: var(--brand-green, #2d3748) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(12, 58, 35, 0.664) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- RIGHT SIDE: FLOATING HEART BUTTON --- */
.wave-favorite-btn {
    pointer-events: auto; /* Ensures button receives clicks cleanly */
    background: #FFFFFF !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #A0AEC0 !important; /* Muted standard color when inactive */
    font-size: 1.2rem !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(12, 58, 35, 0.603) !important;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.wave-favorite-btn:active {
    transform: scale(0.88);
}

/* State when item is favorited */
.wave-favorite-btn.is-active {
    color: #E53E3E !important; /* Smooth vibrant red heart accent */
    background: #FFF5F5 !important; /* Soft warm pinkish canvas accent */
}
/* --- PREMIUM REVIEWS CARD COMPONENT --- */
.feedback-card-form {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04) !important;
    border: 1px solid #EDF2F7 !important;
}

.feedback-card-form input:focus, .feedback-card-form textarea:focus {
    border-color: #2D3748 !important;
}

/* Star Element Interaction Rules */
.active-star { color: #ECC94B !important; transform: scale(1.1); }
.inactive-star { color: #CBD5E0 !important; }

/* Interactive Submit Button Accent */
.submit-feedback-btn {
    width: 100% !important;
    background: #1A202C !important; /* Elegant dark sleek layout button */
    color: #FFFFFF !important;
    border: none !important;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.submit-feedback-btn:active { transform: scale(0.98); background: #000000 !important; }

/* --- SUCCESS CUSTOM DIALOG CARD OVERLAY --- */
.success-card-overlay {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 40px 24px !important;
    text-align: center !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04) !important;
    border: 1px solid #EDF2F7 !important;
    animation: fadeInUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-checkmark-circle {
    width: 60px; height: 60px; background: #C6F6D5; color: #38A169;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px auto; font-size: 1.6rem;
}
.overlay-close-btn {
    background: #EDF2F7; border: none; padding: 10px 24px; font-weight: 700;
    border-radius: 10px; color: #4A5568; cursor: pointer; margin-top: 16px;
}

/* --- REVIEWS LIVE GRID CARDS --- */
.review-feed-card {
    background: #F7FAFC !important;
    border-radius: 14px !important;
    padding: 16px !important;
    border: 1px solid #EDF2F7 !important;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- Flexbox/Grid Auto-reversing --- */
/* If you use modern CSS properties like margin-inline, text-align left/right switches automatically! */
.hero-slogan-text {
    text-align: start; /* Automatically aligns Left for EN/AM, and Right for AR */
}

/* --- Shift the Bouncing Chicken safely when Arabic is active --- */
html[dir="rtl"] .hero-image-bg::after {
    right: auto;   /* Unset the right positioning */
    left: 8%;      /* Flips the chicken over to the left side elegantly */
}
/* --- Circular Navbar Button --- */
.logo-trigger-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    overflow: visible; /* Essential so the invisible target can project outside the logo circle */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sets the reference point for the invisible overlay */
    position: relative; 
}

/* --- The Invisible Hit Box Extension --- */
.logo-trigger-btn::after {
    content: '';
    position: absolute;
    background: transparent; /* Remains completely invisible */
    
    /* 1. Expand vertically up and down to cover the text height & slogan drop */
    top: -12px;
    bottom: -140px; /* Stretches further down to capture the slogan area */
    
    /* 2. Expand horizontally to the left and widely to the right over the text */
    left: -12px;
    
    /* Stretches 180px out to the right to completely cover the restaurant name & tagline length */
    right: -180px; 
    
    /* Soft cornering so the touch boundary feels natural to mobile thumbs */
    border-radius: 12px; 
    
    /* Ensures it sits cleanly on top of the text layers so clicking them fires the button */
    z-index: 10; 
}

/* Automatically mirror the horizontal expansion if the site switches to Arabic RTL */
html[dir="rtl"] .logo-trigger-btn::after {
    right: -12px;
    left: -180px; /* Shoots out to the left instead when layout flips */
}
.logo-trigger-btn:hover {
    transform: scale(1.05);
}
.nav-circle-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid currentColor; /* Keeps dynamic to branding layout text */
    
    /* Attaches the smooth breathing animation */
    animation: logoBreath 3s infinite ease-in-out;
    transition: transform 0.3s ease;
}

/* Optional: Slight pause/interaction change when hovered */
.nav-circle-logo:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* --- Premium Breathing Keyframes --- */
@keyframes logoBreath {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        /* Micro-scale expansion up to 4% larger */
        transform: scale(1.09);
        
        /* Creates a soft, fading aura glow that matches your text color boundary */
        box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
}

/* --- Clean Stacking Backdrop Layout --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.3); /* Ultra soft premium dark opacity overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* CRITICAL OVERLAP FIXES */
    z-index: 999999 !important; 
    pointer-events: auto;
    
    backdrop-filter: blur(8px); /* Smooth premium glass effect background blurring */
    -webkit-backdrop-filter: blur(8px);
    padding: 16px;
}

/* --- Clean Light-Mode Container Panel --- */
.modal-content {
    background-color: #ffffff;  
    color: #1e293b;            
    border-radius: 24px; 
    width: 100%;
    max-width: 460px;
    
    /* 1. Allows the modal card to expand safely up to 85% of the screen height */
    max-height: 85vh !important; 
    
    /* 2. FORCES the container to create an active scrollbar if the content pushes past the height limits */
    overflow-y: auto !important; 
    overflow-x: hidden !important;
    
    position: relative;
    padding: 32px 24px 24px 24px; /* Adds extra bottom padding padding space to protect the footer layout */
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15); 
    border: 1px solid rgba(15, 23, 42, 0.04);
    
    /* Hardware layer isolation rules */
    box-sizing: border-box !important;
}

/* --- Minimal Absolute Close Trigger --- */
.modal-close-btn {
    position: absolute;
    top: 18px;
    background: #f1f5f9; /* Slate gray accent circle pill */
    border: none;
    color: #64748b;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.modal-close-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}
html[dir="ltr"] .modal-close-btn { right: 20px; }
html[dir="rtl"] .modal-close-btn { left: 20px; }

/* --- Top Header Profile Layout --- */
.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}
.modal-main-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    
    /* Retain your original shadow as the base starting point */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    
    /* Attaches the matching smooth breathing loop animation */
    animation: modalLogoBreath 3.5s infinite ease-in-out;
}

/* --- Main Modal Logo Breathing Keyframes --- */
@keyframes modalLogoBreath {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(20, 61, 26, 0.288);
    }
    50% {
        /* Gentle, controlled micro-scale expansion */
        transform: scale(1.08);
        
        /* Combines your original base drop shadow with an elegant, soft outer aura glow */
        box-shadow: 0 4px 6px -1px rgba(12, 51, 12, 0.199), 
                    0 0 16px 4px rgba(10, 30, 18, 0.74);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(12, 43, 14, 0.541);
    }
}
.modal-restaurant-name {
    font-size: 22px;
    font-weight: 800;
    color: #0a1e12; /* Your primary dark green serving as visual focal anchor */
    letter-spacing: -0.5px;
}

/* --- Minimal Story Sections --- */
.modal-story-section {
    text-align: center;
    margin-bottom: 28px;
}
.section-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0a1e12;
}
.story-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569; /* Balanced slate tint for readability text block */
}

/* --- Clean Minimalist Light Cards Stack --- */
.modal-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.info-card {
    background-color: #f8fafc; /* Cool elegant slate-white background */
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: start;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.info-card:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
}
/* Ayla Catering Special Attention Card Styling */
.special-card {
    border-color: rgba(10, 30, 18, 0.15);
    background-color: rgba(10, 30, 18, 0.03);
}
.special-card:hover {
    background-color: rgba(10, 30, 18, 0.06);
}
.card-icon {
    font-size: 18px;
    color: #0a1e12; /* Consistent signature green branding across active card components */
    margin-top: 2px;
}
.special-icon {
    color: #0a1e12;
}
.card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.info-card h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}
.info-card p {
    margin: 0;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.4;
}

.modal-divider {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 24px 0;
}

/* --- Light-Mode Footer Actions --- */
.modal-footer {
    text-align: center;
}
.modal-footer p {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}
.social-icons a {
    color: #64748b;
    font-size: 22px;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover {
    color: #0a1e12; /* Brand green pop color on hover */
    transform: translateY(-2px);
}

/* --- Clean Custom Scrollbar Layout --- */
.scrollable-container::-webkit-scrollbar {
    width: 5px;
}
.scrollable-container::-webkit-scrollbar-track {
    background: transparent;
}
.scrollable-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
/* Elevate the entire header area dynamically above the food sheet when the modal triggers */
.menu-header {
    position: relative;
    z-index: 99999 !important; /* Temporarily overpowers the menu-content-sheet's z-index: 10 */
}

/* Ensure the modal backdrop explicitly stretches across the total device viewport layout dimensions */
.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.35) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000000 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 20px;
    
    /* Hardware acceleration layer trick */
    transform: translateZ(0);
}
/* --- Brand Signature Layout --- */
.brand-signature {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed #f1f5f9; /* Subtle micro divider to isolate signature */
    font-size: 0.72rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.brand-signature a {
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-signature a:hover {
    color: #0a1e12; /* Colors match up directly to your brand core depth highlight scheme */
    text-decoration: underline;
}
/* --- Elegant Attention-Grabbing Glow Button --- */
.attention-glow-btn {
    border: 1px solid rgba(10, 30, 18, 0.18) !important;
    background-color: rgba(10, 30, 18, 0.03) !important;
    border-radius: 16px;
    padding: 14px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Attaches the continuous breathing glow animation */
    animation: luxuryPulse 2.5s infinite ease-in-out;
}

/* Subtle icon bounce accentuation */
.attention-glow-btn .card-icon {
    transition: transform 0.3s ease;
}

/* --- Hover and Interactive States --- */
.attention-glow-btn:hover {
    background-color: rgba(10, 30, 18, 0.07) !important;
    border-color: rgba(10, 30, 18, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 30, 18, 0.12) !important;
}

.attention-glow-btn:hover .card-icon {
    transform: scale(1.15) rotate(-5deg);
}

.attention-glow-btn:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 4px 10px rgba(10, 30, 18, 0.06) !important;
}

/* --- Keyframe Soft Breathing Glow Animation --- */
@keyframes luxuryPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 30, 18, 0.486);
        background-color: rgba(10, 30, 18, 0.03);
    }
    50% {
        /* Soft expansion of the outer green/dark glow aura */
        box-shadow: 0 0 14px 4px rgba(10, 30, 18, 0.438);
        /* Slightly brightens the card center inner layout to call the eye */
        background-color: rgba(10, 30, 18, 0.06);
        border-color: rgba(10, 30, 18, 0.25) !important;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 30, 18, 0.445);
        background-color: rgba(10, 30, 18, 0.03);
    }
}
/* --- Premium Mobile Viewport Optimization --- */
@media (max-width: 768px) {
    /* 1. Adjust the backdrop alignment to float the card higher up */
    .modal-backdrop {
        display: flex !important;
        align-items: flex-start !important; /* Pulls the modal content toward the top */
        justify-content: center !important;
        
        /* Creates a tight, intentional 24px gap at the very top of the screen */
        padding-top: 24px !important; 
        
        /* Pulls it away from the floor, leaving a clean, premium breathing space at the bottom */
        padding-bottom: 130px !important; 
        
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    /* 2. Fine-tune the card dimensions and scrolling parameters */
    .modal-content {
        /* Restricts the total height so it stays perfectly suspended in mid-screen */
        max-height: calc(100vh - 90px) !important; 
        
        margin-bottom: 0 !important; /* Eliminates any bottom-heavy sticking rules */
        border-radius: 24px !important; /* Retains its beautiful rounded chassis on all sides */
        
        /* Smooth micro-entry transition slide upward */
        animation: premiumMobileSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* --- Smooth Upward Float Animation --- */
@keyframes premiumMobileSlide {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slides gracefully up into its high position */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- PREMIUM MODERN SYMMETRICAL FOOTER --- */
.menu-premium-footer {
    background: #ffffff;
    padding: 60px 24px 32px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    font-family: system-ui, -apple-system, sans-serif;
    margin-top: 80px;
}

.footer-container {
    max-width: 680px; /* Constrained container for ideal balance */
    margin: 0 auto;
    text-align: center; /* Ensures solid layout centering */
}

.footer-main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo-box {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-green);
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    max-width: 480px;
}

/* Metadata Symmetrical Layout */
.footer-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.footer-info-text {
    font-size: 0.88rem;
    color: var(--slate-gray);
    font-weight: 500;
}

.footer-info-divider {
    color: var(--brand-gold);
    font-size: 0.8rem;
}

/* Faded Divider Grid Rule */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.01), rgba(0,0,0,0.06), rgba(0,0,0,0.01));
    margin: 32px 0 24px 0;
}

/* Symmetrical Copyright / Studio Production Row */
.footer-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: #a0aec0;
    margin: 0;
}

/* --- Arkan Digitals Studio Badge Token --- */
.arkan-signature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--slate-gray);
    font-weight: 500;
}

.signature-prefix {
    color: #a0aec0;
}

.arkan-brand-link {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.arkan-brand-link:hover {
    color: var(--brand-gold);
    transform: translateY(-1px);
}

.arkan-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand-gold);
    border-radius: 50%;
    display: inline-block;
    animation: arkanDotPulse 2s infinite ease-in-out;
}

/* Screen Size Media Query Breakpoint */
@media (max-width: 550px) {
    .footer-meta-row {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }
}

@keyframes arkanDotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
/* Update your master wrapper to act as an invisible screen protector shield */
/* Update your master wrapper to anchor hard to the viewport */
.item-detail-view-sheet {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); 
    
    /* Pushes past EVERYTHING else including your sticky nav elements */
    z-index: 99999999 !important;     
    
    pointer-events: none;           
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* When active, enforce full lock rule states */
.item-detail-view-sheet.sheet-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;           
}

/* The inner scrolling panel content block */
.sheet-scrolling-panel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;            
    display: flex; 
    flex-direction: column;
    overflow-y: auto;               
    
    /* CRITICAL: Prevents scroll chain bounces from reaching the main page body */
    overscroll-behavior: contain;   
    
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-detail-view-sheet.sheet-open .sheet-scrolling-panel {
    transform: translateY(0);
}
/* Maintain full stretch properties across inner layouts */
.category-section-block {
    display: block;
    width: 100%;
}

/* Ensure the layout toggle passes through perfectly to the card iterations */
.menu-cards-subgrid.vertical {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}
/* --- PREMIUM SECTION BREAKERS SYSTEM --- */
.category-section-block {
    margin-bottom: 56px; /* High-end layouts give sections breathing room */
}

.category-breaker-axis {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px 0 32px 0;
    padding: 0 16px;
    width: 100%;
}

/* 
   Asymmetric Elegant Line Vectors: 
   Fades out gracefully toward the edges of the screen 
*/
.breaker-line-left, 
.breaker-line-right {
    flex: 1;
    height: 1.5px;
    max-width: 160px;
    opacity: 0.35;
}

.breaker-line-left {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.01), var(--brand-green, #0f4c3a));
}

.breaker-line-right {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.01), var(--brand-green, #0f4c3a));
}

/* Unified Center Branding Block */
.category-title-wrapper {
    display: flex;
    flex-direction: column; /* Stacks the icon elegantly above the text */
    align-items: center;
    gap: 6px;
}

/* Premium Icon Architecture */
.category-breaker-icon {
    font-size: 1.1rem;
    color: var(--brand-gold, #c5a880); /* Distinct premium metal accent color */
    background: #ffffff;
    padding: 0 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: breakerIconFadeIn 0.6s ease-out;
}

/* Sleek Letter-Spaced Typography Heading */
.category-breaker-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-green, #0f4c3a);
    text-transform: uppercase;
    letter-spacing: 2px; /* Fine-dining layout kerning style */
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

/* Fallback state when searches drop cards to 0 */
.no-category-items-fallback {
    text-align: center;
    color: var(--slate-gray, #718096);
    font-size: 0.9rem;
    font-style: italic;
    margin: 24px 0;
    opacity: 0.7;
}

/* --- ANIMATION PHYSICS MOTION --- */
@keyframes breakerIconFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- LOCALIZATION SAFE GUARDS --- */
/* Disables heavy tracking filters for scripts that don't support letter-spacing (like Amharic or Arabic) */
[dir="rtl"] .category-breaker-title,
:lang(am) .category-breaker-title,
:lang(ar) .category-breaker-title {
    letter-spacing: 0px !important;
    font-size: 1.25rem; /* Slight size balance adjustment for native scripts */
}
/* --- FLOATING BACK TO TOP BUTTON --- */
.scroll-top-floating-btn {
    position: fixed;
    bottom: 93px;
    right: 10px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--brand-green, #0f4c3a);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 76, 58, 0.3);
    outline: none;
    
    /* Layer placement: Below the full-screen food sheet detail overlay, but over everything else */
    z-index: 100;
    
    /* Animation Properties: Fades and scale-shifts smoothly */
    opacity: 0;
    transform: scale(0.7) translateY(10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s ease;
}

/* Micro-interaction: Hover/Active State */
.scroll-top-floating-btn:hover {
    background: #1a8a55;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 99, 42, 0.4);
}

.scroll-top-floating-btn:active {
    transform: scale(0.95) translateY(0);
}

/* Trigger Class driven by Vue state updates */
.scroll-top-floating-btn.btn-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* --- LOCALIZATION DIRECTION SUPPORT --- */
/* Symmetrically flips the anchor placement to the bottom-left if layout direction changes to RTL */
[dir="rtl"] .scroll-top-floating-btn {
    right: auto;
    left: 24px;
}
    