@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  /* Theme Colors (Midnight Obsidian & Gold Alchemy) */
  --bg-obsidian: #080402;
  --bg-charcoal: #120906;
  --color-gold-deep: #b3862b;
  --color-gold-light: #f7d179;
  --color-gold-glow: #e0ac3c;
  --color-cream: #fbf9f5;
  --color-muted: #9c918a;
  
  /* Glassmorphism System */
  --glass-bg: rgba(22, 12, 8, 0.7);
  --glass-bg-hover: rgba(35, 21, 15, 0.85);
  --glass-border: rgba(247, 209, 121, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  /* Animations & Springs */
  --spring-transition: cubic-bezier(0.25, 1.25, 0.42, 1.15);
  --ios-transition: cubic-bezier(0.16, 1, 0.3, 1);
  --anim-speed: 0.35s;
}

/* --- BASE & SYSTEM STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: fixed;
  background-color: var(--bg-obsidian);
  color: var(--color-cream);
  font-family: var(--font-body);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(8, 4, 2, 0.5);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold-deep);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

/* --- MOBILE FULLSCREEN LAYOUT (Mockup ONLY triggers on Tablets/Desktops) --- */
.app-container {
  width: 100%;
  height: 100%;
  background-color: var(--bg-obsidian);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  html, body {
    position: static;
    overflow: auto;
    width: auto;
    height: auto;
  }
  body {
    background-color: #030201;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  .app-container {
    width: 100%;
    max-width: 440px;
    height: 90vh;
    max-height: 920px;
    border-radius: 40px;
    border: 10px solid #1a1410;
    outline: 2px solid rgba(247, 209, 121, 0.2);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(224, 172, 60, 0.05);
  }
}

/* RTL Helper Classes */
[dir="rtl"] {
  text-align: right;
}

/* --- SHIMMER PRELOADER --- */
.preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-obsidian);
  z-index: 1200; /* Above Welcome */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s var(--ios-transition), visibility 0.8s;
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  max-height: 110px;
  width: auto;
  margin-bottom: 24px;
  animation: logo-pulsate 2.5s infinite ease-in-out;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(224, 172, 60, 0.15);
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(247, 209, 121, 0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.loader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold-light));
  box-shadow: 0 0 10px var(--color-gold-glow);
  animation: load-fill 2s forwards cubic-bezier(0.1, 0.85, 0.25, 1);
}

/* --- DUPLEX WELCOME SCREEN overlay --- */
.welcome-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #060302;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  transition: all 0.6s var(--ios-transition);
}
.welcome-screen.hide {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}
.welcome-backdrop-glow {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(224, 172, 60, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.welcome-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 15px;
}
.welcome-logo {
  max-width: 140px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(224, 172, 60, 0.2);
  margin-bottom: 15px;
  animation: float-y 3s infinite ease-in-out;
}
.welcome-text-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.welcome-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.welcome-sub {
  font-size: 0.88rem;
  color: var(--color-muted);
  letter-spacing: 1px;
}
.welcome-btn-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 30px;
  max-width: 260px;
}
.welcome-btn {
  background: linear-gradient(135deg, rgba(22, 12, 8, 0.8) 0%, rgba(41, 23, 15, 0.8) 100%);
  border: 1px solid var(--glass-border);
  color: var(--color-cream);
  padding: 16px 24px;
  border-radius: 20px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s var(--spring-transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.welcome-btn svg {
  color: var(--color-gold-light);
  transition: transform 0.3s;
}
.welcome-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold-glow);
  box-shadow: 0 8px 25px rgba(224, 172, 60, 0.2);
}
.welcome-btn:hover svg {
  transform: translateX(4px);
}
[dir="rtl"] .welcome-btn:hover svg {
  transform: translateX(-4px);
}

/* --- DYNAMIC HEADER & LOGO --- */
.header-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: sticky;
  top: 0;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(247, 209, 121, 0.2);
}
.logo-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-cream);
  background: linear-gradient(135deg, #fff, var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lang-btn {
  background: rgba(247, 209, 121, 0.08);
  border: 1px solid rgba(247, 209, 121, 0.25);
  color: var(--color-gold-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ios-transition);
}
.lang-btn:hover {
  background: rgba(247, 209, 121, 0.15);
  transform: translateY(-1px);
}
.lang-btn svg {
  width: 14px;
  height: 14px;
}

/* --- THE MAIN VIEWPORT --- */
.main-scroll-view {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 110px; /* Space for dynamic iOS navigation bar */
}

