/*
 * assets/css/style.css
 * Saveur Restaurant — Production Stylesheet
 * Theme: Luxury Fine Dining — warm gold & charcoal
 */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9E7B2C;
  --charcoal:    #1C1C1E;
  --charcoal-2:  #2C2C2E;
  --charcoal-3:  #3A3A3C;
  --cream:       #FAF7F2;
  --cream-2:     #F0EBE3;
  --text-dark:   #1C1C1E;
  --text-body:   #4A4A4A;
  --text-muted:  #8A8A8A;
  --white:       #FFFFFF;
  --danger:      #D94040;
  --success:     #2E7D52;
  --warning:     #B07C10;
  --border:      rgba(201,168,76,0.2);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --navbar-h:    72px;
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

html, body {
 overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
}

.display-1, .display-2, .display-3 { font-family: var(--font-display); }
.text-gold   { color: var(--gold) !important; }
.text-cream  { color: var(--cream) !important; }
.bg-charcoal { background: var(--charcoal) !important; }
.bg-cream    { background: var(--cream) !important; }

/* ── Section Label ──────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--cream); }

/* ── Divider ────────────────────────────────────────────── */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ornament-divider i { color: var(--gold); font-size: 0.9rem; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar-custom {
  height: var(--navbar-h);
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  z-index: 1030;
}
.navbar-custom.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.brand-icon { color: var(--gold); font-size: 1.3rem; }

.navbar-custom .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body) !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: var(--gold) !important; }

.toggler-icon { color: var(--text-dark); font-size: 1.4rem; }
.navbar-toggler { border: none; background: none; padding: 0.25rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Brand Logo Icon ─────────────────────────────────────── */
.brand-icon img {
  height: 60px;   /* desktop */
  width: auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .brand-icon img {
    height: 54px;  /* fits inside 72px navbar with padding */
    width: auto;
    object-fit: contain;
    display: block !important;
  }

  .brand-text { display: none; }
}

@media (max-width: 991.98px) {
  .navbar-custom .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: none;
  }
}
/*
 * assets/css/style.css
 * Saveur Restaurant — Production Stylesheet
 * Theme: Luxury Fine Dining — warm gold & charcoal
 */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9E7B2C;
  --charcoal:    #1C1C1E;
  --charcoal-2:  #2C2C2E;
  --charcoal-3:  #3A3A3C;
  --cream:       #FAF7F2;
  --cream-2:     #F0EBE3;
  --text-dark:   #1C1C1E;
  --text-body:   #4A4A4A;
  --text-muted:  #8A8A8A;
  --white:       #FFFFFF;
  --danger:      #D94040;
  --success:     #2E7D52;
  --warning:     #B07C10;
  --border:      rgba(201,168,76,0.2);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --navbar-h:    72px;
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

html, body {
 overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
}

.display-1, .display-2, .display-3 { font-family: var(--font-display); }
.text-gold   { color: var(--gold) !important; }
.text-cream  { color: var(--cream) !important; }
.bg-charcoal { background: var(--charcoal) !important; }
.bg-cream    { background: var(--cream) !important; }

/* ── Section Label ──────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-title.light { color: var(--cream); }

/* ── Divider ────────────────────────────────────────────── */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ornament-divider i { color: var(--gold); font-size: 0.9rem; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar-custom {
  height: var(--navbar-h);
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  z-index: 1030;
}
.navbar-custom.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.brand-icon { color: var(--gold); font-size: 1.3rem; }

.navbar-custom .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body) !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: var(--gold) !important; }

