/* ----------------------------------------------------
   Spice Villa - Authentic 1-to-1 Restaurant Theme
   Primary Orange: #E8552B | Secondary: #C2410C | Veg: #1B8E3C
---------------------------------------------------- */

:root {
    --qm-primary: #E8552B;
    --qm-primary-rgb: 232, 85, 43;
    --qm-accent: #C2410C;
    --qm-paper: #FFF8F0;
    --qm-bg-soft: #FBF3EA;
    --qm-bg-cream: #FFF3E4;
    --qm-card: #FFFFFF;
    --qm-text: #1C1917;
    --qm-text-dim: #57534E;
    --qm-text-faint: #A8A29E;
    --qm-border: rgba(28, 25, 23, 0.08);
    --qm-veg: #1B8E3C;
    --qm-nonveg: #8D2C0E;
    --qm-egg: #C77400;

    --heading-font: 'Sora', sans-serif;
    --body-font: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    background-color: var(--qm-paper);
    color: var(--qm-text);
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }

.qm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media(min-width: 768px) { .qm-container { padding: 0 1.5rem; } }
@media(min-width: 1280px) { .qm-container { padding: 0 2rem; } }

.qm-h2 {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    letter-spacing: -0.015em;
    color: var(--qm-text);
}

/* Site Navigation Header */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--qm-border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.qm-nav-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

/* Brand Logo Styling */
.qm-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.qm-nav-brand-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qm-nav-brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.qm-nav-brand-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    color: #A83818;
    white-space: nowrap;
}

.qm-nav-brand-sub {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #A37B6F;
    white-space: nowrap;
    margin-top: 2px;
}

/* Order online / Deliver to Pill */
.qm-delivery-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.9rem;
    border-radius: 12px;
    background: #FFF3EB;
    border: 1px solid #FFE0D3;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qm-delivery-chip:hover {
    background: #FFEADF;
}

.qm-delivery-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E8552B;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qm-delivery-chip-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.qm-delivery-chip-eta {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    color: #E8552B;
}

.qm-delivery-chip-area {
    font-size: 0.72rem;
    color: #4B5563;
    font-weight: 500;
}

.qm-delivery-chip-area .caret {
    color: #E8552B;
    font-weight: 800;
    font-size: 0.75rem;
    margin-left: 2px;
}

/* Branch Location Pill (Indiranagar) */
.qm-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1.5px solid #E8552B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qm-location-chip:hover {
    background: rgba(232, 85, 43, 0.05);
}

.qm-location-chip-icon {
    font-size: 0.95rem;
}

.qm-location-chip-text {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.88rem;
    color: #111827;
}

/* Search Bar */
.qm-search-wrap {
    flex: 1 1 auto;
    max-width: 480px;
    margin: 0 auto;
}

.qm-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    background: #FBF4EC;
    border: 1px solid #F3E7DA;
    transition: all 0.2s ease;
}

.qm-search:focus-within {
    border-color: rgba(232, 85, 43, 0.4);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(232, 85, 43, 0.08);
}

.qm-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: var(--qm-text);
}

.qm-search input::placeholder {
    color: #9CA3AF;
}

.qm-search-chip {
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #FCE6D6;
    color: #E8552B;
    font-family: var(--heading-font);
    font-size: 0.72rem;
    font-weight: 800;
}

.qm-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.qm-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--qm-text);
    position: relative;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.qm-icon-btn:hover {
    background: rgba(232, 85, 43, 0.08);
    color: var(--qm-primary);
}

.admin-btn {
    background: var(--qm-text);
    color: #fff;
}

.admin-btn:hover {
    background: #333;
    color: #fff;
}

.qm-icon-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--qm-primary);
    color: #fff;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.qm-account-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8552B, #C2410C);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
}

.qm-hamburger {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 0.55rem;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--qm-text);
    transition: background 0.2s ease;
}

.qm-hamburger:hover {
    background: rgba(232, 85, 43, 0.08);
    color: var(--qm-primary);
}

/* Mobile Drawer */
#qm-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#qm-menu-backdrop.open { opacity: 1; pointer-events: auto; }

