/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* Orange - Energy, Speed, Action */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;

  /* Dark Blue - Trust, Professionalism, Stability */
  --navy-50: #eef2ff;
  --navy-100: #e0e7ff;
  --navy-200: #c7d2fe;
  --navy-300: #a5b4fc;
  --navy-400: #818cf8;
  --navy-500: #6366f1;
  --navy-600: #1a237e;
  --navy-700: #0d1b69;
  --navy-800: #0a1354;
  --navy-900: #070e3f;

  --dark-900: #0a0f1a;
  --dark-800: #131a2b;
  --dark-700: #1e2a3e;
  --dark-600: #475569;

  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

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

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ar);
  background: var(--gray-50);
  color: var(--dark-900);
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
input, textarea { font-family: inherit; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container { max-width: 480px; margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title .see-all {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-600);
  display: flex;
  align-items: center;
  gap: 4px;
}
.en { font-family: var(--font-en); direction: ltr; }

/* ============================================
   SPLASH / LOADING SCREEN
   ============================================ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-800) 40%, var(--navy-900) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
#splash.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
#splash .logo-splash {
  width: 110px;
  height: 110px;
  border-radius: 30px;
  animation: splashPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(249, 115, 22, 0.5);
  overflow: hidden;
}
#splash .logo-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#splash .brand-text {
  margin-top: 20px;
  text-align: center;
}
#splash .brand-text h2 {
  color: var(--white);
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
}
#splash .brand-text h2 span {
  color: var(--orange-400);
  font-weight: 400;
  font-size: 1.2rem;
  display: block;
  letter-spacing: 4px;
  margin-top: -2px;
}
#splash p {
  color: var(--orange-200);
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 400;
}
#splash .splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
#splash .splash-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-400);
  animation: dotBounce 1.4s ease-in-out infinite;
}
#splash .splash-dots span:nth-child(2) { animation-delay: 0.16s; }
#splash .splash-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   PAGE SYSTEM
   ============================================ */
.page {
  display: none;
  animation: pageIn 0.45s var(--ease-out-expo);
}
.page.active { display: block; }

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

/* ============================================
   HEADER
   ============================================ */
.app-header {
  padding: 16px 20px 0;
  max-width: 480px;
  margin: 0 auto;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.header-location {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-location .loc-icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  overflow: hidden;
}
.header-location .loc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-location .loc-text h3 {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--dark-600);
  margin-bottom: 1px;
}
.header-location .loc-text p {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-location .loc-text p svg {
  width: 14px; height: 14px;
  color: var(--dark-600);
}
.header-actions {
  display: flex;
  gap: 8px;
}
.header-actions button {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.header-actions button:active { transform: scale(0.9); }
.header-actions .notif-badge {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 16px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar:focus-within {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}
.search-bar .search-icon { font-size: 1.1rem; opacity: 0.4; }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  color: var(--dark-900);
}
.search-bar input::placeholder { color: #b0b0b0; font-weight: 400; }
.search-bar .filter-btn {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease-spring);
}
.search-bar .filter-btn:active { transform: scale(0.85); }

/* ============================================
   GREETING BANNER
   ============================================ */
.greeting-banner {
  max-width: 480px;
  margin: 0 auto 20px;
  padding: 0 20px;
}
.greeting-card {
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.greeting-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,115,22,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.greeting-card::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.greeting-card .wave-emoji {
  font-size: 2rem;
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(0deg); }
}
.greeting-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 8px 0 6px;
  position: relative;
  z-index: 1;
}
.greeting-card p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.greeting-card .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.greeting-card .cta-btn:active { transform: scale(0.95); }

/* ============================================
   CATEGORIES CAROUSEL
   ============================================ */
.categories-section {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  cursor: pointer;
}
.cat-item .cat-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  position: relative;
}
.cat-item:active .cat-icon { transform: scale(0.88); }
.cat-item .cat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--dark-700);
}
.cat-item.active .cat-label { color: var(--orange-600); font-weight: 700; }
.cat-item.active .cat-icon {
  box-shadow: 0 4px 16px rgba(249,115,22,0.25);
}