.toggler-icon { color: var(--text-dark); font-size: 1.4rem; }
.navbar-toggler { border: none; background: none; padding: 0.25rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { border-radius: 50px; font-weight: 500; letter-spacing: 0.02em; transition: all var(--transition); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.75rem;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.55rem 1.5rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-cart {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  font-size: 1.05rem;
}
.btn-cart:hover { border-color: var(--gold); color: var(--gold); }

.btn-user {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
}
.btn-user:hover { background: var(--charcoal-2); color: var(--cream); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
  filter: saturate(0.5);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  color: rgba(250,247,242,0.7);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-image-side {
  position: relative;
  padding: 2rem;
}
.hero-dish-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-dish-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── Feature Blocks ─────────────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--cream-2);
  transition: all var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* ── Menu Cards ─────────────────────────────────────────── */
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-2);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.menu-card-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img { transform: scale(1.04); }

.menu-card-img-wrap { overflow: hidden; position: relative; }

.menu-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.menu-card-badge.unavailable { background: var(--text-muted); }

.menu-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.menu-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.qty-control button {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.qty-control button:hover { background: var(--cream); }
.qty-control input {
  width: 36px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-dark);
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Category Filter ────────────────────────────────────── */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cat-btn {
  background: var(--white);
  border: 1.5px solid var(--cream-2);
  color: var(--text-body);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── Cart ───────────────────────────────────────────────── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-2);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.cart-item-price { font-size: 0.85rem; color: var(--text-muted); }
.cart-item-total {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-2);
  padding: 1.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  color: var(--text-body);
}
.summary-row.total {
  border-top: 1px solid var(--cream-2);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}
.summary-row .amount { font-weight: 600; }
.summary-row.discount .amount { color: var(--success); }

/* ── Forms ──────────────────────────────────────────────── */
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  outline: none;
}
.form-control.is-invalid { border-color: var(--danger); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.testimonial-stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-text {
  color: rgba(250,247,242,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}
.testimonial-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 0.95rem;
}
.testimonial-role { font-size: 0.75rem; color: rgba(250,247,242,0.45); }

/* ── Alerts / Flash ─────────────────────────────────────── */
.alert {
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
}
.alert-success { background: rgba(46,125,82,0.1);  color: var(--success); }
.alert-danger  { background: rgba(217,64,64,0.1);  color: var(--danger); }
.alert-warning { background: rgba(176,124,16,0.1); color: var(--warning); }
.alert-info    { background: rgba(201,168,76,0.12);color: var(--gold-dark); }

/* ── Admin / Staff Shell ────────────────────────────────── */
.staff-shell {
  display: flex;
  min-height: 100vh;
  background: #F7F7F8;
}
.staff-sidebar {
  width: 260px;
  background: var(--charcoal);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  overflow-y: auto;
  z-index: 1020;
  transition: transform var(--transition);
}
.staff-sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.staff-sidebar-brand i { color: var(--gold); }
.staff-nav { padding: 1rem 0; flex: 1; }
.staff-nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1.25rem 1.5rem 0.5rem;
}
.staff-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.staff-nav a i { font-size: 1rem; width: 18px; }
.staff-nav a:hover, .staff-nav a.active {
  color: var(--cream);
  background: rgba(255,255,255,0.07);
  border-right: 3px solid var(--gold);
}
.staff-nav a.active { color: var(--gold-light); }

