/* ==========================================================
   MABAPU FOODS™ — Indian Royal Theme Design System
   ----------------------------------------------------------
   CANONICAL SYSTEM: This is the primary and official CSS design
   system for the entire Mabapu Foods application. All layout,
   admin, chef, and public pages must import and utilize this
   file directly. Legacy systems are deprecated in its favor.
   ========================================================== */

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

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Royal Dark Palette */
  --royal-dark:       #1A1A2E;
  --royal-dark-rgb:   26,  26,  46;
  --royal-deep:       #16213E;
  --royal-deep-rgb:   22,  33,  62;
  --royal-navy:       #0F3460;
  --royal-midnight:   #0D1117;

  /* Gold & Saffron */
  --royal-gold:       #D4A853;
  --royal-gold-rgb:   212, 168, 83;
  --royal-gold-light: #E8C87A;
  --royal-gold-light-rgb: 232, 200, 122;
  --royal-gold-dark:  #B8912E;
  --royal-gold-dark-rgb: 184, 145, 46;
  --royal-saffron:    #FF6B35;
  --royal-saffron-rgb:   255, 107, 53;
  --royal-saffron-light: #FF8C5A;
  --royal-saffron-light-rgb: 255, 140, 90;
  --royal-saffron-dark:  #E5551F;
  --royal-saffron-dark-rgb: 229, 85,  31;

  /* Warm Neutrals */
  --royal-cream:      #FFF8F0;
  --royal-cream-rgb:  255, 248, 240;
  --royal-ivory:      #FEFCF3;
  --royal-parchment:  #F5ECD7;
  --royal-sand:       #E8D5B5;

  /* Accents */
  --royal-emerald:    #2D6A4F;
  --royal-emerald-rgb: 45, 106, 79;
  --royal-emerald-light: #40916C;
  --royal-maroon:     #8B0000;
  --royal-ruby:       #E63946;

  /* Grays */
  --gray-50:  #FAFAFA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Glass */
  --glass-bg:     rgba(26,26,46,0.85);
  --glass-bg-light: rgba(255,255,255,0.08);
  --glass-border: rgba(212,168,83,0.2);
  --glass-border-light: rgba(255,255,255,0.12);

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.2);
  --shadow-gold: 0 4px 20px rgba(212,168,83,0.25);
  --shadow-saffron: 0 4px 20px rgba(255,107,53,0.3);

  /* Radii */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition:      0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    1000;
  --z-toast:    1100;

  /* Admin-specific (used by admin blades, old naming compat) */
  --royal-bg:       #1A1A2E;
  --royal-card:     #252538;
  --royal-accent:   #3A3042;
  --royal-glass:    rgba(26,26,46,0.75);
  --royal-border:   rgba(212,168,83,0.25);
  --royal-gold-hover:   #E5C276;
  --royal-saffron-hover: #FF8252;

  /* Legacy compat aliases (used by chef ai-creator, order-timeline, install) */
  --orange: var(--royal-saffron);
  --green:  var(--royal-emerald);
  --gold:   var(--royal-gold);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--royal-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal-saffron); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--royal-gold); }
button { font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.35;
  color: var(--royal-dark);
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
p  { color: var(--gray-600); line-height: 1.7; }

.text-gold { color: var(--royal-gold) !important; }
.text-saffron { color: var(--royal-saffron) !important; }
.text-emerald { color: var(--royal-emerald) !important; }
.text-cream { color: var(--royal-cream) !important; }
.text-dark { color: var(--royal-dark) !important; }
.text-muted { color: var(--gray-400) !important; }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--royal-dark); color: var(--royal-cream); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--royal-cream); }
.section-dark p { color: rgba(255,248,240,0.7); }
.section-cream { background: var(--royal-cream); }
.section-ivory { background: var(--royal-ivory); }

/* Flex & Grid Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Ornamental Dividers ───────────────────────────────────── */
.royal-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 32px;
}
.royal-divider::before,
.royal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}
.royal-divider__icon {
  color: var(--royal-gold);
  font-size: 18px;
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--royal-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.section-header__title {
  margin-bottom: 4px;
}
.section-header__subtitle {
  color: var(--gray-500);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.section-header--left { text-align: left; }
.section-header--left .section-header__subtitle { margin: 0; }

/* Gold Line Divider */
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-gold), var(--royal-saffron));
  border-radius: 2px;
  margin: 8px auto 0;
}
.section-header--left .gold-line { margin-left: 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--royal-saffron), var(--royal-saffron-dark));
  color: #fff;
  border-color: var(--royal-saffron);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--royal-saffron-light), var(--royal-saffron));
  transform: translateY(-2px);
  box-shadow: var(--shadow-saffron);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--royal-gold), var(--royal-gold-dark));
  color: var(--royal-dark);
  border-color: var(--royal-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--royal-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--royal-gold);
  border-color: var(--royal-gold);
}
.btn-secondary:hover {
  background: var(--royal-gold);
  color: var(--royal-dark);
}

.btn-outline-saffron {
  background: transparent;
  color: var(--royal-saffron);
  border-color: var(--royal-saffron);
}
.btn-outline-saffron:hover {
  background: var(--royal-saffron);
  color: #fff;
}

.btn-dark {
  background: var(--royal-dark);
  color: var(--royal-cream);
  border-color: var(--royal-dark);
}
.btn-dark:hover {
  background: var(--royal-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--royal-cream);
  border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-emerald {
  background: linear-gradient(135deg, var(--royal-emerald), var(--royal-emerald-light));
  color: #fff;
  border-color: var(--royal-emerald);
}
.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--royal-emerald-rgb),0.3);
  color: #fff;
}

.btn-danger {
  background: var(--royal-ruby);
  color: #fff;
  border-color: var(--royal-ruby);
}
.btn-danger:hover {
  background: #C62828;
  color: #fff;
}

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-md); }
.btn-xl { padding: 18px 48px; font-size: 17px; border-radius: var(--radius-md); font-weight: 700; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-full); }
.btn-icon.btn-sm { width: 32px; height: 32px; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 20px; }
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-img { transform: scale(1.03); }

/* Glass Card */
.card-glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Royal Card (dark bg) */
.card-royal {
  background: var(--royal-deep);
  border: 1px solid rgba(var(--royal-gold-rgb),0.15);
  border-radius: var(--radius-lg);
  color: var(--royal-cream);
}
.card-royal:hover {
  border-color: var(--royal-gold);
  box-shadow: var(--shadow-gold);
}

/* ── Recipe Card ───────────────────────────────────────────── */
.recipe-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  position: relative;
}
.recipe-card:hover {
  color: inherit;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--royal-gold);
}
.recipe-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.recipe-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.recipe-card:hover .recipe-card__img {
  transform: scale(1.06);
}
.recipe-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(var(--royal-dark-rgb),0.7), transparent);
  pointer-events: none;
}
.recipe-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--royal-gold);
  color: var(--royal-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.recipe-card__time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}