/* Category colors */
.cat-food .cat-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.cat-coffee .cat-icon { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.cat-beach .cat-icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.cat-grocery .cat-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.cat-pharmacy .cat-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.cat-dessert .cat-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.cat-juice .cat-icon { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.cat-shisha .cat-icon { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }

/* ============================================
   TRENDING SECTION
   ============================================ */
.trending-section {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.trending-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 8px;
}
.trending-scroll::-webkit-scrollbar { display: none; }

.trending-card {
  flex: 0 0 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  cursor: pointer;
}
.trending-card:active { transform: scale(0.97); }
.trending-card .card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.trending-card .card-img .badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge-hot {
  background: rgba(249, 115, 22, 0.9);
  color: white;
}
.badge-new {
  background: rgba(26, 35, 126, 0.85);
  color: white;
}
.badge-fav {
  background: rgba(255, 255, 255, 0.85);
  color: var(--dark-900);
}
.trending-card .card-img .fav-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease-spring);
}
.trending-card .card-img .fav-btn:active { transform: scale(1.2); }
.trending-card .card-img .fav-btn.liked { color: #ef4444; }
.trending-card .card-body { padding: 14px 16px; }
.trending-card .card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.trending-card .card-body .card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--dark-600);
  font-weight: 500;
}
.trending-card .card-body .card-meta .rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--orange-500);
  font-weight: 700;
}
.trending-card .card-body .card-desc {
  font-size: 0.75rem;
  color: var(--dark-600);
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================
   RESTAURANT LISTING CARDS
   ============================================ */
.restaurants-section {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.08);
  color: var(--dark-700);
  transition: all 0.25s var(--ease-out-expo);
}
.filter-pill.active {
  background: var(--orange-500);
  color: white;
  border-color: var(--orange-500);
}
.filter-pill:active { transform: scale(0.94); }

.rest-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.25s;
}
.rest-card:active { transform: scale(0.98); box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.rest-card .rest-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
}
.rest-card .rest-img .promo-tag {
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  background: rgba(249, 115, 22, 0.9);
  color: white;
}
.rest-card .rest-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rest-card .rest-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.rest-card .rest-info .rest-cuisine {
  font-size: 0.72rem;
  color: var(--dark-600);
  margin-bottom: 8px;
}
.rest-card .rest-info .rest-details {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--dark-600);
}
.rest-card .rest-info .rest-details .det-item {
  display: flex;
  align-items: center;
  gap: 3px;
}
.rest-card .rest-info .rest-details .det-rating {
  color: var(--orange-500);
  font-weight: 700;
}
.rest-card .rest-info .price-level {
  margin-top: 6px;
  font-size: 0.7rem;
}
.rest-card .rest-info .price-level .active-price { color: var(--orange-600); font-weight: 700; }
.rest-card .rest-info .price-level .inactive-price { color: #e0e0e0; }

/* ============================================
   RECOMMENDATIONS SECTION
   ============================================ */
.recommendations-section {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 0 20px;
}
.rec-card {
  background: linear-gradient(135deg, var(--orange-50), var(--gray-100));
  border: 1.5px solid var(--orange-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}
.rec-card:active { transform: scale(0.97); }
.rec-card .rec-emoji { font-size: 2.2rem; flex-shrink: 0; }
.rec-card .rec-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.rec-card .rec-text p { font-size: 0.75rem; color: var(--dark-600); line-height: 1.5; }

/* ============================================
   RESTAURANT DETAIL PAGE
   ============================================ */
.detail-header {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.detail-header .detail-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.detail-header .detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,0.8) 0%, transparent 60%);
}
.detail-header .back-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  z-index: 2;
  transition: transform 0.2s var(--ease-spring);
}
.detail-header .back-btn:active { transform: scale(0.85); }
.detail-header .detail-info {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: white;
  z-index: 2;
}
.detail-header .detail-info h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.detail-header .detail-info .detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  opacity: 0.9;
}
.detail-header .detail-info .detail-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-body {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
  margin-top: -20px;
  position: relative;
  z-index: 3;
}
.detail-body .detail-about {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.detail-body .detail-about p {
  font-size: 0.82rem;
  color: var(--dark-600);
  line-height: 1.7;
}
.detail-body .detail-about .detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.detail-body .detail-about .detail-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
}