.staff-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.staff-topbar {
  background: var(--white);
  border-bottom: 1px solid #EBEBEC;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.staff-content { padding: 1.75rem; flex: 1; }
.staff-page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* ── Stat Cards ─────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #EBEBEC;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.gold    { background: rgba(201,168,76,0.12); color: var(--gold); }
.stat-icon.green   { background: rgba(46,125,82,0.12);  color: var(--success); }
.stat-icon.red     { background: rgba(217,64,64,0.12);  color: var(--danger); }
.stat-icon.blue    { background: rgba(59,130,246,0.12); color: #3B82F6; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Data Tables ─────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: #F7F7F8;
  border-bottom: 2px solid #EBEBEC;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #F0F0F0;
  font-size: 0.875rem;
  color: var(--text-body);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFAFA; }

/* ── Status Badges ──────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pending   { background: rgba(176,124,16,0.1); color: var(--warning); }
.status-confirmed { background: rgba(59,130,246,0.1); color: #3B82F6; }
.status-preparing { background: rgba(251,146,60,0.15);color: #EA580C; }
.status-ready     { background: rgba(46,125,82,0.1);  color: var(--success); }
.status-delivered { background: rgba(46,125,82,0.15); color: var(--success); }
.status-cancelled { background: rgba(217,64,64,0.1);  color: var(--danger); }
.status-paid      { background: rgba(46,125,82,0.1);  color: var(--success); }
.status-failed    { background: rgba(217,64,64,0.1);  color: var(--danger); }

/* ── Kitchen Cards ──────────────────────────────────────── */
.kitchen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid #EBEBEC;
  overflow: hidden;
  transition: border-color var(--transition);
}
.kitchen-card.urgent { border-color: var(--danger); }
.kitchen-card.ready  { border-color: var(--success); }
.kitchen-card-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F7F7F8;
  border-bottom: 1px solid #EBEBEC;
}
.kitchen-order-num { font-family: var(--font-display); font-size: 1rem; color: var(--text-dark); font-weight: 700; }
.kitchen-timer {
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-dark);
}
.kitchen-timer.urgent { color: var(--danger); }
.kitchen-items { padding: 1rem 1.25rem; }
.kitchen-item  { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.9rem; border-bottom: 1px dashed #F0F0F0; }
.kitchen-item:last-child { border-bottom: none; }
.kitchen-item-name  { color: var(--text-dark); font-weight: 500; }
.kitchen-item-qty   { color: var(--gold); font-weight: 700; }
.kitchen-card-footer { padding: 1rem 1.25rem; border-top: 1px solid #EBEBEC; display: flex; gap: 0.5rem; }

/* ── Invoice ────────────────────────────────────────────── */
.invoice-header {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.invoice-body { padding: 2rem; background: var(--white); }
.invoice-footer { background: var(--cream); padding: 1.25rem 2rem; border-radius: 0 0 var(--radius) var(--radius); font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ── Payment Method Cards ───────────────────────────────── */
.payment-option {
  border: 2px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.payment-option:hover, .payment-option.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.payment-option i { font-size: 1.4rem; color: var(--gold); }
.payment-option-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.payment-option-desc { font-size: 0.75rem; color: var(--text-muted); }

/* ── Search Bar ─────────────────────────────────────────── */
.search-bar {
  position: relative;
}
.search-bar input {
  padding-left: 2.8rem;
  background: var(--white);
}
.search-bar i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  display: flex;
  align-items: center;
}
.footer-brand i { color: var(--gold); }
.footer-tagline { color: rgba(250,247,242,0.5); font-size: 0.88rem; }
.footer-heading { color: var(--gold-light); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; font-size: 0.8rem; text-transform: uppercase; }
.footer-links   { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(250,247,242,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-hours   { list-style: none; padding: 0; }
.footer-hours li { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.85rem; color: rgba(250,247,242,0.6); border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.85rem; color: rgba(250,247,242,0.6); }
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); color: rgba(250,247,242,0.6); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all var(--transition); }
.social-links a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250,247,242,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Loader ─────────────────────────────────────────────── */
.spinner-gold {
  border-color: var(--gold);
  border-right-color: transparent;
}
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s;
}
#pageLoader.hide { opacity: 0; pointer-events: none; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1    { animation-delay: 0.1s; }
.delay-2    { animation-delay: 0.2s; }
.delay-3    { animation-delay: 0.3s; }
.delay-4    { animation-delay: 0.4s; }

/* ── Toast Notifications ────────────────────────────────── */
#toastContainer {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 320px;
}
.site-toast {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: slideToast 0.3s ease;
  border-left: 3px solid var(--gold);
}
.site-toast.success { border-left-color: var(--success); }
.site-toast.error   { border-left-color: var(--danger); }
@keyframes slideToast {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Section Spacing ────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark { background: var(--charcoal); }
.section-cream { background: var(--cream-2); }

/* ── Map Section ────────────────────────────────────────── */
.map-embed {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-2);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Utility ────────────────────────────────────────────── */
.card-plain {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-2);
  padding: 1.5rem;
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h4 { font-family: var(--font-display); color: var(--text-dark); margin-bottom: 0.5rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .staff-sidebar { transform: translateX(-100%); }
  .staff-sidebar.open { transform: translateX(0); }
  .staff-main { margin-left: 0; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 1.25rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.7rem; }
  .staff-content { padding: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
  .cart-item { flex-wrap: wrap; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .staff-sidebar, .staff-topbar, .btn, nav { display: none !important; }
  .staff-main { margin-left: 0 !important; }
  body { background: white; }
}

/*
 * assets/css/mobile-fixes.css
 * Mobile-only overrides for Saveur Restaurant
 * Load AFTER style.css — desktop styles untouched
 */

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */

/* ── Desktop (≥992px) ── */
@media (min-width: 992px) {

  /* Right actions: flex row, full pill buttons */
  .navbar-right-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  /* Show name text on Sign In / user button */
  .nav-user-name { display: inline !important; }

  /* Hide hamburger on desktop */
  .navbar-right-actions .navbar-toggler { display: none !important; }
}

/* ── Mobile (≤991px) ── */
@media (max-width: 991.98px) {

  /* Container: single row, no wrapping */
  .navbar-custom > .container,
  .navbar-custom > .container-fluid {
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Brand: shrinks if needed */
  .navbar-brand {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.1rem;
  }

  /* Right actions: compact row pushed to right */
  .navbar-right-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Cart — compact circle */
  .nav-cart-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  /* Sign In / User — compact circle, no text */
  .nav-user-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .nav-user-name { display: none !important; }
  .nav-user-btn.dropdown-toggle::after { display: none !important; }

  /* Collapsed nav menu — full width dropdown below navbar */
  .navbar-collapse {
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(250,247,242,0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 0.25rem 0 0.75rem;
    z-index: 1029;
  }

  .navbar-collapse .nav-link {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(201,168,76,0.08);
  }
  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* ══════════════════════════════════════════════
   HERO — prevent overflow + badge fix
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
    align-items: flex-start;
  }

  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  /* Stack CTA buttons full-width on phones */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Stats wrap neatly */
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .hero-stat-num { font-size: 1.5rem; }

  /* Hero image side — less padding, badge centered */
  .hero-image-side { padding: 0 0 1rem; }
  .hero-badge {
    position: static;
    display: inline-flex;
    margin: 0.75rem auto 0;
    animation: none;
  }
}

/* ══════════════════════════════════════════════
   FORMS — prevent iOS zoom (font-size >= 16px)
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .form-control,
  .form-select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 44px;
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   CATEGORY FILTERS — scrollable pill row
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 0.4rem;
  }
  .category-filters::-webkit-scrollbar { display: none; }
  .cat-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 40px;
    touch-action: manipulation;
  }
}

/* ══════════════════════════════════════════════
   MENU CARDS — footer wraps on small cards
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .menu-card-body { padding: 1rem; }
  .menu-card-footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .menu-card-price { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════════
   QTY CONTROL — minimum tap targets
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .qty-control button {
    width: 40px;
    height: 40px;
    touch-action: manipulation;
  }
  .qty-control input { width: 38px; font-size: 1rem; }
}

/* ══════════════════════════════════════════════
   CART — clean mobile layout
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cart-item-img {
    width: 64px;
    height: 64px;
  }
  .cart-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }
  .cart-item-total {
    margin-left: auto;
  }
  .summary-row.total {
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════
   DATA TABLES — horizontal scroll wrapper
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 560px;
  }
}

/* ══════════════════════════════════════════════
   TOAST — fit on small phones
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  #toastContainer {
    right: 0.75rem;
    left: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
}

/* ══════════════════════════════════════════════
   STAFF SHELL — sidebar overlay on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .staff-sidebar {
    transform: translateX(-100%);
  }
  .staff-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }
  .staff-main { margin-left: 0; }
  .staff-content { padding: 1rem; }

  /* Backdrop overlay — add <div id="sidebarBackdrop"> in HTML */
  #sidebarBackdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1019;
  }
  #sidebarBackdrop.show { display: block; }
}

/* ══════════════════════════════════════════════
   KITCHEN CARDS — wrap on small screens
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .kitchen-card-header {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }
  .kitchen-card-footer {
    flex-direction: column;
  }
  .kitchen-card-footer .btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   STAT CARDS — prevent overflow in grid
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .stat-card {
    padding: 1rem;
    gap: 0.85rem;
  }
  .stat-num { font-size: 1.4rem; }
  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════
   PAYMENT OPTIONS — full width on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .payment-option {
    padding: 0.85rem 1rem;
    min-height: 60px;
    touch-action: manipulation;
  }
}

/* ══════════════════════════════════════════════
   FOOTER — column stack earlier
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .footer-hours li {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .social-links { flex-wrap: wrap; }
  .social-links a {
    width: 40px;
    height: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   MISC — section spacing + map height
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.7rem; }
  .map-embed { height: 240px; }
  .card-plain { padding: 1.25rem; }
  .testimonial-card { padding: 1.25rem; }
  .invoice-header,
  .invoice-body { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn { border-radius: 50px; font-weight: 500; letter-spacing: 0.02em; transition: all var(--transition); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.75rem;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.55rem 1.5rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-cart {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  font-size: 1.05rem;
}
.btn-cart:hover { border-color: var(--gold); color: var(--gold); }

.btn-user {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
}
.btn-user:hover { background: var(--charcoal-2); color: var(--cream); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
  filter: saturate(0.5);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  color: rgba(250,247,242,0.7);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-image-side {
  position: relative;
  padding: 2rem;
}
.hero-dish-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.hero-dish-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── Feature Blocks ─────────────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--cream-2);
  transition: all var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* ── Menu Cards ─────────────────────────────────────────── */
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-2);
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.menu-card-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img { transform: scale(1.04); }

.menu-card-img-wrap { overflow: hidden; position: relative; }

.menu-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.menu-card-badge.unavailable { background: var(--text-muted); }

.menu-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.menu-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.qty-control button {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.qty-control button:hover { background: var(--cream); }
.qty-control input {
  width: 36px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-dark);
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Category Filter ────────────────────────────────────── */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cat-btn {
  background: var(--white);
  border: 1.5px solid var(--cream-2);
  color: var(--text-body);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── Cart ───────────────────────────────────────────────── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-2);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.cart-item-price { font-size: 0.85rem; color: var(--text-muted); }
.cart-item-total {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-2);
  padding: 1.5rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  color: var(--text-body);
}
.summary-row.total {
  border-top: 1px solid var(--cream-2);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}
.summary-row .amount { font-weight: 600; }
.summary-row.discount .amount { color: var(--success); }

/* ── Forms ──────────────────────────────────────────────── */
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  outline: none;
}
.form-control.is-invalid { border-color: var(--danger); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.testimonial-stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-text {
  color: rgba(250,247,242,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}
.testimonial-name {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 0.95rem;
}
.testimonial-role { font-size: 0.75rem; color: rgba(250,247,242,0.45); }

/* ── Alerts / Flash ─────────────────────────────────────── */
.alert {
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
}
.alert-success { background: rgba(46,125,82,0.1);  color: var(--success); }
.alert-danger  { background: rgba(217,64,64,0.1);  color: var(--danger); }
.alert-warning { background: rgba(176,124,16,0.1); color: var(--warning); }
.alert-info    { background: rgba(201,168,76,0.12);color: var(--gold-dark); }

/* ── Admin / Staff Shell ────────────────────────────────── */
.staff-shell {
  display: flex;
  min-height: 100vh;
  background: #F7F7F8;
}
.staff-sidebar {
  width: 260px;
  background: var(--charcoal);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  overflow-y: auto;
  z-index: 1020;
  transition: transform var(--transition);
}
.staff-sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.staff-sidebar-brand i { color: var(--gold); }
.staff-nav { padding: 1rem 0; flex: 1; }
.staff-nav-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1.25rem 1.5rem 0.5rem;
}
.staff-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.staff-nav a i { font-size: 1rem; width: 18px; }
.staff-nav a:hover, .staff-nav a.active {
  color: var(--cream);
  background: rgba(255,255,255,0.07);
  border-right: 3px solid var(--gold);
}
.staff-nav a.active { color: var(--gold-light); }

.staff-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.staff-topbar {
  background: var(--white);
  border-bottom: 1px solid #EBEBEC;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.staff-content { padding: 1.75rem; flex: 1; }
.staff-page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.chart-container{
    position:relative;
    height:350px;
}

@media (max-width:768px){
    .chart-container{
        height:250px;
    }
}

.chart-wrapper{
    position:relative;
    height:320px;
    width:100%;
}

@media (max-width:768px){

    .chart-wrapper{
        height:240px;
    }

    .card-plain{
        padding:1rem;
    }
}



/* ── Stat Cards ─────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #EBEBEC;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.gold    { background: rgba(201,168,76,0.12); color: var(--gold); }
.stat-icon.green   { background: rgba(46,125,82,0.12);  color: var(--success); }
.stat-icon.red     { background: rgba(217,64,64,0.12);  color: var(--danger); }
.stat-icon.blue    { background: rgba(59,130,246,0.12); color: #3B82F6; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Data Tables ─────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: #F7F7F8;
  border-bottom: 2px solid #EBEBEC;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #F0F0F0;
  font-size: 0.875rem;
  color: var(--text-body);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFAFA; }

/* ── Status Badges ──────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pending   { background: rgba(176,124,16,0.1); color: var(--warning); }
.status-confirmed { background: rgba(59,130,246,0.1); color: #3B82F6; }
.status-preparing { background: rgba(251,146,60,0.15);color: #EA580C; }
.status-ready     { background: rgba(46,125,82,0.1);  color: var(--success); }
.status-delivered { background: rgba(46,125,82,0.15); color: var(--success); }
.status-cancelled { background: rgba(217,64,64,0.1);  color: var(--danger); }
.status-paid      { background: rgba(46,125,82,0.1);  color: var(--success); }
.status-failed    { background: rgba(217,64,64,0.1);  color: var(--danger); }

/* ── Kitchen Cards ──────────────────────────────────────── */
.kitchen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid #EBEBEC;
  overflow: hidden;
  transition: border-color var(--transition);
}
.kitchen-card.urgent { border-color: var(--danger); }
.kitchen-card.ready  { border-color: var(--success); }
.kitchen-card-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F7F7F8;
  border-bottom: 1px solid #EBEBEC;
}
.kitchen-order-num { font-family: var(--font-display); font-size: 1rem; color: var(--text-dark); font-weight: 700; }
.kitchen-timer {
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-dark);
}
.kitchen-timer.urgent { color: var(--danger); }
.kitchen-items { padding: 1rem 1.25rem; }
.kitchen-item  { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.9rem; border-bottom: 1px dashed #F0F0F0; }
.kitchen-item:last-child { border-bottom: none; }
.kitchen-item-name  { color: var(--text-dark); font-weight: 500; }
.kitchen-item-qty   { color: var(--gold); font-weight: 700; }
.kitchen-card-footer { padding: 1rem 1.25rem; border-top: 1px solid #EBEBEC; display: flex; gap: 0.5rem; }

/* ── Invoice ────────────────────────────────────────────── */
.invoice-header {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.invoice-body { padding: 2rem; background: var(--white); }
.invoice-footer { background: var(--cream); padding: 1.25rem 2rem; border-radius: 0 0 var(--radius) var(--radius); font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ── Payment Method Cards ───────────────────────────────── */
.payment-option {
  border: 2px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.payment-option:hover, .payment-option.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.payment-option i { font-size: 1.4rem; color: var(--gold); }
.payment-option-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.payment-option-desc { font-size: 0.75rem; color: var(--text-muted); }

/* ── Search Bar ─────────────────────────────────────────── */
.search-bar {
  position: relative;
}
.search-bar input {
  padding-left: 2.8rem;
  background: var(--white);
}
.search-bar i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  display: flex;
  align-items: center;
}
.footer-brand i { color: var(--gold); }
.footer-tagline { color: rgba(250,247,242,0.5); font-size: 0.88rem; }
.footer-heading { color: var(--gold-light); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; font-size: 0.8rem; text-transform: uppercase; }
.footer-links   { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(250,247,242,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-hours   { list-style: none; padding: 0; }
.footer-hours li { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.85rem; color: rgba(250,247,242,0.6); border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.85rem; color: rgba(250,247,242,0.6); }
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); color: rgba(250,247,242,0.6); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all var(--transition); }
.social-links a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250,247,242,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Loader ─────────────────────────────────────────────── */
.spinner-gold {
  border-color: var(--gold);
  border-right-color: transparent;
}
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s;
}
#pageLoader.hide { opacity: 0; pointer-events: none; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1    { animation-delay: 0.1s; }
.delay-2    { animation-delay: 0.2s; }
.delay-3    { animation-delay: 0.3s; }
.delay-4    { animation-delay: 0.4s; }

/* ── Toast Notifications ────────────────────────────────── */
#toastContainer {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 320px;
}
.site-toast {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: slideToast 0.3s ease;
  border-left: 3px solid var(--gold);
}
.site-toast.success { border-left-color: var(--success); }
.site-toast.error   { border-left-color: var(--danger); }
@keyframes slideToast {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Section Spacing ────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-dark { background: var(--charcoal); }
.section-cream { background: var(--cream-2); }

/* ── Map Section ────────────────────────────────────────── */
.map-embed {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-2);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Utility ────────────────────────────────────────────── */
.card-plain {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-2);
  padding: 1.5rem;
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h4 { font-family: var(--font-display); color: var(--text-dark); margin-bottom: 0.5rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .staff-sidebar { transform: translateX(-100%); }
  .staff-sidebar.open { transform: translateX(0); }
  .staff-main { margin-left: 0; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 1.25rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.7rem; }
  .staff-content { padding: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
  .cart-item { flex-wrap: wrap; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
  .staff-sidebar, .staff-topbar, .btn, nav { display: none !important; }
  .staff-main { margin-left: 0 !important; }
  body { background: white; }
}

/*
 * assets/css/mobile-fixes.css
 * Mobile-only overrides for Saveur Restaurant
 * Load AFTER style.css — desktop styles untouched
 */

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */

/* ── Desktop (≥992px) ── */
@media (min-width: 992px) {

  /* Right actions: flex row, full pill buttons */
  .navbar-right-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  /* Show name text on Sign In / user button */
  .nav-user-name { display: inline !important; }

  /* Hide hamburger on desktop */
  /* In the BOTTOM MOBILE NAV section — change this: */
.navbar-toggler { display: none !important; }

/* To this: */
.navbar-custom .navbar-toggler { display: none !important; }
}

/* ── Mobile (≤991px) ── */
@media (max-width: 991.98px) {

  /* Container: single row, no wrapping */
  .navbar-custom > .container,
  .navbar-custom > .container-fluid {
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Brand: shrinks if needed */
  .navbar-brand {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 1.1rem;
  }

  /* Right actions: compact row pushed to right */
  .navbar-right-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Cart — compact circle */
  .nav-cart-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  /* Sign In / User — compact circle, no text */
  .nav-user-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .nav-user-name { display: none !important; }
  .nav-user-btn.dropdown-toggle::after { display: none !important; }

  /* Collapsed nav menu — full width dropdown below navbar */
  .navbar-collapse {
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(250,247,242,0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 0.25rem 0 0.75rem;
    z-index: 1029;
  }

  .navbar-collapse .nav-link {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(201,168,76,0.08);
  }
  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* ══════════════════════════════════════════════
   HERO — prevent overflow + badge fix
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
    align-items: flex-start;
  }

  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }

  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  /* Stack CTA buttons full-width on phones */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Stats wrap neatly */
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .hero-stat-num { font-size: 1.5rem; }

  /* Hero image side — less padding, badge centered */
  .hero-image-side { padding: 0 0 1rem; }
  .hero-badge {
    position: static;
    display: inline-flex;
    margin: 0.75rem auto 0;
    animation: none;
  }
}

/* ══════════════════════════════════════════════
   FORMS — prevent iOS zoom (font-size >= 16px)
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .form-control,
  .form-select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 44px;
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   CATEGORY FILTERS — scrollable pill row
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 0.4rem;
  }
  .category-filters::-webkit-scrollbar { display: none; }
  .cat-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 40px;
    touch-action: manipulation;
  }
}

/* ══════════════════════════════════════════════
   MENU CARDS — footer wraps on small cards
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .menu-card-body { padding: 1rem; }
  .menu-card-footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .menu-card-price { font-size: 1.1rem; }
}

/* ══════════════════════════════════════════════
   QTY CONTROL — minimum tap targets
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .qty-control button {
    width: 40px;
    height: 40px;
    touch-action: manipulation;
  }
  .qty-control input { width: 38px; font-size: 1rem; }
}

/* ══════════════════════════════════════════════
   CART — clean mobile layout
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .cart-item-img {
    width: 64px;
    height: 64px;
  }
  .cart-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }
  .cart-item-total {
    margin-left: auto;
  }
  .summary-row.total {
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════
   DATA TABLES — horizontal scroll wrapper
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 560px;
  }
}

/* ══════════════════════════════════════════════
   TOAST — fit on small phones
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  #toastContainer {
    right: 0.75rem;
    left: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
}

/* ══════════════════════════════════════════════
   STAFF SHELL — sidebar overlay on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .staff-sidebar {
    transform: translateX(-100%);
  }
  .staff-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }
  .staff-main { margin-left: 0; }
  .staff-content { padding: 1rem; }

  /* Backdrop overlay — add <div id="sidebarBackdrop"> in HTML */
  #sidebarBackdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1019;
  }
  #sidebarBackdrop.show { display: block; }
}

/* ══════════════════════════════════════════════
   KITCHEN CARDS — wrap on small screens
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .kitchen-card-header {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }
  .kitchen-card-footer {
    flex-direction: column;
  }
  .kitchen-card-footer .btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════
   STAT CARDS — prevent overflow in grid
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .stat-card {
    padding: 1rem;
    gap: 0.85rem;
  }
  .stat-num { font-size: 1.4rem; }
  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════
   PAYMENT OPTIONS — full width on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {
  .payment-option {
    padding: 0.85rem 1rem;
    min-height: 60px;
    touch-action: manipulation;
  }
}

/* ══════════════════════════════════════════════
   FOOTER — column stack earlier
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .footer-hours li {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .social-links { flex-wrap: wrap; }
  .social-links a {
    width: 40px;
    height: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════
   MISC — section spacing + map height
   ══════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.7rem; }
  .map-embed { height: 240px; }
  .card-plain { padding: 1.25rem; }
  .testimonial-card { padding: 1.25rem; }
  .invoice-header,
  .invoice-body { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════
   BOTTOM MOBILE NAV
   ══════════════════════════════════════════════ */
.bottom-nav-mobile {
  display: none;
}

@media (max-width: 991.98px) {
  body { padding-bottom: 72px; }

  .bottom-nav-mobile {
    display: flex !important;
    align-items: stretch;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(28, 28, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1031;
    min-height: 60px;
  }

  .bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 6px;
    gap: 4px;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 56px;
  }

  .bnav-item .bnav-icon-wrap { color: rgba(250, 247, 242, 0.4); }
  .bnav-item .bnav-label     { color: rgba(250, 247, 242, 0.4); }
  .bnav-item.active .bnav-icon-wrap { color: var(--gold); }
  .bnav-item.active .bnav-label     { color: var(--gold); }

  .bnav-icon-wrap {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    position: relative;
    transition: transform var(--transition), color var(--transition);
  }
  .bnav-item.active .bnav-icon-wrap { transform: translateY(-2px); }

  .bnav-dot {
    position: absolute;
    bottom: -3px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transition: opacity var(--transition);
  }
  .bnav-item.active .bnav-dot { opacity: 1; }

  .bnav-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color var(--transition);
  }

  .bnav-center-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 4px 6px;
    gap: 4px;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-height: 56px;
  }

  .bnav-center-ring {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-top: -16px;
    border: 3px solid rgba(28, 28, 30, 0.97);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.45);
    transition: transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
  }
  .bnav-center-btn:active .bnav-center-ring {
    transform: scale(0.94);
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
  }

  .bnav-center-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(250, 247, 242, 0.4);
  }

  .navbar-toggler { display: none !important; }
  .staff-shell .bottom-nav-mobile { display: none !important; }
}