.recipe-card__body { padding: 16px; }
.recipe-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--royal-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  line-height: 1.35;
}
.recipe-card__chef {
  font-size: 13px;
  color: var(--royal-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.recipe-card__chef-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--royal-gold);
}
.recipe-card__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-400);
}
.recipe-card__rating {
  color: var(--royal-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ── Product Card ──────────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--royal-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.product-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.product-card__body { padding: 16px; }
.product-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--royal-dark);
  margin-bottom: 4px;
}
.product-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--royal-saffron);
  font-family: var(--font-heading);
}
.product-card__weight {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-gold     { background: rgba(var(--royal-gold-rgb),0.15); color: var(--royal-gold-dark); }
.badge-saffron  { background: rgba(var(--royal-saffron-rgb),0.12); color: var(--royal-saffron-dark); }
.badge-emerald  { background: rgba(var(--royal-emerald-rgb),0.12); color: var(--royal-emerald); }
.badge-ruby     { background: rgba(230,57,70,0.12); color: var(--royal-ruby); }
.badge-navy     { background: rgba(15,52,96,0.12); color: var(--royal-navy); }
.badge-gray     { background: var(--gray-100); color: var(--gray-600); }

/* Status Badges */
.badge-active    { background: #ECFDF5; color: #065F46; }
.badge-inactive  { background: #FEF2F2; color: #991B1B; }
.badge-pending   { background: #FFFBEB; color: #92400E; }
.badge-approved  { background: #ECFDF5; color: #065F46; }
.badge-rejected  { background: #FEF2F2; color: #991B1B; }
.badge-draft     { background: var(--gray-100); color: var(--gray-500); }
.badge-placed    { background: #EFF6FF; color: #1E40AF; }
.badge-confirmed { background: #ECFDF5; color: #065F46; }
.badge-shipped   { background: #FFF7ED; color: #92400E; }
.badge-delivered { background: #ECFDF5; color: #065F46; }
.badge-cancelled { background: #FEF2F2; color: #991B1B; }
.badge-affiliate  { background: #EFF6FF; color: #1D4ED8; }
.badge-self-shipped { background: #ECFDF5; color: #166534; }

/* Coin Badge */
.coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
  border: 1px solid var(--royal-gold);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--royal-gold-dark);
}

/* ── Navigation Helpers ────────────────────────────────────── */
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.font-heading { font-family: var(--font-heading); }
.cart-badge {
  position: absolute; top: -4px; right: -8px;
  background: var(--royal-saffron); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; padding: 0 4px;
}
.navbar-royal__link--logout {
  background: none; border: none;
  cursor: pointer; font-family: inherit;
  font-size: inherit; color: rgba(255,248,240,0.45);
}
.navbar-royal__link--logout:hover { color: var(--royal-gold); }
.mobile-menu-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--royal-gold-rgb),0.15);
}
.mobile-menu-close {
  background: none; border: none;
  color: var(--royal-cream); font-size: 24px; cursor: pointer;
}
.mobile-search-input {
  border-radius: var(--radius-full);
  padding: 10px 18px; font-size: 14px;
}
.mobile-cart-badge {
  background: var(--royal-saffron); color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; margin-left: 4px;
}
.mobile-menu-auth-section {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu-auth-actions {
  margin-top: auto; padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px;
}

/* ── Navigation ────────────────────────────────────────────── */
.navbar-royal {
  background: var(--royal-dark);
  border-bottom: 1px solid rgba(var(--royal-gold-rgb),0.12);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  padding: 0;
  transition: all var(--transition);
}
.navbar-royal.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  padding: 0;
}
.navbar-royal__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.navbar-royal__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.navbar-royal__logo img {
  height: 38px;
  width: auto;
  border-radius: var(--radius-xs);
}
.navbar-royal__logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--royal-gold);
  font-weight: 800;
}
.navbar-royal__search {
  flex: 1;
  max-width: 420px;
}
.navbar-royal__search input {
  width: 100%;
  padding: 10px 20px;
  border: 1.5px solid rgba(var(--royal-gold-rgb),0.2);
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
  transition: all var(--transition);
  font-family: var(--font-body);
  background: rgba(255,255,255,0.06);
  color: var(--royal-cream);
}
.navbar-royal__search input::placeholder { color: rgba(255,248,240,0.4); }
.navbar-royal__search input:focus {
  border-color: var(--royal-gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(var(--royal-gold-rgb),0.1);
}
.navbar-royal__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-royal__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,248,240,0.7);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none !important;
  white-space: nowrap;
}
.navbar-royal__link svg,
.mobile-menu-close svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
}
.navbar-royal__link:hover {
  background: rgba(var(--royal-gold-rgb),0.1);
  color: var(--royal-gold);
}
.navbar-royal__link--active {
  color: var(--royal-gold);
  background: rgba(var(--royal-gold-rgb),0.1);
}
.nav-emoji {
  font-size: 1.3em;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}
.navbar-royal__link--admin {
  color: var(--royal-gold) !important;
  font-weight: 700;
  border: 1px solid rgba(var(--royal-gold-rgb),0.3);
  background: rgba(var(--royal-gold-rgb),0.08);
}
.navbar-royal__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--royal-cream);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.navbar-royal__hamburger:hover {
  background: rgba(var(--royal-gold-rgb),0.15);
  border-color: var(--royal-gold);
}

/* Mobile Nav Slide */
.navbar-royal__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--royal-dark);
  border-left: 1px solid rgba(var(--royal-gold-rgb),0.15);
  z-index: var(--z-modal);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transition: right var(--transition);
  box-shadow: -8px 0 32px rgba(0,0,0,0.3);
}
.navbar-royal__mobile-menu.open { right: 0; }
.navbar-royal__mobile-menu .navbar-royal__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-modal) - 1);
  backdrop-filter: blur(4px);
}
.mobile-menu-overlay.open { display: block; }

/* ── Mobile Bottom Navigation ──────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--royal-dark);
  border-top: 1px solid rgba(var(--royal-gold-rgb),0.15);
  z-index: var(--z-sticky);
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: rgba(255,248,240,0.5);
  font-size: 10px;
  font-weight: 700;
  transition: all var(--transition-fast);
  flex: 1;
  height: 100%;
  position: relative;
  letter-spacing: 0.3px;
}
.mobile-bottom-nav__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 2px;
  transition: transform var(--transition-spring);
}
.mobile-bottom-nav__icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 22px;
}
.mobile-bottom-nav__item:hover .mobile-bottom-nav__icon,
.mobile-bottom-nav__item.active .mobile-bottom-nav__icon {
  transform: translateY(-3px) scale(1.1);
}
.mobile-bottom-nav__item.active {
  color: var(--royal-gold);
}
.mobile-bottom-nav__item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--royal-gold);
  border-radius: 0 0 4px 4px;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-royal {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal-deep) 40%, var(--royal-navy) 100%);
  color: var(--royal-cream);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-royal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(var(--royal-gold-rgb),0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--royal-saffron-rgb),0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(var(--royal-gold-rgb),0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-royal__content { position: relative; z-index: 1; }
.hero-royal h1 {
  color: var(--royal-cream);
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}
.hero-royal h1 span { color: var(--royal-gold); }
.hero-royal p {
  color: rgba(255,248,240,0.75);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-royal__search {
  max-width: 560px;
  margin: 36px auto 0;
}
.hero-royal__search form {
  display: flex;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid rgba(var(--royal-gold-rgb),0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}
.hero-royal__search input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
  background: transparent;
  color: var(--royal-cream);
}
.hero-royal__search input::placeholder { color: rgba(255,248,240,0.45); }
.hero-royal__search button {
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--royal-gold), var(--royal-gold-dark));
  color: var(--royal-dark);
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}
.hero-royal__search button:hover {
  background: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold));
}
.hero-royal__stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-royal__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--royal-gold);
  font-family: var(--font-heading);
}
.hero-royal__stat-label {
  font-size: 13px;
  color: rgba(255,248,240,0.5);
}

/* ── Home Page Specific ────────────────────────────────────── */
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.m-left-0 { margin-left: 0; }
.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.marketplace-showcase {
  border-top: 1px solid rgba(var(--royal-gold-rgb),0.15);
  border-bottom: 1px solid rgba(var(--royal-gold-rgb),0.15);
}
.chef-cta-section {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.chef-cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(var(--royal-gold-rgb),0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-heading {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.cta-subtitle {
  color: rgba(255,248,240,0.7);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 640px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(var(--royal-gold-rgb),0.15);
}
.cta-stat__value {
  font-size: 2.2rem;
  font-weight: 900;
}
.cta-stat__label {
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-royal__search-wrapper {
  max-width: 560px;
  margin: 40px auto 0;
}
.hero-royal__search-form {
  display: flex;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid rgba(var(--royal-gold-rgb),0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}
.hero-royal__search-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: var(--font-body);
  background: transparent;
  color: var(--royal-cream);
}
.hero-royal__search-form input::placeholder { color: rgba(255,248,240,0.45); }
.hero-royal__search-form button {
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--royal-gold), var(--royal-gold-dark));
  color: var(--royal-dark);
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-body);
  border-radius: 0;
  transition: all var(--transition-fast);
}
.hero-royal__search-form button:hover {
  background: linear-gradient(135deg, var(--royal-gold-light), var(--royal-gold));
}
.hero-royal__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ── Section Headings (legacy compat) ──────────────────────── */
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 4px;
  color: var(--royal-dark);
}
.section-dark .section-title { color: var(--royal-cream); }
.section-subtitle { color: var(--gray-400); margin-bottom: 8px; font-size: 14px; }
.section-divider {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-gold), var(--royal-saffron));
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ── Recipe Grid (legacy compat) ───────────────────────────── */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-required::after {
  content: ' *';
  color: var(--royal-ruby);
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--royal-dark);
  background: #fff;
  transition: all var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--royal-gold);
  box-shadow: 0 0 0 3px rgba(var(--royal-gold-rgb),0.12);
}
.form-control::placeholder { color: var(--gray-400); }
.form-group { margin-bottom: 20px; }
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--royal-ruby); margin-top: 4px; }

