:root {
    --bg: #f8f6f2;
    --panel: #ffffff;
    --line: rgba(17, 24, 39, 0.08);
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #ef4e2a;
    --accent-soft: #ff875b;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(239, 78, 42, 0.10), transparent 24%),
        radial-gradient(circle at 90% 0%, rgba(241, 180, 76, 0.08), transparent 20%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 112px;
}
.customer-app-shell {
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .brand-lockup strong { color: #fff; }
.site-header .brand-lockup small { color: rgba(255,255,255,.6); }
.site-header .mobile-primary-link,
.site-header .desktop-actions .btn {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: #fff;
}
.site-header .mobile-primary-link:hover,
.site-header .mobile-primary-link:focus,
.site-header .desktop-actions .btn:hover,
.site-header .desktop-actions .btn:focus {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.18);
    color: #fff;
}
.navbar { padding: 10px 0; }
.app-navbar { padding: 6px 0; }
.app-topbar { min-height: 68px; }
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup strong { display: block; font-size: 15px; }
.brand-lockup small { display: none; color: var(--muted); font-size: 11px; }
.app-brand { gap: 12px; }
.app-brand small {
    display: block;
    margin-bottom: 2px;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.brand-mark, .brand-avatar {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #ff9f5d); color: #fff; font-weight: 700;
}
.brand-avatar.large { width: 64px; height: 64px; font-size: 20px; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.app-header-ghost {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: #fff;
}
.app-cart-chip {
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 16px;
}
.desktop-actions { display: none; }
.mobile-primary-link { min-width: 72px; }
.cart-trigger { display: none; }
.cart-trigger, .bottom-nav-button {
    border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; background: rgba(255, 255, 255, 0.04); border-radius: 999px;
}
.btn-light-soft,
.btn-danger,
.btn-outline-light {
    background: #fff;
    color: #101010;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    font-weight: 600;
    min-height: 46px;
    padding: 11px 16px;
}
.btn-light-soft:hover,
.btn-light-soft:focus,
.btn-danger:hover,
.btn-danger:focus,
.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #fff7f3;
    color: #101010;
    border-color: rgba(239, 78, 42, 0.18);
}
.cart-trigger,
.bottom-nav-button {
    border: 1px solid rgba(246, 241, 234, 0.85);
    color: #101010;
    background: rgba(246, 241, 234, 0.92);
}
.cart-count-badge {
    display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; margin-left: 8px; background: var(--accent); font-size: 12px;
}

.hero-section, .shop-detail-hero, .page-hero, .dashboard-hero, .auth-shell { padding: 20px 0 24px; }
.hero-section, .shop-detail-hero { background-size: cover; background-position: center; }
.hero-shell, .detail-shell, .auth-card {
    max-width: 760px; padding: 20px; border: 1px solid var(--line); border-radius: 24px;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.app-main {
    display: grid;
    gap: 8px;
}
.app-hero-shell,
.app-page-shell,
.app-detail-shell {
    max-width: 100%;
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 50px rgba(15,23,42,.10);
}
.app-inline-row,
.app-section-header,
.app-shop-title-row,
.app-dish-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.app-inline-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(239,78,42,.10);
    color: #c2410c;
    font-size: 12px;
    font-weight: 600;
}
.simple-hero .hero-shell { max-width: 620px; }
.simple-detail-hero .detail-shell { max-width: 680px; }
.eyebrow, .section-kicker {
    display: inline-block; color: var(--accent-soft); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.06; margin: 0; font-weight: 700; }
h1 { font-size: clamp(30px, 9vw, 70px); max-width: 720px; }
h2 { font-size: clamp(24px, 4vw, 38px); }
h3 { font-size: 20px; }
p { color: var(--muted); line-height: 1.7; }

.hero-search, .filter-bar { display: grid; gap: 12px; margin-top: 24px; }
.hero-search input, .filter-bar input, .form-control, .form-select, textarea {
    width: 100%; border: 1px solid rgba(17,24,39,.1); background: #fff;
    color: var(--text); border-radius: 18px; padding: 14px 16px;
}
.hero-search input::placeholder, .filter-bar input::placeholder, textarea::placeholder { color: rgba(107,114,128,.85); }
.app-search-bar,
.app-filter-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
}
.app-primary-button {
    min-width: 108px;
    background: linear-gradient(135deg, var(--accent), #ff7e4b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 26px rgba(239,78,42,.24);
}
.app-primary-button:hover,
.app-primary-button:focus {
    background: linear-gradient(135deg, #e14521, #ff7440);
    border-color: transparent;
    color: #fff;
}
.app-secondary-button {
    background: #fff;
    color: #111827;
    border-color: rgba(17,24,39,.08);
}
.app-secondary-button:hover,
.app-secondary-button:focus {
    background: #fff7f3;
    color: #111827;
    border-color: rgba(239,78,42,.18);
}
.app-view-menu-button {
    background: #ef4e2a;
    color: #fff;
    border-color: #ef4e2a;
}
.app-view-menu-button:hover,
.app-view-menu-button:focus {
    background: #d94321;
    color: #fff;
    border-color: #d94321;
}
.shop-search-input {
    border-color: rgba(239,78,42,.45);
    background: #fff7f3;
    color: var(--text);
}
.shop-search-input::placeholder {
    color: rgba(255,177,147,.82);
}

.hero-metrics, .meta-row, .detail-meta, .price-row, .shop-title-row, .dish-actions, .summary-row {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-metrics { margin-top: 24px; }
.hero-metrics div { min-width: 110px; }
.hero-metrics strong, .stat-card strong { display: block; font-size: 24px; }
.app-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.app-hero-metrics div {
    min-width: 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(17,24,39,.04);
}

.section-block { padding: 24px 0; }
.section-heading {
    display: grid; gap: 10px; margin-bottom: 18px;
}
.section-heading.compact { margin-bottom: 18px; }
.section-dark-panel { background: rgba(255,255,255,.65); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-top: 16px;
}
.app-chip-row.compact { margin-top: 8px; }
.app-quick-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff5ef;
    color: #9a3412;
    border: 1px solid rgba(239,78,42,.10);
    font-size: 13px;
    font-weight: 600;
}
.app-quick-chip.static { pointer-events: none; }
.app-home-stack {
    display: grid;
    gap: 18px;
}
.app-home-banner {
    padding-top: 14px;
    padding-bottom: 10px;
    background-size: cover;
    background-position: center;
}
.app-home-banner-shell {
    display: grid;
    gap: 6px;
    min-height: 96px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(17,17,17,.62);
    color: #fff;
    backdrop-filter: blur(14px);
}
.app-home-banner-shell h1 {
    font-size: clamp(24px, 7vw, 34px);
    max-width: none;
}
.app-home-banner-shell p {
    margin: 0;
    color: rgba(255,255,255,.74);
    line-height: 1.5;
}
.app-home-contact {
    font-size: 13px;
    color: rgba(255,255,255,.86);
}
.app-section-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}
.app-section-link {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

.shop-grid, .dish-grid, .stats-grid, .signature-products-row { display: grid; gap: 16px; }
.shop-card, .dish-card, .panel-card, .stat-card, .auth-card {
    border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,246,242,.9));
    overflow: hidden; box-shadow: var(--shadow);
}
.shop-card-cover, .dish-image, .menu-thumb, .featured-food-thumb, .signature-product-image, .cart-line-image, .summary-item-thumb {
    background-size: cover; background-position: center;
}
.shop-card-cover { min-height: 210px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px; }
.status-pill, .tiny-badge, .food-pill, .offer-pill, .cuisine-tags span, .menu-category-link, .category-chip {
    display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px 14px; font-size: 12px;
}
.status-pill.open, .status-ready, .status-completed { background: rgba(31, 199, 106, 0.16); color: #86f0b6; }
.status-pill.closed, .status-cancelled { background: rgba(17,24,39,.08); color: var(--text); }
.status-new, .status-accepted, .status-preparing, .status-ready, .status-completed, .status-cancelled {
    display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px;
}
.status-new, .status-accepted, .status-preparing { background: rgba(241,180,76,.16); color: #ffd28b; }
.offer-pill, .tiny-badge, .category-chip { background: rgba(239,78,42,.12); color: #c2410c; }
.food-pill, .cuisine-tags span, .menu-category-link { background: rgba(17,24,39,.05); color: var(--text); }
.food-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.food-status-dot::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #34c759;
    box-shadow: 0 0 0 3px rgba(52,199,89,.12);
}
.food-status-dot.non-veg::before {
    background: #ff5a4f;
    box-shadow: 0 0 0 3px rgba(255,90,79,.12);
}

.shop-card-body, .dish-card-body, .panel-card, .stat-card { padding: 16px; }
.featured-food-strip { display: flex; gap: 10px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.featured-food-thumb { width: 58px; height: 58px; border-radius: 18px; border: 1px solid rgba(17,24,39,.08); }
.relevant-food-strip { margin-top: 14px; }
.app-promo-strip,
.app-shop-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}
.app-shop-toolbar {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}
.app-shop-toolbar-copy {
    margin-bottom: 0;
}
.compact-shop-search-form {
    display: flex;
    justify-content: flex-end;
}
.compact-shop-search-input {
    width: min(100%, 190px);
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px;
}
.app-promo-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff1ea, #fff8f4);
    border: 1px solid rgba(239,78,42,.12);
}
.app-promo-card strong {
    font-size: 18px;
    line-height: 1.25;
}
.app-promo-shop,
.app-promo-link,
.app-dish-shop {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9a3412;
}
.app-dish-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 14px;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 4px;
}
.app-dish-card {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
}
.app-dish-image {
    min-height: 160px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}
.app-dish-copy h3 {
    margin-top: 6px;
    margin-bottom: 8px;
    font-size: 18px;
}
.shop-title-row { align-items: flex-start; }
.shop-title-row p, .dish-card-body p { margin: 4px 0 0; }
.app-shop-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    padding: 14px;
    border-radius: 26px;
}
.app-shop-copy {
    display: grid;
    align-content: start;
    gap: 12px;
}
.app-shop-title-row {
    justify-content: flex-start;
    align-items: flex-start;
}
.app-shop-title-row p {
    margin: 4px 0 0;
}
.app-shop-visual {
    display: grid;
    gap: 10px;
    align-content: start;
}
.app-shop-cover {
    min-height: 132px;
    border-radius: 22px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
}
.app-stall-card {
    overflow: hidden;
    border-radius: 26px;
}
.app-stall-cover {
    position: relative;
    display: block;
    min-height: 184px;
    padding: 14px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
}
.app-stall-cover .status-pill {
    position: absolute;
    top: 14px;
    right: 14px;
}
.app-stall-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    gap: 10px;
    color: #fff;
}
.app-stall-overlay h3 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}
.app-stall-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.app-stall-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
}
.app-stall-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(239,78,42,.92);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.app-stall-actions {
    padding: 12px 14px 14px;
    background: rgba(255,255,255,.94);
    border-top: 1px solid rgba(17,24,39,.06);
}
.app-offer-line {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(239,78,42,.08);
    color: #c2410c;
    font-size: 13px;
    font-weight: 600;
}
.dish-image { min-height: 220px; }
.dish-actions { justify-content: space-between; align-items: center; margin-top: 14px; }
.category-row, .quick-links, .offer-list, .review-list, .table-stack, .info-list, .menu-items { display: grid; gap: 12px; }
.split-grid, .checkout-layout, .menu-layout { display: grid; gap: 16px; }
.meta-row span,
.detail-meta span,
.simple-menu-time {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(17,24,39,.05);
}
.filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 18px;
    background: rgba(17,24,39,.03);
}
.filter-toggle input { margin: 0; }