/* Menu Section */
.menu-section { margin-bottom: 100px; }
.menu-section h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.menu-cat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-600);
  padding: 8px 0;
  margin-top: 12px;
  border-bottom: 2px solid var(--navy-100);
  margin-bottom: 12px;
}
.menu-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}
.menu-item:active { transform: scale(0.98); }
.menu-item .menu-img {
  width: 80px; height: 80px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.menu-item .menu-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.menu-item .menu-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.menu-item .menu-info .menu-desc {
  font-size: 0.72rem;
  color: var(--dark-600);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-item .menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-item .menu-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-600);
}
.menu-item .menu-price span { font-size: 0.68rem; font-weight: 500; }
.menu-item .add-btn {
  width: 34px; height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s var(--ease-spring);
}
.menu-item .add-btn:active { transform: scale(0.8) rotate(90deg); }

/* ============================================
   STICKY CART PREVIEW
   ============================================ */
.cart-preview {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 40px);
  max-width: 440px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.4);
  z-index: 900;
  transition: transform 0.4s var(--ease-spring);
  cursor: pointer;
}
.cart-preview.visible { transform: translateX(-50%) translateY(0); }
.cart-preview .cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-preview .cart-count {
  width: 28px; height: 28px;
  border-radius: 10px;
  background: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.cart-preview .cart-text {
  font-size: 0.85rem;
  font-weight: 600;
}
.cart-preview .cart-total {
  font-size: 1rem;
  font-weight: 800;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page-header {
  padding: 20px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-page-header .back-btn-cart {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s var(--ease-spring);
}
.cart-page-header .back-btn-cart:active { transform: scale(0.85); }
.cart-page-header h2 { font-size: 1.3rem; font-weight: 800; }

.cart-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  animation: slideUp 0.3s var(--ease-out-expo);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.cart-item .cart-item-img {
  width: 70px; height: 70px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.cart-item .cart-item-info { flex: 1; }
.cart-item .cart-item-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.cart-item .cart-item-info .cart-item-extras {
  font-size: 0.7rem;
  color: var(--dark-600);
  margin-bottom: 8px;
}
.cart-item .cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item .cart-item-price { font-size: 0.88rem; font-weight: 800; color: var(--navy-600); }
.cart-item .qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item .qty-btn {
  width: 30px; height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease-spring);
}
.cart-item .qty-btn:active { transform: scale(0.8); }
.cart-item .qty-minus { background: #fee2e2; color: #ef4444; }
.cart-item .qty-plus { background: var(--orange-100); color: var(--orange-700); }
.cart-item .qty-num { font-size: 0.9rem; font-weight: 800; min-width: 20px; text-align: center; }

/* Promo Code */
.promo-section { margin-top: 20px; margin-bottom: 20px; }
.promo-input-wrap { display: flex; gap: 8px; }
.promo-input-wrap input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.08);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  outline: none;
  transition: border-color 0.3s;
}
.promo-input-wrap input:focus { border-color: var(--orange-400); }
.promo-input-wrap button {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease-spring);
}
.promo-input-wrap button:active { transform: scale(0.94); }
.promo-msg {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  display: none;
}
.promo-msg.success { display: block; color: var(--orange-600); }
.promo-msg.error { display: block; color: #ef4444; }

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cart-summary .sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--dark-600);
}
.cart-summary .sum-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-900);
  border-top: 2px solid var(--gray-200);
  padding-top: 12px;
  margin-top: 12px;
}
.cart-summary .sum-row.discount { color: var(--orange-600); font-weight: 600; }

.checkout-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}
.checkout-btn:active { transform: scale(0.97); }

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}
.empty-cart .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-cart h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.empty-cart p { font-size: 0.85rem; color: var(--dark-600); line-height: 1.6; }
.empty-cart .browse-btn {
  margin-top: 20px;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  transition: transform 0.2s var(--ease-spring);
}
.empty-cart .browse-btn:active { transform: scale(0.94); }