/* Dark form variant */
.form-control-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--royal-gold-rgb),0.2);
  color: var(--royal-cream);
}
.form-control-dark::placeholder { color: rgba(255,248,240,0.4); }
.form-control-dark:focus {
  border-color: var(--royal-gold);
  background: rgba(255,255,255,0.1);
}

/* Checkbox / Toggle */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--royal-gold);
  cursor: pointer;
}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--royal-cream); }

/* ── Stat Cards ────────────────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.stat-card--gold::before   { background: linear-gradient(90deg, var(--royal-gold), var(--royal-gold-light)); }
.stat-card--saffron::before { background: linear-gradient(90deg, var(--royal-saffron), var(--royal-saffron-light)); }
.stat-card--emerald::before { background: linear-gradient(90deg, var(--royal-emerald), var(--royal-emerald-light)); }
.stat-card--navy::before    { background: linear-gradient(90deg, var(--royal-navy), #1A5276); }
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.stat-card__value {
  font-size: 2rem; font-weight: 900; color: var(--royal-gold); line-height: 1.3; margin-bottom: 4px;
}
.stat-card__label {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 6px;
  font-weight: 500;
}

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}
.alert svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--royal-gold); }
.breadcrumb__sep { color: var(--gray-300); }

/* ── Order Timeline ────────────────────────────────────────── */
.order-timeline { list-style: none; padding: 0; position: relative; }
.order-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.order-timeline__item {
  display: flex;
  gap: 16px;
  padding: 0 0 24px 0;
  position: relative;
  align-items: flex-start;
}
.order-timeline__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition);
}
.order-timeline__dot--active {
  background: var(--royal-emerald);
  color: #fff;
}
.order-timeline__dot--current {
  background: var(--royal-gold);
  color: var(--royal-dark);
  box-shadow: 0 0 0 4px rgba(var(--royal-gold-rgb),0.2);
}
.order-timeline__content { flex: 1; padding-top: 4px; }
.order-timeline__title { font-size: 14px; font-weight: 600; color: var(--royal-dark); }
.order-timeline__time { font-size: 12px; color: var(--gray-400); margin-top: 2px; }

/* ── Video Embed ───────────────────────────────────────────── */
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--royal-dark);
  margin: 24px 0;
  box-shadow: var(--shadow-lg);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Ad Slot ───────────────────────────────────────────────── */
.ad-slot { text-align: center; margin: 24px 0; }
.ad-slot__label {
  font-size: 9px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.ad-slot img { max-width: 100%; border-radius: var(--radius-md); }

/* ── Loading Spinner ───────────────────────────────────────── */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(var(--royal-gold-rgb),0.2);
  border-top-color: var(--royal-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer Helpers ────────────────────────────────────────── */
.fs-22 { font-size: 22px; }
.footer-logo { height: 32px; width: auto; border-radius: 4px; }
.footer-hr { border: none; border-top: 1px solid rgba(var(--royal-gold-rgb),0.15); margin: 8px 0; }
.newsletter-desc { font-size: 13px; color: rgba(255,248,240,0.4); margin-bottom: 12px; line-height: 1.5; }
.recaptcha-wrap { margin: 8px 0; display: flex; justify-content: center; }

/* ── Footer ────────────────────────────────────────────────── */
.footer-royal {
  background: var(--royal-midnight);
  color: rgba(255,248,240,0.6);
  padding: 64px 0 0;
  position: relative;
}
.footer-royal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--royal-gold), var(--royal-saffron), var(--royal-gold), transparent);
}
.footer-royal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}
.footer-royal h4 {
  color: var(--royal-gold);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-royal a {
  color: rgba(255,248,240,0.5);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}
.footer-royal a:hover {
  color: var(--royal-gold);
  padding-left: 4px;
}
.footer-royal__brand p {
  color: rgba(255,248,240,0.4);
  font-size: 13px;
  line-height: 1.6;
}
.footer-royal__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-royal__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(var(--royal-gold-rgb),0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-gold);
  font-size: 14px;
  margin: 0;
  transition: all var(--transition-fast);
}
.footer-royal__social svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
}
.footer-royal__social a:hover {
  background: var(--royal-gold);
  color: var(--royal-dark);
  padding-left: 0;
}
.footer-royal__newsletter input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--royal-gold-rgb),0.2);
  background: rgba(255,255,255,0.05);
  color: var(--royal-cream);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
  margin-bottom: 8px;
}
.footer-royal__newsletter input::placeholder { color: rgba(255,248,240,0.3); }
.footer-royal__newsletter input:focus { border-color: var(--royal-gold); }
.footer-royal__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,248,240,0.35);
}

/* ── Auth Helpers ──────────────────────────────────────────── */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px; border-radius: 12px;
  background: #FAFAFA; border: 1.5px solid var(--gray-300);
  color: var(--royal-dark); font-weight: 700;
}
.google-btn:hover { background: #fff; border-color: var(--royal-gold); color: var(--royal-dark); }
.auth-divider {
  display: flex; align-items: center; margin: 24px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}
.auth-divider span {
  padding: 0 12px; font-size: 12px; color: var(--gray-400);
  font-weight: 700; text-transform: uppercase;
}
.auth-description {
  font-size: 13px; color: var(--gray-600);
  font-weight: 500; margin-bottom: 16px;
}
.auth-input { border-radius: 10px; padding: 12px 16px; }
.recaptcha-row { margin-bottom: 20px; display: flex; justify-content: center; }
.auth-submit-btn { border-radius: 10px; }
.admin-login-panel {
  margin-top: 28px; padding: 20px;
  background: rgba(var(--royal-gold-rgb),0.06);
  border-radius: 12px; border: 1px solid rgba(var(--royal-gold-rgb),0.2);
}
.admin-login-label {
  font-size: 11px; color: var(--royal-gold-dark);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}
.admin-input { border-radius: 8px; font-size: 13px; padding: 8px 12px; }
.admin-login-btn { border-radius: 8px; padding: 10px; }
.auth-footer-text {
  text-align: center; font-size: 14px;
  color: var(--gray-500); margin-top: 24px; font-weight: 500;
}
.auth-link { color: var(--royal-saffron); font-weight: 700; }

/* ── OTP Form ──────────────────────────────────────────────── */
.otp-lock-icon {
  display: block; margin-bottom: 16px;
  animation: spinCook 6s infinite ease-in-out;
}
@keyframes spinCook {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  100% { transform: rotate(0deg); }
}
.otp-subtitle {
  color: var(--royal-gold); font-size: 12px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
}
.otp-description {
  color: rgba(255,248,240,0.85); font-size: 14px;
  margin-bottom: 28px; text-align: center; line-height: 1.6;
}
.otp-input-group {
  display: flex; gap: 12px; justify-content: center; margin: 24px 0;
}
.otp-digit {
  width: 48px; height: 56px; text-align: center;
  font-size: 22px; font-weight: 900;
  border: 2px solid rgba(var(--royal-gold-rgb),0.3);
  background: rgba(255,255,255,0.04); color: var(--royal-cream);
  border-radius: 12px; outline: none;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}
.otp-digit:focus {
  border-color: var(--royal-gold);
  box-shadow: 0 0 10px rgba(var(--royal-gold-rgb),0.2);
  background: rgba(255,255,255,0.08);
}
.otp-verify-btn { padding: 14px; border-radius: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.otp-resend-section { text-align: center; margin-top: 28px; }
.otp-resend-text { font-size: 13px; color: rgba(255,248,240,0.5); }
.otp-resend-timer { font-size: 13px; color: var(--royal-gold); font-weight: 700; margin-top: 8px; }
.otp-resend-btn {
  background: none; border: none; padding: 0;
  font-size: 13px; font-weight: 800;
  color: var(--royal-saffron); cursor: pointer; text-decoration: underline;
}

/* ── Auth Page (Login, Register, OTP) ──────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--royal-dark), var(--royal-deep), var(--royal-navy));
  padding: 24px;
  position: relative;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(var(--royal-gold-rgb),0.08), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(var(--royal-saffron-rgb),0.05), transparent 50%);
  pointer-events: none;
}
.auth-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--royal-gold-rgb),0.2);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}
.auth-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-card__logo img { height: 48px; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.auth-card__logo h2 {
  color: var(--royal-gold);
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.auth-card__logo p { color: rgba(255,248,240,0.5); font-size: 14px; }
.auth-card .form-label { color: rgba(255,248,240,0.7); }
.auth-card .form-control {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--royal-gold-rgb),0.2);
  color: var(--royal-cream);
}
.auth-card .form-control::placeholder { color: rgba(255,248,240,0.35); }
.auth-card .form-control:focus {
  border-color: var(--royal-gold);
  background: rgba(255,255,255,0.1);
}

/* ── Info/Timing Cards (Recipe Detail) ─────────────────────── */
.info-card {
  background: var(--royal-cream);
  border: 1px solid var(--royal-sand);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  min-width: 80px;
  transition: all var(--transition-fast);
}
.info-card:hover {
  border-color: var(--royal-gold);
  transform: translateY(-2px);
}
.info-card__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--royal-saffron);
}
.info-card__label {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* ── Reaction Bar ──────────────────────────────────────────── */
.reaction-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--royal-cream);
  border: 1px solid var(--royal-sand);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
}
.reaction-bar__title {
  font-size: 12px;
  color: var(--royal-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reaction-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--royal-sand);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  font-family: var(--font-body);
}
.reaction-btn:hover {
  border-color: var(--royal-gold);
  background: rgba(var(--royal-gold-rgb),0.08);
  transform: scale(1.05);
}
.reaction-btn.active {
  border-color: var(--royal-gold);
  background: rgba(var(--royal-gold-rgb),0.12);
  color: var(--royal-gold-dark);
}
.reaction-btn-disabled {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  cursor: not-allowed;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  font-family: var(--font-body);
  opacity: 0.6;
  pointer-events: none;
}
.reaction-count {
  font-size: 11px;
  background: var(--royal-sand);
  color: var(--gray-700);
  border-radius: 10px;
  padding: 1px 7px;
  font-weight: 700;
}
.reaction-btn.active .reaction-count {
  background: var(--royal-gold);
  color: #fff;
}