.menu-category-link { justify-content: flex-start; }
.menu-item-card {
    display: grid; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.92);
}
.menu-item-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.menu-thumb { min-height: 150px; margin-bottom: 12px; border-radius: 22px; }
.menu-item-side { min-width: 140px; }
.price-row { align-items: center; }
.price-row span { color: rgba(107,114,128,.82); text-decoration: line-through; }

.signature-products-panel { padding: 20px; }
.cart-context-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}
.cart-context-panel.is-active {
    border-color: rgba(31,199,106,.4);
    background: linear-gradient(180deg, rgba(31,199,106,.08), rgba(255,255,255,.02));
}
.cart-context-panel.is-locked {
    border-color: rgba(239,78,42,.35);
    background: linear-gradient(180deg, rgba(239,78,42,.08), rgba(255,255,255,.02));
}
.app-page-hero {
    padding-top: 14px;
}
.app-detail-brand {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}
.app-detail-meta {
    margin-top: 16px;
}
.app-detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.app-detail-hero {
    padding-top: 10px;
    padding-bottom: 8px;
}
.compact-stall-hero {
    padding: 14px 16px;
    border-radius: 22px;
}
.compact-brand-avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
    border-radius: 14px;
}
.compact-stall-hero h1 {
    font-size: clamp(22px, 6vw, 28px);
    max-width: none;
}
.compact-stall-subtitle {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.45;
}
.compact-stall-hero .section-kicker {
    margin-bottom: 6px;
    font-size: 10px;
}
.compact-stall-hero .detail-meta {
    margin-top: 10px;
    gap: 8px;
}
.compact-stall-hero .detail-meta span {
    padding: 6px 10px;
    font-size: 12px;
}
.compact-cuisine-row {
    margin-top: 10px;
    gap: 8px;
}
.compact-cuisine-row .app-quick-chip {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
}
.compact-detail-actions {
    margin-top: 12px;
}
.compact-detail-actions .btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 12px;
}
.app-cart-context {
    padding: 18px;
    border-radius: 24px;
}
.menu-toolbar {
    display: grid;
    gap: 12px;
}
.signature-product-card {
    display: grid; gap: 14px; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.signature-product-image { min-height: 180px; border-radius: 20px; }
.signature-product-copy strong { display: inline-block; margin-top: 10px; }
.simple-menu-layout { display: grid; gap: 16px; }
.app-menu-layout {
    gap: 18px;
}
.menu-section {
    margin-top: -2px;
}
.simple-menu-block { padding: 16px; }
.app-menu-block {
    padding: 18px;
    border-radius: 28px;
}
.simple-menu-card { grid-template-columns: 1fr; align-items: stretch; }
.app-menu-card {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
    box-shadow: none;
}
.simple-menu-thumb {
    min-height: 200px;
    width: 100%;
    margin-bottom: 0;
    border-radius: 20px;
}
.app-menu-toolbar {
    position: sticky;
    top: 78px;
    z-index: 24;
}
.compact-menu-search-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -6px;
}
.menu-filter-toolbar .compact-menu-search-row {
    margin-top: 10px;
    justify-content: flex-start;
}
.compact-menu-search {
    width: min(100%, 170px);
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px;
}
.app-menu-meta {
    gap: 8px;
}
.app-menu-side {
    position: relative;
}
.app-add-button {
    position: relative;
    margin-top: -20px;
    min-height: 40px;
    background: #fff;
    border-color: rgba(239,78,42,.3);
    color: var(--accent);
    box-shadow: 0 10px 20px rgba(15,23,42,.10);
}
.app-add-button:hover,
.app-add-button:focus {
    background: #fff7f3;
    color: var(--accent);
    border-color: rgba(239,78,42,.4);
}
.simple-menu-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
}
.simple-menu-time {
    color: var(--muted);
    font-size: 13px;
    justify-content: center;
}
.simple-menu-actions .btn,
.detail-actions .btn { width: 100%; }
.shop-light-button {
    background: rgba(255,255,255,.94);
    color: #101010;
    border-color: rgba(255,255,255,.94);
}
.shop-light-button:hover,
.shop-light-button:focus {
    background: #fff;
    border-color: #fff;
    color: #101010;
}

