/* ============================================
   OKAYAMA KEDAI KENSHIN — Landing Page Menu
   Theme: Dark Red Maroon + Japanese Aesthetic
   ============================================ */

:root {
  --primary:     #8B1A1A;
  --primary-dark:#5C0E0E;
  --primary-light:#B52626;
  --accent:      #E8651A;
  --accent-light:#F4913A;
  --gold:        #C9A84C;
  --black:       #1A1A1A;
  --dark:        #242424;
  --dark2:       #2E2E2E;
  --gray:        #6B6B6B;
  --gray-light:  #F2F2F2;
  --white:       #FFFFFF;
  --card-bg:     #FFFFFF;
  --text:        #2C2C2C;
  --text-muted:  #7A7A7A;
  --green:       #22C55E;
  --red:         #EF4444;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  background: var(--gray-light);
  color: var(--text);
  min-height: 100vh;
}

/* ── HEADER ── */
.header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap { display: flex; align-items: center; }

.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.logo-text {
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.badge-open {
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.header-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 24px 72px;
  text-align: center;
}

.hero::before {
  display: none;
}

.hero-pattern {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--gray-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── FLOATING FOOD PARTICLES ── */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  left: -80px;
  top: var(--x);
  font-size: var(--size, 1.8rem);
  opacity: 0;
  animation: slideRight var(--dur, 12s) var(--delay, 0s) infinite linear;
  user-select: none;
  will-change: transform, opacity;
  filter: grayscale(20%);
}

@keyframes slideRight {
  0% {
    transform: translateX(0) translateY(0) rotate(-5deg) scale(0.85);
    opacity: 0;
  }
  8% {
    opacity: 0.2;
  }
  50% {
    transform: translateX(55vw) translateY(-8px) rotate(5deg) scale(1);
    opacity: 0.15;
  }
  92% {
    opacity: 0.1;
  }
  100% {
    transform: translateX(110vw) translateY(4px) rotate(-3deg) scale(0.9);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-sub {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
  color: var(--white);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-logo {
  width: min(480px, 80vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.45));
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── MAIN ── */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ── TOOLBAR ── */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}

.stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-item strong { color: var(--text); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.green { background: var(--green); }
.dot.red   { background: var(--red); }

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 340px;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid #E5E5E5;
  border-radius: 30px;
  font-size: 14px;
  font-family: inherit;
  background: var(--gray-light);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

.search-input::placeholder { color: var(--text-muted); }

/* ── KATEGORI ── */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  font-family: 'Noto Sans JP', sans-serif;
}

.kategori-section {
  margin-bottom: 32px;
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.kat-card {
  background: var(--white);
  border: 1.5px solid #EBEBEB;
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  overflow: hidden;
  min-width: 0;
}

.kat-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(139,26,26,0.1);
  transform: translateY(-1px);
}

.kat-card.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
}

.kat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.kat-card.active .kat-icon {
  background: rgba(255,255,255,0.2);
}

.kat-info {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.kat-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.kat-jp {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kat-card.active .kat-jp { color: rgba(255,255,255,0.7); }

.kat-count {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

.kat-card.active .kat-count { color: rgba(255,255,255,0.8); }

/* ── MENU GRID ── */
.menu-section { margin-top: 8px; }

.menu-grid {
  display: block;
}

/* flat grid saat filter kategori / search aktif */
.menu-grid.flat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .menu-grid.flat {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .menu-grid.flat {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Menu Card */
.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.menu-card.habis { opacity: 0.7; }

.menu-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 72%;
  overflow: hidden;
  background: var(--gray-light);
}

.menu-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-img { transform: scale(1.06); }

.menu-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #f5f5f5, #ebebeb);
  color: #ccc;
}

.badge-status {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

.badge-status.tersedia {
  background: rgba(34,197,94,0.9);
  color: #fff;
}

.badge-status.habis {
  background: rgba(239,68,68,0.9);
  color: #fff;
}

.menu-body {
  padding: 14px 16px 16px;
}

.menu-kategori-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.menu-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.menu-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.menu-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.price-zeinuki {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  padding: 1px 4px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
  align-self: center;
}

.btn-order {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-order:hover { background: var(--primary-light); transform: scale(1.03); }
.btn-order:disabled { background: var(--gray); cursor: not-allowed; transform: none; }

/* Social media footer */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 4px;
  flex-wrap: wrap;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.social-btn:hover {
  transform: translateY(-3px);
}

/* Instagram — gradient merah-ungu */
.social-btn-ig { color: #fff; }
.social-btn-ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

/* TikTok — hitam/cyan */
.social-btn-tt { color: #fff; }
.social-btn-tt:hover { background: #010101; border-color: #69C9D0; }

/* Google — putih transparan */
.social-btn-g { color: #fff; }
.social-btn-g:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.3); }

/* WhatsApp — hijau */
.social-btn-wa {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.35);
  color: #25D366;
}
.social-btn-wa:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* Sembunyikan tombol pesan */
.btn-order { display: none; }

/* ── WA Float Button ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 13px 20px 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.wa-float:hover {
  background: #1EBE5B;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.wa-float-label {
  white-space: nowrap;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: wa-pulse 2.5s infinite; }

/* Mobile — WA float jadi bulat, sembunyikan teks */
@media (max-width: 480px) {
  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    bottom: 20px;
    right: 16px;
  }
  .wa-float-label { display: none; }
  .social-btn { width: 42px; height: 42px; border-radius: 10px; }
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state p { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.empty-state small { font-size: 13px; }

/* ── FOOTER ── */
.footer {
  background: var(--primary-dark);
  padding: 40px 24px;
  text-align: center;
  color: rgba(255,255,255,0.75);
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
  object-fit: contain;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--gold);
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-links span { color: rgba(255,255,255,0.3); }

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.footer-bottom {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
}

.footer-dev {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.footer-credit {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ── MODAL DETAIL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.25s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-img-wrap {
  width: 100%;
  padding-top: 56%;
  position: relative;
  background: var(--gray-light);
}

.modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: linear-gradient(135deg, #f5f5f5, #ebebeb);
}

.modal-body { padding: 24px; }

.modal-kat { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.modal-name { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.modal-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.modal-price .price-zeinuki {
  font-size: 11px;
  align-self: center;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.btn-close-modal {
  flex: 0 0 auto;
  background: var(--gray-light);
  color: var(--text);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-close-modal:hover { background: #E0E0E0; }

.btn-wa {
  flex: 1;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-wa:hover { background: #1EBE5B; }

/* ── RESPONSIVE ── */
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .kategori-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  .kategori-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu-grid.flat,
  .menu-subgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-wrap { max-width: 100%; }

  .hero { padding: 40px 16px 56px; }

  .kat-group-heading { padding: 12px 14px; gap: 10px; }
  .kat-group-name    { font-size: 14px; }

  .menu-name  { font-size: 13px; }
  .menu-price { font-size: 13px; }
  .price-amount { font-size: 13px; }
  .menu-body  { padding: 10px 12px 12px; }
}

@media (max-width: 480px) {
  .kategori-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .kat-card {
    padding: 10px 12px;
    gap: 8px;
  }

  .kat-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 7px;
  }

  .kat-name  { font-size: 12px; }
  .kat-jp    { font-size: 9px; }
  .kat-count { font-size: 10px; }

  .menu-grid.flat,
  .menu-subgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .menu-name         { font-size: 12px; }
  .menu-price        { font-size: 12px; }
  .price-amount      { font-size: 12px; }
  .menu-desc         { font-size: 11px; -webkit-line-clamp: 2; }
  .menu-body         { padding: 9px 10px 11px; }
  .menu-kategori-tag { font-size: 9px; }

  .btn-order { padding: 6px 10px; font-size: 11px; }

  .main-wrapper { padding: 16px 12px 48px; }

  .kat-group-heading {
    padding: 10px 12px;
    margin-top: 24px;
    gap: 8px;
  }

  .kat-group-icon  { width: 34px; height: 34px; font-size: 18px; }
  .kat-group-name  { font-size: 13px; }
  .kat-group-jp    { font-size: 10px; }
  .kat-group-count { font-size: 11px; padding: 2px 8px; }

  .stats      { gap: 12px; }
  .stat-item  { font-size: 12px; }
  .hero-desc  { font-size: 13px; }
  .hero-logo  { width: min(300px, 85vw); }
}
.kat-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-top: 32px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.kat-group-heading:first-child {
  margin-top: 0;
}

.kat-group-icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  background: var(--gray-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kat-group-text {
  flex: 1;
  min-width: 0;
}

.kat-group-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.kat-group-jp {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Noto Sans JP', sans-serif;
}

.kat-group-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.menu-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .menu-subgrid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .menu-subgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-card {
  animation: fadeInUp 0.3s ease both;
}

.menu-card:nth-child(1)  { animation-delay: 0.02s; }
.menu-card:nth-child(2)  { animation-delay: 0.04s; }
.menu-card:nth-child(3)  { animation-delay: 0.06s; }
.menu-card:nth-child(4)  { animation-delay: 0.08s; }
.menu-card:nth-child(5)  { animation-delay: 0.10s; }
.menu-card:nth-child(6)  { animation-delay: 0.12s; }
.menu-card:nth-child(7)  { animation-delay: 0.14s; }
.menu-card:nth-child(8)  { animation-delay: 0.16s; }

/* ══════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════ */

/* Tombol admin di header */
.btn-admin {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.btn-admin:hover {
  background: rgba(255,255,255,0.22);
  transform: rotate(20deg);
}

/* Overlay */
.admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  backdrop-filter: blur(3px);
}
.admin-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Panel */
.admin-panel {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
}
.admin-overlay.open .admin-panel {
  transform: translateX(0);
}

/* Panel header */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--primary-dark);
  color: var(--white);
  flex-shrink: 0;
  gap: 12px;
}
.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.admin-subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 2px 0 0;
}
.admin-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.admin-close:hover { background: rgba(255,255,255,0.25); }

/* Tabs */
.admin-tabs {
  display: flex;
  border-bottom: 2px solid #EBEBEB;
  flex-shrink: 0;
}
.admin-tab {
  flex: 1;
  padding: 14px 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.admin-tab:hover:not(.active) { color: var(--text); }

/* Tab content */
.admin-tab-content {
  display: none;
  padding: 24px;
  flex: 1;
  flex-direction: column;
  gap: 0;
}
.admin-tab-content.active { display: flex; flex-direction: column; gap: 0; }

/* Section */
.admin-section {
  margin-bottom: 24px;
}
.admin-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.admin-section-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Input */
.admin-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.admin-input-group:focus-within { border-color: var(--primary); }
.admin-input-prefix {
  background: var(--gray-light);
  padding: 0 12px;
  font-size: 15px;
  color: var(--text-muted);
  height: 44px;
  display: flex;
  align-items: center;
  border-right: 1.5px solid #E0E0E0;
  flex-shrink: 0;
}
.admin-input {
  flex: 1;
  padding: 0 14px;
  height: 44px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}
.admin-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.admin-textarea:focus { border-color: var(--primary); }

/* Toggle switch */
.admin-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-light);
  padding: 14px 16px;
  border-radius: 10px;
}
.admin-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #CCC;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.25s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Save button */
.admin-save-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}
.admin-save-btn:hover { background: var(--primary-light); }
.admin-save-btn:active { transform: scale(0.98); }

.admin-save-msg {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 0 0;
  min-height: 28px;
  transition: opacity 0.3s;
}
.admin-save-msg.success { color: var(--green); }
.admin-save-msg.error   { color: var(--red); }

/* Menu tab toolbar */
.admin-menu-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.admin-search:focus { border-color: var(--primary); }
.admin-select {
  padding: 10px 12px;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

/* Menu list items */
.admin-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex: 1;
}
.admin-menu-item {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.admin-menu-item:focus-within { border-color: var(--primary); background: #FFF8F8; }

.admin-menu-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #DDD;
}
.admin-menu-img-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.admin-menu-info {
  flex: 1;
  min-width: 0;
}
.admin-menu-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-menu-kat {
  font-size: 10px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.admin-menu-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-price-input {
  width: 90px;
  padding: 6px 10px;
  border: 1.5px solid #DDD;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.admin-price-input:focus { border-color: var(--primary); }
.admin-status-select {
  padding: 6px 10px;
  border: 1.5px solid #DDD;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s;
}
.admin-status-select.tersedia { color: var(--green); border-color: var(--green); }
.admin-status-select.habis    { color: var(--red);   border-color: var(--red); }

.admin-menu-save-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.admin-menu-save-btn:hover { background: var(--primary-light); }
.admin-menu-save-btn.saved {
  background: var(--green);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 480px) {
  .admin-panel { max-width: 100%; }
  .admin-tab-content { padding: 16px; }
  .admin-menu-controls { flex-wrap: wrap; gap: 6px; }
  .admin-price-input { width: 80px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE UX OVERRIDES — PUBLIC LANDING PAGE ONLY
   Desktop styles remain untouched. Keep this block last.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 68px;
  }

  body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  /* Header */
  .header-inner {
    min-height: 62px;
    padding: 8px 14px;
    gap: 10px;
  }

  .logo {
    height: 44px;
    max-width: 156px;
  }

  .logo-text {
    font-size: 14px;
    line-height: 1.15;
  }

  .header-info {
    gap: 2px;
    min-width: 0;
  }

  .badge-open {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 10.5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .header-tagline {
    font-size: 10px;
    white-space: nowrap;
  }

  /* Hero */
  .hero {
    padding: 26px 14px 42px;
  }

  .hero-logo {
    width: min(270px, 74vw);
    margin-bottom: 12px;
  }

  .hero-desc {
    max-width: 340px;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-desc br {
    display: none;
  }

  .hero-pattern {
    height: 26px;
  }

  .particle {
    opacity: 0;
    font-size: calc(var(--size, 1.8rem) * .78);
  }

  .particle:nth-child(n+9) {
    display: none;
  }

  /* Main content */
  .main-wrapper {
    padding: 16px 12px 52px;
  }

  /* Toolbar */
  .toolbar {
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 14px;
  }

  .stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .stat-item {
    min-width: 0;
    min-height: 34px;
    padding: 7px 5px;
    border-radius: 9px;
    justify-content: center;
    gap: 4px;
    background: #F8F5F5;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
  }

  .search-wrap {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .search-input {
    min-height: 46px;
    padding: 11px 14px 11px 42px;
    border-radius: 13px;
    font-size: 16px;
    background: #FAFAFA;
  }

  .search-icon {
    left: 14px;
  }

  /* Categories: compact icon rail like a food app */
  .kategori-section {
    margin-bottom: 20px;
  }

  .section-title {
    margin-bottom: 10px;
    font-size: 17px;
    gap: 7px;
  }

  .section-sub {
    font-size: 10px;
  }

  .kategori-grid {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 -12px;
    padding: 2px 12px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .kategori-grid::-webkit-scrollbar {
    display: none;
  }

  .kat-card {
    flex: 0 0 74px;
    min-width: 74px;
    min-height: 88px;
    padding: 8px 5px 7px;
    gap: 5px;
    border-radius: 15px;
    border: 1px solid #E9E9E9;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.035);
  }

  .kat-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.035);
  }

  .kat-card.active {
    box-shadow: 0 5px 15px rgba(139,26,26,0.20);
  }

  .kat-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
    border-radius: 13px;
    margin: 0 auto;
  }

  .kat-info {
    width: 100%;
    overflow: visible;
  }

  .kat-name {
    font-size: 9.5px;
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .kat-jp,
  .kat-count {
    display: none;
  }

  /* Category group header */
  .kat-group-heading {
    margin: 20px 0 9px;
    padding: 9px 10px;
    gap: 8px;
    border-left-width: 3px;
    border-radius: 11px;
  }

  .kat-group-heading:first-child {
    margin-top: 0;
  }

  .kat-group-icon {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 16px;
  }

  .kat-group-name {
    font-size: 12px;
    line-height: 1.2;
  }

  .kat-group-jp {
    display: none;
  }

  .kat-group-count {
    padding: 3px 7px;
    font-size: 8.5px;
  }

  /* Menu: 3-column photo-first layout */
  .menu-grid.flat,
  .menu-subgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .menu-card {
    min-width: 0;
    border-radius: 12px;
    box-shadow: 0 2px 9px rgba(0,0,0,0.06);
    -webkit-tap-highlight-color: transparent;
  }

  .menu-card:hover {
    transform: none;
    box-shadow: 0 2px 9px rgba(0,0,0,0.06);
  }

  .menu-card:active {
    transform: scale(.985);
  }

  .menu-img-wrap {
    padding-top: 88%;
  }

  .menu-card:hover .menu-img {
    transform: none;
  }

  .menu-img-placeholder {
    font-size: 30px;
  }

  .badge-status.tersedia {
    display: none;
  }

  .badge-status.habis {
    top: 5px;
    left: 5px;
    padding: 2px 5px;
    font-size: 7px;
    border-radius: 10px;
  }

  .menu-body {
    padding: 7px 7px 8px;
  }

  .menu-kategori-tag,
  .menu-desc {
    display: none;
  }

  .menu-name {
    min-height: 29px;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .menu-footer {
    align-items: center;
    gap: 2px;
  }

  .menu-price {
    min-width: 0;
    gap: 2px;
    flex-wrap: wrap;
    line-height: 1.1;
  }

  .menu-price,
  .price-amount {
    font-size: 11.5px;
  }

  .price-zeinuki {
    padding: 1px 2px;
    font-size: 6.5px;
  }

  /* Detail modal stays readable when a card is tapped */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    max-width: none;
    max-height: 88dvh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    transform: translateY(28px);
  }

  .modal-overlay.open .modal {
    transform: translateY(0);
  }

  .modal-img-wrap {
    padding-top: 52%;
  }

  .modal-body {
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .modal-name {
    font-size: 19px;
    line-height: 1.3;
  }

  .modal-desc {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .modal-price {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .modal-actions {
    width: 100%;
  }

  .btn-close-modal {
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  /* Footer */
  .footer {
    padding: 32px 18px calc(34px + env(safe-area-inset-bottom));
  }

  .footer-logo {
    height: 52px;
    margin-bottom: 10px;
  }

  .footer-brand {
    font-size: 16px;
  }

  .footer-tagline {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .footer-social {
    gap: 10px;
    margin-top: 14px;
  }

  .social-btn {
    width: 44px;
    height: 44px;
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .empty-state {
    padding: 44px 18px;
  }
}

@media (max-width: 389px) {
  .header-tagline {
    display: none;
  }

  .logo {
    max-width: 145px;
  }

  .stats {
    gap: 4px;
  }

  .stat-item {
    padding-inline: 3px;
    font-size: 9px;
  }

  .kat-card {
    flex-basis: 70px;
    min-width: 70px;
  }

  .menu-grid.flat,
  .menu-subgrid {
    gap: 6px;
  }

  .menu-body {
    padding: 6px 6px 7px;
  }

  .menu-name {
    font-size: 9px;
    min-height: 27px;
  }

  .menu-price,
  .price-amount {
    font-size: 10.5px;
  }

  .price-zeinuki {
    font-size: 6px;
  }
}
/* END MOBILE UX OVERRIDES */


/* ── UBER EATS MOBILE PROMO POPUP ── */
.uber-popup-overlay {
  display: none;
}

@media (max-width: 767px) {
  body.uber-popup-open {
    overflow: hidden;
  }

  .uber-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
    background: rgba(15, 15, 15, 0.52);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .uber-popup-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .uber-popup {
    position: relative;
    width: min(100%, 420px);
    padding: 22px 20px 18px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 100% 0%, rgba(6,193,103,.11), transparent 34%),
      #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
    transform: translateY(28px) scale(.98);
    opacity: 0;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
  }

  .uber-popup-overlay.open .uber-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .uber-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #F2F2F2;
    color: #222;
    font: inherit;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }

  .uber-popup-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 14px;
    padding: 8px 11px;
    border-radius: 11px;
    background: #0B0B0B;
    font-weight: 800;
    letter-spacing: -.45px;
  }

  .uber-word {
    color: #fff;
  }

  .eats-word {
    color: #06C167;
  }

  .uber-popup-kicker {
    display: block;
    margin-bottom: 5px;
    color: #06A957;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .9px;
  }

  .uber-popup-title {
    max-width: 330px;
    margin: 0 38px 8px 0;
    color: #1E1E1E;
    font-size: 20px;
    line-height: 1.28;
    letter-spacing: -.3px;
  }

  .uber-popup-text {
    margin: 0 0 16px;
    color: #6A6A6A;
    font-size: 13px;
    line-height: 1.55;
  }

  .uber-popup-cta {
    min-height: 48px;
    width: 100%;
    padding: 0 17px;
    border-radius: 13px;
    background: #06C167;
    color: #071B10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(6,193,103,.20);
    -webkit-tap-highlight-color: transparent;
  }

  .uber-popup-cta:active {
    transform: scale(.985);
  }

  .uber-popup-cta span {
    font-size: 20px;
    line-height: 1;
  }

  .uber-popup-source {
    margin: 9px 0 0;
    color: #A0A0A0;
    font-size: 9px;
    text-align: center;
  }
}


/* ── MOBILE EXPANDING BOTTOM NAV ── */
.mobile-bottom-nav,
.mobile-nav-panel { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 990;
    width: calc(100% - 24px);
    max-width: 430px;
    min-height: 66px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 25px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 38px rgba(35,20,20,.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .mobile-nav-item {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 19px;
    background: transparent;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    font: inherit;
    cursor: pointer;
    transition: flex-basis .28s cubic-bezier(.2,.8,.2,1), background .22s ease, color .22s ease, padding .28s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-item.active {
    flex: 1 1 128px;
    min-width: 104px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    box-shadow: 0 6px 16px rgba(139,26,26,.25);
  }

  .mobile-nav-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
  }

  .mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .mobile-nav-label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    transform: translateX(-4px);
    transition: max-width .25s ease, opacity .18s ease, transform .25s ease;
  }

  .mobile-nav-item.active .mobile-nav-label {
    max-width: 78px;
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-nav-panel {
    position: fixed;
    left: 50%;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 985;
    width: calc(100% - 30px);
    max-width: 420px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 18px 44px rgba(25,18,18,.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translate(-50%, 12px) scale(.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility .2s ease;
  }

  .mobile-nav-panel.open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  .mobile-panel-title {
    margin: 0 0 10px;
    color: #252525;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
  }

  .mobile-social-link {
    min-width: 0;
    min-height: 72px;
    padding: 10px 6px;
    border: 1px solid #ECECEC;
    border-radius: 15px;
    background: #FAFAFA;
    color: #292929;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 700;
  }

  .mobile-social-badge {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 800;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
  }

  .mobile-profile-card { display: grid; gap: 10px; }

  .mobile-profile-address {
    padding: 12px 13px;
    border-radius: 14px;
    background: #F7F7F7;
  }

  .mobile-profile-address small {
    display: block;
    margin-bottom: 4px;
    color: #999;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
  }

  .mobile-profile-address p {
    margin: 0;
    color: #303030;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 600;
  }

  .mobile-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-profile-action {
    min-height: 44px;
    padding: 0 11px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 800;
  }

  .mobile-profile-action.map { background: #F1F1F1; color: #262626; }
  .mobile-profile-action.uber { background: #06C167; color: #071B10; }

  .wa-float {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .footer { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  .mobile-bottom-nav { width: calc(100% - 16px); padding: 6px; gap: 3px; }
  .mobile-nav-item { flex-basis: 48px; min-width: 48px; height: 49px; }
  .mobile-nav-item.active { min-width: 98px; padding-inline: 12px; }
}


/* WhatsApp moved into Profile panel */
@media (max-width: 767px) {
  .wa-float {
    display: none !important;
  }

  .mobile-profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-profile-action.whatsapp {
    background: #25D366;
    color: #ffffff;
  }

  .mobile-profile-action.uber {
    background: #06C167;
    color: #071B10;
  }
}

@media (max-width: 370px) {
  .mobile-profile-actions {
    grid-template-columns: 1fr;
  }
}