/* ── Premium Lock Overlay ──────────────────────────────────── */
.premium-lock-overlay {
  background: rgba(255,255,255,0.96);
  border: 2px solid var(--royal-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 48px 36px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(8px);
}
.premium-lock-overlay__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--royal-gold), var(--royal-saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-gold);
  font-size: 36px;
}

/* ── Cooking Mode Overlay ──────────────────────────────────── */
.cooking-mode-trigger {
  background: linear-gradient(135deg, var(--royal-cream), #fff);
  border: 1.5px solid var(--royal-gold);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition);
}
.cooking-mode-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--royal-gold-rgb),0.3);
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.pagination a:hover {
  background: var(--royal-gold);
  color: var(--royal-dark);
  border-color: var(--royal-gold);
}
.pagination .active {
  background: var(--royal-gold);
  color: var(--royal-dark);
  border-color: var(--royal-gold);
  font-weight: 700;
}
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-royal { padding: 72px 0 60px; }
}

@media (max-width: 768px) {
  .navbar-royal__search { display: none; }
  .navbar-royal__links { display: none; }
  .navbar-royal__hamburger { display: flex; }
  .navbar-royal__mobile-menu { display: flex; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 74px; }

  .section { padding: 48px 0; }
  .hero-royal { padding: 56px 0 48px; }
  .hero-royal h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

  .footer-royal__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .auth-card { padding: 32px 24px; }
  .stat-card { padding: 18px; }
}

@media (max-width: 480px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .hero-royal__stats { gap: 24px; }
  .hero-royal__search form { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-royal__search input { border-radius: var(--radius-sm); }
  .hero-royal__search button { border-radius: var(--radius-sm); }
  .footer-royal__grid { grid-template-columns: 1fr; }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--royal-gold-rgb),0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(var(--royal-gold-rgb),0); }
}

.animate-fade-in { animation: fadeInUp 0.5s ease both; }
.animate-fade-in-delay-1 { animation: fadeInUp 0.5s ease 0.1s both; }
.animate-fade-in-delay-2 { animation: fadeInUp 0.5s ease 0.2s both; }
.animate-fade-in-delay-3 { animation: fadeInUp 0.5s ease 0.3s both; }
.animate-scale { animation: scaleIn 0.4s ease both; }
.animate-pulse-gold { animation: pulse-gold 2s ease infinite; }

