/* ============================================================
   WARUNG NURUL — GUEST MOBILE-FIRST UI
   Palette: Lilac (#9B72CF / #C8A2FF) + Light Soft Green (#7BC9A6 / #A8E6CF)
   ============================================================ */
:root {
  --lilac-50: #FAF6FF;
  --lilac-100: #F2E8FF;
  --lilac-200: #E2CCFF;
  --lilac-400: #B98EFF;
  --lilac-500: #9B72CF;
  --lilac-600: #7B52AB;
  --lilac-700: #5B3887;

  --green-50: #F0FBF6;
  --green-100: #DCF7EB;
  --green-200: #B8EED7;
  --green-400: #8ADBB8;
  --green-500: #65BC97;
  --green-600: #3E9873;

  --wa-green: #25D366;
  --wa-dark: #1EB858;

  --text-dark: #251B35;
  --text-muted: #6E6280;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow-soft: 0 10px 30px rgba(123, 82, 171, 0.10);
  --shadow-card: 0 6px 20px rgba(91, 56, 135, 0.07);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 10% 5%, rgba(200, 162, 255, 0.28), transparent 45%),
    radial-gradient(circle at 92% 18%, rgba(168, 230, 207, 0.35), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(200, 162, 255, 0.18), transparent 50%),
    #F9F7FC;
  min-height: 100vh;
  overflow-x: hidden;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 120px;
  position: relative;
}

.hidden { display: none !important; }

/* ==================== TOP HEADER ==================== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(250, 246, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(155, 114, 207, 0.12);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lilac-500), var(--green-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(155, 114, 207, 0.28);
}

.brand-logo svg { width: 22px; height: 22px; }

.brand-title {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-dark);
  line-height: 1.15;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.guest-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(155, 114, 207, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--lilac-700);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(123, 82, 171, 0.08);
  transition: transform 0.18s ease, background 0.18s ease;
}

.guest-pill:active { transform: scale(0.95); }

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}

/* ==================== LIVE STATUS BANNER ==================== */
.live-banner {
  margin: 12px 16px 0;
  padding: 12px 15px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(155, 114, 207, 0.14), rgba(168, 230, 207, 0.28));
  border: 1px solid rgba(155, 114, 207, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.live-banner.paid {
  background: linear-gradient(135deg, rgba(101, 188, 151, 0.22), rgba(168, 230, 207, 0.38));
  border-color: rgba(62, 152, 115, 0.35);
}

.live-banner-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.pulse-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
  animation: pulseAnim 1.6s infinite;
}

.live-banner.paid .pulse-dot {
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(62, 152, 115, 0.25);
  animation: none;
}

@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.7; }
}

.live-banner-title { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.live-banner-sub { font-size: 11.5px; color: var(--text-muted); }
.live-banner-arrow { font-size: 22px; font-weight: 700; color: var(--lilac-600); }

/* ==================== TAB VIEWS ==================== */
.tab-view { display: none; animation: fadeUp 0.26s ease; }
.tab-view.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-block { padding: 16px 16px 6px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-dark);
}

.section-head p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pill-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lilac-100);
  color: var(--lilac-700);
}

.pill-tag.green {
  background: var(--green-100);
  color: var(--green-600);
}

.count-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==================== HERO SLIDER ==================== */
.hero-section { padding: 14px 16px 4px; }

.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--lilac-100);
}

.hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 192px;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 27, 53, 0.08) 0%, rgba(37, 27, 53, 0.78) 100%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.hero-badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 162, 255, 0.92);
  color: #251B35;
  margin-bottom: 6px;
}

.hero-badge.green { background: rgba(168, 230, 207, 0.94); }

.hero-overlay h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 3px;
}

.hero-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.hero-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots .dot.active {
  width: 22px;
  background: var(--green-200);
}

/* ==================== SIGNATURE CAROUSEL ==================== */
.signature-carousel {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.signature-carousel::-webkit-scrollbar { display: none; }

.sig-card {
  min-width: 235px;
  scroll-snap-align: start;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sig-card:active { transform: scale(0.98); }

.sig-img-wrap {
  height: 128px;
  position: relative;
  overflow: hidden;
}

.sig-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sig-star {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(37, 27, 53, 0.75);
  backdrop-filter: blur(8px);
  color: #FFE082;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

.sig-body { padding: 12px 13px; }
.sig-name { font-size: 14.5px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; }
.sig-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 1.38;
}

.sig-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sig-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--lilac-700);
}

.btn-quick-add {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, var(--lilac-500), var(--green-500));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(155, 114, 207, 0.28);
}