.form-grid { display: grid; gap: 16px; }
.full-span { grid-column: 1 / -1; }
.form-note, .drawer-subtitle { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.5); }
.form-label {
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}
.checkout-form {
    display: grid;
    gap: 16px;
}
.checkout-form .btn-lg {
    min-height: 54px;
    font-size: 16px;
}

.cart-drawer { background: #101010; color: #fff; width: 100vw; max-width: 100vw; }
.cart-items { display: grid; gap: 12px; }
.cart-active-stall {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(17,24,39,.05);
    margin-bottom: 12px;
}
.cart-active-stall small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
}
.cart-line { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.05); }
.cart-line-header, .cart-qty-row, .table-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cart-qty-row { margin-top: 12px; }
.cart-line-main, .summary-item-main { display: flex; gap: 12px; align-items: center; }
.cart-line-copy { flex: 1; }
.cart-line-image, .summary-item-thumb { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); }
.summary-item-row { display: block; }
.qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.qty-controls button {
    width: 30px; height: 30px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff;
}

.quick-links a, .offer-item, .review-item, .table-row, .info-list div {
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.92);
}
.table-row-right { text-align: right; }
.detail-brand { display: grid; gap: 14px; }
.detail-actions { display: grid; gap: 12px; margin-top: 16px; }

