/* ==========================================================================
   SORTES.LK MODERN DESIGN SYSTEM & THEME
   Deep Black (#000000) • Electric Cyan (#00B8F1) • Golden Yellow (#F2C10B)
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0d0f12;
  --bg-card: #15181e;
  --bg-card-hover: #1e222a;
  --bg-input: #1a1e24;
  --bg-glass: rgba(18, 22, 28, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 184, 241, 0.35);

  --accent-cyan: #00B8F1;
  --accent-cyan-hover: #00a4d8;
  --accent-cyan-dim: rgba(0, 184, 241, 0.15);
  
  --accent-gold: #F2C10B;
  --accent-gold-dim: rgba(242, 193, 11, 0.15);

  --status-green: #10B981;
  --status-red: #EF4444;

  --text-primary: #FFFFFF;
  --text-secondary: #9EA3A8;
  --text-muted: #64748B;

  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(0, 184, 241, 0.25);
  --shadow-modal: 0 20px 40px rgba(0, 0, 0, 0.85);

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: 72px;
  padding-bottom: 70px;
}

/* ── Typography & Helpers ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Top Navbar (Permanently Fixed to Top) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar.navbar-scrolled {
  padding: 8px 0;
  background: rgba(8, 12, 20, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 184, 241, 0.3);
}

.nav-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.06);
}

/* ── Desktop Header Search Bar ── */
.desktop-search-bar {
  flex: 1;
  max-width: 480px;
  margin: 0 16px;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, visibility 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.navbar.navbar-scrolled .desktop-search-bar {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  border-color: rgba(0, 184, 241, 0.45);
}

.desktop-search-bar:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 184, 241, 0.35);
}

.nav-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
}

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

/* Mobile search row - hidden on desktop */
.mobile-search-row {
  display: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 10px #10B981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.btn-hotline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 184, 241, 0.2);
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-auth:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.cart-icon-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

/* ── Hero Section ── */
.hero {
  padding: 35px 0 30px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, rgba(0, 184, 241, 0.14) 0%, transparent 65%);
}

.hero-brand-wrap {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-logo {
  height: 160px;
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  filter: drop-shadow(0 8px 26px rgba(0, 184, 241, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  animation: logoFloat 4s ease-in-out infinite;
}

.hero-main-logo:hover {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 14px 34px rgba(0, 184, 241, 0.6));
}

@keyframes logoFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(0px); }
}

.hero-subtitle {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ── Search Bar & Filter ── */
.search-container {
  max-width: 680px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 10px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.search-container:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 184, 241, 0.2);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

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

/* ── Restaurants Carousel / Bar ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.restaurant-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.restaurant-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.restaurant-pill:hover,
.restaurant-pill.active {
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* ── Categories Bar ── */
.categories-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 30px;
  padding-bottom: 6px;
}

.category-tab {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-tab:hover,
.category-tab.active {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--accent-cyan);
}

/* ── Menu Products Grid ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.product-image-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #090b0e;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.badge-restaurant {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 184, 241, 0.3);
}

.product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.original-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-cyan);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--accent-cyan-hover);
  box-shadow: 0 0 15px rgba(0, 184, 241, 0.3);
}

.btn-disabled {
  background: #2a2e36 !important;
  color: #717782 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ── Modals (Auth, Cart, Checkout) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  position: relative;
}

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

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

/* ── Form Inputs ── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 184, 241, 0.2);
}

.btn-primary-block {
  width: 100%;
  padding: 12px;
  background: var(--accent-cyan);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-block:hover {
  background: var(--accent-cyan-hover);
  box-shadow: var(--shadow-glow);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  color: #1a1a1a;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 14px;
  transition: var(--transition);
}

.btn-google:hover {
  background: #f1f1f1;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 18px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.divider span {
  padding: 0 10px;
}

/* ── Cart Drawer / Modal items ── */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-item-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.btn-qty {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-hover);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cart-total-bar {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
}

/* ── Map Container for GPS ── */
#checkout-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid var(--border-subtle);
}

/* ── Floating WhatsApp Hotline Button (Icon Only Circular FAB) ── */
.floating-hotline {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-hotline:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  color: #fff;
}