/* ============================================
   ITEM CUSTOMIZATION MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.show { display: flex; }
.modal-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 85dvh;
  background: var(--gray-50);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow-y: auto;
  animation: sheetUp 0.4s var(--ease-out-expo);
}
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-sheet .sheet-handle {
  width: 40px; height: 4px;
  background: #d0d0d0;
  border-radius: 4px;
  margin: 12px auto;
}
.modal-sheet .sheet-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  margin: 0 16px;
  border-radius: var(--radius-lg);
}
.modal-sheet .sheet-body { padding: 20px; }
.modal-sheet .sheet-body h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.modal-sheet .sheet-body .sheet-desc {
  font-size: 0.8rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.modal-sheet .sheet-body .sheet-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-600);
  margin-bottom: 20px;
}
.option-group { margin-bottom: 20px; }
.option-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.option-group h4 .required-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #fee2e2;
  color: #ef4444;
  font-weight: 600;
}
.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.option-item.selected {
  border-color: var(--orange-500);
  background: var(--orange-50);
}
.option-item .opt-left { display: flex; align-items: center; gap: 10px; }
.option-item .opt-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.option-item.selected .opt-radio {
  border-color: var(--orange-500);
  background: var(--orange-500);
}
.option-item.selected .opt-radio::after {
  content: '\2713';
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}
.option-item .opt-check {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.option-item.selected .opt-check {
  border-color: var(--orange-500);
  background: var(--orange-500);
}
.option-item.selected .opt-check::after {
  content: '\2713';
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}
.option-item .opt-name { font-size: 0.82rem; font-weight: 600; }
.option-item .opt-price { font-size: 0.78rem; font-weight: 600; color: var(--dark-600); }

.sheet-add-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: transform 0.2s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.sheet-add-btn:active { transform: scale(0.97); }

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-header {
  text-align: center;
  padding: 32px 20px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}
.profile-header h2 { font-size: 1.3rem; font-weight: 800; }
.profile-header p { font-size: 0.82rem; color: var(--dark-600); margin-top: 2px; }

.profile-stats {
  display: flex;
  gap: 12px;
  padding: 0 20px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.stat-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.stat-card .stat-num { font-size: 1.3rem; font-weight: 800; color: var(--navy-600); }
.stat-card .stat-label { font-size: 0.7rem; color: var(--dark-600); margin-top: 4px; font-weight: 500; }

.profile-menu {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}
.profile-menu-item:active { transform: scale(0.98); }
.profile-menu-item .pm-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.profile-menu-item .pm-text { flex: 1; }
.profile-menu-item .pm-text h4 { font-size: 0.88rem; font-weight: 600; }
.profile-menu-item .pm-text p { font-size: 0.72rem; color: var(--dark-600); }
.profile-menu-item .pm-arrow { font-size: 0.9rem; color: #c0c0c0; }

/* Order History */
.orders-section {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}
.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.order-card .order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.order-card .order-top h4 { font-size: 0.9rem; font-weight: 700; }
.order-card .order-status {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
}
.status-delivered { background: #dcfce7; color: #15803d; }
.status-pending { background: var(--orange-100); color: var(--orange-700); }
.order-card .order-items {
  font-size: 0.78rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 10px;
}
.order-card .order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}
.order-card .order-bottom .order-date { color: var(--dark-600); }
.order-card .order-bottom .order-total { font-weight: 800; color: var(--navy-600); }
.order-card .reorder-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--orange-500);
  color: var(--orange-600);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}
.order-card .reorder-btn:active { background: var(--orange-50); }

/* ============================================
   FLOATING WADDY BUTTON
   ============================================ */