/* ==================== SEARCH & CATEGORY PILLS ==================== */
.sticky-filter { padding-top: 8px; padding-bottom: 4px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(155, 114, 207, 0.18);
  border-radius: 16px;
  padding: 11px 14px;
  box-shadow: 0 4px 14px rgba(91, 56, 135, 0.05);
  margin-bottom: 12px;
}

.search-box svg { width: 18px; height: 18px; color: var(--lilac-500); flex-shrink: 0; }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-dark);
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.category-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  border: 1px solid rgba(155, 114, 207, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--lilac-500), var(--green-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(155, 114, 207, 0.25);
}

/* ==================== MENU GRID ==================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.menu-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(155, 114, 207, 0.13);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.menu-thumb {
  height: 125px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--lilac-50);
}

.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.menu-badge-sig {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, var(--lilac-600), var(--lilac-400));
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.menu-qty-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--green-500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(62, 152, 115, 0.35);
}

.menu-body {
  padding: 11px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-cat-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-600);
  margin-bottom: 3px;
}

.menu-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
  cursor: pointer;
}

.menu-mini-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}

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

.menu-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--lilac-700);
}

/* ==================== CART & ORDERS ==================== */
.empty-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(155, 114, 207, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px 22px;
  text-align: center;
}

.empty-icon { font-size: 42px; margin-bottom: 10px; }
.empty-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.empty-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.45; }

.btn-primary-soft {
  border: none;
  background: linear-gradient(135deg, var(--lilac-500), var(--green-500));
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(155, 114, 207, 0.28);
}

.btn-text-danger {
  border: none;
  background: transparent;
  color: #E11D48;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 14px;
}

.cart-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(155, 114, 207, 0.14);
  border-radius: 18px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.cart-item img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; }
.cart-item-price { font-size: 12.5px; font-weight: 700; color: var(--lilac-600); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lilac-50);
  border: 1px solid rgba(155, 114, 207, 0.22);
  border-radius: 12px;
  padding: 4px 6px;
}

.qty-stepper button {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: none;
  background: #fff;
  color: var(--lilac-700);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.qty-stepper span {
  min-width: 20px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
}

.notes-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(155, 114, 207, 0.16);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.notes-box label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.notes-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
}

.summary-card {
  background: linear-gradient(135deg, rgba(242, 232, 255, 0.72), rgba(220, 247, 235, 0.75));
  border: 1px solid rgba(155, 114, 207, 0.2);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-divider {
  border-top: 1px dashed rgba(123, 82, 171, 0.28);
  margin: 10px 0;
}

.summary-row.total {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
}

.payment-section h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.pay-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(155, 114, 207, 0.16);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-card input { display: none; }

.pay-card.active {
  border-color: var(--lilac-500);
  background: var(--lilac-50);
  box-shadow: 0 6px 16px rgba(155, 114, 207, 0.16);
}

.pay-icon { font-size: 22px; }
.pay-title { font-size: 12.5px; font-weight: 800; color: var(--text-dark); }
.pay-desc { font-size: 10.5px; color: var(--text-muted); }

/* QRIS Panel */
.qris-panel {
  background: #fff;
  border: 1.5px solid var(--green-400);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.qris-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.qris-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--lilac-700);
  background: var(--lilac-100);
  padding: 4px 10px;
  border-radius: 999px;
}

.bca-tag {
  font-size: 12px;
  font-weight: 800;
  color: #005BAA;
  background: #E6F1FC;
  padding: 4px 10px;
  border-radius: 8px;
}

.qris-qr-wrap {
  display: inline-flex;
  padding: 10px;
  border-radius: 16px;
  background: var(--lilac-50);
  border: 1px solid var(--lilac-200);
  margin-bottom: 12px;
}

.qris-label { font-size: 11.5px; color: var(--text-muted); }
.qris-rek { font-size: 18px; font-weight: 800; color: var(--text-dark); letter-spacing: 0.5px; margin: 3px 0; }
.qris-an { font-size: 12.5px; font-weight: 700; color: var(--green-600); margin-bottom: 6px; }
.qris-amount { font-size: 13px; color: var(--text-dark); margin-bottom: 10px; }

.btn-copy-rek {
  border: 1px solid var(--lilac-400);
  background: var(--lilac-50);
  color: var(--lilac-700);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.qris-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.45;
}

.btn-checkout {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--lilac-600), var(--green-500));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(123, 82, 171, 0.28);
  transition: transform 0.16s ease;
}

.btn-checkout:active { transform: scale(0.98); }

/* Active Order Tracker Card */
.order-status-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1.5px solid rgba(155, 114, 207, 0.2);
  box-shadow: var(--shadow-card);
}