/* --- PREMIUM BRAND HERO BANNER --- */
.restaurant-hero {
  position: relative;
  width: 100%;
  padding: 32px 20px;
  background: radial-gradient(circle at center, #1b0c06 0%, #080402 100%);
  border-bottom: 1.5px solid rgba(247, 209, 121, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(224, 172, 60, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.hero-brand-logo {
  max-width: 95px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(224, 172, 60, 0.15);
  animation: float-y 4s infinite ease-in-out;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-cream);
  background: linear-gradient(135deg, #fff 40%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-sub {
  font-size: 0.82rem;
  color: var(--color-muted);
  max-width: 300px;
  line-height: 1.4;
}

/* --- THE VIEW ROUTER PANEL LAYOUTS --- */
.views-wrapper {
  position: relative;
  width: 100%;
}
.view-panel {
  width: 100%;
  animation: panel-fade-in 0.45s var(--ios-transition);
}

@keyframes panel-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- ULTRA-MODERN CATEGORIES VISUAL RIBBON --- */
.categories-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 4, 2, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(247, 209, 121, 0.08);
  padding: 16px 14px;
  overflow: hidden;
}
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.categories-scroll::-webkit-scrollbar {
  display: none;
}
.category-tab {
  background: rgba(26, 17, 13, 0.45);
  border: 1px solid rgba(247, 209, 121, 0.12);
  padding: 10px 18px;
  border-radius: 40px; /* Fully rounded capsule pill shape */
  display: flex;
  flex-direction: row; /* Aligned icon and text horizontally side-by-side */
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--color-muted);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ios-transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.category-tab svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  color: var(--color-muted);
  transition: all 0.3s;
}
.category-tab:hover {
  color: var(--color-cream);
  border-color: rgba(247, 209, 121, 0.25);
  background: rgba(35, 21, 15, 0.6);
}
.category-tab.active {
  background: linear-gradient(135deg, var(--color-gold-deep) 0%, var(--color-gold-glow) 100%);
  color: #120906; /* High contrast text inside active capsule */
  border-color: var(--color-gold-light);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(224, 172, 60, 0.3);
}
.category-tab.active svg {
  color: #120906;
}

/* --- THE FOOD LIST GRID --- */
.menu-section {
  padding: 24px 20px 0 20px;
}
.menu-section-header {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-cream);
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-section-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 209, 121, 0.2), transparent);
}
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- TYPOGRAPHY FOOD CARDS --- */
.food-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ios-transition), border-color 0.4s var(--ios-transition), box-shadow 0.4s var(--ios-transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.food-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(247, 209, 121, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.food-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(247, 209, 121, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(224, 172, 60, 0.06);
}
.food-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-right: 36px; /* Space for absolute heart button */
}
[dir="rtl"] .food-card-top {
  padding-right: 0;
  padding-left: 36px;
}
.food-title-area {
  flex: 1;
}
.food-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.food-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
}
.food-badge.chef-special {
  background: rgba(179, 134, 43, 0.12);
  border: 1px solid var(--color-gold-light);
  color: var(--color-gold-light);
  box-shadow: 0 0 8px rgba(247, 209, 121, 0.1);
}
.food-badge.spicy {
  background: rgba(219, 68, 68, 0.1);
  border: 1px solid #ff5a5a;
  color: #ff7878;
}
.food-badge.standard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-muted);
}
.food-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.25;
}
.food-price {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-shadow: 0 0 10px rgba(247, 209, 121, 0.15);
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.food-currency {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold-deep);
}
.food-description {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.food-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.food-meta {
  font-size: 0.76rem;
  color: var(--color-gold-deep);
  display: flex;
  align-items: center;
  gap: 5px;
}
.food-meta svg {
  width: 12px;
  height: 12px;
}

/* HEART FAVORITE BUTTONS */
.fav-card-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(22, 12, 8, 0.6);
  border: 1px solid rgba(247, 209, 121, 0.18);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.35s var(--spring-transition);
  z-index: 20;
}
[dir="rtl"] .fav-card-btn {
  left: 18px;
  right: auto;
}
.fav-card-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  transition: transform 0.3s var(--spring-transition);
}
.fav-card-btn:hover {
  transform: scale(1.12);
  color: #ff5e5e;
  border-color: rgba(255, 94, 94, 0.35);
}
.fav-card-btn.liked {
  background: rgba(255, 71, 71, 0.12);
  border-color: rgba(255, 71, 71, 0.45);
  color: #ff4747;
  animation: heart-pop 0.45s var(--spring-transition);
}
.fav-card-btn.liked svg {
  fill: #ff4747;
  transform: scale(1.1);
}

