:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #131313;
  --panel-2: #1b1b1b;
  --text: #f7f6f2;
  --muted: #aaa9a3;
  --line: rgba(255,255,255,.11);
  --accent: #d92d27;
  --accent-soft: rgba(217,45,39,.14);
  --control: rgba(18,18,18,.88);
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  --max: 1120px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f1;
  --panel: #fff;
  --panel-2: #ebeae6;
  --text: #111;
  --muted: #66645f;
  --line: rgba(0,0,0,.1);
  --control: rgba(255,255,255,.9);
  --shadow: 0 18px 45px rgba(30,25,20,.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 76px; padding: 8px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; background: rgba(8,8,8,.82); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: 84px; height: 60px; object-fit: contain; object-position: left center; filter: invert(1); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: rgba(20,20,20,.76); cursor: pointer; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sun-icon { display: block; }
.moon-icon { display: none; }
.language-toggle { height: 44px; display: flex; align-items: center; padding: 4px; gap: 2px; border: 1px solid rgba(255,255,255,.15); background: rgba(20,20,20,.76); color: #aaa; border-radius: 99px; cursor: pointer; }
.language-toggle span { width: 36px; height: 34px; display: grid; place-items: center; border-radius: 99px; font-weight: 800; font-size: 12px; }
.language-toggle .active { color: #111; background: #fff; }

.hero { min-height: 390px; height: 48vh; max-height: 520px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #111 url('/images/selected/mains.webp') center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.82), rgba(0,0,0,.2) 72%), linear-gradient(to top, rgba(0,0,0,.84), transparent 52%); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 80% 12%, rgba(217,45,39,.17), transparent 38%); }
.hero-content { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 110px 0 58px; position: relative; z-index: 1; color: #fff; }
.eyebrow { display: inline-flex; border-left: 3px solid var(--accent); padding-left: 11px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; color: #e5e5df; }
.hero h1 { white-space: pre-line; margin: 16px 0 12px; max-width: 720px; font-size: clamp(40px, 7vw, 68px); line-height: .98; letter-spacing: -.05em; }
.hero p { margin: 0; color: #d3d2cd; font-size: 16px; }

.daily-offers { width: min(760px, calc(100% - 28px)); margin: 24px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.offer-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.offer-card > img { width: 100%; aspect-ratio: 16 / 10; display: block; object-fit: cover; object-position: center; }
.offer-card-body { padding: 15px 16px 17px; }
.offer-kicker { display: block; margin-bottom: 5px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.offer-card h2 { margin: 0 0 7px; font-size: clamp(21px, 2.4vw, 29px); letter-spacing: -.035em; }
.offer-card p { min-height: 42px; margin: 0 0 13px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.offer-card strong { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 11px; border-radius: 999px; color: var(--panel); background: var(--text); font-size: 18px; line-height: 1; }
.offer-card strong small { color: var(--accent); font-size: 9px; letter-spacing: .06em; }

.outlet-strip { width: min(var(--max), calc(100% - 28px)); min-height: 68px; margin: -28px auto 0; position: relative; z-index: 4; border: 1px solid var(--line); background: var(--control); backdrop-filter: blur(18px); border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px 11px 18px; box-shadow: var(--shadow); }
.outlet-strip > div { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #36c276; box-shadow: 0 0 0 5px rgba(54,194,118,.12); }
.outlet-strip a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; background: var(--text); color: var(--bg); border-radius: 12px; font-weight: 800; font-size: 13px; }
.outlet-strip .review-link { background: var(--accent); color: #fff; }
.outlet-strip svg { width: 16px; height: 16px; fill: currentColor; }

.menu-tools { width: min(var(--max), calc(100% - 28px)); margin: 24px auto 14px; }
.search-box { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.search-box:focus-within { border-color: rgba(217,45,39,.55); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; }
.search-box input::placeholder { color: var(--muted); }
#clearSearch { width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; cursor: pointer; font-size: 23px; display: none; }

.category-nav { position: sticky; top: 76px; z-index: 30; display: flex; gap: 8px; padding: 10px max(14px, calc((100% - var(--max)) / 2)); overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 91%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.category-nav::-webkit-scrollbar { display: none; }
.category-chip { min-height: 42px; flex: none; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--muted); font-size: 13px; font-weight: 750; cursor: pointer; }
.category-chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.menu-shell { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; padding: 32px 0 80px; }
.results-meta { min-height: 20px; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.menu-section { scroll-margin-top: 140px; margin-bottom: 58px; }
.section-head { min-height: 210px; margin-bottom: 16px; overflow: hidden; display: flex; align-items: flex-end; position: relative; background-color: #171717; background-position: center; background-size: cover; border-radius: 22px; }
.section-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.08)); }
.partner-head { min-height: 250px; background-position: center; }
.partner-head::after { background: linear-gradient(90deg, rgba(0,53,44,.94) 0%, rgba(0,53,44,.35) 52%, rgba(0,20,17,.18)), linear-gradient(to top, rgba(0,27,22,.9), transparent 70%); }
.partner-costa::after { background: linear-gradient(270deg, rgba(91,0,36,.9) 0%, rgba(91,0,36,.28) 52%, rgba(20,0,8,.08)), linear-gradient(to top, rgba(55,0,21,.72), transparent 70%); }
.partner-costa .section-title { width: 64%; margin-left: auto; }
.partner-logo { position: absolute; z-index: 2; top: 18px; left: 18px; width: 74px; height: 74px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.section-title { position: relative; z-index: 2; padding: 22px; color: #fff; }
.section-title small { display: block; margin-bottom: 5px; color: #d4d3cd; font-size: 13px; }
.section-title h2 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1; letter-spacing: -.04em; }
.item-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.menu-item { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 8px 24px rgba(0,0,0,.08); transition: transform .2s ease, border-color .2s ease; }
.menu-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.item-photo-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); }
.item-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.item-content { flex: 1; padding: 17px; display: flex; flex-direction: column; }
.item-name { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.018em; }
.item-ar { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.item-bottom { margin-top: auto; padding-top: 13px; display: flex; flex-direction: column; align-items: stretch; gap: 13px; }
.item-desc { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.item-bottom .price { align-self: flex-start; }
.price { white-space: nowrap; font-weight: 850; font-size: 16px; letter-spacing: -.01em; }
.price::before { content: "AED "; color: var(--accent); font-size: 10px; letter-spacing: .06em; }

.size-key { display: flex; justify-content: flex-end; align-items: center; gap: 7px; margin: -2px 2px 10px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.compact-grid { grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.coffee-item { min-height: 74px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.coffee-item:last-child { border-bottom: 0; }
.coffee-item .item-name { font-size: 16px; }
.coffee-item .item-ar { font-size: 13px; }
.coffee-meta { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.3; }
.multi-price { text-align: end; font-size: 15px; }
.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); }
.empty-state span { font-size: 48px; }
.empty-state h2 { color: var(--text); }

.terms-section { width: min(var(--max), calc(100% - 28px)); margin: 0 auto 38px; }
.terms-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.terms-card summary { min-height: 58px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text); cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; }
.terms-card summary::-webkit-details-marker { display: none; }
.terms-card summary::after { content: "+"; flex: none; color: var(--accent); font-size: 24px; font-weight: 500; line-height: 1; }
.terms-card[open] summary { border-bottom: 1px solid var(--line); }
.terms-card[open] summary::after { content: "−"; }
.terms-card ul { margin: 0; padding: 18px 42px 20px; color: var(--muted); }
.terms-card li { padding-inline-start: 3px; font-size: 13px; line-height: 1.6; }
.terms-card li + li { margin-top: 9px; }

footer { padding: 52px 24px max(52px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.footer-logo { width: 150px; height: 112px; object-fit: contain; margin-bottom: 16px; filter: invert(1); }
footer p { margin: 0 0 12px; color: var(--text); font-size: 18px; font-weight: 800; }
footer a { color: var(--text); font-size: 14px; }
footer small { margin-top: 24px; max-width: 520px; line-height: 1.55; font-size: 12px; }

html[data-theme="light"] .brand-logo,
html[data-theme="light"] .footer-logo { filter: none; }
html[data-theme="light"] .topbar { background: rgba(255,255,255,.88); border-color: rgba(0,0,0,.08); }
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .language-toggle { background: rgba(245,245,242,.92); border-color: rgba(0,0,0,.11); }
html[data-theme="light"] .theme-toggle svg { stroke: #111; }
html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }
html[data-theme="light"] .language-toggle { color: #65635e; }
html[data-theme="light"] .language-toggle .active { color: #fff; background: #111; }

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .eyebrow { border-left: 0; border-right: 3px solid var(--accent); padding-left: 0; padding-right: 11px; }
html[dir="rtl"] .partner-logo { left: auto; right: 18px; }
html[dir="rtl"] .item-bottom { direction: rtl; }
html[dir="rtl"] .price { direction: ltr; }

@media (min-width: 600px) {
  .item-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .compact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .coffee-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .coffee-item:nth-last-child(-n+2) { border-bottom: 0; }
  html[dir="rtl"] .coffee-item:nth-child(odd) { border-right: 0; border-left: 1px solid var(--line); }
}

@media (max-width: 599px) {
  .daily-offers { grid-template-columns: 1fr; }
}

@media (min-width: 860px) {
  .topbar { padding-inline: max(28px, calc((100% - var(--max)) / 2)); }
  .brand-logo { width: 96px; height: 64px; }
  .hero { min-height: 430px; }
  .item-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .compact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .item-content { padding: 19px; }
  .section-head { min-height: 275px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
