/* ============================================================
   MenuAtlas Android UI – app-android.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --brand:       #e86c2f;
  --brand-dk:    #c8541e;
  --brand-lt:    rgba(232,108,47,.12);
  --brand-glow:  rgba(232,108,47,.35);
  --green:       #2ecc71;
  --red:         #e74c3c;
  --blue:        #3498db;
  --gold:        #f59e0b;

  --bg:          #0d0805;
  --bg2:         #150d06;
  --surface:     #1e1409;
  --surface2:    #261a0b;
  --surface3:    #30200d;
  --border:      rgba(255,255,255,.08);
  --border2:     rgba(255,255,255,.14);

  --text:        #f5ede3;
  --text2:       rgba(245,237,227,.65);
  --text3:       rgba(245,237,227,.38);

  --r:           20px;
  --r-sm:        12px;
  --r-xs:        8px;

  --ff:          'Sora', sans-serif;
  --ff-body:     'DM Sans', sans-serif;

  --nav-h:       68px;
  --top-h:       58px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── APP SHELL ───────────────────────────────────────────── */
#ma-app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
}
#ma-app::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), #f5a623, var(--brand), transparent);
  z-index: 1000;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
#ma-topbar {
  position: sticky;
  top: 0;
  height: var(--top-h);
  background: rgba(13,8,5,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 500;
  transition: box-shadow .2s;
}
#ma-topbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.ma-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.ma-logo {
  font-family: var(--ff);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-decoration: none !important;
}
.ma-logo span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  font-family: var(--ff-body);
  -webkit-text-fill-color: var(--text3);
  margin-top: 2px;
}
.ma-topbar-actions { display: flex; gap: 8px; align-items: center; }
.ma-top-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .15s;
  position: relative;
  text-decoration: none !important;
}
.ma-top-btn:hover { background: var(--surface3); text-decoration: none; }
.ma-top-btn:active { transform: scale(.92); }
.ma-top-btn svg { width: 18px; height: 18px; fill: var(--text2); }
.ma-top-add { background: var(--brand-lt); border-color: var(--brand-glow); }
.ma-top-add svg { fill: var(--brand); }

/* User dropdown */
.ma-user-menu { position: relative; }
.ma-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  z-index: 600;
  overflow: hidden;
}
.ma-user-menu:hover .ma-dropdown { display: block; }
.ma-dropdown-name {
  padding: 12px 16px 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--ff);
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ma-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text2);
  transition: background .15s;
}
.ma-dropdown a:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.ma-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── MAIN CONTENT ────────────────────────────────────────── */
.ma-main {
  flex: 1;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom));
}

/* ── FLASH ───────────────────────────────────────────────── */
.ma-flash {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 600;
  border-bottom: 1px solid transparent;
}
.ma-flash svg { width: 18px; height: 18px; flex-shrink: 0; }
.ma-flash-success { background: rgba(46,204,113,.12); color: var(--green); border-color: rgba(46,204,113,.2); }
.ma-flash-success svg { fill: var(--green); }
.ma-flash-error   { background: rgba(231,76,60,.1);  color: var(--red);   border-color: rgba(231,76,60,.2); }
.ma-flash-error svg { fill: var(--red); }