#qm-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    background: #FAFAFA;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
    box-shadow: -8px 0 40px rgba(15,23,42,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#qm-mobile-menu.open { transform: translateX(0); }

.qm-mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid #F3F4F6;
}

.qm-mm-brand-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.qm-mm-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qm-mm-brand-text h3 {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.15rem;
    color: #1C1917;
    margin: 0;
    line-height: 1.1;
}

.qm-mm-brand-text p {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #6B7280;
    margin-top: 2px;
}

.qm-mm-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: background 0.2s ease;
}

.qm-mm-close:hover {
    background: #F3F4F6;
}

.qm-mm-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 1rem 2rem;
}

/* Sign In / Sign Up Card */
.qm-mm-auth-card {
    background: #FFF5EE;
    border: 1.5px solid #FFE4D6;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.85rem;
}

.qm-mm-auth-head {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.qm-mm-auth-btns {
    display: flex;
    gap: 0.5rem;
}

.qm-mm-btn-signin {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #E8552B;
    color: #ffffff;
    border: none;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(232,85,43,0.25);
}

.qm-mm-btn-create {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #E5E7EB;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Drawer Search Bar */
.qm-mm-search-wrap {
    margin-bottom: 1.25rem;
}

.qm-mm-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.qm-mm-search-ic {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.qm-mm-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    background: transparent;
    color: #111827;
}

.qm-mm-go-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    background: #E8552B;
    color: #ffffff;
    border: none;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Sections */
.qm-mm-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.qm-mm-section-label {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.qm-mm-section-label .dot {
    font-size: 0.55rem;
    color: #E8552B;
}

.qm-mm-cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.qm-mm-cat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: #ffffff;
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    transition: all 0.15s ease;
}

.qm-mm-cat-item:hover {
    background: #FFF5EE;
    border-color: #FFE4D6;
}

.qm-mm-cat-item img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.qm-mm-cat-item .name {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: #111827;
    flex: 1;
}

.qm-mm-cat-item .badge {
    background: #F3F4F6;
    color: #6B7280;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
}

.qm-mm-cat-item .arrow {
    color: #9CA3AF;
    font-weight: 800;
    font-size: 1.1rem;
}

.qm-mm-link-orange {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    color: #E8552B;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.9rem;
}

.qm-mm-nav-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #F3F4F6;
    margin-bottom: 0.45rem;
    transition: background 0.15s ease;
}

.qm-mm-nav-row:hover {
    background: #FFF5EE;
}

.qm-mm-nav-row .ic-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFF5EE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.qm-mm-nav-row .txt {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: #111827;
    flex: 1;
}

.qm-mm-nav-row .arrow {
    color: #9CA3AF;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Feature Badges Card */
.qm-mm-features-card {
    background: #ffffff;
    border: 1.5px solid #FFE4D6;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1F2937;
}

/* Reach The Restaurant Buttons */
.qm-mm-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    color: #ffffff;
    margin-bottom: 0.65rem;
    transition: transform 0.15s ease;
}

.qm-mm-contact-btn:hover {
    transform: translateY(-2px);
}

.btn-call { background: #E8552B; }
.btn-wa { background: #059669; }
.btn-mail { background: #C2410C; }

.qm-mm-contact-btn .ic {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.qm-mm-contact-btn .txt {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.qm-mm-contact-btn .txt strong {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.95rem;
}

.qm-mm-contact-btn .txt span {
    font-size: 0.78rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Hero Section */
.ro-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    min-height: 440px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(232,85,43,0.92), #7C2D12);
}

@media(min-width: 1024px) { .ro-hero { min-height: 520px; } }

.ro-hero-media { position: absolute; inset: 0; z-index: 0; }
.ro-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ro-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(20,10,5,0.85) 0%, rgba(20,10,5,0.46) 40%, rgba(20,10,5,0.1) 75%, transparent 100%);
}

.ro-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 2.6rem;
    color: #fff;
}

.ro-hero-eyebrow {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #FFD9C2;
    margin-bottom: 0.55rem;
    display: inline-block;
}

.ro-hero-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}

.ro-hero-tagline {
    margin-top: 0.6rem;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    color: rgba(255,255,255,0.95);
}

.ro-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ro-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.28);
    font-size: 0.8rem;
    font-weight: 600;
}

