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

    :root {
      --primary:    #1E6FE8;
      --primary-dk: #0D4FBE;
      --gold:       #FBBF24;
      --dark:       #0F172A;
      --surface:    #F8FAFC;
      --border:     #E2E8F0;
      --text:       #1E293B;
      --muted:      #64748B;
      --radius:     12px;
      --shadow:     0 4px 20px rgba(0,0,0,.10);
      --c-restaurant:     #F97316;
      --c-food-stall:     #10B981;
      --c-fast-food:      #EF4444;
      --c-online-kitchen: #8B5CF6;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--surface);
      color: var(--text);
      min-height: 100vh;
      -webkit-tap-highlight-color: transparent;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Global tap-target & active feedback ─────────────────────────── */
    a, button, .cat-card, .store-card, .radius-preset, .map-unlocated {
      -webkit-tap-highlight-color: transparent;
      transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    }
    a:active, button:active, .cat-card:active, .store-card:active,
    .radius-preset:active, .map-unlocated:active {
      transform: scale(.97);
    }
    @media (hover: hover) {
      a:active, button:active, .cat-card:active, .store-card:active,
      .radius-preset:active, .map-unlocated:active {
        transform: none;
      }
    }

    /* ── Nav ──────────────────────────────────────────────────────────── */
    nav {
      background: var(--dark);
      padding: 0 24px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid rgba(255,255,255,.07);
      transition: transform .3s ease;
      will-change: transform;
    }
    nav.nav-hidden { transform: translateY(-100%); }
    .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .nav-brand img { height: 32px; width: 32px; object-fit: contain; }
    .nav-brand-text { font-size: 18px; font-weight: 800; color: var(--gold); letter-spacing: -.3px; }
    .nav-brand-sub { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .5px; margin-top: 1px; }
    .nav-menu-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      color: rgba(255,255,255,.85);
      cursor: pointer;
      padding: 8px;
      flex-shrink: 0;
      margin-right: 4px;
    }
    @media (min-width: 601px) { .nav-menu-btn { display: none; } }
    .nav-right { display: flex; align-items: center; gap: 12px; }
    .nav-search {
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      padding: 7px 14px;
      color: #fff;
      font-size: 13px;
      outline: none;
      width: 220px;
      transition: border-color .2s, background .2s;
    }
    .nav-search::placeholder { color: rgba(255,255,255,.4); }
    .nav-search:focus { background: rgba(255,255,255,.12); border-color: var(--primary); }
    .nav-seller-btn {
      display: none;
      background: var(--gold);
      color: var(--dark);
      font-size: 12px;
      font-weight: 700;
      padding: 7px 16px;
      border-radius: 20px;
      text-decoration: none;
      white-space: nowrap;
      transition: opacity .15s;
    }
    .nav-seller-btn:hover { opacity: .85; }
    @media (min-width: 600px) { .nav-seller-btn { display: block; } }
    .nav-signin-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: rgba(255,255,255,.85);
      border: 1px solid rgba(255,255,255,.25);
      font-size: 12px;
      font-weight: 700;
      padding: 7px 14px;
      border-radius: 20px;
      text-decoration: none;
      white-space: nowrap;
      transition: background .15s, color .15s;
    }
    .nav-signin-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

    /* ── Delivering to bar (matches Shopper app) ─────────────────── */
    .deliver-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #EFF6FF;
      color: var(--text);
      padding: 10px 16px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      border-bottom: 1px solid rgba(30,111,232,.15);
      cursor: pointer;
      transition: background .15s;
    }
    .deliver-bar:hover { background: #E3F0FF; }
    .deliver-bar svg { flex-shrink: 0; }
    .deliver-bar .deliver-chevron { margin-left: auto; color: var(--muted); }

    /* ── Mobile bottom CTA bar ───────────────────────────────────────── */
    .mobile-cta-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1001;
      background: rgba(15,23,42,.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid rgba(255,255,255,.1);
      padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
      display: flex;
      gap: 10px;
      justify-content: center;
    }
    @media (min-width: 601px) { .mobile-cta-bar { display: none !important; } }
    @media (max-width: 600px) { .mobile-cta-bar { display: flex; } }
    .mobile-cta-btn {
      flex: 1;
      max-width: 180px;
      padding: 11px 16px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 700;
      text-align: center;
      text-decoration: none;
      white-space: nowrap;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: opacity .15s;
    }
    .mobile-cta-btn:active { opacity: .8; }
    .mobile-cta-seller { background: var(--gold); color: var(--dark); }
    .mobile-cta-dismiss {
      position: absolute;
      top: -28px;
      right: 12px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(15,23,42,.9);
      border: 1px solid rgba(255,255,255,.15);
      color: rgba(255,255,255,.6);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      min-width: 44px;
      min-height: 44px;
    }
    body.has-mobile-cta { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }

    /* ── Map Hero (floating panel) ────────────────────────────────────── */
    #map-hero {
      position: fixed;
      top: 72px;
      right: 0;
      bottom: 24px;
      width: 400px;
      max-width: 90vw;
      height: auto;
      min-height: 0;
      background: #1a2744;
      border-radius: 18px 0 0 18px;
      box-shadow: -12px 0 40px rgba(0,0,0,.35);
      z-index: 800;
      transition: transform .45s cubic-bezier(.22,.61,.36,1);
    }
    #map-hero.map-panel-hidden { transform: translateX(100%); }
    #map { height: 100%; width: 100%; border-radius: 18px 0 0 18px; overflow: hidden; }

    /* Half-circle handle that stays peeking on the right edge */
    .map-panel-handle {
      position: absolute;
      left: -30px;
      top: 50%;
      transform: translateY(-50%);
      width: 30px;
      height: 64px;
      border-radius: 32px 0 0 32px;
      background: rgba(15,23,42,.92);
      border: 1px solid rgba(255,255,255,.15);
      border-right: none;
      color: var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 502;
      padding: 0;
      transition: background .15s;
    }
    .map-panel-handle:hover { background: rgba(30,58,95,.98); }

    .map-overlay {
      position: absolute;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 500;
      background: rgba(15,23,42,.82);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 10px;
      padding: 10px 20px;
      text-align: center;
      pointer-events: none;
    }
    .map-overlay-title {
      font-size: 13px;
      font-weight: 700;
      color: #fff;
      letter-spacing: .3px;
    }
    .map-overlay-sub {
      font-size: 11px;
      color: rgba(255,255,255,.5);
      margin-top: 2px;
    }

    .map-unlocated {
      position: absolute;
      bottom: 16px;
      right: 16px;
      z-index: 500;
      background: rgba(15,23,42,.82);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(251,191,36,.25);
      border-radius: 20px;
      padding: 6px 14px;
      display: none;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: background .15s;
    }
    .map-unlocated:hover { background: rgba(15,23,42,.95); }
    .map-unlocated-text {
      font-size: 12px;
      font-weight: 600;
      color: var(--gold);
    }

    /* ── Radius slider ── */
    .radius-bar {
      position: absolute; top: 16px; right: 16px; z-index: 501;
      background: rgba(15,23,42,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
      padding: 10px 14px; min-width: 200px; max-width: calc(100vw - 60px);
      display: flex; flex-direction: column; gap: 6px;
    }
    @media (max-width: 768px) {
      .radius-bar { top: auto; bottom: 16px; right: 8px; left: 8px; max-width: none; }
    }
    .radius-bar-header { display: flex; align-items: center; justify-content: space-between; }
    .radius-bar-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.7); }
    .radius-bar-value { font-size: 13px; font-weight: 800; color: #10B981; min-width: 36px; text-align: right; }
    .radius-bar input[type=range] {
      -webkit-appearance: none; width: 100%; height: 6px;
      border-radius: 3px; background: rgba(255,255,255,.12); outline: none;
    }
    .radius-bar input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
      background: #10B981; border: 2px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3);
    }
    .radius-bar input[type=range]::-moz-range-thumb {
      width: 22px; height: 22px; border-radius: 50%;
      background: #10B981; border: 2px solid #fff; cursor: pointer;
    }
    .radius-presets { display: flex; gap: 4px; justify-content: space-between; }
    .radius-preset {
      flex: 1; font-size: 9px; font-weight: 700; color: rgba(255,255,255,.4);
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
      border-radius: 6px; padding: 3px 4px; cursor: pointer; text-align: center; transition: .15s;
    }
    .radius-preset:hover, .radius-preset.active { color: #10B981; border-color: #10B981; background: rgba(16,185,129,.1); }

    /* Google Maps InfoWindow popup overrides */
    .gm-style .gm-style-iw-c { padding: 0 !important; border-radius: 14px !important; overflow: hidden !important; }
    .gm-style .gm-style-iw-d { overflow: hidden !important; }
    .gm-style .gm-style-iw-t::after { display: none; }
    .gm-style-iw-chr { position: absolute; top: 6px; right: 6px; z-index: 10; }
    .gm-style-iw-chr button { background: rgba(0,0,0,.25) !important; border-radius: 50% !important; width: 24px !important; height: 24px !important; }
    .gm-style-iw-chr button span { margin: 0 !important; }

    .popup-logo {
      width: 100%;
      height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
    }
    .popup-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .popup-logo-emoji { position: relative; z-index: 1; }
    .popup-logo[data-cat="restaurant"]     { background: linear-gradient(135deg,#FEF3E2,#FDBA74); }
    .popup-logo[data-cat="food_stall"]     { background: linear-gradient(135deg,#D1FAE5,#6EE7B7); }
    .popup-logo[data-cat="fast_food"]      { background: linear-gradient(135deg,#FEE2E2,#FCA5A5); }
    .popup-logo[data-cat="online_kitchen"] { background: linear-gradient(135deg,#EDE9FE,#C4B5FD); }

    .popup-body { padding: 14px 16px 16px; }
    .popup-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
    .popup-meta { font-size: 11px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
    .popup-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 700;
      text-transform: capitalize;
      letter-spacing: .2px;
    }
    .popup-badge[data-cat="restaurant"]     { background: rgba(249,115,22,.15); color:#C2410C; }
    .popup-badge[data-cat="food_stall"]     { background: rgba(16,185,129,.15);  color:#065F46; }
    .popup-badge[data-cat="fast_food"]      { background: rgba(239,68,68,.15);   color:#B91C1C; }
    .popup-badge[data-cat="online_kitchen"] { background: rgba(139,92,246,.15);  color:#5B21B6; }
    .popup-location { color: var(--muted); font-size: 11px; }

    /* Visit Store button — !important needed to override Google Maps InfoWindow a{} styles */
    .popup-visit {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 6px !important;
      background: var(--dark) !important;
      color: #fff !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      text-align: center !important;
      padding: 11px 16px !important;
      border-radius: 10px !important;
      text-decoration: none !important;
      transition: background .15s, transform .1s !important;
      letter-spacing: .2px !important;
    }
    .popup-visit:hover {
      background: #1E3A5F !important;
      transform: translateY(-1px) !important;
      color: #fff !important;
    }
    .popup-visit svg { flex-shrink: 0; opacity: .85; }


    /* ── About KeskTurg ───────────────────────────────────────────────── */
    .about-section {
      background: var(--dark);
      padding: 72px 24px;
    }
    .about-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    @media (max-width: 768px) {
      .about-inner { grid-template-columns: 1fr; gap: 40px; }
    }
    .about-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(251,191,36,.12);
      border: 1px solid rgba(251,191,36,.25);
      color: var(--gold);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .about-heading {
      font-size: clamp(26px, 4vw, 40px);
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 16px;
    }
    .about-heading span { color: var(--gold); }
    .about-body {
      font-size: 15px;
      color: rgba(255,255,255,.65);
      line-height: 1.7;
      margin-bottom: 32px;
    }
    .about-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--gold);
      color: var(--dark);
      font-size: 14px;
      font-weight: 700;
      padding: 13px 28px;
      border-radius: 30px;
      text-decoration: none;
      transition: transform .15s, box-shadow .15s;
      box-shadow: 0 4px 18px rgba(251,191,36,.35);
    }
    .about-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(251,191,36,.45); }
    .about-cta svg { width: 16px; height: 16px; }
    .about-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
    @media (max-width: 600px) {
      .about-cta {
        flex: 1 1 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
      }
      .about-secondary {
        display: block;
        text-align: center;
        margin: 8px auto 0;
      }
    }
    .about-secondary {
      display: inline-block;
      margin-top: 14px;
      margin-left: 4px;
      font-size: 13px;
      color: rgba(255,255,255,.4);
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,.2);
      padding-bottom: 1px;
      transition: color .15s, border-color .15s;
    }
    .about-secondary:hover { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.5); }
    .about-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .stat-card {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: var(--radius);
      padding: 22px 20px;
    }
    .stat-icon { font-size: 28px; margin-bottom: 10px; }
    .stat-value { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
    .stat-label { font-size: 12px; color: rgba(255,255,255,.45); }
    @media (max-width: 600px) {
      .stat-card { padding: 16px 14px; display: flex; flex-direction: column; justify-content: center; min-height: 80px; }
      .stat-value { font-size: clamp(16px, 5vw, 24px); }
      .stat-label { font-size: 11px; }
      .stat-icon { font-size: 22px; margin-bottom: 6px; }
    }

    /* ── Container ────────────────────────────────────────────────────── */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* ── Category filter bar ──────────────────────────────────────────── */
    .cat-bar {
      padding: 32px 0 0;
      position: sticky;
      top: 60px;
      z-index: 100;
      background: var(--surface);
      margin: 0 -24px;
      padding-left: 24px;
      padding-right: 24px;
    }
    @media (max-width: 600px) {
      .cat-bar { top: 60px; padding-top: 20px; }
    }
    .cat-bar-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }
    .cat-cards {
      display: flex;
      overflow-x: auto;
      gap: 12px;
      padding-bottom: 8px;
      scrollbar-width: none;
    }
    .cat-cards::-webkit-scrollbar { display: none; }
    .cat-card {
      flex: 0 0 auto;
      width: auto;
      border-radius: var(--radius);
      padding: 10px 12px;
      cursor: pointer;
      transition: transform .15s, box-shadow .15s;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
      border: 2px solid transparent;
      background: #fff;
      box-shadow: var(--shadow);
      user-select: none;
    }
    .cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
    .cat-card.active { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12); }
    .cat-card[data-cat="restaurant"]     { --accent: var(--c-restaurant);     --accent-rgb: 249,115,22; }
    .cat-card[data-cat="food_stall"]     { --accent: var(--c-food-stall);     --accent-rgb: 16,185,129; }
    .cat-card[data-cat="fast_food"]      { --accent: var(--c-fast-food);      --accent-rgb: 239,68,68; }
    .cat-card[data-cat="online_kitchen"] { --accent: var(--c-online-kitchen); --accent-rgb: 139,92,246; }
    .cat-card.active { background: color-mix(in srgb, var(--accent) 8%, white); }
    .cat-icon {
      width: 32px; height: 32px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .cat-card[data-cat="restaurant"]     .cat-icon { background: rgba(249,115,22,.12); }
    .cat-card[data-cat="food_stall"]     .cat-icon { background: rgba(16,185,129,.12); }
    .cat-card[data-cat="fast_food"]      .cat-icon { background: rgba(239,68,68,.12); }
    .cat-card[data-cat="online_kitchen"] .cat-icon { background: rgba(139,92,246,.12); }
    .cat-name { font-size: 13px; font-weight: 600; color: var(--text); text-align: left; flex: 1; white-space: nowrap; }
    .cat-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
    .cat-count::before { content: '('; }
    .cat-count::after { content: ')'; }

    /* ── Store list section ───────────────────────────────────────────── */
    .stores-section { padding: 36px 0 60px; }
    .section-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px;
    }
    .section-title { font-size: 20px; font-weight: 700; }
    .section-title span { color: var(--primary); }
    .section-count { font-size: 13px; color: var(--muted); }
    .stores-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
      gap: 20px;
    }
    .store-card {
      background: #fff;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      cursor: pointer;
      transition: transform .15s, box-shadow .15s;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
    }
    .store-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
    .store-banner {
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
    }
    .store-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .store-banner-emoji { position: relative; z-index: 1; }
    .store-banner[data-cat="restaurant"]     { background: linear-gradient(135deg,#FEF3E2,#FDBA74); }
    .store-banner[data-cat="food_stall"]     { background: linear-gradient(135deg,#D1FAE5,#6EE7B7); }
    .store-banner[data-cat="fast_food"]      { background: linear-gradient(135deg,#FEE2E2,#FCA5A5); }
    .store-banner[data-cat="online_kitchen"] { background: linear-gradient(135deg,#EDE9FE,#C4B5FD); }
    .store-body { padding: 16px; flex: 1; }
    .store-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
    .store-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
    .store-name-row .store-name { margin-bottom: 0; }
    .store-rating {
      display: inline-flex; align-items: center; gap: 3px;
      background: var(--primary); color: #fff;
      border-radius: 8px; padding: 3px 8px;
      font-size: 12px; font-weight: 700; flex-shrink: 0;
    }
    .store-rating .star { color: #FBBF24; }
    .store-delivery { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
    .store-delivery svg { flex-shrink: 0; }
    .store-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
    .store-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
      text-transform: capitalize;
    }
    .store-badge[data-cat="restaurant"]     { background: rgba(249,115,22,.12); color:#C2410C; }
    .store-badge[data-cat="food_stall"]     { background: rgba(16,185,129,.12);  color:#065F46; }
    .store-badge[data-cat="fast_food"]      { background: rgba(239,68,68,.12);   color:#B91C1C; }
    .store-badge[data-cat="online_kitchen"] { background: rgba(139,92,246,.12);  color:#5B21B6; }
    .store-matches { margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 10px; }
    .match-label { font-size: 10px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
    .match-item { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
    .match-img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); }
    .match-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
    .match-price { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; flex-shrink: 0; }
    .store-footer {
      padding: 10px 16px 14px;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
    }
    .store-on-map { font-size: 11px; color: var(--muted); }
    .store-order-btn {
      font-size: 12px; font-weight: 600; color: var(--primary);
      display: flex; align-items: center; gap: 5px;
    }
    .store-order-btn svg { width: 14px; height: 14px; }
    .store-order-btn.off { color: var(--muted); }
    .store-card.offline { opacity: .9; }
    .store-card.offline .store-banner { filter: grayscale(.75); }
    .store-watermark {
      position: absolute; inset: 0; z-index: 3;
      display: flex; align-items: center; justify-content: center;
      background: rgba(15,23,42,.5);
      pointer-events: none;
    }
    .store-watermark span {
      background: rgba(0,0,0,.65); color: #fff;
      font-size: 12px; font-weight: 700;
      padding: 6px 12px; border-radius: 20px;
      letter-spacing: .4px; text-transform: uppercase;
      border: 1px dashed rgba(255,255,255,.5);
    }

    /* ── Empty / skeleton ─────────────────────────────────────────────── */
    .empty-state { text-align: center; padding: 60px 24px; color: var(--muted); grid-column: 1 / -1; }
    .empty-state-icon { font-size: 48px; margin-bottom: 12px; }
    .empty-state p { font-size: 15px; }
    @keyframes shimmer {
      0%   { background-position: -600px 0; }
      100% { background-position: 600px 0; }
    }
    .skeleton {
      background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
      background-size: 1200px 100%;
      animation: shimmer 1.4s infinite;
      border-radius: 8px;
    }
    .skel-card { background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); }
    .skel-card.skel-restaurant .skel-banner { background: linear-gradient(90deg,#FEF3E2 25%,#FDBA74 50%,#FEF3E2 75%); background-size: 1200px 100%; animation: shimmer 1.4s infinite; }
    .skel-card.skel-food_stall .skel-banner { background: linear-gradient(90deg,#D1FAE5 25%,#6EE7B7 50%,#D1FAE5 75%); background-size: 1200px 100%; animation: shimmer 1.4s infinite; }
    .skel-card.skel-fast_food .skel-banner { background: linear-gradient(90deg,#FEE2E2 25%,#FCA5A5 50%,#FEE2E2 75%); background-size: 1200px 100%; animation: shimmer 1.4s infinite; }
    .skel-card.skel-online_kitchen .skel-banner { background: linear-gradient(90deg,#EDE9FE 25%,#C4B5FD 50%,#EDE9FE 75%); background-size: 1200px 100%; animation: shimmer 1.4s infinite; }
    @media (max-width: 480px) {
      .skel-card .skel-banner { height: 70px; }
      .skel-card .skel-body { padding: 10px 12px; gap: 8px; }
      .skel-card .skel-line { height: 10px; }
    }
    .skel-banner { height:110px; }
    .skel-body { padding:16px; display:flex; flex-direction:column; gap:10px; }
    .skel-line { height:12px; }
    .skel-line.w-60 { width:60%; }
    .skel-line.w-40 { width:40%; }

    /* ── iOS safe-area padding ────────────────────────────────────────── */
    body { padding-bottom: env(safe-area-inset-bottom); }

    /* ── Mobile nav search toggle ─────────────────────────────────────── */
    #nav-search-btn, #nav-close-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      color: rgba(255,255,255,.75);
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    @media (max-width: 480px) {
      .nav-search { width: 0; opacity: 0; pointer-events: none; position: absolute; }
      .nav-search.open {
        position: fixed; top: 0; left: 0; right: 0; width: 100%; opacity: 1; pointer-events: auto;
        height: 60px; border-radius: 0; padding: 0 52px 0 16px;
        z-index: 1100; background: var(--dark); border: none;
        border-bottom: 1px solid rgba(255,255,255,.15); font-size: 15px; display: block;
      }
      #nav-search-btn { display: flex; }
      #nav-close-btn.visible {
        display: flex; position: fixed; top: 0; right: 0; z-index: 1101;
        height: 60px; width: 52px;
      }
    }

    /* ── Category horizontal scroll chips ────────────────────────────── */
    @media (max-width: 540px) {
      .cat-cards {
        grid-template-columns: unset;
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        scrollbar-width: none;
      }
      .cat-cards::-webkit-scrollbar { display: none; }
      .cat-card {
        flex: 0 0 auto;
        flex-direction: row;
        padding: 10px 14px;
        width: auto;
        gap: 8px;
      }
      .cat-icon { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
      .cat-count { display: none; }
    }

    /* ── Map collapse toggle ─────────────────────────────────────────── */
    .map-collapse-btn {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 502;
      background: rgba(15,23,42,.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,.15);
      color: rgba(255,255,255,.7);
      font-size: 11px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 20px;
      cursor: pointer;
      min-height: 36px;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: background .15s;
      white-space: nowrap;
    }
    .map-collapse-btn:hover { background: rgba(15,23,42,.95); }
    .map-collapse-btn:active { transform: translateX(-50%) scale(.95); }
    #map-hero.map-collapsed { height: 80px; min-height: 80px; }
    #map-hero.map-collapsed .map-overlay,
    #map-hero.map-collapsed .radius-bar,
    #map-hero.map-collapsed .map-unlocated,
    #map-hero.map-collapsed #map { display: none; }
    #map-hero.map-collapsed .map-collapse-btn { bottom: 50%; transform: translate(-50%, 50%); }
    #map-hero.map-collapsed .map-collapse-btn:active { transform: translate(-50%, 50%) scale(.95); }
    .map-collapsed-strip {
      display: none;
      position: absolute;
      inset: 0;
      z-index: 503;
      background: linear-gradient(135deg, #1a2744, #1E3A5F);
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 0 20px;
    }
    #map-hero.map-collapsed .map-collapsed-strip { display: flex; }
    .map-collapsed-strip-text {
      font-size: 13px;
      font-weight: 700;
      color: #fff;
      text-align: center;
    }
    .map-collapsed-strip-sub {
      font-size: 11px;
      color: rgba(255,255,255,.5);
    }

    /* ── Floating map panel on mobile ─────────────────────────────────── */
    @media (max-width: 600px) {
      #map-hero {
        top: 68px;
        bottom: auto;
        height: 44vh;
        width: min(320px, 88vw);
        border-radius: 16px 0 0 16px;
      }
      #map { border-radius: 16px 0 0 16px; }
      .map-panel-handle { left: -26px; width: 26px; height: 54px; border-radius: 27px 0 0 27px; }
    }

    /* ── Radius preset touch targets ─────────────────────────────────── */
    @media (max-width: 540px) {
      .radius-preset { font-size: 11px; padding: 6px; min-height: 36px; }
    }
    @media (max-width: 768px) {
      .radius-bar {
        margin-bottom: 32px;
        padding: 8px 12px;
        gap: 4px;
      }
      .radius-bar input[type=range] { height: 8px; }
      .radius-bar input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; }
    }

    /* ── Drawer (About + account menu on mobile) ─────────────────── */
    .drawer-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,.5);
      z-index: 1100;
    }
    .drawer-overlay.open { display: block; }
    .drawer {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 300px;
      max-width: 85vw;
      background: #fff;
      z-index: 1101;
      transform: translateX(-100%);
      transition: transform .25s ease;
      display: flex;
      flex-direction: column;
    }
    .drawer.open { transform: translateX(0); }
    .drawer-header {
      background: var(--dark);
      color: var(--gold);
      font-size: 22px;
      font-weight: 800;
      padding: 20px 16px;
      letter-spacing: -.3px;
    }
    .drawer-body { flex: 1; overflow-y: auto; padding: 12px 0; }
    .drawer-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 16px;
      font-size: 15px;
      font-weight: 600;
      color: var(--text);
      text-decoration: none;
      border-bottom: 1px solid var(--border);
    }
    .drawer-item:active { background: var(--surface); }
    .drawer-section { padding: 16px; border-bottom: 1px solid var(--border); }
    .drawer-section-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
    .drawer-about { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* ── Mobile: hide map + About section (About lives in the drawer) ─ */
    @media (max-width: 600px) {
      #map-hero { display: none; }
      .about-section { display: none; }
      .stores-grid { grid-template-columns: 1fr; gap: 14px; }
      .store-on-map { display: none; }
    }

    /* ── Persistent bottom cart bar (matches Shopper app) ──────────── */
    .cartbar {
      position: fixed;
      left: 0; right: 0; bottom: 0;
      z-index: 1005;
      display: none;
      background: var(--dark);
      padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }
    .cartbar.show { display: block; }
    .cartbar-main {
      width: 100%;
      display: flex; align-items: center; gap: 8px;
      background: none; border: none; color: #fff;
      font-size: 14px; font-weight: 700; cursor: pointer; padding: 0;
    }
    .cartbar-main svg { width: 20px; height: 20px; flex-shrink: 0; }
    .cartbar-count { background: var(--gold); color: var(--dark); border-radius: 12px; padding: 1px 8px; font-weight: 700; font-size: 13px; }
    .cartbar-spacer { flex: 1; }
    .cartbar-total { color: #fff; }
    body.has-cartbar { padding-bottom: 76px; }

    .cartsheet-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 1105; }
    .cartsheet-overlay.open { display: block; }
    .cartsheet {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 1106;
      background: #fff; border-radius: 20px 20px 0 0;
      transform: translateY(100%); transition: transform .25s ease;
      max-height: 70vh; display: flex; flex-direction: column;
    }
    .cartsheet.open { transform: translateY(0); }
    .cartsheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; font-size: 16px; font-weight: 800; border-bottom: 1px solid var(--border); }
    .cartsheet-head button { background: none; border: none; font-size: 16px; cursor: pointer; color: var(--muted); }
    .cartsheet-body { overflow-y: auto; padding: 8px 16px; }
    .cartsheet-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
    .cartsheet-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
    .cartsheet-item-price { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .cartsheet-item-line { font-size: 14px; font-weight: 700; color: var(--primary); }
    .cartsheet-empty { text-align: center; color: var(--muted); padding: 20px; }
    .cartsheet-actions { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--border); }
    .cartsheet-clear { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
    .cartsheet-checkout { flex: 1; background: var(--primary); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; }

    /* ── Fade out About after 15s ────────────────────────────────────── */
    .about-section { transition: opacity .7s ease; }
    body.hero-faded .about-section { opacity: 0; pointer-events: none; }