/* ── BOTTOM NAV ──────────────────────────────────────────── */
#ma-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(13,8,5,.96);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
  z-index: 400;
}
.ma-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 2px;
  text-decoration: none !important;
  color: var(--text3);
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.ma-nav-item:hover, .ma-nav-item.active { color: var(--brand); }
.ma-nav-icon {
  width: 44px; height: 32px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.ma-nav-item.active .ma-nav-icon { background: var(--brand-lt); }
.ma-nav-item:active .ma-nav-icon { transform: scale(.88); }
.ma-nav-icon svg { width: 22px; height: 22px; fill: currentColor; }
.ma-nav-label { font-size: 11px; font-family: var(--ff); font-weight: 500; }
.ma-nav-item.active .ma-nav-label { font-weight: 700; }
.ma-nav-add-icon {
  background: var(--brand) !important;
  border-radius: 18px;
  width: 52px; height: 34px;
}
.ma-nav-add-icon svg { fill: #fff !important; }
.ma-nav-add { color: var(--brand) !important; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ══════════════════════════════════════════════════════════
   COMPONENTS
══════════════════════════════════════════════════════════ */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-family: var(--ff);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s;
  text-decoration: none !important;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--ff-body);
}
.btn:active { transform: scale(.96); }
.btn-primary  { background: var(--brand);   border-color: var(--brand);   color: #fff; }
.btn-primary:hover { background: var(--brand-dk); border-color: var(--brand-dk); }
.btn-outline  { background: transparent; border-color: var(--border2); color: var(--text2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-surface  { background: var(--surface2); border-color: var(--border); color: var(--text2); }
.btn-danger   { background: var(--red); border-color: var(--red); color: #fff; }
.btn-success  { background: var(--green); border-color: var(--green); color: #fff; }
.btn-sm       { padding: 7px 14px; font-size: 13px; border-radius: var(--r-xs); }
.btn-lg       { padding: 14px 28px; font-size: 16px; }
.btn-block    { width: 100%; display: flex; }
.btn svg      { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Input / form */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px; font-weight: 700;
  font-family: var(--ff);
  color: var(--text2);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-control {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--text3); }
.form-control:focus { border-color: var(--brand); background: var(--surface3); }
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* Chips */
.ma-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  font-family: var(--ff);
  border: 1.5px solid var(--border2);
  background: var(--surface2);
  color: var(--text2);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}
.ma-chip:hover, .ma-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.ma-chip:active { transform: scale(.94); }
.ma-chip-sm { padding: 4px 10px; font-size: 11px; }

/* Card */
.ma-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

/* Section header */
.ma-sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.ma-sec-title { font-family: var(--ff); font-size: 17px; font-weight: 700; }
.ma-sec-link { font-size: 13px; color: var(--brand); font-weight: 600; cursor: pointer; }
.ma-sec-link:hover { text-decoration: underline; }

/* Status badge */
.ma-status {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  font-family: var(--ff);
}
.ma-status.open   { background: rgba(46,204,113,.14); color: var(--green); }
.ma-status.closed { background: rgba(231,76,60,.1);   color: var(--red); }

/* Stars */
.ma-stars     { color: var(--gold); }
.ma-stars-dim { color: var(--surface3); }

/* Divider */
.ma-divider { height: 1px; background: var(--border); margin: 18px 0; }

/* Scroll row */
.ma-scroll-row {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ma-scroll-row::-webkit-scrollbar { display: none; }

/* Info pill */
.ma-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 600; color: var(--text2);
}
.ma-pill svg { width: 14px; height: 14px; fill: var(--brand); }

/* Avatar */
.ma-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #f5a623);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff);
  font-size: 17px; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* Progress */
.ma-progress-wrap { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.ma-progress-bar  { height: 100%; background: var(--brand); border-radius: 2px; }

/* Skeleton */
.ma-skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: ma-shimmer 1.4s infinite;
  border-radius: var(--r-xs);
}
@keyframes ma-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Empty state */
.ma-empty {
  text-align: center;
  padding: 52px 24px;
}
.ma-empty .ico { font-size: 58px; margin-bottom: 14px; }
.ma-empty h3 { font-family: var(--ff); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.ma-empty p  { font-size: 14px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }

/* Scroll bars */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════
   HOME PAGE
══════════════════════════════════════════════════════════ */

/* Hero */
.ma-hero {
  position: relative;
  background: linear-gradient(160deg, #0c0802 0%, #2a1806 50%, #0c0802 100%);
  padding: 52px 0 64px;
  overflow: hidden;
}
.ma-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232,108,47,.2) 0%, transparent 70%);
}
.ma-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 44px 44px;
}
.ma-hero-inner {
  position: relative;
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 16px;
}
.ma-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(232,108,47,.14); border: 1px solid rgba(232,108,47,.35);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11px; font-weight: 700; color: var(--brand);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px;
  font-family: var(--ff);
}
.ma-hero-title {
  font-family: var(--ff);
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 800; color: #fff; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 12px;
}
.ma-hero-title em { color: var(--brand); font-style: normal; }
.ma-hero-sub {
  color: rgba(255,255,255,.55); font-size: .93rem;
  line-height: 1.65; margin-bottom: 30px;
}

/* Hero search box */
.ma-hero-search {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ma-hero-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ma-hero-row-2 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Autocomplete input in hero */
.ma-ac-wrap { flex: 1; min-width: 160px; position: relative; }
.ma-ac-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--r-xs);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.09);
  color: #fff; font-size: .87rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color .15s, background .15s;
}
.ma-ac-input::placeholder { color: rgba(255,255,255,.38); }
.ma-ac-input:focus { border-color: var(--brand); background: rgba(255,255,255,.13); }
.ma-ac-input:disabled { opacity: .4; cursor: not-allowed; }
.ma-ac-drop {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #1e140a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xs);
  max-height: 220px; overflow-y: auto;
  z-index: 600;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.ma-ac-drop.show { display: block; }
.ma-ac-item {
  padding: 9px 14px;
  cursor: pointer;
  font-size: .84rem; color: rgba(255,255,255,.8);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .1s;
}
.ma-ac-item:last-child { border-bottom: none; }
.ma-ac-item:hover, .ma-ac-item.active { background: rgba(232,108,47,.15); color: #fff; }
.ma-ac-item mark { background: none; color: var(--brand); font-weight: 700; }
.ma-ac-empty { padding: 12px 14px; font-size: .82rem; color: rgba(255,255,255,.3); text-align: center; }

.ma-hero-input {
  flex: 1; min-width: 140px;
  padding: 10px 14px; border-radius: var(--r-xs);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.09); color: #fff;
  font-size: .87rem; font-family: var(--ff-body); outline: none;
  transition: border-color .15s;
}
.ma-hero-input::placeholder { color: rgba(255,255,255,.38); }
.ma-hero-input:focus { border-color: var(--brand); background: rgba(255,255,255,.13); }

/* Radius chips */
.ma-radius-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.ma-radius-chip {
  padding: 5px 11px; border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: transparent; color: rgba(255,255,255,.55);
  font-size: .72rem; font-weight: 600; cursor: pointer;
  transition: all .15s; font-family: var(--ff);
}
.ma-radius-chip:hover, .ma-radius-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.ma-locate-btn {
  display: flex; align-items: center; gap: 5px;
  background: rgba(52,152,219,.2); border: 1.5px solid rgba(52,152,219,.4);
  color: rgba(255,255,255,.85); padding: 7px 12px; border-radius: var(--r-xs);
  font-size: .77rem; font-weight: 600; cursor: pointer;
  transition: all .15s; white-space: nowrap; font-family: var(--ff);
}
.ma-locate-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ma-hero-submit {
  padding: 10px 26px; border-radius: var(--r-xs);
  background: var(--brand); border: none; color: #fff;
  font-weight: 700; font-size: .9rem; cursor: pointer;
  font-family: var(--ff); white-space: nowrap;
  transition: background .15s;
}
.ma-hero-submit:hover { background: var(--brand-dk); }
.ma-hero-submit:active { transform: scale(.97); }

/* Stats bar */
.ma-stats-bar { background: var(--brand); padding: 14px 0; }
.ma-stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 6px; }
.ma-stat { text-align: center; color: #fff; }
.ma-stat-num { font-family: var(--ff); font-size: 1.4rem; font-weight: 800; display: block; line-height: 1; }
.ma-stat-lbl { font-size: .62rem; opacity: .82; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* Home section */
.ma-home-sec { padding: 22px 0 0; }

/* Category grid */
.ma-cats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ma-cats::-webkit-scrollbar { display: none; }
.ma-cat {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0; width: 72px;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}
.ma-cat-icon {
  width: 58px; height: 58px;
  background: var(--surface2); border: 1.5px solid var(--border2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  transition: all .2s;
}
.ma-cat:hover .ma-cat-icon, .ma-cat.active .ma-cat-icon {
  background: var(--brand-lt); border-color: var(--brand-glow);
  transform: translateY(-2px);
}
.ma-cat:active .ma-cat-icon { transform: scale(.9); }
.ma-cat-name { font-size: 11px; font-weight: 700; color: var(--text2); text-align: center; font-family: var(--ff); }
.ma-cat-count { font-size: 10px; color: var(--text3); }

/* Restaurant card — horizontal scroll */
.ma-rcard-h {
  width: 200px; flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none !important;
  color: var(--text) !important;
  display: flex; flex-direction: column;
}
.ma-rcard-h:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); text-decoration: none !important; }
.ma-rcard-h:active { transform: scale(.97); }
.ma-rcard-h .ma-rc-img { height: 124px; overflow: hidden; position: relative; background: var(--surface2); flex-shrink: 0; }
.ma-rcard-h .ma-rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ma-rcard-h:hover .ma-rc-img img { transform: scale(1.06); }
.ma-rcard-h .ma-rc-body { padding: 11px 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ma-rc-name { font-family: var(--ff); font-size: 13px; font-weight: 700; line-height: 1.3; }
.ma-rc-loc  { font-size: 11px; color: var(--text3); }
.ma-rc-cats { font-size: 11px; color: var(--text3); }
.ma-rc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); }
.ma-rc-time { font-size: 10px; color: var(--text3); }
.ma-rc-menu { font-size: 10px; background: var(--surface2); padding: 2px 6px; border-radius: 20px; color: var(--text3); font-weight: 600; }
.ma-rc-nav  { display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--blue); color: #fff; padding: 7px; font-size: .72rem; font-weight: 700; text-decoration: none !important; transition: background .15s; }
.ma-rc-nav:hover { background: #2170b5; }

/* Img badge overlays */
.ma-img-tl { position: absolute; top: 7px; left: 7px; z-index: 2; }
.ma-img-tr { position: absolute; top: 7px; right: 7px; z-index: 2; }
.ma-verified { background: rgba(52,152,219,.9); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; font-family: var(--ff); }
.ma-menu-cnt { background: rgba(0,0,0,.65); backdrop-filter: blur(4px); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; }

/* Restaurant of the Day */
.ma-rotd {
  border-radius: var(--r); overflow: hidden;
  background: linear-gradient(135deg, #1a1208, #2d1a08);
  border: 1px solid rgba(232,108,47,.22);
  cursor: pointer; text-decoration: none !important; color: var(--text) !important;
  display: grid;
}
@media(min-width:600px) { .ma-rotd { grid-template-columns: 1fr 340px; } }
.ma-rotd-img { height: 190px; overflow: hidden; position: relative; }
@media(min-width:600px) { .ma-rotd-img { height: auto; } }
.ma-rotd-img img { width: 100%; height: 100%; object-fit: cover; }
.ma-rotd-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 55%); }
@media(min-width:600px) { .ma-rotd-img::after { background: linear-gradient(to right, rgba(0,0,0,.3) 0%, transparent 60%); } }
.ma-rotd-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px;
  font-family: var(--ff); text-transform: uppercase; letter-spacing: .06em;
}
.ma-rotd-body { padding: 18px 20px 22px; }
.ma-rotd-name { font-family: var(--ff); font-size: 1.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.ma-rotd-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--text2); margin-bottom: 14px; }
.ma-rotd-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Reviews */
.ma-review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 13px 15px; margin-bottom: 8px;
}
.ma-review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 7px; }
.ma-review-rest { font-weight: 700; font-size: 13px; font-family: var(--ff); color: var(--brand); }
.ma-review-meta { font-size: 11px; color: var(--text3); }
.ma-review-body { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* City chips */
.ma-city {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 13px;
  font-size: 12px; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all .2s; white-space: nowrap;
  text-decoration: none !important;
}
.ma-city:hover { border-color: var(--brand-glow); color: var(--brand); background: var(--brand-lt); }
.ma-city-cnt { font-size: 10px; color: var(--text3); }

/* CTA dark section */
.ma-cta-dark {
  background: linear-gradient(135deg, #0c0802, #2a1806);
  padding: 52px 0;
}
.ma-cta-inner { text-align: center; }
.ma-cta-inner h2 { font-family: var(--ff); font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.ma-cta-inner p  { color: var(--text2); margin-bottom: 22px; }
.ma-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   RESTAURANT LIST
══════════════════════════════════════════════════════════ */

/* Page header */
.ma-list-hdr {
  background: linear-gradient(135deg, #0c0802, #2a1806);
  padding: 22px 0 26px;
  position: relative; overflow: hidden;
}
.ma-list-hdr::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(232,108,47,.1), transparent);
}
.ma-list-hdr-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ma-list-hdr-title { font-family: var(--ff); color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.ma-list-hdr-count { color: var(--text2); font-size: .82rem; margin-top: 3px; }

/* Active filter chips row */
.ma-filter-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ma-filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand-lt); border: 1px solid var(--brand-glow);
  border-radius: 20px; padding: 3px 10px;
  font-size: .72rem; font-weight: 600; color: var(--brand);
  font-family: var(--ff);
}
.ma-filter-chip a { color: rgba(232,108,47,.7); text-decoration: none; margin-left: 3px; font-size: .85rem; }
.ma-filter-chip a:hover { color: var(--brand); }

/* Layout with sidebar */
.ma-list-layout {
  display: flex; flex-direction: column;
  max-width: 1300px; margin: 0 auto;
  padding: 18px 14px; gap: 18px;
}
@media(min-width:960px) {
  .ma-list-layout { flex-direction: row; align-items: flex-start; padding: 22px 20px; gap: 24px; }
}

/* Sidebar */
.ma-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
@media(min-width:960px) { .ma-sidebar { width: 256px; flex-shrink: 0; position: sticky; top: calc(var(--top-h) + 12px); } }
.ma-side-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; font-weight: 700; font-size: .88rem;
  cursor: pointer; border-bottom: 1px solid var(--border);
  user-select: none; font-family: var(--ff);
}
.ma-side-toggle span:last-child { color: var(--text3); font-size: .75rem; transition: transform .2s; }
@media(min-width:960px) { .ma-side-toggle { display: none; } }
.ma-side-body { display: none; padding: 14px 16px; }
.ma-side-body.open { display: block; }
@media(min-width:960px) { .ma-side-body { display: block !important; padding: 16px 18px; } }
.ma-fgroup { margin-bottom: 16px; }
.ma-flabel {
  font-size: .68rem; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 7px; display: block;
}
.ma-fctl {
  width: 100%; padding: 8px 11px;
  border: 1.5px solid var(--border2); border-radius: var(--r-xs);
  font-size: .84rem; font-family: var(--ff-body);
  outline: none; -webkit-appearance: none;
  background: var(--surface2); color: var(--text);
  transition: border-color .15s;
}
.ma-fctl:focus { border-color: var(--brand); }
option { background: #1e1409; color: var(--text); }
.ma-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.ma-cat-item { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 7px; cursor: pointer; font-size: .8rem; transition: background .1s; color: var(--text2); }
.ma-cat-item:hover { background: var(--surface2); }
.ma-cat-item input { accent-color: var(--brand); }
.ma-clr { display: block; text-align: center; margin-top: 10px; font-size: .75rem; color: var(--text3); text-decoration: none; }
.ma-clr:hover { color: var(--brand); }
.ma-locate-small {
  width: 100%; padding: 8px; background: var(--surface2);
  border: 1.5px solid var(--border2); border-radius: var(--r-xs);
  font-size: .8rem; font-weight: 600; cursor: pointer;
  font-family: var(--ff-body); transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 5px; color: var(--text2);
}
.ma-locate-small:hover { background: var(--surface3); }

/* Results main */
.ma-main-results { flex: 1; min-width: 0; }
.ma-results-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 6px; }
.ma-results-title { font-size: .95rem; font-weight: 700; font-family: var(--ff); }
.ma-results-count { font-size: .8rem; color: var(--text3); }