@keyframes heart-pop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* ADD TO CART QUICK BUTTON */
.add-btn {
  background: linear-gradient(135deg, var(--color-gold-deep) 0%, var(--color-gold-glow) 100%);
  border: none;
  color: #120906;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--spring-transition);
  box-shadow: 0 4px 15px rgba(224, 172, 60, 0.2);
}
.add-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}
.add-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(224, 172, 60, 0.35);
}
.add-btn:active {
  transform: scale(0.95);
}
.add-btn.in-cart {
  background: rgba(247, 209, 121, 0.12);
  border: 1px solid var(--color-gold-light);
  color: var(--color-gold-light);
  box-shadow: none;
}

/* --- THE iOS BOTTOM SHEET DRAWER --- */
.sheet-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ios-transition);
}
.sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #110805;
  border-top: 1.5px solid var(--glass-border);
  border-radius: 36px 36px 0 0;
  z-index: 500;
  padding: 24px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
  transform: translateY(105%);
  transition: transform 0.45s var(--ios-transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bottom-sheet.active {
  transform: translateY(0);
}
.sheet-handle {
  width: 50px;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  align-self: center;
  cursor: pointer;
  margin-bottom: 5px;
}
.sheet-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.sheet-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
}
.sheet-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
}
.sheet-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.55;
  border-bottom: 1px solid rgba(247, 209, 121, 0.1);
  padding-bottom: 20px;
}

/* WINGS OPTIONS GRID */
.options-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.options-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-light);
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.option-pill {
  background: rgba(26, 17, 13, 0.5);
  border: 1px solid rgba(247, 209, 121, 0.12);
  padding: 10px 14px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.3s ease;
}
.option-pill.selected {
  border-color: var(--color-gold-glow);
  color: var(--color-gold-light);
  background: rgba(247, 209, 121, 0.08);
  box-shadow: 0 0 10px rgba(224,172,60,0.1);
}

/* QUANTITY ACTIONS */
.qty-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(247, 209, 121, 0.06);
}
.qty-selector {
  display: flex;
  align-items: center;
  background: rgba(8, 4, 2, 0.6);
  border: 1px solid rgba(247, 209, 121, 0.15);
  border-radius: 30px;
  padding: 4px;
  gap: 12px;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(247, 209, 121, 0.08);
  color: var(--color-gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}
.qty-btn:hover {
  background: rgba(247, 209, 121, 0.2);
}
.qty-num {
  font-size: 1.05rem;
  font-weight: 700;
  width: 25px;
  text-align: center;
  color: var(--color-cream);
}
.sheet-add-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--color-gold-deep) 0%, var(--color-gold-glow) 100%);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #120906;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(224, 172, 60, 0.25);
  transition: all 0.3s var(--spring-transition);
  margin-left: 15px;
}
[dir="rtl"] .sheet-add-btn {
  margin-left: 0;
  margin-right: 15px;
}
.sheet-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 172, 60, 0.4);
}

/* --- iOS 26 FLOATING BOTTOM NAVIGATION BAR --- */
.ios-nav-bar {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  height: 76px;
  border-radius: 26px;
  background: rgba(15, 8, 5, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1.5px solid rgba(247, 209, 121, 0.22);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.05);
  z-index: 350;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

/* Sliding active backplate indicator */
.ios-nav-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 30%; /* Set dynamically via JS */
  background: linear-gradient(135deg, rgba(224, 172, 60, 0.15) 0%, rgba(247, 209, 121, 0.08) 100%);
  border: 1px solid rgba(247, 209, 121, 0.25);
  border-radius: 18px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.4s var(--spring-transition);
}

.ios-nav-item {
  position: relative;
  z-index: 5;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 22.5%;
  height: 60px;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.3s;
}
.ios-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  transition: transform 0.3s var(--spring-transition), color 0.3s;
}
.ios-nav-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

/* Active Nav State */
.ios-nav-item.active {
  color: var(--color-gold-light);
}
.ios-nav-item.active svg {
  transform: scale(1.12) translateY(-1px);
  color: var(--color-gold-light);
  filter: drop-shadow(0 0 6px rgba(247, 209, 121, 0.4));
}