/* ── Global Overflow Guard ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}

/* ── Restaurant Cards Carousel & Showcase ── */
.restaurant-cards-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide ugly scrollbar */
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.restaurant-cards-container::-webkit-scrollbar {
  display: none;
}

.restaurant-card {
  flex: 0 0 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .restaurant-card {
    flex: 0 0 280px;
  }
}

.restaurant-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 184, 241, 0.2);
}

.restaurant-card.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px var(--accent-cyan), 0 8px 24px rgba(0, 184, 241, 0.3);
}

.restaurant-card-cover {
  position: relative;
  width: 100%;
  height: 145px;
  background: #111;
  overflow: hidden;
}

.restaurant-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.restaurant-card:hover .restaurant-card-img {
  transform: scale(1.05);
}

.restaurant-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}

.restaurant-card-badge-prep {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 4px;
}

.restaurant-card-badge-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 193, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.restaurant-card-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.restaurant-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.restaurant-card-cuisine {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.restaurant-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.restaurant-card-items-count {
  color: var(--accent-cyan);
  font-weight: 600;
}

.restaurant-card-btn {
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.restaurant-card:hover .restaurant-card-btn {
  color: #fff;
}

.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-nav-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 184, 241, 0.1);
}

.badge-restaurant {
  cursor: pointer;
  transition: var(--transition);
}

.badge-restaurant:hover {
  background: var(--accent-cyan);
  color: #000;
}

/* ── Mobile Floating Bottom Cart Bar ── */
.mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(18, 18, 18, 0.95);
  border-top: 2px solid var(--accent-cyan);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mobile-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-cart-badge {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.mobile-cart-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.mobile-cart-action {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 769px) {
  .mobile-cart-bar {
    display: none !important;
  }
}

/* ── Comprehensive Mobile Optimization (< 768px) ── */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  /* Header adjustments */
  .navbar {
    padding: 8px 0;
  }
  .nav-wrapper {
    gap: 8px;
  }
  .brand-group {
    gap: 6px;
  }
  .brand-logo {
    height: 32px;
  }
  .live-badge {
    padding: 2px 6px;
    font-size: 0.65rem;
  }
  .live-badge-text {
    display: none; /* Hide text on mobile, keep pulsing green dot */
  }
  .nav-actions {
    gap: 6px;
  }
  .btn-hotline {
    display: none;
  }
  .btn-auth {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .user-nav-label {
    display: none; /* Show icon only on small screens */
  }
  .cart-icon-btn {
    width: 36px;
    height: 36px;
  }

  /* Hero Section & Main Logo */
  .hero {
    padding: 20px 0 16px;
  }
  .hero-brand-wrap {
    margin-bottom: 12px;
  }
  .hero-main-logo {
    height: 125px;
    max-width: 85vw;
  }
  .hero-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
  }
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
  }
  .hero-desc {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 14px;
    padding: 0 4px;
  }
  .search-container {
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  .search-input {
    font-size: 0.88rem;
  }

  /* Restaurant Cards on Mobile */
  .restaurant-card {
    flex: 0 0 215px;
  }
  .restaurant-card-cover {
    height: 120px;
  }
  .restaurant-card-body {
    padding: 10px 10px 8px;
  }
  .restaurant-card-title {
    font-size: 0.95rem;
  }
  .restaurant-card-cuisine {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }
  .carousel-nav-arrows {
    display: none; /* Swipe is natural on mobile */
  }

  body {
    padding-top: 104px;
  }

  .navbar {
    padding: 8px 0 10px;
  }

  .navbar.navbar-scrolled {
    padding: 6px 0 8px;
    background: rgba(8, 12, 20, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  }

  /* Desktop search is hidden on mobile */
  .desktop-search-bar {
    display: none !important;
  }

  /* Mobile Dedicated Full-Width Search Row */
  .mobile-search-row {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .mobile-search-bar {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    background: rgba(18, 24, 38, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
  }

  .mobile-search-bar:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 184, 241, 0.35);
    background: rgba(14, 20, 32, 0.99);
  }

  .mobile-search-icon {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px; /* Essential: Prevents iOS Safari from auto-zooming! */
    font-family: inherit;
    font-weight: 500;
  }

  .mobile-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 400;
  }

  /* Hide redundant hero search on mobile since header has full-width search */
  .hero .search-container {
    display: none !important;
  }

  /* Floating WhatsApp Button position adjustment */
  .floating-hotline {
    bottom: 74px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }
}