/* Restaurant grid – results */
.ma-rest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media(min-width:600px) { .ma-rest-grid { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 15px; } }
@media(min-width:960px) { .ma-rest-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* Grid card */
.ma-gcard-wrap { border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.ma-gcard-wrap:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.ma-gcard {
  display: flex; flex-direction: column;
  background: var(--surface); text-decoration: none !important; color: var(--text) !important; flex: 1;
  -webkit-tap-highlight-color: transparent;
}
.ma-gcard:active { opacity: .95; }
.ma-gcard .ma-rc-img { height: 130px; }
@media(min-width:600px) { .ma-gcard .ma-rc-img { height: 148px; } }
.ma-gcard .ma-rc-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }

/* Pagination */
.ma-pagi { display: flex; gap: 5px; justify-content: center; padding: 22px 0 8px; flex-wrap: wrap; }
.ma-ppage {
  padding: 7px 13px; border: 1.5px solid var(--border2);
  border-radius: var(--r-xs); color: var(--text2); font-size: .83rem; font-weight: 600;
  text-decoration: none !important; transition: all .15s;
}
.ma-ppage:hover { border-color: var(--brand-glow); color: var(--brand); }
.ma-ppage.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ══════════════════════════════════════════════════════════
   RESTAURANT DETAIL
══════════════════════════════════════════════════════════ */
.ma-detail-hero {
  position: relative; min-height: 280px;
  background: var(--bg2); overflow: hidden;
}
@media(min-width:600px) { .ma-detail-hero { min-height: 340px; } }
.ma-detail-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.65);
}
.ma-detail-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.ma-detail-hero-body {
  position: relative; min-height: 280px;
  display: flex; align-items: flex-end; padding-bottom: 24px;
}
@media(min-width:600px) { .ma-detail-hero-body { min-height: 340px; } }
.ma-detail-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; width: 100%; }
.ma-detail-name { font-family: var(--ff); font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 8px; }
.ma-detail-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Cover upload btn */
.ma-cover-btn {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.55); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-xs);
  padding: 6px 12px; font-size: .75rem; font-weight: 600;
  cursor: pointer; font-family: var(--ff-body); transition: background .15s;
}
.ma-cover-btn:hover { background: rgba(0,0,0,.8); }