.ro-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.ro-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.7rem;
    border-radius: 12px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ro-hero-btn-primary {
    background: var(--qm-primary);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.32);
}

.ro-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(232,85,43,0.5);
}

.ro-hero-btn-ghost {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.72);
    backdrop-filter: blur(6px);
}

.ro-hero-btn-ghost:hover {
    background: rgba(255,255,255,0.25);
}

/* Category Strip Section (Centered Warm Cream Banner) */
#qm-categories {
    background: #FFF9F5;
    padding: 2.5rem 1.5rem;
    margin: 1.5rem 0;
    border-top: 1px solid #FEEBE0;
    border-bottom: 1px solid #FEEBE0;
    text-align: center;
    width: 100%;
}

.qm-categories-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.qm-cat-strip-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: #111827;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

#qm-cat-strip-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#qm-cat-strip-scroll::-webkit-scrollbar { display: none; }

.qm-cat-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
}

.qm-cat-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.qm-cat-item:hover {
    transform: translateY(-4px);
}

.qm-cat-img-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(232, 85, 43, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qm-cat-item:hover .qm-cat-img-wrap,
.qm-cat-item.active .qm-cat-img-wrap {
    border-color: #E8552B;
    box-shadow: 0 6px 18px rgba(232, 85, 43, 0.35);
    transform: scale(1.05);
}

.qm-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qm-cat-name {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.85rem;
    color: #1F2937;
    margin-top: 0.55rem;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .qm-cat-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 0.5rem;
    }
    #qm-cat-strip-scroll {
        justify-content: flex-start;
    }
}

/* Category Menu View Page (Image 2 Replica) */
.menu-page-header {
    margin: 2rem 0 1.5rem;
}

.menu-page-title-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.menu-page-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #111827;
    margin: 0;
}

.menu-page-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6B7280;
}

.menu-page-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.menu-search-box {
    flex: 1;
    max-width: 580px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 0.65rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.menu-search-ic {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.menu-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    background: transparent;
    color: #111827;
}

.menu-diet-toggles {
    display: inline-flex;
    gap: 0.6rem;
}

.menu-diet-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #E5E7EB;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-diet-btn.active.veg {
    background: #F0FDF4;
    border-color: #16A34A;
    color: #16A34A;
}

.menu-diet-btn.active.nonveg {
    background: #FEF2F2;
    border-color: #DC2626;
    color: #DC2626;
}

.menu-cat-pills-row {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.menu-cat-pills-row::-webkit-scrollbar { display: none; }

.menu-cat-pill {
    flex-shrink: 0;
    padding: 0.55rem 1.2rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-cat-pill.active {
    background: #E8552B;
    color: #ffffff;
    border-color: #E8552B;
    box-shadow: 0 4px 14px rgba(232,85,43,0.3);
}

.menu-category-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.menu-category-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 1.25rem;
}

.cat-card-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.orange-bar {
    width: 4px;
    height: 20px;
    background: #E8552B;
    border-radius: 9999px;
}

.cat-card-title {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.25rem;
    color: #111827;
    margin: 0;
}

.cat-card-count {
    background: #F3F4F6;
    color: #6B7280;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
}

.cat-card-collapse-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9CA3AF;
    cursor: pointer;
}

.menu-dish-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.menu-dish-row {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #F3F4F6;
    align-items: flex-start;
}

.menu-dish-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-dish-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.menu-dish-diet {
    font-size: 0.85rem;
}

.menu-dish-name {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.05rem;
    color: #111827;
    margin: 0;
}

.menu-dish-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.menu-dish-price {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.05rem;
    color: #111827;
}