@media (max-width: 540px) {
  body {
    padding-top: 100px;
  }
  .mobile-search-bar {
    height: 40px;
    padding: 0 12px;
  }
  .brand-logo {
    height: 28px;
  }
  .hero-main-logo {
    height: 105px;
    max-width: 82vw;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-desc {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  .hero-brand-wrap {
    margin-bottom: 8px;
  }

  /* 2-Column Responsive Food Grid */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: var(--radius-md);
  }

  .product-image-wrap {
    height: 120px;
  }

  .product-content {
    padding: 8px 8px 10px;
  }

  .product-title {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4em;
  }

  .product-desc {
    display: none; /* Hide descriptions on mobile 2-col cards for clean symmetry */
  }

  .badge-restaurant {
    font-size: 0.62rem;
    padding: 2px 5px;
    bottom: 5px;
    left: 5px;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .badge-discount {
    font-size: 0.62rem;
    padding: 2px 5px;
    top: 5px;
    left: 5px;
  }

  .product-footer {
    margin-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .current-price {
    font-size: 0.92rem;
  }

  .original-price {
    font-size: 0.72rem;
  }

  .btn-add-cart {
    width: 100%;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
  }

  /* Modal full-screen friendly */
  .modal-content {
    width: 95%;
    max-height: 88vh;
    border-radius: 14px;
  }
  .modal-body {
    padding: 16px;
  }
  .modal-header {
    padding: 14px 16px;
  }
  .form-input {
    font-size: 16px; /* Prevents iOS auto-zoom on input focus */
    padding: 10px 12px;
  }
}

/* ==========================================================================
   PICKME / UBEREATS STYLE INTERFACE (SORTES CYAN / DARK LUXURY THEME)
   ========================================================================== */

/* ── Top Navigation Bar ── */
.pm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  transition: all 0.25s ease;
}

.pm-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pm-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-back-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.pm-back-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
}

.pm-nav-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.pm-icon-btn:hover, .pm-icon-btn.active {
  background: rgba(0, 184, 241, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ── Delivery Location Strip ── */
.pm-location-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.9) 0%, rgba(14, 20, 32, 0.95) 100%);
  border: 1px solid rgba(0, 184, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 12px auto 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.pm-location-strip:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(0, 184, 241, 0.2);
  transform: translateY(-1px);
}

.pm-location-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 184, 241, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-right: 12px;
}

.pm-location-content {
  flex: 1;
  min-width: 0;
}

.pm-location-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-location-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-location-arrow {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  margin-left: 8px;
}

/* ── Pill Search Bar (PickMe Style) ── */
.pm-search-wrap {
  margin-bottom: 20px;
}

.pm-search-pill {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  background: rgba(22, 30, 48, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.pm-search-pill:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 184, 241, 0.35);
  background: rgba(14, 20, 32, 0.98);
}

.pm-search-icon {
  color: var(--accent-cyan);
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.pm-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
}

.pm-search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.pm-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px;
}

/* ── Hero Feast Banner with Melting/Wavy Borders (Screenshot 1) ── */
.pm-feast-banner-wrap {
  position: relative;
  background: linear-gradient(180deg, #09121d 0%, #060a12 50%, #09121d 100%);
  border: 1px solid rgba(0, 184, 241, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pm-wave-top svg, .pm-wave-bottom svg {
  display: block;
  width: 100%;
  height: 24px;
  fill: var(--bg-primary);
}

.pm-wave-bottom svg {
  transform: rotate(180deg);
}

.pm-feast-inner {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pm-feast-text {
  max-width: 600px;
  margin-bottom: 16px;
}

.pm-feast-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #00B8F1 0%, #FFB800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 8px;
}

.pm-feast-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 auto;
}

.pm-feast-image-container {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-feast-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pm-feast-banner-wrap:hover .pm-feast-img {
  transform: scale(1.03);
}

/* ── Popular Categories (Circular Food Plates Grid - Screenshot 1) ── */
.pm-categories-section {
  margin-bottom: 28px;
}

.pm-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-categories-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pm-categories-row::-webkit-scrollbar {
  display: none;
}

.pm-category-card {
  flex: 0 0 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}

.pm-category-card:hover {
  transform: translateY(-3px);
}

.pm-category-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.pm-category-card.active .pm-category-circle,
.pm-category-card:hover .pm-category-circle {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 184, 241, 0.45);
  transform: scale(1.06);
}

.pm-category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-category-all {
  background: linear-gradient(135deg, rgba(0, 184, 241, 0.2) 0%, rgba(18, 24, 38, 0.9) 100%);
  color: var(--accent-cyan);
  font-size: 1.4rem;
}

.pm-category-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pm-category-card.active .pm-category-label,
.pm-category-card:hover .pm-category-label {
  color: var(--accent-cyan);
}

/* ── Modern Restaurant Card Feed (Screenshot 2 & 3) ── */
.pm-rest-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.pm-rest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.pm-rest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 241, 0.4);
  box-shadow: 0 10px 30px rgba(0, 184, 241, 0.15);
}