.concierge-btn {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 76px);
  left: 20px;
  width: 52px; height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.4);
  z-index: 800;
  transition: transform 0.3s var(--ease-spring);
  animation: float 3s ease-in-out infinite;
}
.concierge-btn:active { transform: scale(0.85); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.concierge-popup {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 136px);
  left: 20px;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 801;
  display: none;
  animation: popIn 0.3s var(--ease-spring);
}
.concierge-popup.show { display: block; }
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.concierge-popup .popup-close {
  position: absolute;
  top: 8px; left: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.concierge-popup h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.concierge-popup p {
  font-size: 0.78rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 12px;
}
.concierge-popup .suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.concierge-popup .chip {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
  cursor: pointer;
  transition: all 0.2s;
}
.concierge-popup .chip:active { background: var(--orange-100); }

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 480px;
  width: 100%;
  padding: 0 8px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 16px;
  transition: all 0.25s var(--ease-out-expo);
  position: relative;
}
.nav-item .nav-icon {
  font-size: 1.3rem;
  transition: transform 0.25s var(--ease-spring);
}
.nav-item .nav-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--dark-600);
  transition: color 0.25s;
}
.nav-item.active .nav-icon { transform: scale(1.15); }
.nav-item.active .nav-label { color: var(--orange-600); font-weight: 700; }
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  width: 24px; height: 3px;
  border-radius: 4px;
  background: var(--orange-500);
}
.nav-item .cart-badge {
  position: absolute;
  top: 2px; right: 6px;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  background: var(--orange-500);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
  transform: scale(0);
  transition: transform 0.3s var(--ease-spring);
}
.nav-item .cart-badge.show { transform: scale(1); }

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.4s var(--ease-spring);
  max-width: calc(100% - 40px);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================
   SEARCH RESULTS OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--gray-50);
  z-index: 1500;
  display: none;
  overflow-y: auto;
  padding-bottom: 100px;
}
.search-overlay.show { display: block; animation: pageIn 0.3s var(--ease-out-expo); }
.search-overlay .search-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.search-overlay .search-header .search-back {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.search-overlay .search-header input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  outline: none;
  background: var(--white);
}
.search-overlay .search-header input:focus { border-color: var(--orange-400); }
.search-overlay .search-results {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}
.search-overlay .search-results h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-600);
  margin: 16px 0 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 481px) {
  body { background: #e8eaed; }
  .page, .app-header, .search-container, .greeting-banner,
  .categories-section, .trending-section, .restaurants-section,
  .recommendations-section, .profile-header, .profile-stats,
  .profile-menu, .orders-section, .cart-page-header, .cart-content {
    max-width: 480px;
  }
  .bottom-nav .nav-inner { max-width: 480px; }
}

/* ============================================
   AUTH MODAL STYLES
   ============================================ */
.auth-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: var(--font-ar);
  background: #f9fafb;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-input:focus {
  outline: none;
  border-color: var(--sea-500);
  background: white;
}

.login-profile-btn, .register-profile-btn {
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  border: none;
  transition: transform 0.15s;
}
.login-profile-btn {
  background: linear-gradient(135deg, var(--sea-500), var(--sea-600));
  color: white;
}
.register-profile-btn {
  background: #f0f0f0;
  color: var(--dark-800);
}
.login-profile-btn:active, .register-profile-btn:active { transform: scale(0.96); }

.logout-btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-ar);
  background: #fee2e2;
  color: #dc2626;
  border: none;
  cursor: pointer;
}

/* ============================================
   LOCATION PICKER
   ============================================ */
.location-sheet {
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}
.loc-search-wrap {
  position: relative;
}
.loc-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}
.loc-result-item {
  padding: 12px 14px;
  font-size: 0.82rem;
  font-family: var(--font-ar);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.loc-result-item:hover { background: #f8fafc; }
.loc-result-item:last-child { border-bottom: none; }
.loc-actions-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.loc-gps-btn {
  flex: 1;
  padding: 10px 16px;
  border: 2px dashed var(--orange-300);
  background: var(--orange-50);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-ar);
  color: var(--orange-700);
  cursor: pointer;
  transition: all 0.2s;
}
.loc-gps-btn:hover {
  background: var(--orange-100);
  border-color: var(--orange-400);
}
.loc-gps-btn:active { transform: scale(0.97); }

/* Delivery address card in cart */
.delivery-address-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 14px;
  margin: 0 16px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.delivery-address-card:hover {
  border-color: #86efac;
  background: #dcfce7;
}

/* Fix Leaflet z-index inside modal */
#locationMap .leaflet-pane { z-index: 1; }
#locationMap .leaflet-control { z-index: 2; }