.menu-dish-mrp {
    font-size: 0.82rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.menu-dish-off {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.78rem;
    color: #16A34A;
}

.menu-dish-desc {
    font-size: 0.82rem;
    color: #4B5563;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.menu-dish-view-btn {
    background: none;
    border: none;
    padding: 0;
    color: #4B5563;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
    margin-top: 0.25rem;
}

.menu-dish-media {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-dish-img {
    width: 140px;
    height: 110px;
    border-radius: 16px;
    object-fit: cover;
    background: #F3F4F6;
}

.menu-dish-cta-wrap {
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.menu-dish-add-btn {
    min-width: 90px;
    padding: 0.4rem 1.2rem;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #E8552B;
    color: #E8552B;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.15s ease;
}

.menu-dish-add-btn:hover {
    background: #FFF5EE;
}

.menu-dish-stepper {
    display: inline-flex;
    align-items: center;
    background: #E8552B;
    color: #ffffff;
    border-radius: 10px;
    height: 34px;
    padding: 0 0.4rem;
    box-shadow: 0 4px 10px rgba(232,85,43,0.3);
}

.menu-dish-stepper button {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    width: 26px;
    height: 34px;
    cursor: pointer;
}

.menu-dish-stepper span {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0 0.4rem;
}

.floating-menu-pill {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 85;
    background: #1C1917;
    color: #ffffff;
    padding: 0.6rem 1.3rem;
    border-radius: 9999px;
    border: none;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floating-menu-pill:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Home Page Filter Control Bar & Dishes Grid */
.filter-control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.item-count-badge {
    font-size: 0.82rem;
    color: var(--qm-text-dim);
}

.ro-diet-toggles {
    display: inline-flex;
    gap: 0.5rem;
}

.ro-diet-toggle {
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    background: #fff;
    border: 1.5px solid var(--qm-border);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--qm-text-dim);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ro-diet-toggle.active {
    background: rgba(27,142,60,0.1);
    border-color: var(--qm-veg);
    color: var(--qm-veg);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.qm-product-card {
    position: relative;
    background: var(--qm-card);
    border: 1px solid var(--qm-border);
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.qm-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(28,25,23,0.1);
    border-color: rgba(232,85,43,0.28);
}

.qm-pcard-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--qm-bg-soft);
}

.qm-pcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.qm-product-card:hover .qm-pcard-img { transform: scale(1.05); }

.qm-pcard-body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.qm-pcard-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--qm-text);
}

.qm-pcard-weight {
    font-size: 0.75rem;
    color: var(--qm-text-dim);
}

.qm-pcard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}

.qm-pcard-price {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.05rem;
}

.qm-pcard-cmp {
    font-size: 0.75rem;
    color: var(--qm-text-faint);
    text-decoration: line-through;
    margin-left: 0.3rem;
}

.qm-pcard-off {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--qm-veg);
    margin-left: 0.3rem;
}

.qm-pcard-add {
    min-width: 64px;
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 0.4rem;
    background: #fff;
    border: 1.5px solid var(--qm-primary);
    color: var(--qm-primary);
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.qm-pcard-add:hover {
    background: rgba(232,85,43,0.08);
}

.qm-pcard-stepper {
    display: flex;
    align-items: center;
    height: 32px;
    border-radius: 0.4rem;
    background: var(--qm-primary);
    color: #fff;
    overflow: hidden;
}

.qm-pcard-stepper-btn {
    width: 26px;
    height: 32px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.qm-pcard-stepper-qty {
    padding: 0 0.4rem;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.85rem;
}

/* Why Shop Cards */
.qm-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.qm-why-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--qm-border);
    border-radius: 14px;
}

.qm-why-emoji { font-size: 1.6rem; }
.qm-why-title { font-family: var(--heading-font); font-weight: 800; font-size: 0.9rem; }
.qm-why-sub { font-size: 0.78rem; color: var(--qm-text-dim); }

/* Floating WhatsApp Button */
.qm-wa-float {
    position: fixed;
    bottom: 80px;
    right: 1.25rem;
    z-index: 80;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(37,211,102,0.42);
    transition: transform 0.2s ease;
}

.qm-wa-float:hover { transform: scale(1.08); }

/* Sticky View Cart Bar */
.ro-cart-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0.6rem 1.25rem;
    background: #1B8E3C;
    color: #fff;
    box-shadow: 0 -6px 26px rgba(0,0,0,0.2);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}