.floating-cart {
    position: fixed; left: 16px; right: 16px; bottom: 86px; z-index: 1030; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
    border: 0; border-radius: 18px; padding: 14px 18px; background: linear-gradient(135deg, var(--accent), #ff7e4b); color: #fff;
    box-shadow: 0 20px 40px rgba(239,78,42,.4);
}
.bottom-nav {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 1020; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    padding: 10px 12px; background: rgba(8,8,8,.96); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(15,23,42,.24);
}
.bottom-nav-link {
    display: grid; place-items: center; min-height: 52px; padding: 12px 8px; border-radius: 16px; font-size: 13px; color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.06); border: 0;
}

.bottom-nav-link-accent {
    background: linear-gradient(135deg, var(--accent), #ff7e4b);
    color: #fff;
    box-shadow: 0 12px 26px rgba(239,78,42,.28);
}
.bottom-nav-button strong {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    min-width: 18px;
}

.bottom-nav-link-accent:hover,
.bottom-nav-link-accent:focus {
    color: #fff;
}
.simple-metrics strong { font-size: 28px; }

.compact-page-hero, .dashboard-hero { padding-bottom: 12px; }
.stat-card { min-height: 120px; }
.auth-shell { min-height: calc(100vh - 160px); display: grid; place-items: center; }
.auth-card { width: min(100%, 620px); }
.auth-form-stack {
    display: grid;
    gap: 12px;
}
.auth-demo-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}
.auth-demo-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.empty-state { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); color: var(--muted); }
.app-toast {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    z-index: 1080;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}
.app-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.app-toast.is-warning { border-color: rgba(239,78,42,.5); }
.app-toast.is-success { border-color: rgba(31,199,106,.45); }
.menu-filter-toolbar {
    position: sticky;
    top: 124px;
    z-index: 30;
    padding: 12px 12px;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(17,24,39,.06);
    backdrop-filter: blur(16px);
    margin-bottom: 14px;
}
.menu-category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.menu-category-strip::-webkit-scrollbar {
    display: none;
}
.menu-scroll-chip {
    white-space: nowrap;
    padding: 10px 16px;
    background: rgba(17,24,39,.05);
    border: 1px solid rgba(17,24,39,.06);
    color: #111827;
}
.menu-scroll-chip:hover,
.menu-scroll-chip:focus {
    background: rgba(17,24,39,.08);
    border-color: rgba(17,24,39,.10);
    color: #111827;
}
.menu-scroll-chip.active {
    background: rgba(8,8,8,.94);
    border-color: rgba(8,8,8,.94);
    color: #fff;
}
.zomato-menu-card {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 14px;
    align-items: start;
}
.zomato-menu-side {
    align-items: center;
    gap: 10px;
}
.zomato-menu-thumb {
    width: 118px;
    min-height: 118px;
    border-radius: 18px;
}
.zomato-menu-card .menu-item-top {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.zomato-menu-card h3 {
    margin-bottom: 6px;
    font-size: 18px;
}
.zomato-menu-card p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
}
.zomato-menu-card .price-row {
    margin-top: 12px;
}
.zomato-menu-card .meta-row {
    gap: 8px;
}
.zomato-menu-card .add-to-cart {
    min-height: 42px;
    width: 100%;
}

