/* ════════════════════════════════════════════════════════
   MENU PAGE — DESIGN SYSTEM (v2.0 Scroll Spy Edition)
   /resources/css/menu-page.css
════════════════════════════════════════════════════════ */

/* ── Hero ── */
.menu-page-hero {
    min-height: 62vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(150,50,34,0.35) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212,148,26,0.15) 0%, transparent 50%);
    background-color: #0b0a07;
}

[data-theme="light"] .hero-bg-layer {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(150,50,34,0.2) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212,148,26,0.1) 0%, transparent 50%);
    background-color: #fdf8f3;
}

.hero-pattern-layer {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4941a' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb--1 {
    width: 400px; height: 400px;
    background: rgba(150,50,34,0.2);
    top: -100px; left: -100px;
    animation-delay: 0s;
}
.hero-orb--2 {
    width: 300px; height: 300px;
    background: rgba(212,148,26,0.15);
    bottom: -50px; right: -50px;
    animation-delay: 3s;
}
.hero-orb--3 {
    width: 200px; height: 200px;
    background: rgba(150,50,34,0.1);
    top: 50%; left: 60%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(212,148,26,0.12);
    border: 1px solid rgba(212,148,26,0.3);
    color: #d4941a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Hero Title */
.menu-hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--heading-font, 'Tajawal', sans-serif);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

[data-theme="light"] .menu-hero-title {
    color: #1c1008;
}

/* Divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.divider-line {
    display: block;
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(212,148,26,0.6), transparent);
}
.divider-icon {
    color: rgba(212,148,26,0.8);
    font-size: 0.75rem;
}

/* Hero Description */
.menu-hero-desc {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

[data-theme="light"] .menu-hero-desc {
    color: rgba(28,16,8,0.65);
}

/* Status Pill */
.hero-status { margin-bottom: 2.5rem; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}
.status-pill--open {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34d399;
}
.status-pill--closed {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot--open {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
    animation: mpPulseGreen 2s infinite;
}
.status-dot--closed {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.25);
    animation: mpPulseRed 2s infinite;
}
.status-separator { opacity: 0.4; }

@keyframes mpPulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
@keyframes mpPulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* Scroll Button */
.hero-scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(212,148,26,0.35);
    color: rgba(212,148,26,0.7);
    font-size: 0.85rem;
    transition: all 0.3s;
    animation: mpScrollBounce 2.5s ease-in-out infinite;
    text-decoration: none;
}
.hero-scroll-btn:hover {
    background: rgba(212,148,26,0.15);
    color: #d4941a;
    border-color: rgba(212,148,26,0.6);
}
@keyframes mpScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ════════════════════════════════════════
   MAIN SECTION
════════════════════════════════════════ */
.menu-main-section {
    position: relative;
    padding: 5rem 0 6rem;
    background: #f9f7f4;
    overflow: clip;
}

[data-theme="dark"] .menu-main-section {
    background: #0d0c0a;
}

.section-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.section-glow--top-start {
    background: rgba(150,50,34,0.06);
    top: -100px; left: -100px;
}
.section-glow--bottom-end {
    background: rgba(212,148,26,0.05);
    bottom: -100px; right: -100px;
}

/* ── Closed Alert ── */
.closed-alert {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    border-radius: 1.25rem;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.2);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.closed-alert__icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(239,68,68,0.12);
    border: 1.5px solid rgba(239,68,68,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: #f87171;
}
.closed-alert__content h5 {
    font-weight: 800;
    color: #f87171;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}
.closed-alert__content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

[data-theme="light"] .closed-alert__content p {
    color: rgba(0,0,0,0.6);
}

.closed-alert__hours {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f87171;
    background: rgba(239,68,68,0.1);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(239,68,68,0.2);
}

/* ── Controls Bar ── */
.menu-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.menu-search-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 480px;
}
.mp-search-icon {
    position: absolute;
    top: 50%; left: 1rem;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    pointer-events: none;
}
[dir="rtl"] .mp-search-icon { left: auto; right: 1rem; }

.menu-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}
.menu-search-input::placeholder { color: rgba(255,255,255,0.3); }
.menu-search-input:focus {
    border-color: rgba(212,148,26,0.5);
    background: rgba(212,148,26,0.05);
    box-shadow: 0 0 0 3px rgba(212,148,26,0.1);
}