.ro-cart-bar.active { transform: translateY(0); }

.ro-cart-bar-count { font-family: var(--heading-font); font-weight: 800; font-size: 0.95rem; }
.ro-cart-bar-sub { font-size: 0.75rem; opacity: 0.9; }

.ro-cart-bar-cta {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Slide-over Cart Drawer */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 220;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: #fff;
    z-index: 230;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active { transform: translateX(0); }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 1px solid var(--qm-border);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--qm-text-dim);
}

.service-selector {
    display: flex;
    background: var(--qm-bg-soft);
    padding: 4px;
    margin: 1rem 1.25rem 0;
    border-radius: 0.6rem;
    gap: 4px;
}

.service-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.service-btn.active {
    background: #fff;
    color: var(--qm-primary);
    box-shadow: var(--shadow-sm);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--qm-border);
}

.cart-item-name { font-weight: 700; font-size: 0.95rem; }
.cart-item-price { font-size: 0.85rem; color: var(--qm-text-dim); }

.cart-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--qm-border);
    background: #fafaf9;
}

.bill-details { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.9rem; }
.bill-row { display: flex; justify-content: space-between; }
.bill-row.grand-total { font-family: var(--heading-font); font-weight: 800; font-size: 1.1rem; padding-top: 0.5rem; border-top: 1px solid var(--qm-border); }

/* Buttons & Modals */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 0.6rem;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--qm-primary); color: #fff; box-shadow: 0 4px 14px rgba(232,85,43,0.3); }
.btn-primary:hover { background: var(--qm-accent); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1rem; border-radius: 0.75rem; }
.btn-block { width: 100%; }

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-card {
    background: #fff;
    border-radius: 1rem;
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-lg { max-width: 650px; }
.modal-xl { max-width: 900px; }

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.auth-tabs { display: flex; border-bottom: 1px solid var(--qm-border); margin-bottom: 1.5rem; }
.auth-tab { flex: 1; background: none; border: none; padding: 0.75rem; font-family: var(--heading-font); font-weight: 700; color: var(--qm-text-dim); border-bottom: 2px solid transparent; cursor: pointer; }
.auth-tab.active { color: var(--qm-primary); border-bottom-color: var(--qm-primary); }

.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-title { font-size: 1.35rem; margin-bottom: 0.25rem; }
.auth-sub { font-size: 0.85rem; color: var(--qm-text-dim); margin-bottom: 1.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--qm-border);
    outline: none;
}

.checkout-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--qm-bg-cream);
    padding: 1rem;
    border-radius: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Admin Panel */
.admin-header { margin-bottom: 1.5rem; }
.admin-tabs { display: flex; gap: 0.5rem; margin-top: 1rem; }
.admin-tab { padding: 0.55rem 1.1rem; border-radius: 0.5rem; background: var(--qm-bg-soft); border: none; font-weight: 700; cursor: pointer; }
.admin-tab.active { background: var(--qm-text); color: #fff; }

.admin-content { display: none; }
.admin-content.active { display: block; }

.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.admin-table th, .admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--qm-border); }
.admin-table th { background: var(--qm-bg-soft); font-family: var(--heading-font); font-weight: 700; }

.status-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-preparing { background: #e0f2fe; color: #075985; }
.status-delivered { background: #dcfce7; color: #166534; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.full-width { grid-column: span 2; }

/* Toast */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--qm-text);
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 0.6rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 400;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.25s ease;
}

.toast-notification.active { transform: translateY(0); opacity: 1; }

/* Footer */
#sv-footer {
    background: var(--qm-text);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.qm-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.qm-footer-brand-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.qm-footer-about { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.65); }
.qm-footer-col h4 { font-family: var(--heading-font); font-weight: 800; font-size: 0.95rem; color: #fff; margin-bottom: 0.85rem; }
.qm-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }

.qm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

@media(max-width: 1024px) {
    #qm-search-wrap-desktop { display: none; }
}

@media(max-width: 768px) {
    .qm-location-chip { display: none; }
}

@media(max-width: 640px) {
    .qm-delivery-chip { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}