.dashboard-page {
    padding-bottom: 32px;
}

.dashboard-mode-vendor {
    padding-bottom: 98px;
}

.dashboard-header {
    margin-bottom: 18px;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dashboard-shell {
    display: grid;
    gap: 16px;
    align-items: start;
}

.dashboard-sidebar {
    padding: 16px;
    position: static;
    overflow: hidden;
}

.dashboard-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin: 0 -2px;
}

.dashboard-nav::-webkit-scrollbar {
    display: none;
}

.dashboard-sidebar .section-heading {
    margin-bottom: 12px;
}

.dashboard-sidebar .section-kicker {
    margin-bottom: 6px;
}

.dashboard-sidebar h2 {
    font-size: 18px;
}

.dashboard-page .dashboard-hero {
    padding-top: 12px;
    padding-bottom: 20px;
}

.dashboard-page .dashboard-hero .container {
    padding-left: 0;
    padding-right: 0;
    gap: 8px;
}

.dashboard-mode-vendor .dashboard-sidebar {
    display: none;
}

.dashboard-mode-vendor .dashboard-shell {
    grid-template-columns: 1fr;
}

.dashboard-nav-link {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: var(--muted);
    white-space: nowrap;
    flex: 0 0 auto;
    font-weight: 600;
}

.dashboard-nav-link.active {
    background: rgba(239,78,42,.12);
    border-color: rgba(239,78,42,.3);
    color: #fff;
}