/* Detail body */
.ma-detail-body { padding: 22px 0 40px; }
.ma-detail-grid { display: flex; flex-direction: column; gap: 22px; }
@media(min-width:900px) { .ma-detail-grid { flex-direction: row; align-items: flex-start; gap: 28px; } }
.ma-detail-main { flex: 1; min-width: 0; }
.ma-detail-aside { width: 100%; }
@media(min-width:900px) { .ma-detail-aside { width: 300px; flex-shrink: 0; position: sticky; top: calc(var(--top-h) + 12px); } }

/* Action buttons */
.ma-action-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.ma-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 8px;
  cursor: pointer; transition: all .2s; text-decoration: none !important; color: var(--text2) !important;
  -webkit-tap-highlight-color: transparent;
}
.ma-action-btn:hover { background: var(--brand-lt); border-color: var(--brand-glow); color: var(--brand) !important; }
.ma-action-btn:active { transform: scale(.96); }
.ma-action-btn svg { width: 22px; height: 22px; fill: var(--brand); }
.ma-action-btn span { font-size: 11px; font-weight: 600; font-family: var(--ff); }

/* Delivery buttons */
.ma-delivery-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--r-xs);
  background: var(--surface2); border: 1.5px solid var(--border2);
  margin-bottom: 8px; text-decoration: none !important; color: var(--text) !important;
  transition: border-color .15s;
}
.ma-delivery-btn:hover { border-color: var(--brand-glow); }
.ma-delivery-emoji { font-size: 1.2rem; }
.ma-delivery-name { font-weight: 700; font-size: .88rem; flex: 1; }
.ma-delivery-arr { font-size: .8rem; color: var(--text3); }