[data-theme="light"] .menu-search-input {
    border-color: rgba(0,0,0,0.12);
    background: #fff;
    color: #1c1008;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
[data-theme="light"] .menu-search-input::placeholder { color: rgba(0,0,0,0.35); }
[data-theme="light"] .mp-search-icon { color: rgba(0,0,0,0.35); }

.mp-search-clear {
    position: absolute;
    top: 50%; right: 0.875rem;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
[dir="rtl"] .mp-search-clear { right: auto; left: 0.875rem; }
.mp-search-clear:hover { background: rgba(239,68,68,0.3); color: #f87171; }

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 3px;
    padding: 4px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

[data-theme="light"] .view-toggle {
    border-color: rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
}

.view-toggle-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.25s;
    display: flex; align-items: center; justify-content: center;
}
.view-toggle-btn.active {
    background: rgba(212,148,26,0.2);
    color: #d4941a;
    box-shadow: 0 2px 8px rgba(212,148,26,0.2);
}
.view-toggle-btn:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.7);
}

[data-theme="light"] .view-toggle-btn { color: rgba(0,0,0,0.35); }
[data-theme="light"] .view-toggle-btn:hover:not(.active) {
    color: rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.04);
}

/* ════════════════════════════════════════
   STICKY CATEGORY NAVIGATION (SCROLL SPY)
════════════════════════════════════════ */
.category-nav-wrap {
    position: sticky;
    top: 67px;
    z-index: 90;
    margin-bottom: 2.5rem;
    overflow: hidden;
    padding: 0.5rem 0.25rem 0;
    background: #f9f7f4;
    transition: all 0.3s ease;
    border-radius: 0 0 1rem 1rem;
}

[data-theme="dark"] .category-nav-wrap {
    background: #0d0c0a;
}

/* Sticky State */
.category-nav-wrap.is-sticky {
    background: rgba(249, 247, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 1.25rem 1.25rem;
    padding: 0.75rem 0.5rem 0;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

[data-theme="dark"] .category-nav-wrap.is-sticky {
    background: rgba(13, 12, 10, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Search Mode (when searching, hide progress bar) */
.category-nav-wrap.search-mode .cat-nav-progress {
    opacity: 0;
}

/* Fade Edges */
.category-fade-left,
.category-fade-right {
    position: absolute;
    top: 0; bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
    transition: background 0.3s ease;
}
.category-fade-left {
    left: 0;
    background: linear-gradient(to right, #f9f7f4, transparent);
}
.category-fade-right {
    right: 0;
    background: linear-gradient(to left, #f9f7f4, transparent);
}
[data-theme="dark"] .category-fade-left { background: linear-gradient(to right, #0d0c0a, transparent); }
[data-theme="dark"] .category-fade-right { background: linear-gradient(to left, #0d0c0a, transparent); }

/* Sticky fade edges */
.category-nav-wrap.is-sticky .category-fade-left {
    background: linear-gradient(to right, rgba(249, 247, 244, 0.92), transparent);
}
.category-nav-wrap.is-sticky .category-fade-right {
    background: linear-gradient(to left, rgba(249, 247, 244, 0.92), transparent);
}
[data-theme="dark"] .category-nav-wrap.is-sticky .category-fade-left {
    background: linear-gradient(to right, rgba(13, 12, 10, 0.92), transparent);
}
[data-theme="dark"] .category-nav-wrap.is-sticky .category-fade-right {
    background: linear-gradient(to left, rgba(13, 12, 10, 0.92), transparent);
}

/* Tabs Container */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0.25rem 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    position: relative;
}
.category-tabs::-webkit-scrollbar { display: none; }

/* Individual Tab */
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.cat-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,148,26,0.15) 0%, rgba(150,50,34,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.cat-tab:hover {
    border-color: rgba(212,148,26,0.3);
    color: rgba(212,148,26,0.85);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,148,26,0.1);
}
.cat-tab:hover::before {
    opacity: 1;
}

.cat-tab.active {
    background: rgba(212,148,26,0.15);
    border-color: rgba(212,148,26,0.5);
    color: #d4941a;
    box-shadow: 0 4px 20px rgba(212,148,26,0.2), 0 0 0 1px rgba(212,148,26,0.1);
    transform: translateY(-2px);
}
.cat-tab.active::before {
    opacity: 1;
}

.cat-tab i { font-size: 0.7rem; }

/* Tab Count Badge */
.cat-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px; height: 20px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0 5px;
    transition: all 0.3s ease;
}
.cat-tab.active .cat-tab__count {
    background: rgba(212,148,26,0.25);
    color: #d4941a;
}

/* Light Theme Tabs */
[data-theme="light"] .cat-tab {
    border-color: rgba(0,0,0,0.1);
    background: #fff;
    color: rgba(28,16,8,0.55);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
[data-theme="light"] .cat-tab:hover {
    border-color: rgba(212,148,26,0.4);
    color: #b8780e;
}
[data-theme="light"] .cat-tab.active {
    background: rgba(212,148,26,0.12);
    border-color: rgba(212,148,26,0.5);
    color: #b8780e;
    box-shadow: 0 4px 20px rgba(212,148,26,0.15), 0 0 0 1px rgba(212,148,26,0.08);
}
[data-theme="light"] .cat-tab__count { background: rgba(0,0,0,0.06); }
[data-theme="light"] .cat-tab.active .cat-tab__count {
    background: rgba(212,148,26,0.2);
    color: #b8780e;
}

/* Progress Bar */
.cat-nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(212,148,26,0.08);
    z-index: 3;
    transition: opacity 0.3s ease;
}
.cat-nav-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #963222, #d4941a);
    border-radius: 0 2px 2px 0;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 8px rgba(212,148,26,0.3);
}

/* ════════════════════════════════════════
   CATEGORY SECTION HEADERS
════════════════════════════════════════ */
.menu-category-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 140px; /* Account for sticky nav + padding */
}

.menu-category-section:last-child {
    margin-bottom: 0;
}

.menu-cat-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.menu-cat-header__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,148,26,0.3), transparent);
}

.menu-cat-header__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.menu-cat-header__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1c1008;
    font-family: var(--heading-font, 'Tajawal', sans-serif);
    letter-spacing: -0.01em;
}

[data-theme="dark"] .menu-cat-header__title {
    color: #fff;
}

.menu-cat-header__count {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(212,148,26,0.8);
    background: rgba(212,148,26,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(212,148,26,0.2);
}

/* ════════════════════════════════════════
   MEAL CARD
════════════════════════════════════════ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

/* List View */
.menu-grid-wrap.list-view .menu-grid { grid-template-columns: 1fr; }
.menu-grid-wrap.list-view .meal-card { flex-direction: row; height: auto; }
.menu-grid-wrap.list-view .meal-card__img-wrap {
    width: 220px;
    min-width: 220px;
    min-height: 180px;
    border-radius: 1rem 0 0 1rem;
    flex-shrink: 0;
}
[dir="rtl"] .menu-grid-wrap.list-view .meal-card__img-wrap { border-radius: 0 1rem 1rem 0; }
.menu-grid-wrap.list-view .meal-card__body { padding: 1.5rem; }
.menu-grid-wrap.list-view .meal-card__desc { -webkit-line-clamp: 2; }

.meal-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    border: 1.5px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.3s;
    position: relative;
}
.meal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: rgba(212,148,26,0.25);
}
.meal-card--closed { opacity: 0.72; }