.pm-rest-cover-wrap {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #090c15;
}

.pm-rest-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pm-rest-card:hover .pm-rest-cover-img {
  transform: scale(1.05);
}

.pm-rest-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(11, 15, 25, 0.8) 100%);
}

.pm-rest-tag-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 184, 241, 0.9);
  color: #000;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.pm-rest-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.pm-rest-fav-btn:hover, .pm-rest-fav-btn.active {
  color: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.pm-rest-status-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pm-rest-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

.pm-rest-body {
  padding: 14px 16px 16px;
}

.pm-rest-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-rest-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pm-rest-rating {
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pm-rest-meta-dot {
  color: var(--border-subtle);
}

.pm-rest-cuisine {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Dedicated In-Store Restaurant View (Screenshot 4) ── */
.pm-store-view {
  background: var(--bg-primary);
  min-height: 100vh;
  padding-bottom: 90px;
}

.pm-store-hero {
  position: relative;
  height: 220px;
  background: #090c15;
}

.pm-store-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-store-top-actions {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.pm-store-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.pm-store-action-btn:hover {
  background: var(--accent-cyan);
  color: #000;
}

.pm-store-logo-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3.5px solid var(--bg-card);
  background: #121826;
  position: absolute;
  bottom: -32px;
  left: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.pm-store-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-store-info-card {
  background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  margin-top: -16px;
  padding: 38px 20px 20px;
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  position: relative;
  z-index: 2;
}

.pm-store-title {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 4px;
}

.pm-store-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pm-store-meta {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 14px;
}

.pm-store-offers-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.pm-store-offer-tag {
  background: rgba(0, 184, 241, 0.12);
  border: 1px dashed rgba(0, 184, 241, 0.4);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-store-search {
  width: 100%;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 24px;
}

.pm-store-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
}

/* ── Popular Picks Slider (Screenshot 4) ── */
.pm-popular-picks-wrap {
  margin-bottom: 28px;
}

.pm-popular-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pm-popular-card {
  flex: 0 0 150px;
  background: rgba(22, 30, 48, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}

.pm-popular-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 241, 0.4);
}

.pm-popular-img-wrap {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
  background: #090c15;
}

.pm-popular-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-popular-add-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-cyan);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.pm-popular-add-btn:active {
  transform: scale(0.9);
}

.pm-popular-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.1em;
}

.pm-popular-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: auto;
}

/* ── Menu Section & Item Rows (Screenshot 4) ── */
.pm-menu-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin: 24px 0 14px;
}

.pm-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.pm-item-row:hover {
  border-color: rgba(0, 184, 241, 0.35);
}

.pm-item-info {
  flex: 1;
  min-width: 0;
}

.pm-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pm-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.pm-item-thumb-wrap {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #090c15;
}

.pm-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-item-add-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-cyan);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.pm-item-add-btn:active {
  transform: scale(0.9);
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  .pm-feast-title {
    font-size: 1.4rem;
  }
  .pm-categories-row {
    gap: 10px;
  }
  .pm-category-circle {
    width: 62px;
    height: 62px;
  }
  .pm-category-card {
    flex: 0 0 66px;
  }
  .pm-rest-feed-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}