/* Menu accordion */
.ma-menu-sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 8px; overflow: hidden; }
.ma-menu-sec-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px; cursor: pointer; font-weight: 700; font-size: .9rem;
  user-select: none; border: none; width: 100%;
  font-family: var(--ff); background: transparent; color: var(--text);
  transition: background .15s; text-align: left;
}
.ma-menu-sec-hdr:hover { background: var(--surface2); }
.ma-menu-sec-arrow { transition: transform .25s; }
.ma-menu-sec-arrow svg { width: 18px; height: 18px; fill: var(--text3); }
.ma-menu-sec-arrow.open { transform: rotate(180deg); }
.ma-menu-items { display: none; border-top: 1px solid var(--border); }
.ma-menu-items.open { display: block; }
.ma-menu-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px 16px; border-bottom: 1px solid var(--border); gap: 12px;
}
.ma-menu-item:last-child { border-bottom: none; }
.ma-item-name  { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.ma-item-desc  { font-size: 12px; color: var(--text3); line-height: 1.4; }
.ma-item-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.ma-item-badge { font-size: 10px; padding: 2px 7px; border-radius: 20px; font-weight: 600; }
.ma-badge-veg   { background: rgba(46,204,113,.12); color: var(--green); }
.ma-badge-spicy { background: rgba(231,76,60,.1);   color: var(--red); }
.ma-badge-pop   { background: rgba(232,108,47,.12); color: var(--brand); }
.ma-item-price { font-family: var(--ff); font-size: 15px; font-weight: 800; color: var(--brand); white-space: nowrap; flex-shrink: 0; }

/* Info card sidebar */
.ma-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); overflow: hidden; margin-bottom: 12px;
}
.ma-info-head {
  padding: 11px 14px; background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: .85rem; font-family: var(--ff);
}
.ma-info-body { padding: 13px 14px; }

