/* ==========================================================================
   REHMANI BARBECUE OKARA - CHEEZIOUS-INSPIRED MOBILE APP DESIGN SYSTEM
   Clean, Warm, Modern Food Ordering Experience
   ========================================================================== */

:root {
  --primary-yellow: #FFCC00;
  --primary-yellow-hover: #E6B800;
  --primary-orange: #FF5E00;
  --primary-orange-dark: #E05200;
  --accent-red: #E53935;
  --bg-app: #F6F7F9;
  --bg-card: #FFFFFF;
  --bg-subtle: #EEEEF2;
  --text-primary: #1C1C28;
  --text-secondary: #6E7191;
  --text-muted: #A0A3BD;
  --border-light: #EBEBF0;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-yellow: 0 4px 16px rgba(255, 204, 0, 0.35);
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bottom-nav-height: 65px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* App Viewport Container */
.app-viewport {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
}

/* ==========================================================================
   1. WELCOME / ONBOARDING SCREEN
   ========================================================================== */
.welcome-screen {
  position: fixed;
  inset: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px 36px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-top {
  display: flex;
  justify-content: flex-end;
}

.support-headset-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.welcome-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.welcome-mascot-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
  border: 4px solid #FFFFFF;
}

.welcome-mascot-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.welcome-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #12121E;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.welcome-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 280px;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-continue-phone {
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-yellow);
  transition: var(--transition);
}

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

.btn-continue-guest {
  background: #FFFFFF;
  color: var(--primary-orange);
  border: 2px solid var(--primary-orange);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-continue-guest:active {
  background: #FFF5EC;
  transform: scale(0.98);
}

/* ==========================================================================
   2. MAIN STICKY HEADER
   ========================================================================== */
.main-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 16px 14px;
  border-bottom: 1px solid var(--border-light);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Hamburger Round Button */
.btn-hamburger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
  transition: var(--transition);
}

.btn-hamburger:active {
  transform: scale(0.92);
}

/* Deliver To Center Info */
.header-delivery-info {
  flex: 1;
  text-align: left;
  cursor: pointer;
  padding: 2px 4px;
  overflow: hidden;
}

.delivery-subtext {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.delivery-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-location-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-location-row i {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Cart Header Button */
.btn-header-cart {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

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

/* Mode Switcher: DELIVERY / PICK-UP */
.mode-switcher-wrap {
  margin-top: 12px;
}

.mode-switcher {
  display: flex;
  background: #F1F2F5;
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.mode-btn.active {
  background: var(--primary-yellow);
  color: #1C1C28;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   3. HERO PROMO BANNER CAROUSEL
   ========================================================================== */
.hero-slider-section {
  padding: 14px 16px 8px;
}

.promo-banner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  aspect-ratio: 16 / 8.5;
}

.promo-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.dot {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: #D8D8E0;
  transition: var(--transition);
}

.dot.active {
  width: 24px;
  background: var(--primary-orange);
}

/* ==========================================================================
   4. EXPLORE MENU 3x2 CATEGORY GRID
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.btn-view-all {
  background: transparent;
  border: none;
  color: var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
}

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

.category-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.category-card:active {
  transform: scale(0.96);
  border-color: var(--primary-orange);
}

.cat-thumb-wrap {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cat-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cat-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ==========================================================================
   5. BEST SELLERS HORIZONTAL SCROLL
   ========================================================================== */
.best-sellers-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 20px;
  scrollbar-width: none;
}

.best-sellers-scroll::-webkit-scrollbar {
  display: none;
}

.bestseller-card {
  flex: 0 0 165px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bestseller-img-wrap {
  width: 100%;
  height: 110px;
  background: #F8F8F8;
  position: relative;
}

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

.bestseller-info {
  padding: 10px;
}

.bestseller-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bestseller-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.bestseller-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.btn-add-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-mini:active {
  background: var(--primary-yellow);
  color: #000;
  transform: scale(0.92);
}

/* ==========================================================================
   6. EXPLORE MENU FULL SCREEN / TAB
   ========================================================================== */
.explore-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
}

.btn-back-nav {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px 8px 4px 0;
}

.explore-title-box {
  flex: 1;
}

.explore-page-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.explore-page-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.btn-search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

/* Search Row in Explore */
.explore-search-bar {
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #F1F2F5;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  gap: 10px;
}

.search-input-wrap i {
  color: var(--text-secondary);
}

.search-input-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--text-primary);
}

/* Category Horizontal Tabs */
.category-tabs-bar {
  display: flex;
  background: #FFFFFF;
  overflow-x: auto;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: none;
  position: sticky;
  top: 69px;
  z-index: 85;
}

.category-tabs-bar::-webkit-scrollbar {
  display: none;
}

.tab-pill {
  padding: 14px 16px;
  white-space: nowrap;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-pill.active {
  color: var(--primary-orange);
}

.tab-pill.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 3px 3px 0 0;
}

/* Category Products List */
.menu-section-container {
  padding: 16px 16px 30px;
}

.menu-category-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 14px 0 10px;
}