/* ── Utility ───────────────────────────────────────────────── */
.bg-cream    { background: var(--royal-cream); }
.bg-ivory    { background: var(--royal-ivory); }
.bg-dark     { background: var(--royal-dark); }
.bg-deep     { background: var(--royal-deep); }
.rounded-lg  { border-radius: var(--radius-lg); }
.rounded-xl  { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.truncate-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-top { position: sticky; top: 80px; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Layout Utilities (inline style replacements) ──────────── */
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-block { display: block; }
.d-none { display: none; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 2px; }
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.m-0 { margin: 0; }
.mt-2 { margin-top: 2px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 6px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.p-0 { padding: 0; }
.p-4 { padding: 4px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }
.pt-16 { padding-top: 16px; }
.pb-16 { padding-bottom: 16px; }
.pl-0 { padding-left: 0; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.border-none { border: none; }
.bg-transparent { background: transparent; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-12 { font-size: 12px; }
.fs-10 { font-size: 10px; }
.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.lh-15 { line-height: 1.5; }
.lh-16 { line-height: 1.6; }
.lh-17 { line-height: 1.7; }
.text-gold { color: var(--royal-gold); }
.text-saffron { color: var(--royal-saffron); }
.text-emerald { color: var(--royal-emerald); }
.text-muted { color: var(--gray-400); }
.text-dark { color: var(--royal-dark); }
.text-cream { color: var(--royal-cream); }
.text-white { color: #fff; }

/* ══ Enterprise Shell Layer (merged from mabapu-enterprise-shell.css) ══ */
:root {
  --shell-content-max: 1280px;
  --shell-gutter: clamp(14px, 2.2vw, 28px);
  --shell-section-y: clamp(28px, 5vw, 64px);
  --shell-radius: 16px;
  --shell-border: 1px solid rgba(var(--royal-gold-rgb), 0.16);
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

.mabapu-shell {
  width: min(100%, var(--shell-content-max));
  margin-inline: auto;
  padding-inline: var(--shell-gutter);
}

.mabapu-section {
  padding-block: var(--shell-section-y);
}

.mabapu-card {
  border-radius: var(--shell-radius);
  border: var(--shell-border);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

[role="dialog"],
.modal,
.dropdown-menu,
.popover {
  z-index: max(1000, var(--z-modal));
}

.admin-header,
.chef-header,
.navbar-royal {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.card,
.mabapu-card,
td,
th {
  overflow-wrap: anywhere;
  word-break: normal;
}

input,
select,
textarea,
button {
  font: inherit;
}

@media (max-width: 1024px) {
  .admin-main,
  .chef-main {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    overscroll-behavior-y: contain;
  }

  .container,
  .container-sm,
  .container-lg {
    padding-left: clamp(12px, 4vw, 16px);
    padding-right: clamp(12px, 4vw, 16px);
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .navbar-royal, .footer-royal, .mobile-bottom-nav, .ad-slot,
  .reaction-bar, .cooking-mode-trigger, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; }
}

/* ── Dual Layout Utilities ─────────────────────────────────── */
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: block !important; }
}
@media (max-width: 767px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

/* ══ Phase 6 — Tool Workflow Optimization ════════════════════ */
/* ── User Dashboard ──────────────────────────────── */
.user-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.user-card-title { font-size: 18px; font-weight: 800; color: var(--royal-deep); margin-bottom: 16px; }
.user-stat-row { display: flex; gap: 16px; flex-wrap: wrap; }
.user-stat-box { flex: 1; min-width: 140px; background: var(--royal-deep); border-radius: 12px; padding: 16px; text-align: center; color: var(--royal-cream); }
.user-stat-number { font-size: 28px; font-weight: 900; color: var(--royal-gold); }
.user-stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,248,240,0.6); margin-top: 4px; }
.user-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width:768px) { .user-grid { grid-template-columns: 1fr 1fr; } }
.user-list { list-style: none; padding: 0; margin: 0; }
.user-list-item { padding: 12px 0; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.user-list-item:last-child { border-bottom: none; }
.user-orders-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.user-orders-table th { text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); border-bottom: 2px solid var(--gray-100); }
.user-orders-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); }
.user-orders-table tr:hover td { background: rgba(var(--royal-gold-rgb),0.03); }
.coin-history-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.coin-history-amount { font-weight: 800; }
.coin-history-amount.positive { color: #10B981; }
.coin-history-amount.negative { color: #EF4444; }
.coin-history-date { font-size: 12px; color: var(--gray-500); }

/* ── Dashboard Shared ────────────────────────────── */
.dash-hero { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:2px solid var(--royal-gold); border-radius:20px; padding:40px; color:var(--royal-cream); margin-bottom:40px; position:relative; overflow:hidden; box-shadow:var(--shadow-gold); }
.dash-hero-sm { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:1px solid var(--royal-gold); border-radius:16px; padding:24px 20px; color:var(--royal-cream); margin-bottom:24px; position:relative; overflow:hidden; }
.dash-hero-title { color:var(--royal-cream); font-family:var(--font-heading); margin-bottom:8px; }
.dash-hero-sub { color:rgba(255,248,240,0.65); margin:0; font-size:15px; }
.dash-hero-sub-sm { color:rgba(255,248,240,0.6); margin:0; font-size:12px; }
.dash-hero-row { display:flex; gap:40px; margin-top:32px; flex-wrap:wrap; }
.dash-hero-row-mob { display:flex; justify-content:space-between; margin-top:20px; gap:8px; }
.dash-stat-chip { background:rgba(255,255,255,0.04); border:1px solid rgba(var(--royal-gold-rgb),0.2); padding:16px 28px; border-radius:14px; min-width:160px; }
.dash-stat-chip-mob { background:rgba(255,255,255,0.04); border:1px solid rgba(var(--royal-gold-rgb),0.15); padding:8px 12px; border-radius:10px; flex:1; text-align:center; }
.dash-stat-number { font-size:1.8rem; font-weight:900; }
.dash-stat-number-mob { font-size:1.25rem; font-weight:900; }
.dash-stat-label { font-size:12px; color:rgba(255,248,240,0.5); font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-top:4px; }
.dash-stat-label-mob { font-size:9px; color:rgba(255,248,240,0.5); text-transform:uppercase; margin-top:2px; }
.dash-action-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; margin-bottom:48px; }
.dash-action-list { display:flex; flex-direction:column; gap:12px; margin-bottom:32px; }
.dash-action-link { display:flex; align-items:center; justify-content:space-between; padding:16px; background:#fff; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:12px; text-decoration:none; color:inherit; }
.dash-action-link-admin { border-color:var(--royal-saffron); }
.dash-action-link-chef { border-color:var(--royal-gold); }
.dash-action-link-apply { border-style:dashed; border-color:var(--royal-gold); }
.dash-action-link-icon { font-size:1.5rem; }
.dash-action-link-text { font-size:14px; color:var(--royal-dark); font-weight:700; }
.dash-section-card { border:2px solid var(--royal-gold); border-radius:18px; overflow:hidden; background:#fff; }
.dash-section-card-mob { background:#fff; padding:16px; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:12px; display:flex; flex-direction:column; gap:10px; }
.dash-section-header { padding:24px; border-bottom:1px solid rgba(var(--royal-gold-rgb),0.15); display:flex; align-items:center; justify-content:space-between; }
.dash-section-title { font-family:var(--font-heading); font-size:1.3rem; margin:0; color:var(--royal-dark); }
.dash-section-title-sm { font-family:var(--font-heading); font-size:1.2rem; color:var(--royal-dark); margin:0; }

/* ── Orders Shared ───────────────────────────────── */
.orders-page-title { font-family:var(--font-heading); font-size:2rem; margin:0; color:var(--royal-dark); }
.orders-header-bar { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; }
.orders-empty-card { text-align:center; padding:80px 20px; border:2px dashed rgba(var(--royal-gold-rgb),0.3); border-radius:18px; background:#fff; }
.orders-empty-card-mob { text-align:center; padding:48px 16px; border:1px dashed rgba(var(--royal-gold-rgb),0.3); border-radius:16px; background:#fff; }
.orders-empty-icon { font-size:4rem; margin:0 0 16px; }
.orders-empty-icon-mob { font-size:3rem; margin:0 0 12px; }
.orders-empty-title { font-family:var(--font-heading); font-size:1.5rem; margin:0 0 8px; color:var(--royal-dark); }
.orders-empty-title-mob { font-family:var(--font-heading); font-size:1.25rem; margin:0 0 6px; color:var(--royal-dark); }
.orders-empty-desc { color:var(--gray-500); margin:0 0 24px; }
.orders-empty-desc-mob { color:var(--gray-500); font-size:13px; margin:0 0 20px; line-height:1.5; }
.orders-mobile-header-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.orders-mobile-list { display:flex; flex-direction:column; gap:12px; }
.orders-mobile-card { background:#fff; padding:16px; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:12px; display:flex; flex-direction:column; gap:10px; }
.orders-meta-row { display:flex; justify-content:space-between; font-size:12px; color:var(--gray-400); font-weight:600; }
.orders-total-row { display:flex; justify-content:space-between; align-items:center; margin-top:4px; padding-top:10px; border-top:1px solid rgba(0,0,0,0.04); }
.orders-total-price { font-weight:900; color:var(--royal-saffron); font-size:14px; }
.orders-gold-card { border:2px solid var(--royal-gold); border-radius:18px; overflow:hidden; background:#fff; }
.orders-show-back { color:var(--royal-gold-dark); font-weight:800; font-size:14px; text-decoration:none; }
.orders-show-back-mob { color:var(--royal-gold-dark); font-weight:800; font-size:13px; text-decoration:none; }
.orders-show-layout { display:flex; gap:36px; align-items:flex-start; }
.orders-show-main { flex:2; }
.orders-show-sidebar { width:300px; flex-shrink:0; }
.orders-detail-card { margin-bottom:24px; border:2px solid var(--royal-gold); border-radius:18px; padding:32px; background:#fff; }
.orders-detail-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; border-bottom:1px solid rgba(var(--royal-gold-rgb),0.15); padding-bottom:12px; }
.orders-detail-header-title { font-family:var(--font-heading); font-size:1.15rem; margin:0; color:var(--royal-dark); }
.orders-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; font-size:14px; }
.orders-cancel-card { border:2px solid var(--royal-maroon); border-radius:18px; padding:32px; background:#fff; }
.orders-timeline-card { position:sticky; top:100px; border:2px solid var(--royal-gold); border-radius:18px; padding:28px; background:#fff; }
.orders-info-label { color:var(--gray-400); font-weight:600; }
.orders-info-value { color:var(--royal-dark); font-weight:700; }
.orders-mobile-detail-card { background:#fff; padding:20px; border-radius:16px; border:1px solid rgba(var(--royal-gold-rgb),0.15); margin-bottom:20px; }

/* ── Coins Shared ────────────────────────────────── */
.coins-hero { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:2px solid var(--royal-gold); border-radius:24px; padding:48px; color:#fff; text-align:center; margin-bottom:36px; box-shadow:var(--shadow-gold); position:relative; overflow:hidden; }
.coins-hero-mob { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:1px solid var(--royal-gold); border-radius:16px; padding:24px; color:#fff; text-align:center; margin-bottom:20px; box-shadow:var(--shadow-sm); }
.coins-hero-label { font-size:14px; color:var(--royal-gold); font-weight:800; text-transform:uppercase; letter-spacing:2px; margin-bottom:12px; }
.coins-hero-label-mob { font-size:12px; color:var(--royal-gold); font-weight:800; text-transform:uppercase; letter-spacing:1px; margin-bottom:6px; }
.coins-hero-amount { font-size:4.5rem; font-weight:900; line-height:1.2; color:#fff; display:flex; align-items:center; justify-content:center; gap:8px; }
.coins-hero-amount-mob { font-size:3rem; font-weight:900; color:#fff; }
.coins-hero-value { margin:16px 0 4px; color:rgba(255,248,240,0.85); font-size:16px; font-weight:700; }
.coins-hero-value-mob { margin:8px 0 0; color:rgba(255,248,240,0.85); font-size:13px; font-weight:700; }
.coins-hero-rate { margin:0; font-size:12px; color:rgba(255,248,240,0.5); }
.coins-stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:36px; }
.coins-stats-grid-mob { display:flex; gap:12px; margin-bottom:24px; }
.coins-stat-card { padding:24px; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:16px; background:#fff; text-align:center; }
.coins-stat-card-mob { flex:1; padding:12px; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:12px; background:#fff; text-align:center; }
.coins-stat-value { font-size:1.8rem; font-weight:900; }
.coins-stat-value-mob { font-size:1.25rem; font-weight:900; }
.coins-stat-label { font-size:12px; color:var(--gray-400); text-transform:uppercase; letter-spacing:0.5px; font-weight:700; margin-top:6px; }
.coins-stat-label-mob { font-size:9px; color:var(--gray-400); text-transform:uppercase; margin-top:2px; }
.coins-table-card { border:2px solid var(--royal-gold); border-radius:18px; overflow:hidden; background:#fff; }
.coins-table-header { padding:24px; border-bottom:1px solid rgba(var(--royal-gold-rgb),0.15); display:flex; align-items:center; }
.coins-mobile-list { display:flex; flex-direction:column; gap:12px; }
.coins-mobile-item { border-bottom:1px solid rgba(0,0,0,0.04); padding-bottom:12px; display:flex; flex-direction:column; gap:4px; }
.coins-mobile-top { display:flex; justify-content:space-between; align-items:center; }
.coins-mobile-bottom { display:flex; justify-content:space-between; align-items:center; font-size:11px; }

/* ── Subscriptions Shared ────────────────────────── */
.subs-page-title { font-family:var(--font-heading); font-size:2rem; margin:0; color:var(--royal-dark); }
.subs-header-bar { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; }
.subs-active-card { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:2px solid var(--royal-gold); margin-bottom:40px; padding:32px; box-shadow:var(--shadow-gold); }
.subs-active-card-mob { background:linear-gradient(135deg,var(--royal-dark),var(--royal-deep)); border:1px solid var(--royal-gold); margin-bottom:24px; padding:20px; border-radius:16px; }
.subs-active-layout { display:flex; align-items:center; gap:24px; }
.subs-active-layout-mob { display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.subs-active-icon { font-size:3.5rem; }
.subs-active-icon-mob { font-size:2.2rem; }
.subs-active-info { flex:1; }
.subs-active-plan { font-family:var(--font-heading); font-size:1.4rem; color:var(--royal-gold); margin:0; }
.subs-active-plan-mob { font-family:var(--font-heading); font-size:15px; color:var(--royal-gold); margin:0; }
.subs-inactive-card { background:#fff; border:2px dashed rgba(var(--royal-gold-rgb),0.3); border-radius:18px; margin-bottom:40px; padding:32px; text-align:center; }
.subs-inactive-card-mob { background:#fff; border:1px dashed rgba(var(--royal-gold-rgb),0.3); border-radius:14px; padding:24px; text-align:center; margin-bottom:24px; }
.subs-table-card { border:2px solid var(--royal-gold); border-radius:18px; overflow:hidden; background:#fff; }
.subs-table-header { padding:24px; border-bottom:1px solid rgba(var(--royal-gold-rgb),0.15); }
.subs-mobile-card { background:#fff; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:16px; padding:20px; }

/* ── Saved / Following Shared ────────────────────── */
.saved-header-bar { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; }
.saved-mobile-list { display:flex; flex-direction:column; gap:16px; }
.following-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.following-card { text-align:center; padding:32px 24px; border:2px solid var(--royal-gold); border-radius:18px; background:#fff; }
.following-avatar-wrap { position:relative; display:inline-block; margin-bottom:20px; }
.following-avatar { width:96px; height:96px; border-radius:50%; object-fit:cover; border:3px solid var(--royal-gold); }
.following-avatar-mob { width:56px; height:56px; border-radius:50%; object-fit:cover; border:2px solid var(--royal-gold); }
.following-avatar-placeholder { width:96px; height:96px; border-radius:50%; background:linear-gradient(135deg,var(--royal-gold),var(--royal-saffron)); color:#fff; font-size:2.2rem; font-weight:900; display:flex; align-items:center; justify-content:center; margin:0 auto; border:3px solid var(--royal-gold); }
.following-avatar-placeholder-mob { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,var(--royal-gold),var(--royal-saffron)); color:#fff; font-size:1.5rem; font-weight:900; display:flex; align-items:center; justify-content:center; border:2px solid var(--royal-gold); }
.following-chef-badge { position:absolute; bottom:0; right:0; background:var(--royal-emerald); color:#fff; font-size:10px; font-weight:800; padding:3px 8px; border-radius:10px; border:2px solid #fff; }
.following-name { margin:0 0 6px; font-family:var(--font-heading); font-size:1.2rem; color:var(--royal-dark); font-weight:800; }
.following-speciality { margin:0 0 12px; font-size:13px; color:var(--royal-saffron); font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }
.following-location { margin:0 0 20px; font-size:13px; color:var(--gray-500); font-weight:500; }
.following-stats { display:flex; justify-content:center; gap:28px; border-top:1px dashed rgba(var(--royal-gold-rgb),0.2); border-bottom:1px dashed rgba(var(--royal-gold-rgb),0.2); padding:12px 0; margin-bottom:24px; }
.following-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }

/* ── Profile Shared ──────────────────────────────── */
.profile-edit-card { border:2px solid var(--royal-gold); border-radius:18px; padding:36px; background:#fff; }
.profile-edit-card-mob { background:#fff; padding:24px 20px; border-radius:16px; border:1px solid rgba(var(--royal-gold-rgb),0.15); }
.profile-avatar-wrap { text-align:center; margin-bottom:28px; }
.profile-avatar-wrap-mob { text-align:center; margin-bottom:20px; }
.profile-avatar { width:96px; height:96px; border-radius:50%; object-fit:cover; display:block; margin:0 auto; border:3px solid var(--royal-gold); }
.profile-avatar-mob { width:80px; height:80px; border-radius:50%; object-fit:cover; display:block; margin:0 auto 10px; border:2px solid var(--royal-gold); }

/* ── Page Title Shared (mobile) ──────────────────── */
.mob-page-header { text-align:center; margin-bottom:20px; }
.mob-page-title { font-family:var(--font-heading); font-size:1.8rem; font-weight:900; color:var(--royal-dark); margin:0; }
.mob-page-icon-divider { font-size:14px; }
.mob-wrapper { background:var(--royal-cream); min-height:calc(100vh - 120px); padding:24px 16px; }
.mob-gold-card { background:#fff; border:1px solid rgba(var(--royal-gold-rgb),0.15); border-radius:16px; padding:20px; }

/* ── Admin/Chef Dashboard ────────────────────────── */
.admin-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.admin-stat-card { background: var(--royal-deep); border-radius: 12px; padding: 20px; color: var(--royal-cream); }
.admin-stat-value { font-size: 32px; font-weight: 900; color: var(--royal-gold); }
.admin-stat-label { font-size: 13px; color: rgba(255,248,240,0.7); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); border-bottom: 2px solid var(--gray-100); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.admin-table tr:hover td { background: rgba(var(--royal-gold-rgb),0.03); }
.admin-flex { display: flex; align-items: center; gap: 12px; }
.admin-flex-between { display: flex; justify-content: space-between; align-items: center; }
.admin-gap-sm { gap: 8px; }
.admin-gap-md { gap: 16px; }
.admin-mb-md { margin-bottom: 16px; }
.admin-p-md { padding: 16px; }
.admin-p-lg { padding: 24px; }
.royal-table-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow-x: auto; }
.royal-table { width: 100%; border-collapse: collapse; }
.royal-table th { text-align: left; padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); border-bottom: 2px solid var(--gray-100); }
.royal-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 14px; }
.royal-table tr:hover td { background: rgba(var(--royal-gold-rgb),0.03); }

/* ── Public Views ────────────────────────────────── */
.page-banner { background: var(--royal-deep); padding: 48px 0; text-align: center; color: var(--royal-cream); }
.page-banner h1 { font-size: 36px; font-weight: 900; color: var(--royal-cream); margin-bottom: 8px; }
.page-banner p { color: rgba(255,248,240,0.7); max-width: 600px; margin: 0 auto; }
.content-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.content-card + .content-card { margin-top: 16px; }
.recipe-hero { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.recipe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
.recipe-hero-content { position: relative; padding: 32px 24px; color: #fff; }
.recipe-hero-title { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--gray-500); }
.recipe-meta-item { display: flex; align-items: center; gap: 4px; }
.recipe-section-title { font-size: 20px; font-weight: 800; color: var(--royal-deep); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--royal-gold); }
.recipe-ingredient-list { list-style: none; padding: 0; }
.recipe-ingredient-item { padding: 8px 12px; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.recipe-ingredient-item::before { content: '•'; color: var(--royal-gold); font-weight: 900; }
.recipe-instruction-step { padding: 12px 0; border-bottom: 1px solid var(--gray-100); line-height: 1.6; }
.recipe-instruction-step:last-child { border-bottom: none; }
.marketplace-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.checkout-summary { background: var(--gray-50); border-radius: 12px; padding: 20px; }
@media (max-width: 768px) {
  .checkout-page-main { padding-bottom: 80px; }
}
.checkout-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.checkout-summary-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 2px solid var(--royal-gold); font-weight: 800; font-size: 18px; margin-top: 8px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); align-items: center; }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-title { font-weight: 700; margin-bottom: 4px; }
.cart-item-price { color: var(--royal-gold); font-weight: 800; }
.cart-item-remove { color: #EF4444; font-size: 13px; background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
.search-result-item { padding: 16px; border-bottom: 1px solid var(--gray-100); }
.search-result-item:last-child { border-bottom: none; }
.search-result-title { font-size: 18px; font-weight: 700; color: var(--royal-deep); }
.search-result-snippet { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:600px) { .contact-form-grid { grid-template-columns: 1fr; } }
.chef-public-header { text-align: center; padding: 48px 24px; background: var(--royal-deep); color: var(--royal-cream); border-radius: 16px; margin-bottom: 24px; }
.chef-public-avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--royal-gold); object-fit: cover; margin-bottom: 12px; }
.chef-directory-header { text-align: center; margin-bottom: 48px; }
.chef-directory-header__label { font-size: 11px; font-weight: 800; color: var(--royal-gold); text-transform: uppercase; letter-spacing: 2px; display: inline-block; margin-bottom: 12px; background: rgba(var(--royal-gold-rgb), 0.1); padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(var(--royal-gold-rgb),0.2); }
.chef-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.chef-card { background: #FFF; border: 2px solid var(--royal-gold); border-radius: 18px; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-sm); }
.chef-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: var(--royal-saffron); }
.chef-card__avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--royal-gold); margin-bottom: 16px; background: rgba(var(--royal-gold-rgb),0.08); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.chef-card__avatar-initial { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-saffron) 100%); color: #fff; font-weight: 800; }
.chef-card__name { font-size: 1.25rem; font-weight: 800; color: var(--royal-dark); margin: 0 0 6px; font-family: var(--font-heading); }
.chef-card__speciality { font-size: 11px; font-weight: 800; color: var(--royal-emerald); text-transform: uppercase; letter-spacing: 1px; background: rgba(var(--royal-emerald-rgb),0.1); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; border: 1px solid rgba(var(--royal-emerald-rgb),0.2); }
.chef-card__location { font-size: 13px; color: var(--gray-500); font-weight: 600; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 4px; }
.chef-card__bio { font-size: 13.5px; line-height: 1.6; color: var(--gray-600); margin: 0 0 24px; flex-grow: 1; }
.chef-card__action { padding: 12px 20px; font-size: 13px; font-weight: 800; border-radius: 8px; text-decoration: none; }
.chef-mobile-card { background: #fff; border: 1px solid rgba(var(--royal-gold-rgb),0.15); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chef-mobile-card__header { display: flex; align-items: center; gap: 14px; }
.chef-mobile-card__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--royal-gold); flex-shrink: 0; background: rgba(var(--royal-gold-rgb),0.08); }
.chef-mobile-card__avatar-initial { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-saffron) 100%); color: #fff; font-weight: 800; }
.chef-mobile-card__info { display: flex; flex-direction: column; flex: 1; }
.chef-mobile-card__name { margin: 0 0 2px; font-family: var(--font-heading); font-size: 16px; color: var(--royal-dark); font-weight: 800; }
.chef-mobile-card__speciality { font-size: 11px; font-weight: 800; color: var(--royal-emerald); text-transform: uppercase; letter-spacing: 0.5px; }
.chef-mobile-card__location { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.chef-mobile-card__bio { font-size: 12.5px; line-height: 1.5; color: var(--gray-600); margin: 0; }
.chef-mobile-card__actions { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.04); }
.chef-empty-state { padding: 80px 20px; border: 2px dashed rgba(var(--royal-gold-rgb),0.3); border-radius: 18px; background: #fff; text-align: center; }
.chef-empty-state__emoji { font-size: 4rem; margin: 0 0 16px; }
.chef-empty-state__title { margin: 0 0 8px; font-weight: 800; color: var(--royal-dark); font-family: var(--font-heading); }
.chef-empty-state__text { color: var(--gray-500); margin: 0; }
.chef-mobile-empty-state { padding: 48px 16px; border: 1px dashed rgba(var(--royal-gold-rgb),0.3); border-radius: 14px; background: #fff; text-align: center; }
.chef-mobile-empty-state__emoji { font-size: 3rem; margin: 0 0 12px; }
.chef-mobile-empty-state__title { margin: 0 0 6px; font-weight: 800; color: var(--royal-dark); font-family: var(--font-heading); font-size: 1.25rem; }
.chef-mobile-empty-state__text { color: var(--gray-500); font-size: 12px; margin: 0; }
.chef-cover { height: 320px; background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal-dark) 100%); position: relative; overflow: hidden; border-bottom: 3px solid var(--royal-gold); }
.chef-cover__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(var(--royal-dark-rgb),0.95)); }
.chef-profile-section { padding-top: 0; padding-bottom: 64px; position: relative; z-index: 2; max-width: 1100px; }
.chef-profile-header { margin-top: -80px; margin-bottom: 40px; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.chef-profile-header__avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--royal-gold); object-fit: cover; box-shadow: var(--shadow-xl); flex-shrink: 0; }
.chef-profile-header__avatar-initial { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--royal-gold); background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-saffron) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--royal-cream); font-weight: 900; box-shadow: var(--shadow-xl); flex-shrink: 0; }
.chef-profile-header__info { margin-bottom: 8px; flex: 1; min-width: 260px; }
.chef-profile-header__name { font-size: 2.5rem; color: var(--royal-cream); text-shadow: 0 2px 4px rgba(0,0,0,0.5); font-family: var(--font-heading); }
.chef-profile-header__meta { color: var(--royal-gold-light); font-size: 15px; margin: 4px 0 0; text-shadow: 0 1px 3px rgba(0,0,0,0.3); font-weight: 600; }
.chef-profile-header__service-badge { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--royal-gold-rgb),0.15); backdrop-filter: blur(5px); border: 1px solid rgba(var(--royal-gold-rgb),0.3); padding: 6px 14px; border-radius: 20px; font-size: 12px; color: var(--royal-gold-light); font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.chef-layout-grid { display: flex; gap: 32px; align-items: flex-start; }
.chef-layout-grid__main { flex: 1; min-width: 300px; }
.chef-layout-grid__sidebar { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.chef-section-card { margin-bottom: 28px; padding: 32px; border: 2px solid var(--royal-gold); border-radius: 18px; background: #fff; }
.chef-section-card__title { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 16px; color: var(--royal-dark); display: flex; align-items: center; gap: 8px; }
.chef-section-card__icon { color: var(--royal-gold); }
.chef-section-card__text { line-height: 1.75; color: var(--gray-600); }
.chef-section-card__text--preline { white-space: pre-line; }
.chef-recipes-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; border-bottom: 1px solid rgba(var(--royal-gold-rgb),0.15); padding-bottom: 12px; }
.chef-recipes-header__title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--royal-dark); }
.chef-recipes-header__count { color: var(--gray-400); font-size: 14px; font-weight: 600; }
.chef-recipes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.chef-recipes-empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: 18px; border: 2px dashed rgba(var(--royal-gold-rgb),0.25); }
.chef-recipes-empty__text { color: var(--gray-400); font-weight: 500; }
.chef-sidebar-card { padding: 24px; border: 2px solid var(--royal-gold); border-radius: 18px; background: #fff; }
.chef-sidebar-card__title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 16px; color: var(--royal-dark); border-bottom: 1px solid rgba(var(--royal-gold-rgb),0.15); padding-bottom: 8px; }
.chef-sidebar-card--gradient { background: linear-gradient(135deg, rgba(var(--royal-gold-rgb),0.05) 0%, transparent 100%); }
.chef-stats { display: flex; flex-direction: column; gap: 12px; }
.chef-stats__row { display: flex; justify-content: space-between; font-size: 14px; }
.chef-stats__label { color: var(--gray-400); }
.chef-stats__value { color: var(--royal-dark); font-weight: 700; }
.chef-social { display: flex; flex-direction: column; gap: 12px; }
.chef-social__link { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-700); text-decoration: none; }
.chef-social__link:hover { color: var(--royal-saffron); }
.chef-social__icon { font-size: 16px; }
.chef-social__handle { margin-left: auto; color: var(--gray-400); font-size: 12px; }
.chef-social-actions { display: flex; flex-direction: column; gap: 10px; }
.chef-pwa-card { padding: 24px; border: 2px solid var(--royal-gold); border-radius: 18px; text-align: center; }
.chef-pwa-card__title { font-family: var(--font-heading); font-size: 1.1rem; margin: 0 0 8px; color: var(--royal-gold-dark); display: flex; align-items: center; justify-content: center; gap: 6px; }
.chef-pwa-card__text { font-size: 12px; color: var(--gray-500); line-height: 1.5; margin-bottom: 16px; }
.chef-pwa-card__actions { display: flex; flex-direction: column; gap: 8px; }
.chef-tip-card { padding: 24px; border: 2px solid var(--royal-gold); border-radius: 18px; background: rgba(var(--royal-gold-rgb),0.03); }
.chef-tip-card__title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 6px; color: var(--royal-gold-dark); }
.chef-tip-card__text { font-size: 12px; color: var(--gray-500); line-height: 1.5; margin-bottom: 16px; }
.chef-tip-card__upi-row { display: flex; align-items: center; background: #fff; border: 1px solid rgba(var(--royal-gold-rgb),0.2); padding: 6px 12px; border-radius: 8px; margin-bottom: 12px; }
.chef-tip-card__upi-id { font-size: 12px; font-weight: 700; color: var(--royal-dark); font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
.chef-tip-card__copy-btn { background: var(--royal-gold); border: none; color: var(--royal-dark); padding: 4px 10px; border-radius: 4px; font-size: 11px; margin-left: auto; cursor: pointer; font-weight: 700; }
.chef-tip-card__qr-btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.chef-verified-badge { padding: 16px; border-radius: 12px; text-align: center; background: #fff; border: 1px solid rgba(var(--royal-gold-rgb),0.15); }
.chef-verified-badge__text { font-size: 12px; color: var(--royal-emerald); font-weight: 700; margin: 0; }
.chef-mobile-cover { height: 200px; background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal-dark) 100%); position: relative; overflow: hidden; }
.chef-mobile-cover__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(var(--royal-dark-rgb),0.9)); }
.chef-mobile-content { padding: 0 16px; margin-top: -60px; position: relative; z-index: 5; }
.chef-mobile-header { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.chef-mobile-header__avatar { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--royal-gold); object-fit: cover; box-shadow: var(--shadow-md); flex-shrink: 0; }
.chef-mobile-header__avatar-initial { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--royal-gold); background: linear-gradient(135deg, var(--royal-gold) 0%, var(--royal-saffron) 100%); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--royal-cream); font-weight: 900; box-shadow: var(--shadow-md); flex-shrink: 0; }
.chef-mobile-header__info { flex: 1; margin-bottom: 4px; }
.chef-mobile-header__name { font-family: var(--font-heading); font-size: 1.6rem; color: var(--royal-cream); text-shadow: 0 1px 3px rgba(0,0,0,0.6); margin: 0; }
.chef-mobile-header__speciality { font-size: 12px; color: var(--royal-gold-light); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.chef-mobile-stats { background: #fff; border: 1px solid rgba(var(--royal-gold-rgb),0.15); border-radius: 12px; display: flex; padding: 12px; text-align: center; justify-content: space-around; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.chef-mobile-stats__value { display: block; font-size: 16px; color: var(--royal-dark); font-weight: 700; }
.chef-mobile-stats__label { font-size: 10px; color: var(--gray-400); text-transform: uppercase; font-weight: 700; }
.chef-mobile-stats__divider { width: 1px; background: rgba(0,0,0,0.06); }
.chef-mobile-service { background: rgba(var(--royal-gold-rgb),0.08); border: 1px solid rgba(var(--royal-gold-rgb),0.2); padding: 10px; border-radius: 10px; font-size: 12px; color: var(--royal-gold-dark); text-align: center; font-weight: 700; margin-bottom: 20px; }
.chef-mobile-about { background: #fff; padding: 20px; border-radius: 14px; border: 1px solid rgba(var(--royal-gold-rgb),0.15); margin-bottom: 20px; }
.chef-mobile-about__title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--royal-dark); margin-bottom: 10px; }
.chef-mobile-about__text { font-size: 13px; line-height: 1.6; color: var(--gray-600); margin: 0; }
.chef-mobile-connect { background: #fff; padding: 20px; border-radius: 14px; border: 1px solid rgba(var(--royal-gold-rgb),0.15); margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.chef-mobile-connect__title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--royal-dark); margin: 0; }
.chef-mobile-connect__links { display: flex; gap: 10px; flex-wrap: wrap; }
.chef-mobile-pwa { background: linear-gradient(135deg, rgba(var(--royal-gold-rgb),0.06) 0%, transparent 100%); padding: 20px; border-radius: 14px; border: 1.5px solid var(--royal-gold); margin-bottom: 20px; text-align: center; }
.chef-mobile-pwa__title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--royal-gold-dark); margin: 0 0 6px; }
.chef-mobile-pwa__text { font-size: 12px; color: var(--gray-500); line-height: 1.4; margin-bottom: 12px; }
.chef-mobile-pwa__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chef-mobile-recipes__title { font-family: var(--font-heading); font-size: 1.35rem; color: var(--royal-dark); margin-bottom: 16px; }
.chef-mobile-recipes__list { display: flex; flex-direction: column; gap: 16px; }
.chef-mobile-recipes__empty { text-align: center; padding: 32px 16px; background: #fff; border-radius: 12px; border: 1px dashed rgba(0,0,0,0.06); }
.chef-mobile-recipes__empty-text { color: var(--gray-400); font-size: 13px; margin: 0; }
.custom-page-breadcrumb { font-size: 13px; color: rgba(0,0,0,0.4); margin-bottom: 24px; }
.custom-page-breadcrumb__link { color: var(--royal-saffron); text-decoration: none; }
.custom-page-breadcrumb__sep { margin: 0 8px; }
.custom-page-breadcrumb__current { color: var(--royal-dark); font-weight: 600; }

/* Tablet Visibility Override for Mobile Menu */
.navbar-royal__mobile-menu.open {
  display: flex !important;
}