/* Dynamic badges inside floating navbar */
.nav-cart-wrapper, .fav-badge-wrapper {
  position: relative;
}
.nav-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #db4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  border: 1.5px solid #0f0805;
  animation: scale-up 0.3s var(--spring-transition);
}
.nav-cart-badge.hide {
  display: none;
}
.fav-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  background: var(--color-gold-glow);
  border-radius: 50%;
  border: 1px solid #0f0805;
  box-shadow: 0 0 6px var(--color-gold-glow);
  display: none;
}
.fav-dot.visible {
  display: block;
}

/* --- THE iOS SLIDE-IN FULL CART SHEETS --- */
.cart-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 84%;
  background: #0d0705;
  border-top: 1.5px solid var(--glass-border);
  border-radius: 36px 36px 0 0;
  z-index: 600;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -15px 40px rgba(0,0,0,0.8);
  transform: translateY(105%);
  transition: transform 0.5s var(--ios-transition);
}
.cart-sheet.active {
  transform: translateY(0);
}
.cart-sheet-header {
  padding: 24px 24px 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(247, 209, 121, 0.08);
}
.cart-sheet-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-sheet-close {
  background: rgba(255,255,255,0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.cart-sheet-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-cream);
}

/* COUNTER PRESENTATION NOTICE BANNER */
.staff-notice-banner {
  background: linear-gradient(135deg, rgba(179, 134, 43, 0.15) 0%, rgba(24, 14, 10, 0.95) 100%);
  border: 1px solid rgba(247, 209, 121, 0.25);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 16px 24px 0 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.notice-glow-ring {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(247, 209, 121, 0.15) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}
.notice-icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold-light);
  filter: drop-shadow(0 0 4px var(--color-gold-glow));
  animation: bell-ring 2s infinite ease-in-out;
}
.notice-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.notice-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1.2;
}
.notice-text span {
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.25;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(8deg); }
  20%, 40%, 60% { transform: rotate(-8deg); }
  70% { transform: rotate(0); }
}

/* LIST OF CART ITEMS */
.cart-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247, 209, 121, 0.05);
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-title {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-cream);
}
.cart-item-option {
  font-size: 0.75rem;
  color: var(--color-gold-deep);
  font-weight: 500;
}
.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-gold-light);
}
.cart-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: rgba(219, 68, 68, 0.6);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  transition: color 0.2s;
}
.cart-item-remove:hover {
  color: #db4444;
}

/* EMPTY STATE */
.empty-cart-message {
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: var(--color-muted);
  text-align: center;
}
.empty-cart-icon {
  font-size: 3rem;
  color: rgba(247, 209, 121, 0.15);
  animation: float-y 2.5s infinite ease-in-out;
}

/* CART SUMMARY FOOTER */
.cart-sheet-footer {
  padding: 24px;
  background: #140b08;
  border-top: 1px solid rgba(247, 209, 121, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.summary-line.total {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--color-cream);
  border-top: none; /* Removed split lines to support no-tax simplicity */
  padding-top: 0;
}
.summary-line.total .price {
  color: var(--color-gold-light);
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(247, 209, 121, 0.25);
}
.checkout-btn {
  background: linear-gradient(135deg, var(--color-gold-deep) 0%, var(--color-gold-glow) 100%);
  border: none;
  padding: 16px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #120906;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(224, 172, 60, 0.2);
  transition: all 0.3s var(--spring-transition);
}
.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 172, 60, 0.35);
}

/* --- KEYFRAMES --- */
@keyframes load-fill {
  0% { width: 0%; }
  50% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

@keyframes logo-pulsate {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(247, 209, 121, 0.15));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(247, 209, 121, 0.45));
  }
}

@keyframes pulse-opac {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes scale-up {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce-elastic {
  0% { transform: scale(0.9); }
  100% { transform: scale(1.1); }
}

/* --- PREMIUM RECEIPT OVERLAY MODAL --- */
.receipt-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ios-transition);
}
.receipt-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.receipt-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 86%;
  max-height: 82%;
  background: #110704;
  border: 1.5px solid var(--color-gold-light);
  border-radius: 28px;
  padding: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(247, 209, 121, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s var(--spring-transition);
}
.receipt-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.receipt-success-badge {
  align-self: center;
  background: rgba(46, 204, 113, 0.12);
  border: 1.5px solid #2ecc71;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2ecc71;
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.35);
}
.receipt-success-badge svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.5;
}

.receipt-main-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cream);
  text-align: center;
  margin-top: -5px;
}