.dashboard-content {
    display: grid;
    gap: 16px;
}

.dashboard-mobile-tabs {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: rgba(8,8,8,.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    z-index: 40;
}

.dashboard-mobile-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,.03);
}

.dashboard-mobile-tab.active {
    background: rgba(239,78,42,.14);
    color: #fff;
}

.dashboard-notice {
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 600;
    border: 1px solid transparent;
}

.dashboard-notice.is-success {
    color: #d9ffe9;
    background: rgba(31,199,106,.12);
    border-color: rgba(31,199,106,.22);
}

.dashboard-notice.is-error {
    color: #ffd3c6;
    background: rgba(239,78,42,.12);
    border-color: rgba(239,78,42,.24);
}

.admin-card-stack {
    display: grid;
    gap: 16px;
}

.admin-form-card {
    padding: 18px;
}

.dashboard-form-grid {
    display: grid;
    gap: 14px;
}

.vendor-shop-screen {
    padding: 16px;
    border-radius: 24px;
}

.vendor-shop-section-heading {
    display: flex;
    align-items: center;
    margin-top: 2px;
    margin-bottom: -2px;
}

.vendor-shop-section-heading span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(255,255,255,.06);
    color: var(--muted);
}

.vendor-shop-toggle-grid {
    display: grid;
    gap: 10px;
}

.vendor-shop-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}