/* Contact items */
.ma-contact-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.ma-contact-item:last-child { border-bottom: none; }
.ma-contact-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.ma-contact-item a { color: var(--text2); transition: color .15s; }
.ma-contact-item a:hover { color: var(--brand); text-decoration: none; }

/* Hours */
.ma-hours-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .84rem; color: var(--text2); }
.ma-hours-row:last-child { border-bottom: none; }
.ma-hours-time { font-weight: 600; color: var(--text); }
.ma-hours-closed { color: var(--red); font-weight: 600; }
.ma-hours-today .ma-hours-day { color: var(--brand); font-weight: 700; }
.ma-hours-today .ma-hours-time { color: var(--brand); }

/* Photos grid */
.ma-photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: var(--r-xs); overflow: hidden; }
.ma-photo-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.ma-photo-thumb:hover { opacity: .85; }

/* Map */
#detail-map { height: 200px; border-radius: var(--r-xs); overflow: hidden; }

/* Reviews */
.ma-review-big {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 16px; margin-bottom: 12px;
}
.ma-rating-big-num { font-family: var(--ff); font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1; text-align: center; }
.ma-rating-big-stars { color: var(--gold); font-size: 16px; margin: 3px 0; }
.ma-rating-big-cnt { font-size: 11px; color: var(--text3); }