.food-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.food-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #F4F4F4;
  flex-shrink: 0;
}

.food-details {
  flex: 1;
  overflow: hidden;
}

.food-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

.food-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-orange);
}

.btn-add-food {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-add-food:active {
  background: var(--primary-yellow);
  transform: scale(0.9);
}

/* ==========================================================================
   7. ITEM CUSTOMIZATION SCREEN ("CHOOSE ITEM")
   ========================================================================== */
.modal-bottom-sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.sheet-content {
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-bottom-sheet.open .sheet-content {
  transform: translateY(0);
}

.sheet-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.sheet-body-scroll {
  padding: 16px 20px 24px;
  overflow-y: auto;
}

.item-hero-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8F8F8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.item-info-head {
  margin-bottom: 20px;
}

.item-dialog-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.item-dialog-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.item-dialog-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-orange);
}

/* Option Groups with REQUIRED badge */
.option-group-card {
  background: #FAFAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}

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

.option-group-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-required {
  background: var(--primary-yellow);
  color: #1C1C28;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.radio-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ECECF0;
  cursor: pointer;
}

.radio-option-row:last-child {
  border-bottom: none;
}

.radio-label-side {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.custom-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #C4C4D0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.custom-radio.checked {
  border-color: var(--primary-orange);
}

.custom-radio.checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-orange);
}

.radio-price-tag {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Special Instructions Box */
.special-notes-box {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  outline: none;
  resize: none;
  color: var(--text-primary);
  background: #FFFFFF;
  margin-top: 8px;
}

/* Sticky Action Bar at Bottom of Sheet */
.sheet-bottom-bar {
  padding: 14px 20px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stepper-control {
  display: flex;
  align-items: center;
  background: #F1F2F5;
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 6px;
}

.btn-step {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  border: none;
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-value {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-add-to-cart-submit {
  flex: 1;
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-add-to-cart-submit:active {
  transform: scale(0.98);
}

/* ==========================================================================
   8. TOAST NOTIFICATION & FLOATING CART BAR
   ========================================================================== */
.toast-pill-notification {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1C1C28;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 10000;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.toast-pill-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2ECC71;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

/* Floating Cart Strip */
.floating-cart-strip {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 448px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  z-index: 95;
  transition: var(--transition);
}

.floating-cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: #F4F4F4;
}

.floating-count-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.floating-tax-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.btn-view-cart-strip {
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 204, 0, 0.4);
}

/* ==========================================================================
   9. "YOUR BASKET" CHECKOUT SCREEN
   ========================================================================== */
.basket-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-app);
  z-index: 500;
  max-width: 480px;
  margin: 0 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 95px;
}

.basket-header-bar {
  background: #FFFFFF;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
}

.basket-content {
  padding: 16px;
  flex: 1;
}

/* Basket Items */
.basket-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.basket-item-top {
  display: flex;
  gap: 12px;
}

.basket-item-thumb {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: #F4F4F4;
}

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

.basket-item-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.basket-item-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.basket-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-top: 4px;
}

.basket-item-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
  border-top: 1px solid #F1F1F5;
  padding-top: 10px;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
}