/* ══════════════════════════════════════════════
   ADMIN / STAFF SHELL — MOBILE RESPONSIVE FIX
   ══════════════════════════════════════════════ */

@media (max-width: 991.98px) {

  /* Full-width layout */
  .staff-shell {
    flex-direction: column;
  }

  .staff-main {
    margin-left: 0 !important;
    width: 100%;
  }

  /* Topbar — compact on mobile */
  .staff-topbar {
    padding: 0 1rem;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  /* Page content padding */
  .staff-content {
    padding: 1rem;
  }

  /* Page title smaller */
  .staff-page-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  /* Stat cards — 2 per row on tablet, 1 on phone */
  .staff-content .row .col-md-3,
  .staff-content .row .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  /* Stat cards — 1 per row on small phones */
  .staff-content .row .col-md-3,
  .staff-content .row .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stat-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .stat-num { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════
   ADMIN TABLES — horizontal scroll on mobile
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {

  /* Wrap every table in .table-responsive in PHP,
     or target .card-plain that contains a table */
  .staff-content .card-plain {
    padding: 0;
    overflow: hidden;
  }

  .staff-content .card-plain > *:not(table):not(.table-responsive) {
    padding: 1rem 1.25rem;
  }

  /* Make table scroll horizontally */
  .staff-content table,
  .staff-content .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
  }

  .data-table th,
  .data-table td {
    padding: 0.7rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Hide less important columns on very small screens */
  @media (max-width: 480px) {
    .data-table .d-mobile-none {
      display: none !important;
    }
  }
}

/* ══════════════════════════════════════════════
   ADMIN SIDEBAR TOGGLE BUTTON — topbar
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  /* Show a menu button in topbar on mobile */
  .staff-topbar-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1.5px solid var(--cream-2);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  .staff-topbar-toggle { display: none !important; }
}

/* ══════════════════════════════════════════════
   FIX: navbar-toggler leak — scope it properly
   ══════════════════════════════════════════════ */

/* On desktop, hide the navbar hamburger */
@media (min-width: 992px) {
  .navbar-custom .navbar-toggler { display: none !important; }
}

/* On mobile inside staff shell, no toggler needed */
.staff-shell .navbar-toggler { display: none !important; }

/* ══════════════════════════════════════════════
   ADMIN REPORTS — MOBILE FIXES
   ══════════════════════════════════════════════ */

@media (max-width: 991.98px) {

  /* ── Topbar — keep it sticky and visible always ── */
  .staff-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    height: auto;
    min-height: 56px;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* ── Period selector buttons — scrollable row ── */
  .staff-content .d-flex.gap-2.mb-4 {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 0.4rem !important;
  }
  .staff-content .d-flex.gap-2.mb-4::-webkit-scrollbar { display: none; }
  .staff-content .d-flex.gap-2.mb-4 .btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 72px;
    text-align: center;
  }

  /* ── Stat cards — 2 per row ── */
  .staff-content .row.g-3 .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* ── Chart cards — full width ── */
  .staff-content .row.g-4 .col-lg-8,
  .staff-content .row.g-4 .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* ── Charts — taller on mobile so they're readable ── */
  .staff-content canvas {
    min-height: 220px !important;
    height: 220px !important;
  }

  /* ── Top dishes list — comfortable spacing ── */
  .staff-content .card-plain .d-flex.justify-content-between {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--cream-2);
  }
}

@media (max-width: 575.98px) {
  /* ── Stat cards — still 2 per row even on small phones ── */
  .staff-content .row.g-3 .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem;
    gap: 0.5rem;
  }

  .stat-num { font-size: 1.3rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 768px) {

  .kitchen-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kitchen-topbar-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .kitchen-topbar-right .btn {
    white-space: nowrap;
  }

  #lastRefresh {
    display: none;
  }
}