/* Claim badge */
.ma-claimed { display: inline-flex; align-items: center; gap: 5px; background: rgba(52,152,219,.85); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; font-family: var(--ff); }

/* FAB */
.ma-fab {
  position: fixed; bottom: calc(var(--nav-h) + 12px); right: 16px; z-index: 300;
  background: var(--brand); color: #fff; border: none;
  border-radius: 16px; padding: 12px 18px;
  font-family: var(--ff); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(232,108,47,.4);
  transition: transform .2s, box-shadow .2s; text-decoration: none !important;
}
.ma-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,108,47,.5); text-decoration: none; color: #fff; }
.ma-fab:active { transform: scale(.95); }
.ma-fab svg { width: 17px; height: 17px; fill: #fff; }

/* ── AUTH PAGES ───────────────────────────────────────────── */
.ma-auth-page {
  min-height: calc(100dvh - var(--top-h) - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.ma-auth-box {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px;
}
.ma-auth-logo { text-align: center; margin-bottom: 22px; }
.ma-auth-logo .ico { font-size: 48px; margin-bottom: 10px; }
.ma-auth-logo h1 { font-family: var(--ff); font-size: 24px; font-weight: 800; }
.ma-auth-logo h1 em { color: var(--brand); font-style: normal; }
.ma-auth-logo p { color: var(--text2); font-size: 13px; margin-top: 4px; }
.ma-auth-tabs { display: flex; background: var(--surface2); border-radius: var(--r-xs); padding: 4px; margin-bottom: 22px; }
.ma-auth-tab { flex: 1; text-align: center; padding: 9px; border-radius: 6px; font-family: var(--ff); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; color: var(--text3); }
.ma-auth-tab.active { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(232,108,47,.3); }

/* ── DASHBOARD ────────────────────────────────────────────── */
.ma-dash-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.ma-dash-hero {
  background: linear-gradient(135deg, #0f0a05, #2d1a08);
  border-radius: var(--r); padding: 22px; margin-bottom: 26px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border: 1px solid var(--border);
}
.ma-dash-hero h1 { font-family: var(--ff); font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 3px; }
.ma-dash-hero p  { color: var(--text2); font-size: .85rem; }
.ma-dash-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media(min-width:700px) { .ma-dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1000px){ .ma-dash-grid { grid-template-columns: repeat(3, 1fr); } }
.ma-dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.ma-dash-card-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.ma-dash-card-head h2 { font-size: .93rem; font-weight: 800; font-family: var(--ff); }
.ma-dash-card-body { padding: 14px 18px; }
.ma-dash-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.ma-dash-stat-row:last-child { border-bottom: none; }
.ma-dash-stat-val { font-weight: 800; color: var(--brand); font-family: var(--ff); }
.ma-plan-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; font-family: var(--ff); }
.ma-plan-free    { background: var(--surface2); color: var(--text3); }
.ma-plan-classic { background: var(--brand-lt); color: var(--brand); border: 1px solid var(--brand-glow); }
.ma-plan-premium { background: rgba(245,158,11,.12); color: var(--gold); border: 1px solid rgba(245,158,11,.3); }

/* ── ERROR PAGES ──────────────────────────────────────────── */
.ma-error-page { text-align: center; padding: 80px 24px; }
.ma-error-code { font-family: var(--ff); font-size: 80px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.ma-error-page h2 { font-family: var(--ff); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.ma-error-page p { color: var(--text2); margin-bottom: 24px; }

/* ── RESPONSIVE FIXES ─────────────────────────────────────── */
@media(max-width:599px) {
  .ma-hero { padding: 38px 0 48px; }
  .ma-hero-title { font-size: 1.8rem; }
  .ma-rotd-name { font-size: 1.3rem; }
}
@media(min-width:600px) {
  .ma-rcard-h { width: 220px; }
  .ma-rcard-h .ma-rc-img { height: 140px; }
}
@media(min-width:960px) {
  .ma-hero { padding: 72px 0 88px; }
  .ma-action-btns { grid-template-columns: repeat(4, 1fr); }
}