[data-theme="dark"] .meal-card {
    background: #15130f;
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25), 0 1px 3px rgba(0,0,0,0.15);
}
[data-theme="dark"] .meal-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.2);
}

/* Badges */
.meal-card__badges {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    z-index: 10;
}
[dir="rtl"] .meal-card__badges { left: auto; right: 1rem; }

.mp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mp-badge--featured { background: #d4941a; color: #0b0a07; }
.mp-badge--halal {
    background: rgba(46,213,115,0.15);
    border: 1px solid rgba(46,213,115,0.3);
    color: #2ed573;
    backdrop-filter: blur(8px);
}

/* Image */
.meal-card__img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e5e2de;
    flex-shrink: 0;
}
[data-theme="dark"] .meal-card__img-wrap { background: #1f1c17; }

.meal-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.meal-card:hover .meal-card__img { transform: scale(1.07); }

.meal-card__img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.meal-card:hover .meal-card__img-overlay { opacity: 1; }
.meal-card__img-overlay i {
    font-size: 1.75rem;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.3s;
}
.meal-card:hover .meal-card__img-overlay i { transform: scale(1); }

/* Price Tag */
.meal-card__price-tag {
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    background: rgba(13,12,10,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212,148,26,0.3);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 1rem;
    font-weight: 800;
    color: #d4941a;
    letter-spacing: -0.01em;
    z-index: 5;
}
[dir="rtl"] .meal-card__price-tag { right: auto; left: 0.75rem; }

.mp-price-original {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Body */
.meal-card__body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}

.meal-card__cat-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(212,148,26,0.8);
    margin-bottom: 0.25rem;
}