.receipt-counter-alert {
  background: linear-gradient(135deg, rgba(179, 134, 43, 0.18) 0%, rgba(24, 14, 10, 0.95) 100%);
  border: 1px dashed var(--color-gold-light);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.receipt-counter-alert strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
}
.receipt-counter-alert span {
  font-size: 0.72rem;
  color: var(--color-muted);
}

.receipt-items-list {
  flex: 1;
  overflow-y: auto;
  background: rgba(8, 4, 2, 0.5);
  border: 1px solid rgba(247, 209, 121, 0.1);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
}

.receipt-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.receipt-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.receipt-item-name {
  font-weight: 600;
  color: var(--color-cream);
}
.receipt-item-modifier {
  font-size: 0.7rem;
  color: var(--color-gold-deep);
  font-weight: 500;
}
.receipt-item-qty {
  font-weight: 700;
  color: var(--color-gold-light);
  font-size: 0.78rem;
}
.receipt-item-price {
  font-weight: 700;
  color: var(--color-cream);
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1.5px solid rgba(247, 209, 121, 0.15);
}
.receipt-total-row span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
}
.receipt-total-row .price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-shadow: 0 0 10px rgba(247, 209, 121, 0.25);
}

.receipt-done-btn {
  background: linear-gradient(135deg, var(--color-gold-deep) 0%, var(--color-gold-glow) 100%);
  border: none;
  padding: 14px;
  border-radius: 18px;
  color: #120906;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 5px 15px rgba(224, 172, 60, 0.2);
  transition: all 0.3s var(--spring-transition);
}
.receipt-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 172, 60, 0.35);
}
.receipt-done-btn:active {
  transform: translateY(0);
}

/* --- THE ULTIMATE FLYING GOLDEN GLOW ORB STYLES --- */
.flying-glow-orb {
  position: fixed;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, var(--color-gold-light) 20%, var(--color-gold-deep) 70%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--color-gold-glow), 0 0 10px #fff;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease-out;
}

@keyframes tab-glow-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(247, 209, 121, 0)); }
  30% { transform: scale(1.15) translateY(-2px); filter: drop-shadow(0 0 15px rgba(247, 209, 121, 0.7)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(247, 209, 121, 0)); }
}

.tab-bounce {
  animation: tab-glow-pulse 0.6s var(--spring-transition);
}

.glow-burst-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--color-gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  box-shadow: 0 0 8px var(--color-gold-glow);
  opacity: 1;
}

/* --- THE ULTIMATE FLYING RED GLOW HEART STYLES --- */
.flying-glow-heart {
  position: fixed;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.85s ease-out;
}
.flying-glow-heart svg {
  width: 24px;
  height: 24px;
  fill: #ff4747;
  color: #ff4747;
  filter: drop-shadow(0 0 10px rgba(255, 71, 71, 0.8)) drop-shadow(0 0 5px #fff);
}

.heart-burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  opacity: 1;
}
.heart-burst-particle svg {
  width: 10px;
  height: 10px;
  fill: #ff4747;
  color: #ff4747;
  filter: drop-shadow(0 0 4px #ff4747);
}

/* --- FIND US PANEL STYLES --- */
.find-us-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
}
.find-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.find-logo {
  max-width: 100px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 20px rgba(247, 209, 121, 0.15);
  margin-bottom: 5px;
}
.find-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-cream);
  background: linear-gradient(135deg, #fff, var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.find-subtitle {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin-top: -10px;
  max-width: 260px;
}
.find-links-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}
.find-link-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--spring-transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.find-link-btn.instagram {
  background: linear-gradient(135deg, #405DE6 0%, #5851DB 20%, #833AB4 40%, #C13584 60%, #E1306C 80%, #FD1D1D 100%);
  color: #fff;
}
.find-link-btn.location {
  background: linear-gradient(135deg, rgba(22, 12, 8, 0.85) 0%, rgba(41, 23, 15, 0.85) 100%);
  border-color: rgba(247, 209, 121, 0.25);
  color: var(--color-cream);
}
.find-link-btn.location svg {
  color: var(--color-gold-light);
}
.find-link-btn.phone {
  background: linear-gradient(135deg, #1d9d59 0%, #177c45 100%);
  color: #fff;
  border-color: rgba(29, 157, 89, 0.3);
}
.find-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 172, 60, 0.15);
}
.find-link-btn.instagram:hover {
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.3);
}
.find-link-btn.phone:hover {
  box-shadow: 0 8px 25px rgba(29, 157, 89, 0.3);
}
.find-link-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.find-link-text {
  display: flex;
  align-items: center;
  gap: 12px;
}