/* Deliver To Card */
.checkout-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.checkout-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.checkout-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-card-edit {
  background: transparent;
  border: none;
  color: var(--primary-orange);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.address-preview-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.address-preview-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Payment Method Yellow Card */
.payment-method-card {
  background: var(--primary-yellow);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.payment-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1C1C28;
  margin-bottom: 10px;
}

.payment-white-pill {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-pill-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Bill Summary Rows */
.bill-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bill-row.total-row {
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.total-amount-highlight {
  color: var(--primary-orange);
  font-weight: 900;
}

/* Sticky Place Order Bottom Bar */
.basket-sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  z-index: 600;
}

.btn-place-order-submit {
  width: 100%;
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-place-order-submit:active {
  transform: scale(0.98);
}

/* ==========================================================================
   10. SIDE NAVIGATION DRAWER
   ========================================================================== */
.side-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.side-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.side-drawer-backdrop.open .side-drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 30px 20px 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid var(--primary-yellow);
}

.drawer-user-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-user-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.btn-drawer-signin {
  width: 100%;
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.drawer-links-list {
  padding: 12px 0;
  flex: 1;
  overflow-y: auto;
}

.drawer-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-link-item:hover, .drawer-link-item:active {
  background: var(--bg-app);
  color: var(--primary-orange);
}

.drawer-link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-bottom-box {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border-light);
}

.drawer-contact-card {
  background: var(--primary-yellow);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  cursor: pointer;
}

.contact-card-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1C1C28;
}

.btn-contact-call {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.drawer-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   11. BRANCH CLOSED POPUP MODAL
   ========================================================================== */
.modal-center-dialog {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.closed-dialog-card {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 340px;
  width: 100%;
  padding: 30px 24px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.closed-circle-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 18px;
}

.closed-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.closed-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 22px;
}

.closed-hours-box {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 6px;
}

.btn-dialog-ok {
  width: 100%;
  background: var(--primary-yellow);
  color: #1C1C28;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-yellow);
}

/* ==========================================================================
   12. FIXED 4-TAB BOTTOM NAVIGATION
   ========================================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--bottom-nav-height);
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.nav-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-tab-icon {
  font-size: 1.25rem;
}

.nav-tab-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.nav-tab-item.active {
  color: var(--primary-orange);
}

/* ==========================================================================
   13. DESKTOP & TABLET RESPONSIVE STYLING (>= 768px)
   A True Full-Width Food Ordering Experience (Cheezious-Inspired)
   ========================================================================== */

/* Hidden on mobile by default */
.desktop-header-wrap {
  display: none;
}
.desktop-main-footer {
  display: none;
}

@media (min-width: 768px) {
  body {
    background-color: #F4F5F8;
    display: block;
    color: var(--text-primary);
  }

  .app-viewport {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
    padding-bottom: 0;
    min-height: 100vh;
  }

  /* Hide mobile elements on desktop */
  .header-top-row,
  .mode-switcher-wrap,
  .bottom-nav-bar,
  .welcome-screen {
    display: none !important;
  }

  /* Show desktop header */
  .desktop-header-wrap {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 8px;
  }

  .desktop-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
  }

  .desktop-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .desktop-brand-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.1;
    display: block;
  }

  .desktop-brand-sub {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 0.8px;
    display: block;
  }

  .desktop-center-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-app);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
  }

  .desktop-loc-box {
    border-left: 1px solid var(--border-light);
    padding-left: 14px;
    margin-left: 4px;
  }

  .desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .desktop-nav-btn {
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .desktop-nav-btn:hover {
    color: var(--primary-orange);
    background: #FFF5EC;
  }

  .btn-desktop-apk {
    background: #2E7D32;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.25);
    transition: var(--transition);
  }

  .btn-desktop-apk:hover {
    background: #1B5E20;
    transform: translateY(-1px);
  }

  .btn-desktop-cart {
    background: var(--primary-orange);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 94, 0, 0.3);
    transition: var(--transition);
  }

  .btn-desktop-cart:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-1px);
  }

  .btn-desktop-cart .cart-count-badge {
    position: static;
    background: #FFFFFF;
    color: var(--primary-orange);
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .desktop-cart-amount {
    font-weight: 800;
    letter-spacing: 0.3px;
  }

  /* Desktop Hero Banner (Full-Width Responsive) */
  .hero-slider-section {
    padding: 20px 30px 10px;
    width: 100%;
  }

  .promo-banner-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 440px !important;
    aspect-ratio: unset !important;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .promo-banner-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  /* Desktop Explore Menu (6 columns grid!) */
  .menu-categories-section {
    padding: 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 18px !important;
  }

  .category-card {
    padding: 16px 10px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
  }

  .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-yellow);
  }

  /* Desktop Best Sellers (4 columns grid!) */
  .best-sellers-section {
    padding: 20px 24px 30px;
  }

  .best-sellers-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    overflow-x: visible !important;
    padding: 10px 0 !important;
  }

  .bestseller-card {
    width: 100% !important;
    flex: none !important;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
  }

  .bestseller-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-yellow);
  }

  /* Desktop Explore Products (4 columns grid!) */
  .explore-items-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }

  .explore-product-card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.25s ease;
  }

  .explore-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-yellow);
  }

  /* Desktop Footer */
  .desktop-main-footer {
    display: block !important;
    background: #1C1C28;
    color: #FFFFFF;
    margin-top: 50px;
    border-top: 4px solid var(--primary-yellow);
  }

  .footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 30px 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .footer-brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
  }

  .footer-brand-sub {
    font-size: 0.72rem;
    color: var(--primary-yellow);
    font-weight: 700;
  }

  .footer-about {
    font-size: 0.83rem;
    color: #A0A3BD;
    line-height: 1.5;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
  }

  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-orange);
  }

  .footer-col p {
    font-size: 0.82rem;
    color: #A0A3BD;
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-col p i {
    color: var(--primary-yellow);
    margin-top: 2px;
  }

  .footer-col a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
  }

  .footer-col a:hover {
    color: var(--primary-yellow);
  }

  .btn-footer-download-apk {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2E7D32;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 12px;
    margin-top: 14px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
    transition: var(--transition);
  }

  .btn-footer-download-apk:hover {
    background: #1B5E20;
    transform: translateY(-2px);
  }

  .btn-footer-download-apk i {
    font-size: 1.8rem;
  }

  .btn-footer-download-apk .sub {
    font-size: 0.68rem;
    color: #C8E6C9;
    display: block;
    text-transform: uppercase;
  }

  .btn-footer-download-apk .main {
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
  }

  .footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 30px;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #A0A3BD;
  }
}