.meal-card__title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #1c1008;
    line-height: 1.3;
    font-family: var(--heading-font, 'Tajawal', sans-serif);
    margin-bottom: 0.25rem;
}
[data-theme="dark"] .meal-card__title { color: #fff; }

.meal-card__rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    color: #f59e0b;
    margin-bottom: 0.4rem;
}
.mp-rating-val {
    color: rgba(0,0,0,0.5);
    font-size: 0.7rem;
    margin-left: 0.2rem;
    font-weight: 700;
}
[data-theme="dark"] .mp-rating-val { color: rgba(255,255,255,0.45); }

.meal-card__desc {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.55);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
[data-theme="dark"] .meal-card__desc { color: rgba(255,255,255,0.55); }

/* Variants */
.meal-card__variants {
    border-top: 1.5px solid rgba(0,0,0,0.07);
    padding-top: 0.875rem;
}
[data-theme="dark"] .meal-card__variants { border-color: rgba(255,255,255,0.07); }

.variants-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.38);
    margin-bottom: 0.625rem;
}
[data-theme="dark"] .variants-label { color: rgba(255,255,255,0.35); }
.variants-label i { color: #d4941a; }

.variants-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.variant-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
    color: rgba(0,0,0,0.7);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
[data-theme="dark"] .variant-btn {
    border-color: rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.75);
}
.variant-btn:hover {
    background: rgba(212,148,26,0.12);
    border-color: rgba(212,148,26,0.4);
    color: #d4941a;
    transform: translateY(-1px);
}
.variant-price { color: #d4941a; font-weight: 800; }
.variant-add-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem;
    transition: all 0.2s;
}
[data-theme="dark"] .variant-add-icon { background: rgba(255,255,255,0.08); }
.variant-btn:hover .variant-add-icon { background: #d4941a; color: #0b0a07; }
.variant-btn--disabled { opacity: 0.45; cursor: not-allowed; }

/* Add to Cart Button */
.meal-card__action { margin-top: auto; }

.add-to-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(135deg, #963222 0%, #7d2a1d 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(150,50,34,0.25);
    position: relative;
    overflow: hidden;
}
.add-to-cart-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d4941a 0%, #b8780e 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.add-to-cart-btn span, .add-to-cart-btn i { position: relative; z-index: 1; }
.add-to-cart-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(150,50,34,0.35);
    color: #0b0a07;
}
.add-to-cart-btn:hover::before { opacity: 1; }
.add-to-cart-btn:active { transform: scale(0.98); }

.add-to-cart-btn--disabled {
    background: rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.35);
    cursor: not-allowed;
    box-shadow: none;
}
[data-theme="dark"] .add-to-cart-btn--disabled {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.3);
}
.add-to-cart-btn--disabled::before { display: none; }

/* ── No Results ── */
.no-results {
    text-align: center;
    padding: 5rem 2rem;
    color: rgba(0,0,0,0.35);
}
[data-theme="dark"] .no-results { color: rgba(255,255,255,0.3); }
.no-results i { font-size: 3.5rem; display: block; margin-bottom: 1rem; opacity: 0.4; }
.no-results p { font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.no-results-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(212,148,26,0.35);
    background: rgba(212,148,26,0.08);
    color: #d4941a;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.no-results-reset:hover {
    background: rgba(212,148,26,0.15);
    border-color: rgba(212,148,26,0.55);
}

/* ── Utilities ── */
.mp-hidden { display: none !important; }
.meal-card.filter-hidden { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .menu-controls { flex-direction: column; align-items: stretch; }
    .menu-search-wrap { max-width: 100%; }
    .menu-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    .menu-grid-wrap.list-view .meal-card__img-wrap {
        width: 120px;
        min-width: 120px;
        min-height: 120px;
        border-radius: 0.75rem 0 0 0.75rem;
    }
    [dir="rtl"] .menu-grid-wrap.list-view .meal-card__img-wrap {
        border-radius: 0 0.75rem 0.75rem 0;
    }
    .menu-grid-wrap.list-view .meal-card__variants,
    .menu-grid-wrap.list-view .meal-card__badges { display: none; }
    .menu-grid-wrap.list-view .meal-card__body { padding: 1rem; }

    .menu-cat-header__title { font-size: 1.25rem; }
    .menu-category-section { scroll-margin-top: 120px; }
}

@media (max-width: 500px) {
    .menu-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cat-tab { padding: 0.5rem 1rem; font-size: 0.75rem; }
    .cat-tab__count { min-width: 18px; height: 18px; font-size: 0.6rem; }
}