.vendor-shop-toggle input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.vendor-shop-toggle-copy {
    display: grid;
    gap: 2px;
}

.vendor-shop-toggle-copy strong {
    font-size: 14px;
    line-height: 1.2;
}

.vendor-shop-toggle-copy small {
    color: var(--muted);
    line-height: 1.35;
}

.vendor-order-list {
    display: grid;
    gap: 14px;
}

.vendor-order-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
}

.vendor-order-head,
.vendor-order-meta,
.vendor-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vendor-order-head {
    justify-content: space-between;
    align-items: flex-start;
}

.vendor-order-head p,
.vendor-order-body p {
    margin: 4px 0 0;
}

.vendor-order-meta span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(17,24,39,.05);
    font-size: 12px;
}

.vendor-order-body {
    display: grid;
    gap: 12px;
}

.vendor-order-actions {
    margin-top: 2px;
}

.vendor-status-button {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.vendor-status-button.active {
    background: #ef4e2a;
    color: #fff;
    border-color: #ef4e2a;
}

.dashboard-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}

.dashboard-check-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.admin-form-actions {
    margin-top: 16px;
}

@media (min-width: 768px) {
    body { padding-bottom: 32px; }
    .container { padding-left: 24px; padding-right: 24px; }
    .brand-lockup small { display: block; }
    .desktop-actions { display: flex; gap: 8px; align-items: center; }
    .mobile-primary-link { display: none; }
    .cart-trigger { display: inline-flex; }
    .app-hero-shell,
    .app-page-shell,
    .app-detail-shell {
        padding: 26px;
    }
    .hero-search, .filter-bar { grid-template-columns: 1fr auto auto auto; }
    .section-heading {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 20px;
    }
    .cart-context-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
    .app-promo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .app-shop-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
    .app-shop-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .signature-products-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .split-grid, .checkout-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .menu-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
    .menu-categories { position: sticky; top: 90px; }
    .menu-item-card { grid-template-columns: minmax(0, 1fr) 180px; align-items: center; }
    .detail-brand { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
    .detail-actions { display: flex; flex-wrap: wrap; }
    .detail-actions .btn { width: auto; }
    .app-detail-actions {
        max-width: 320px;
    }
    .simple-menu-card { grid-template-columns: 120px minmax(0, 1fr) 140px; }
    .simple-menu-thumb { width: 120px; min-height: 120px; }
    .simple-menu-actions { flex-direction: column; align-items: stretch; justify-content: center; }
    .app-menu-toolbar {
        top: 92px;
    }
    .compact-menu-search {
        width: 190px;
    }
    .compact-shop-search-input {
        width: 220px;
    }
    .zomato-menu-card {
        grid-template-columns: minmax(0, 1fr) 140px;
        align-items: center;
    }
    .zomato-menu-thumb {
        width: 140px;
        min-height: 140px;
    }
    .menu-category-strip {
        top: 160px;
    }
    .menu-filter-toolbar {
        top: 146px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }
    .menu-filter-toolbar .compact-menu-search-row {
        margin-top: 0;
        justify-content: flex-end;
    }
    .app-toast {
        left: auto;
        right: 24px;
        width: 360px;
    }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-shell { grid-template-columns: 280px minmax(0, 1fr); }
    .dashboard-mode-vendor {
        padding-bottom: 32px;
    }
    .dashboard-mode-vendor .dashboard-sidebar {
        display: block;
    }
    .dashboard-mode-vendor .dashboard-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }
    .dashboard-sidebar {
        position: sticky;
        top: 84px;
    }
    .dashboard-nav {
        display: grid;
        overflow: visible;
        margin: 0;
        padding-bottom: 0;
    }
    .dashboard-page .dashboard-hero .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .dashboard-mobile-tabs {
        display: none;
    }
    .dashboard-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vendor-shop-toggle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bottom-nav, .floating-cart { display: none; }
    .cart-drawer { width: min(430px, 100vw); max-width: min(430px, 100vw); }
}