.order-status-card.paid {
  border-color: var(--green-500);
  background: linear-gradient(180deg, #FFFFFF 0%, #F2FCF7 100%);
}

.os-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.os-code { font-size: 13px; font-weight: 800; color: var(--lilac-700); }

.status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.status-pill.pending { background: #FEF3C7; color: #B45309; }
.status-pill.paid { background: var(--green-100); color: var(--green-600); }
.status-pill.cancelled { background: #FEE2E2; color: #B91C1C; }

.os-items {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.os-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(155, 114, 207, 0.2);
}

.os-total { font-size: 15px; font-weight: 800; color: var(--text-dark); }

.btn-view-struk {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--lilac-700);
  background: var(--lilac-100);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ==================== LOCATION TAB ==================== */
.map-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(155, 114, 207, 0.16);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.map-frame-wrap {
  width: 100%;
  height: 270px;
  background: var(--lilac-50);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-body { padding: 18px; }

.loc-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.loc-pin-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--lilac-100);
  color: var(--lilac-700);
  padding: 4px 10px;
  border-radius: 999px;
}

.loc-hours { font-size: 11.5px; font-weight: 600; color: var(--green-600); }

.map-body h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.loc-address { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }

.btn-gmaps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lilac-600), var(--green-500));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(123, 82, 171, 0.25);
}

.btn-gmaps svg { width: 19px; height: 19px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.info-tile {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(155, 114, 207, 0.14);
  border-radius: 16px;
  padding: 13px 10px;
  text-align: center;
}

.info-tile-icon { font-size: 22px; margin-bottom: 5px; }
.info-tile-title { font-size: 12px; font-weight: 800; color: var(--text-dark); }
.info-tile-sub { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   HANGING CAPSULE GLASSMORPHISM BOTTOM BAR + FLOATING WHATSAPP
   Sudut kanan kapsul bertemu diagonal kiri bawah tombol WA
   ============================================================ */
.nav-dock-wrapper {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 452px);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.capsule-bottom-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  width: 248px;
  height: 62px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 14px 34px rgba(123, 82, 171, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-icon-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-icon-btn svg { width: 23px; height: 23px; }

.nav-icon-btn.active {
  background: linear-gradient(135deg, var(--lilac-500), var(--green-500));
  color: #fff;
  box-shadow: 0 6px 16px rgba(155, 114, 207, 0.36);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FF5A79;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Floating WhatsApp Button:
   Posisi di kanan sejajar bottom bar, sudut kanan kapsul bertemu diagonal kiri bawah tombol WA */
.wa-float-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-left: 10px;
  margin-bottom: 24px; /* Diagonal offset: sudut kanan atas kapsul bertemu kiri bawah tombol WA */
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, background 0.22s ease;
}

.wa-float-btn:hover { background: var(--wa-dark); transform: scale(1.06); }
.wa-float-btn:active { transform: scale(0.94); }
.wa-float-btn svg { width: 30px; height: 30px; }

/* ==================== MODAL ONBOARDING ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(37, 27, 53, 0.52);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-glass-card {
  width: 100%;
  max-width: 390px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(37, 27, 53, 0.24);
  animation: zoomIn 0.26s ease;
}

.modal-top-icon { font-size: 40px; margin-bottom: 8px; }
.modal-glass-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 5px; }
.modal-glass-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }

.input-group { text-align: left; margin-bottom: 13px; }
.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(155, 114, 207, 0.26);
  background: var(--lilac-50);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
}
.input-group input:focus { border-color: var(--lilac-500); background: #fff; }

.btn-primary-full {
  width: 100%;
  border: none;
  margin-top: 6px;
  padding: 14px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--lilac-600), var(--green-500));
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(155, 114, 207, 0.3);
}

/* ==================== MODERN SWIPEABLE LIGHTBOX ==================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(24, 16, 36, 0.84);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: zoomIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.lb-close {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--text-dark);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-nav {
  position: absolute;
  top: 36%;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.lb-nav.prev { left: -10px; }
.lb-nav.next { right: -10px; }

.lb-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.lb-img-wrap {
  width: 100%;
  height: 255px;
  position: relative;
  background: var(--lilac-50);
  overflow: hidden;
}

.lb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--lilac-600), var(--green-500));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.lb-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(37, 27, 53, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.lb-content { padding: 18px 20px 16px; }
.lb-cat { font-size: 11px; font-weight: 800; color: var(--green-600); letter-spacing: 0.7px; margin-bottom: 4px; }
.lb-content h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.lb-price { font-size: 18px; font-weight: 800; color: var(--lilac-700); margin-bottom: 10px; }
.lb-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }

.lb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lb-order {
  flex: 1;
  border: none;
  padding: 13px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lilac-600), var(--green-500));
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(155, 114, 207, 0.3);
}

.lb-swipe-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--text-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 27, 53, 0.26);
  white-space: nowrap;
}
