/* ═══════════════════════════════════════════════════════════
   غماس بلدي — Ultra-Luxury Gold & Dark Theme
   Inspired by Michelin-starred and fine-dining design concepts
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  --gold: #d4a853;
  --red: #c41229;
  --gold-light: #f0d48a;
  --gold-dark: #b8903e;
  --gold-glow: rgba(212, 168, 83, 0.25);
  --gold-gradient: linear-gradient(135deg, #d4a853, #f0d48a, #d4a853);
  --gold-text-gradient: linear-gradient(135deg, #f0d48a, #d4a853, #c9956b);

  --bronze: #c9956b;
  --cream: #f5f0e8;
  --cream-soft: rgba(245, 240, 232, 0.75);
  --cream-muted: rgba(245, 240, 232, 0.45);

  --text-primary: #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.65);
  --text-muted: rgba(245, 240, 232, 0.4);

  --border: rgba(212, 168, 83, 0.12);
  --border-hover: rgba(212, 168, 83, 0.35);
  --border-strong: rgba(212, 168, 83, 0.5);

  --shadow-gold: 0 0 40px rgba(212, 168, 83, 0.08);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 168, 83, 0.08);
  --shadow-btn: 0 8px 32px rgba(212, 168, 83, 0.25);
  --shadow-btn-hover: 0 12px 40px rgba(212, 168, 83, 0.4);

  --font-title: "El Messiri", "Reem Kufi", serif;
  --font-body: "Cairo", "Tajawal", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-normal: 350ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
  border: none;
  outline: none;
}

/* ─── Particle Canvas ─── */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── Premium Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.preloader-content {
  text-align: center;
  padding: 20px;
}

.preloader-ornament {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 2px double var(--gold);
  border-radius: 50%;
  animation: rotateSlow 12s linear infinite;
  position: relative;
}

.preloader-ornament::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--gold);
  border-radius: 50%;
}

.preloader-logo {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.preloader-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream-soft);
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.preloader-progress-bar {
  width: 140px;
  height: 2px;
  background: rgba(212, 168, 83, 0.12);
  margin: 0 auto;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  animation: fillProgress 1.6s var(--ease-out) forwards;
}

@keyframes fillProgress {
  to { width: 100%; }
}


/* ─── Background Ornaments ─── */
.bg-ornament {
  position: fixed;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.bg-ornament.top-right {
  top: -12vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.05) 0%, transparent 70%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.025'%3E%3Cpath fill='%23d4a853' d='M50 0 L58 35 L90 20 L70 50 L90 80 L58 65 L50 100 L42 65 L10 80 L30 50 L10 20 L42 35 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: rotateSlow 60s linear infinite;
}

.bg-ornament.bottom-left {
  bottom: -15vw;
  left: -15vw;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.05) 0%, transparent 70%),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.025'%3E%3Cpath fill='%23d4a853' d='M50 0 L58 35 L90 20 L70 50 L90 80 L58 65 L50 100 L42 65 L10 80 L30 50 L10 20 L42 35 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: rotateSlow 80s linear infinite reverse;
}

/* ─── Decorative Divider ─── */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 20px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  opacity: 0.7;
}

.gold-line.start {
  margin-right: 0;
  margin-left: auto;
}

/* ─── Shimmer Text Effect ─── */
.shimmer-text {
  background: var(--gold-text-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ─── Glow Pulse ─── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 25px rgba(212, 168, 83, 0.06); }
  50% { box-shadow: 0 0 45px rgba(212, 168, 83, 0.15), 0 0 90px rgba(212, 168, 83, 0.04); }
}

/* ─── Rotate animations ─── */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 168, 83, 0.04);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-lockup img {
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-lockup:hover img {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(212, 168, 83, 0.35);
}

.brand-lockup span {
  min-width: 0;
}

.brand-lockup strong,
.footer-brand strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--cream);
}

.brand-lockup small {
  display: block;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Jordanian Shemagh Badge (الشماغ المهدب الأصيل) */
.shemagh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196, 18, 41, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(196, 18, 41, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  vertical-align: middle;
  margin-inline-start: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shemagh-icon-img {
  width: 22px;
  height: auto;
  max-height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.shemagh-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cream);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  line-height: 1;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--cream-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.desktop-nav a:hover {
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.08);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.desktop-nav a:hover::after {
  width: 50%;
}

.desktop-nav a.active-nav {
  color: var(--gold-light);
}

.desktop-nav a.active-nav::after {
  width: 50%;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--cream);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.15);
}

.icon-btn.accent {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
}

.icon-btn.accent:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-btn);
}

/* Icon Sizing */
.icon-btn svg,
.primary-btn svg,
.secondary-btn svg,
.tax-note svg,
.highlights svg,
.branch-card svg,
.search-box svg,
.dish-footer svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  gap: 40px;
  width: min(1200px, calc(100% - 32px));
  min-height: 580px;
  margin: -70px auto 0;
  padding: 130px 0 40px;
  align-items: center;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.72) 40%, rgba(10, 10, 10, 0.92) 100%),
    var(--hero-image) center/cover;
  z-index: -2;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 168, 83, 0.08), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.95));
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  order: 1;
}

.hero-panel {
  order: 3;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 640px;
  min-width: 0;
  padding: 24px;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 40px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
}

.hero h1 {
  margin: 14px 0 16px;
  font-family: var(--font-title);
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: var(--cream-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Hero CTA Buttons */
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: var(--gold-gradient);
  background-size: 200% auto;
  color: var(--bg-primary);
  box-shadow: var(--shadow-btn);
  border: none;
}

.primary-btn:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

.primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.primary-btn:hover::after {
  transform: translateX(100%);
}

.secondary-btn {
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  backdrop-filter: blur(10px);
}

.secondary-btn:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.1);
}

.secondary-btn.light {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.06);
}

.secondary-btn.light:hover {
  background: rgba(212, 168, 83, 0.12);
}

/* Magnetic physics target */
.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.2, 1);
}

/* Hero Side Panel */
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-card);
  z-index: 2;
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.5;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.panel-top strong {
  color: var(--gold);
  font-size: 1.45rem;
  font-family: var(--font-title);
}

.featured-dish {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 168, 83, 0.08);
  transition: border-color var(--transition-fast);
}

.featured-dish:hover {
  border-color: var(--border-hover);
}

.featured-dish img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(212, 168, 83, 0.15);
}

.featured-dish small,
.dish-category,
.section-heading span,
.contact-band span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-dish strong {
  display: block;
  color: var(--cream);
  font-size: 1.05rem;
  margin-top: 2px;
}

.featured-dish span {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.9rem;
}

.tax-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.08);
  color: var(--cream-soft);
  font-weight: 700;
  font-size: 0.82rem;
}

.tax-note svg {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   HIGHLIGHTS / FEATURES
   ══════════════════════════════════════════════════════════ */
.highlights,
.heritage,
.menu-shell,
.branches,
.contact-band,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.highlights article {
  position: relative;
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.highlights article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.highlights article:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.highlights article:hover::before {
  opacity: 0.6;
}

.highlights svg {
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(212, 168, 83, 0.3));
}

.highlights strong {
  display: block;
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--cream);
}

.highlights span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   HERITAGE / STORY SECTION
   ══════════════════════════════════════════════════════════ */
.heritage {
  padding: 80px 0 40px;
}

.heritage-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.heritage-content {
  position: relative;
}

.heritage-content h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 10px 0 16px;
  background: linear-gradient(135deg, var(--cream) 20%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heritage-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.heritage-signature {
  margin-top: 26px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.heritage-signature::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 40px;
  height: 1.5px;
  background: var(--gold-gradient);
}

.heritage-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1.25;
}

.heritage-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.heritage-media-box:hover img {
  transform: scale(1.05);
}

.heritage-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-weight: 800;
  font-size: 0.8rem;
}

.heritage-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════════════════════════════════ */
.section-heading {
  text-align: center;
}

.section-heading.align-start {
  text-align: right;
}

.section-heading span {
  font-size: 0.8rem;
}

.section-heading h2 {
  margin: 6px 0 10px;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--cream) 30%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   MENU
   ══════════════════════════════════════════════════════════ */
.menu-shell {
  padding: 64px 0 30px;
}

.menu-tools {
  position: sticky;
  top: 82px;
  z-index: 10;
  margin: 26px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 168, 83, 0.12);
}

.search-box svg {
  color: var(--gold);
}

.search-box input {
  width: 100%;
  background: transparent;
  color: var(--cream);
}

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

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 2px;
  scrollbar-width: none;
}

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

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream-soft);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.category-tab svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: 0 0 auto;
}

.category-tab img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 168, 83, 0.2);
}

.category-tab:hover {
  border-color: var(--border-hover);
  background: rgba(212, 168, 83, 0.06);
  transform: translateY(-2px);
}

.category-tab small {
  color: var(--gold);
}

.category-tab.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.08));
  color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.12);
}

.category-tab.active small {
  color: var(--gold-light);
}

/* Category Heading */
.menu-category {
  margin-bottom: 36px;
}

.category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(212, 168, 83, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.025);
}

.category-title-block {
  min-width: 0;
}

.category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.76rem;
}

.category-kicker svg {
  width: 16px;
  height: 16px;
}

.category-heading p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.6;
}

.category-heading h3 {
  margin: 5px 0 0;
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--cream);
}

.category-title-block > span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.category-count {
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  min-height: 62px;
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.4);
}

.category-count strong {
  color: var(--gold-light);
  font-size: 1.35rem;
  line-height: 1;
}

.category-count span {
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
}

.category-heading img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Dish Grid */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dish-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.dish-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.dish-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.dish-card:hover::before {
  opacity: 0.7;
}

.dish-image {
  aspect-ratio: 1.55;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.dish-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.6));
  pointer-events: none;
}

.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.dish-card:hover .dish-image img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.dish-content {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 14px;
}

.dish-category {
  font-size: 0.68rem;
  line-height: 1.3;
}

.dish-content h3 {
  margin: 4px 0 5px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.dish-content p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.dish-content p.muted {
  color: var(--text-muted);
}

.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 168, 83, 0.06);
}

.dish-footer strong {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.dish-footer a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  color: var(--gold);
  transition: all var(--transition-fast);
}

.dish-footer a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.3);
}

.empty-state {
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  color: var(--gold);
  font-weight: 800;
}

/* ══════════════════════════════════════════════════════════
   BRANCHES
   ══════════════════════════════════════════════════════════ */
.branches {
  padding: 48px 0 30px;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.branch-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.branch-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

.branch-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.branch-card:hover::before {
  opacity: 0.6;
}

.branch-image-container {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.branch-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.branch-card:hover .branch-image-container img {
  transform: scale(1.05);
}

.branch-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.45));
}

.branch-info-container {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.branch-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}

.branch-header-row svg {
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(212, 168, 83, 0.3));
  flex-shrink: 0;
}

.branch-card strong {
  display: block;
  font-size: 1.15rem;
  color: var(--cream);
}

.branch-card span {
  display: block;
  color: var(--text-secondary);
  font-weight: 700;
}

.branch-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  width: fit-content;
}

.branch-card a:hover {
  color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════════
   CONTACT BAND
   ══════════════════════════════════════════════════════════ */
.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  padding: 36px;
  border-radius: var(--radius-xl);
  color: var(--cream);
  background: 
    radial-gradient(circle at 10% 20%, rgba(196, 18, 41, 0.08), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 168, 83, 0.06), transparent 45%),
    linear-gradient(135deg, rgba(15, 15, 15, 0.9), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.4;
}

.contact-band h2 {
  margin: 6px 0;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-band p {
  margin: 0;
  color: var(--cream-soft);
}

.contact-info,
.contact-actions {
  position: relative;
  z-index: 2;
}

/* Decorative authentic shemagh */
.contact-decorative-shemagh {
  position: absolute;
  bottom: -45px;
  left: 25px;
  width: 250px;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-10deg);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
  opacity: 0.85;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
}

.contact-decorative-shemagh img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-band:hover .contact-decorative-shemagh {
  transform: rotate(-5deg) translateY(-5deg) scale(1.04);
  opacity: 0.95;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Redesigned glowing icons & buttons for communication */
.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Phone Button (Gold filled with rich glow) */
.contact-actions a.primary-btn {
  background: var(--gold-gradient) !important;
  color: #0c0c0c !important;
  border: 1px solid var(--gold) !important;
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.25) !important;
}

.contact-actions a.primary-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(212, 168, 83, 0.45) !important;
}

/* Instagram Button */
.contact-actions a[href*="instagram"] {
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.contact-actions a[href*="instagram"]:hover {
  background: rgba(225, 48, 108, 0.1) !important;
  border-color: #e1306c !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.25) !important;
  transform: translateY(-3px) !important;
}

/* Facebook Button */
.contact-actions a[href*="facebook"] {
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.contact-actions a[href*="facebook"]:hover {
  background: rgba(24, 119, 242, 0.1) !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.25) !important;
  transform: translateY(-3px) !important;
}

/* WhatsApp Button */
.contact-actions a[href*="wa.me"] {
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--cream) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.contact-actions a[href*="wa.me"]:hover {
  background: rgba(37, 211, 102, 0.1) !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25) !important;
  transform: translateY(-3px) !important;
}

.contact-actions a svg {
  width: 18px;
  height: 18px;
  color: inherit !important;
  filter: none !important;
  transition: transform var(--transition-normal);
}

.contact-actions a:hover svg {
  transform: scale(1.15) rotate(-3deg);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding: 36px 16px 44px;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.dedication {
  margin: 10px 0 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
}

.site-footer small {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════ */
.reveal-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-in variant */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-bounce);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════
   ADMIN STYLES
   ══════════════════════════════════════════════════════════ */
.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(212, 168, 83, 0.06)),
    var(--hero-image) center/cover fixed;
}

.admin-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.login-card {
  width: min(460px, 100%);
  margin: 9vh auto 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.login-card span,
.admin-topbar span {
  color: var(--gold);
  font-weight: 800;
}

.login-card h1,
.admin-topbar h1,
.admin-panel h2 {
  margin: 6px 0 10px;
  font-family: var(--font-title);
  color: var(--cream);
}

.login-card p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-weight: 600;
}

.login-card form {
  display: grid;
  gap: 14px;
}

.login-card label {
  display: grid;
  gap: 6px;
  color: var(--cream-soft);
  font-weight: 800;
}

.login-card input {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  transition: border-color var(--transition-fast);
}

.login-card input:focus {
  border-color: var(--gold);
}

.login-card small {
  display: block;
  min-height: 26px;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 800;
}

.admin-app {
  display: grid;
  gap: 18px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.admin-topbar h1 {
  font-size: 2rem;
}

.admin-actions,
.admin-panel-heading,
.admin-edit-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-primary,
.admin-secondary,
.admin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-full);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.admin-primary {
  background: var(--gold-gradient);
  background-size: 200% auto;
  color: var(--bg-primary);
}

.admin-primary:hover {
  background-position: right center;
  box-shadow: var(--shadow-btn);
}

.admin-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
}

.admin-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(212, 168, 83, 0.08);
}

.admin-secondary.inline {
  width: fit-content;
}

.admin-primary svg,
.admin-secondary svg,
.admin-icon svg,
.admin-panel-heading svg {
  width: 18px;
  height: 18px;
}

.admin-status {
  margin: 0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  background: rgba(17, 17, 17, 0.9);
  color: var(--text-secondary);
  font-weight: 800;
  border: 1px solid var(--border);
}

.admin-status[data-type="success"] {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.2);
}

.admin-status[data-type="error"] {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.2);
}

.admin-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.admin-panel-heading {
  align-items: flex-start;
}

.admin-panel-heading svg {
  margin-top: 8px;
  color: var(--gold);
}

.admin-panel-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.admin-grid {
  display: grid;
  gap: 14px;
}

.admin-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-field {
  display: grid;
  gap: 6px;
  color: var(--cream-soft);
  font-weight: 800;
  min-width: 0;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  transition: border-color var(--transition-fast);
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--gold);
}

.admin-field textarea {
  min-height: 112px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-edit-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-edit-head {
  justify-content: space-between;
}

.admin-edit-head strong {
  font-size: 1.1rem;
  color: var(--cream);
}

.admin-edit-head span {
  color: var(--gold);
  font-weight: 800;
}

.admin-icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
  border-radius: 50%;
}

.admin-icon:hover {
  background: rgba(212, 168, 83, 0.2);
}

.admin-icon.danger {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
}

.admin-icon.danger:hover {
  background: rgba(248, 113, 113, 0.2);
}

.admin-items {
  display: grid;
  gap: 12px;
}

.admin-item-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.85fr) minmax(130px, 1fr) minmax(90px, 0.55fr) minmax(160px, 1.3fr) 42px;
  gap: 10px;
  align-items: end;
  border-block-start: 1px solid rgba(212, 168, 83, 0.06);
  padding-top: 12px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 26px;
  }

  .hero::before {
    height: 90%;
  }

  .hero-content {
    padding: 28px 20px 0;
  }

  .hero-panel {
    margin: 0 20px;
  }

  .heritage-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .heritage-media-box {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .dish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .highlights,
  .branch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-grid.two,
  .admin-grid.three,
  .admin-item-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 8px 12px;
  }

  .brand-lockup small,
  .brand-lockup span {
    display: none;
  }

  .brand-lockup img {
    height: 44px;
    width: auto;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .hero,
  .highlights,
  .heritage,
  .menu-shell,
  .branches,
  .contact-band,
  .site-footer {
    width: calc(100% - 20px);
  }

  .hero {
    margin-top: -68px;
    padding-top: 98px;
    padding-bottom: 18px;
    gap: 16px;
  }

  .hero::before {
    height: 92%;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
    line-height: 1.05;
    white-space: normal;
  }

  .hero-panel {
    margin: 0;
  }

  .hero p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .featured-dish {
    grid-template-columns: 70px 1fr;
  }

  .featured-dish img {
    width: 70px;
    height: 70px;
  }

  .highlights,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .heritage {
    padding: 40px 0;
  }

  .menu-tools {
    top: 68px;
    margin-inline: -2px;
    padding: 10px;
  }

  .category-heading img {
    width: 48px;
    height: 48px;
  }

  .category-heading {
    align-items: flex-start;
    padding: 12px;
    gap: 12px;
  }

  .category-heading h3 {
    font-size: 1.25rem;
  }

  .category-heading p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .category-kicker {
    font-size: 0.68rem;
  }

  .category-count {
    flex-basis: 58px;
    min-height: 54px;
  }

  .category-count strong {
    font-size: 1.05rem;
  }

  .dish-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dish-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: stretch;
  }

  .dish-image {
    aspect-ratio: auto;
    min-height: 120px;
  }

  .dish-image img {
    height: 100%;
  }

  .dish-content {
    min-height: 120px;
    padding: 10px 12px;
  }

  .dish-category {
    font-size: 0.63rem;
  }

  .dish-content h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .dish-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.75rem;
  }

  .dish-footer {
    padding-top: 8px;
  }

  .dish-footer strong {
    font-size: 0.9rem;
  }

  .dish-footer a {
    width: 30px;
    height: 30px;
  }

  .contact-band {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .contact-decorative-shemagh {
    position: relative;
    left: auto;
    bottom: auto;
    width: 160px;
    margin: 16px auto 0;
    transform: rotate(0deg);
    opacity: 0.9;
  }

  .contact-band:hover .contact-decorative-shemagh {
    transform: scale(1.05);
  }
}

/* ══════════════════════════════════════════════════════════
   SHOPPING CART & DRAWER SYSTEM
   ══════════════════════════════════════════════════════════ */

/* Card Controls */
.cart-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.cart-control .add-btn {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 10px rgba(212, 168, 83, 0.2);
}

.cart-control .add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(212, 168, 83, 0.4);
}

.qty-adjust {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 20px;
  padding: 2px 4px;
}

.qty-adjust button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.qty-adjust button:hover {
  background: var(--gold);
  color: #000;
}

.qty-adjust .qty-val {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
  min-width: 14px;
  text-align: center;
}

/* Floating Cart Badge */
.floating-cart-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 15, 15, 0.85);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  padding: 10px 20px;
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 1000;
  cursor: pointer;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: floatCartIntro 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 168, 83, 0.25);
  border-color: #fff;
}

.floating-cart-badge.hidden {
  transform: scale(0.8) translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.cart-badge-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c41229;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #000;
}

.cart-badge-info {
  display: flex;
  flex-direction: column;
}

.cart-badge-label {
  font-size: 0.72rem;
  color: var(--cream-soft);
  font-weight: 600;
}

.cart-badge-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
}

/* Cart Drawer Backend Backdrop */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}

.cart-drawer-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(15, 15, 15, 0.96);
  border-right: 1px solid rgba(212, 168, 83, 0.2);
  box-shadow: 15px 0 45px rgba(0, 0, 0, 0.7);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cart-drawer.open {
  left: 0;
}

/* Handle RTL alignment specifics for drawer position */
html[dir="rtl"] .cart-drawer {
  left: auto;
  right: -400px;
  border-right: none;
  border-left: 1px solid rgba(212, 168, 83, 0.2);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html[dir="rtl"] .cart-drawer.open {
  right: 0;
  left: auto;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h2 {
  font-family: var(--font-title);
  color: var(--cream);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cart-drawer-header h2 svg {
  color: var(--gold);
}

.close-drawer {
  background: none;
  border: none;
  color: var(--cream-soft);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.close-drawer:hover {
  color: #c41229;
}

/* Cart Drawer Items */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  color: var(--cream-soft);
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(212, 168, 83, 0.2);
}

.cart-item-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 2px 0;
}

.cart-item-info span {
  font-size: 0.75rem;
  color: var(--gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1px 3px;
}

.cart-item-qty button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty button:hover {
  background: var(--gold);
  color: #000;
}

.cart-item-qty span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cream);
  min-width: 12px;
  text-align: center;
}

.cart-item-total {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cream);
  min-width: 70px;
  text-align: left;
}

html[dir="rtl"] .cart-item-total {
  text-align: right;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.5);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-bottom: 8px;
}

.cart-summary-row.total-row {
  font-size: 1.15rem;
  color: var(--cream);
  font-weight: 800;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.cart-summary-row.total-row strong {
  color: var(--gold);
}

.send-order-btn {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
  transition: all var(--transition-normal);
}

.send-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.send-order-btn svg {
  width: 20px;
  height: 20px;
}

/* Animations */
@keyframes floatCartIntro {
  0% {
    transform: scale(0.7) translateY(100px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cart-pop {
  animation: cartPopAnim 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartPopAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* ─── Scrollbar Styling ─── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 168, 83, 0.35);
}

/* ─── Selection ─── */
::selection {
  background: rgba(212, 168, 83, 0.3);
  color: var(--cream);
}

/* ─── Bilingual Styles & Directions ─── */
html.lang-en body {
  font-family: 'Outfit', sans-serif;
}

html.lang-en h1,
html.lang-en h2,
html.lang-en h3,
html.lang-en .featured-dish strong,
html.lang-en .branch-card strong,
html.lang-en .preloader-logo,
html.lang-en .heritage-content h2,
html.lang-en .section-heading h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

/* Hero media overrides removed - now handled natively by CSS Grid order */

html[dir="rtl"] .gold-line.start {
  margin-right: 0;
  margin-left: auto;
}

html[dir="ltr"] .gold-line.start {
  margin-left: 0;
  margin-right: auto;
}

/* Stagger card fade-in animation */
.dish-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s var(--ease-out) forwards;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language Switcher transitions */
#langSwitcher {
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

#langSwitcher:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--gold-light);
  background: rgba(212, 168, 83, 0.15);
}

/* ══════════════════════════════════════════════════════════
   MODERN 2026 ADMIN DASHBOARD (SIDEBAR & TABS)
   ══════════════════════════════════════════════════════════ */

.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  min-height: 80vh;
  margin-top: 20px;
}

html[dir="rtl"] .admin-layout {
  grid-template-columns: 280px 1fr;
}

/* Sidebar on the Right */
.admin-sidebar {
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(25px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  height: fit-content;
  position: sticky;
  top: 30px;
  z-index: 10;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.sidebar-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}

.sidebar-brand h2 {
  font-family: var(--font-title);
  color: var(--cream);
  font-size: 1.15rem;
  margin: 0;
}

.sidebar-brand span {
  font-size: 0.72rem;
  color: var(--cream-soft);
  opacity: 0.7;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-tab {
  background: none;
  border: 1px solid transparent;
  color: var(--cream-soft);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
  transition: all var(--transition-fast);
  width: 100%;
}

.nav-tab svg {
  width: 18px;
  height: 18px;
  color: var(--cream-soft);
  transition: color var(--transition-fast);
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.nav-tab.active {
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.3);
  color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.05);
}

.nav-tab.active svg {
  color: var(--gold);
}

.sidebar-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-soft);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  padding: 8px;
  transition: color var(--transition-fast);
}

.sidebar-link:hover {
  color: var(--gold);
}

.logout-btn {
  background: rgba(196, 18, 41, 0.06);
  border: 1px solid rgba(196, 18, 41, 0.15);
  color: #ff6b6b;
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.logout-btn:hover {
  background: rgba(196, 18, 41, 0.15);
  color: #ff4d4d;
}

/* Main Content styling */
.admin-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-header {
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.content-header h1 {
  font-size: 1.5rem;
  font-family: var(--font-title);
  color: var(--cream);
  margin: 4px 0 0 0;
}

.content-header .eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.save-all-btn {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  padding: 12px 24px;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(212, 168, 83, 0.2);
  transition: all var(--transition-normal);
}

.save-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 168, 83, 0.4);
}

/* Tab Panes */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInPane 0.35s ease-out;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-card {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.panel-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-card-header svg {
  color: var(--gold);
  width: 22px;
  height: 22px;
}

.panel-card-header h3 {
  font-family: var(--font-title);
  color: var(--cream);
  font-size: 1.15rem;
  margin: 0;
}

.header-with-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-item-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.add-item-btn:hover {
  background: rgba(212, 168, 83, 0.08);
  border-color: var(--gold);
}

/* Responsive adjustment for admin layout */
@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .nav-tab {
    flex-shrink: 0;
    text-align: center;
  }
  .sidebar-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   JORDANIAN SHEMAGH ADMIN THEME & PREMIUM UPLOADER
   ══════════════════════════════════════════════════════════ */

.admin-sidebar {
  border-color: rgba(196, 18, 41, 0.3) !important;
  box-shadow: 0 10px 40px rgba(196, 18, 41, 0.15) !important;
}

.sidebar-brand {
  position: relative;
  background: linear-gradient(180deg, rgba(196, 18, 41, 0.92) 0%, rgba(15, 15, 15, 0.98) 100%), url("./shemagh_pattern.png") center/cover !important;
  padding: 24px !important;
  margin: -24px -24px 24px -24px !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  border-bottom: 2px solid var(--red) !important;
  box-shadow: inset 0 -5px 15px rgba(0,0,0,0.5) !important;
}

.nav-tab.active {
  background: rgba(196, 18, 41, 0.12) !important;
  border-color: rgba(196, 18, 41, 0.4) !important;
  color: #ff8e9b !important;
}

.nav-tab.active svg {
  color: var(--red) !important;
}

.panel-card {
  border-color: rgba(196, 18, 41, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(196, 18, 41, 0.05) !important;
}

.panel-card-header h3 {
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  display: inline-block;
}

/* Premium Image Uploader styling */
.image-field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.image-field-wrapper .field-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cream-soft);
}

.image-uploader-card {
  border: 1.5px dashed rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  max-height: 250px;
}

.image-uploader-card:hover {
  border-color: var(--red);
  background: rgba(196, 18, 41, 0.04);
  box-shadow: 0 0 20px rgba(196, 18, 41, 0.1);
}

.uploader-preview {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uploader-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.uploader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  transition: opacity var(--transition-fast) ease-in-out;
}

.image-uploader-card:hover .uploader-overlay {
  opacity: 1;
}

.uploader-overlay svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.uploader-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cream-soft);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 40px;
  text-align: center;
}

.uploader-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.uploader-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--cream-soft);
  font-weight: 700;
  font-size: 0.85rem;
}

.uploader-loading .spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: upload-spin 0.8s linear infinite;
}

@keyframes upload-spin {
  to { transform: rotate(360deg); }
}

.uploader-path-label {
  font-size: 0.72rem;
  color: var(--cream-soft);
  opacity: 0.6;
  margin-top: 4px;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

/* ══════════════════════════════════════════════════════════
   FINAL PREMIUM CLASSIC ADMIN POLISH
   ══════════════════════════════════════════════════════════ */

.admin-body {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(5, 4, 4, 0.98) 0%, rgba(26, 12, 10, 0.92) 46%, rgba(6, 5, 5, 0.98) 100%),
    url("./shemagh_pattern.png") center/520px repeat fixed !important;
}

.admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(212, 168, 83, 0.08), transparent 24%, transparent 76%, rgba(196, 18, 41, 0.08)),
    radial-gradient(circle at 18% 18%, rgba(212, 168, 83, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 70%, rgba(196, 18, 41, 0.1), transparent 26rem);
  z-index: 0;
}

.admin-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 28px)) !important;
  padding: 18px 0 56px !important;
}

.login-card {
  border: 1px solid rgba(212, 168, 83, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(24, 18, 15, 0.97), rgba(10, 8, 7, 0.98)),
    url("./shemagh_pattern.png") center/480px repeat !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(212, 168, 83, 0.08) !important;
}

.admin-layout {
  grid-template-columns: minmax(0, 1fr) 310px !important;
  gap: 20px !important;
  align-items: start;
}

.admin-sidebar,
.panel-card,
.content-header,
.admin-status,
.admin-summary-card {
  border: 1px solid rgba(212, 168, 83, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(24, 20, 18, 0.94), rgba(12, 10, 9, 0.94)) !important;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.admin-sidebar {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: sticky;
  top: 18px;
  min-height: calc(100vh - 36px);
  overflow: hidden;
}

.admin-content {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.admin-sidebar::after,
.panel-card::after,
.content-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.1), transparent 28%, transparent 72%, rgba(196, 18, 41, 0.09));
  opacity: 0.75;
}

.sidebar-brand {
  background:
    linear-gradient(180deg, rgba(120, 12, 22, 0.94) 0%, rgba(20, 12, 10, 0.98) 100%),
    url("./shemagh_pattern.png") center/420px repeat !important;
  border-bottom: 1px solid rgba(212, 168, 83, 0.35) !important;
}

.sidebar-brand img {
  width: 76px !important;
  height: 76px !important;
  border: 2px solid rgba(212, 168, 83, 0.72) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), 0 0 24px rgba(212, 168, 83, 0.18) !important;
}

.sidebar-brand h2,
.content-header h1,
.panel-card-header h3 {
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.sidebar-brand span {
  color: rgba(245, 240, 232, 0.68) !important;
}

.nav-tab {
  border: 1px solid rgba(212, 168, 83, 0.1) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: rgba(245, 240, 232, 0.72) !important;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease !important;
}

.nav-tab:hover {
  transform: translateX(-2px);
  border-color: rgba(212, 168, 83, 0.35) !important;
  background: rgba(212, 168, 83, 0.07) !important;
  color: var(--cream) !important;
}

.nav-tab.active {
  background:
    linear-gradient(135deg, rgba(212, 168, 83, 0.18), rgba(196, 18, 41, 0.14)) !important;
  border-color: rgba(212, 168, 83, 0.52) !important;
  color: var(--gold-light) !important;
  box-shadow: inset 3px 0 0 var(--gold), 0 10px 24px rgba(0, 0, 0, 0.22) !important;
}

.sidebar-link,
.logout-btn,
.save-all-btn,
.add-item-btn,
.admin-secondary.inline {
  border-radius: 12px !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.sidebar-link,
.logout-btn {
  border: 1px solid rgba(212, 168, 83, 0.15) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.sidebar-link:hover,
.logout-btn:hover,
.add-item-btn:hover,
.admin-secondary.inline:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 168, 83, 0.42) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.content-header {
  position: sticky;
  top: 18px;
  z-index: 6;
  border-radius: 20px !important;
  padding: 22px 24px !important;
  backdrop-filter: blur(22px);
}

.content-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light) !important;
}

.content-header .eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-gradient);
}

.save-all-btn {
  min-height: 48px;
  padding: 12px 22px !important;
  background: var(--gold-gradient) !important;
  box-shadow: 0 12px 32px rgba(212, 168, 83, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.save-all-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(212, 168, 83, 0.34) !important;
}

.admin-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  border-radius: 16px;
  padding: 16px;
}

.admin-summary-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: var(--gold-gradient);
}

.admin-summary-card svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 10px;
  color: var(--gold-light);
  background: rgba(212, 168, 83, 0.1);
}

.admin-summary-card strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.4rem;
  line-height: 1.1;
}

.admin-summary-card span {
  color: var(--cream-muted);
  font-weight: 800;
  font-size: 0.82rem;
}

.admin-status {
  border-radius: 14px !important;
  color: var(--cream-soft) !important;
  padding: 14px 18px !important;
}

.admin-status[data-type="success"] {
  border-color: rgba(64, 170, 98, 0.32) !important;
  color: #9ee5b2 !important;
  background: rgba(31, 84, 45, 0.16) !important;
}

.admin-status[data-type="error"] {
  border-color: rgba(196, 18, 41, 0.45) !important;
  color: #ff9ba5 !important;
  background: rgba(196, 18, 41, 0.14) !important;
}

.panel-card {
  position: relative;
  border-radius: 20px !important;
  padding: 24px !important;
}

.panel-card-header {
  position: relative;
  z-index: 1;
  border-bottom-color: rgba(212, 168, 83, 0.12) !important;
}

.panel-card-header h3 {
  border-bottom: 0 !important;
  color: var(--cream) !important;
}

.panel-card-header svg {
  width: 30px !important;
  height: 30px !important;
  padding: 7px;
  border-radius: 10px;
  color: var(--gold-light) !important;
  background: rgba(212, 168, 83, 0.1);
}

.admin-field {
  position: relative;
  z-index: 1;
}

.admin-field span,
.image-field-wrapper .field-label {
  color: rgba(245, 240, 232, 0.86) !important;
}

.admin-field input,
.admin-field textarea,
.login-card input {
  font-family: var(--font-body) !important;
  border: 1px solid rgba(212, 168, 83, 0.16) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: var(--cream) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-field input:focus,
.admin-field textarea:focus,
.login-card input:focus {
  border-color: rgba(212, 168, 83, 0.62) !important;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-edit-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 83, 0.14) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.admin-edit-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}

.admin-edit-head strong {
  color: var(--cream) !important;
  font-family: var(--font-title);
}

.admin-edit-head span {
  border: 1px solid rgba(212, 168, 83, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold-light) !important;
}

.admin-item-row {
  border-block-start-color: rgba(212, 168, 83, 0.1) !important;
  border-radius: 12px;
  padding: 12px !important;
  background: rgba(0, 0, 0, 0.18);
}

.admin-icon {
  border: 1px solid rgba(212, 168, 83, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--gold-light) !important;
}

.admin-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 168, 83, 0.36) !important;
}

.admin-icon.danger {
  border-color: rgba(196, 18, 41, 0.28) !important;
  color: #ff8e9b !important;
}

.image-uploader-card {
  min-height: 178px;
  border-color: rgba(212, 168, 83, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.12)) !important;
}

.image-uploader-card:hover {
  border-color: rgba(212, 168, 83, 0.58) !important;
  box-shadow: 0 0 26px rgba(212, 168, 83, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 1100px) {
  .admin-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-sidebar,
  .admin-content {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .admin-sidebar,
  .content-header {
    position: static;
    min-height: auto;
  }

  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .nav-tab {
    flex: 1 0 auto;
    width: max-content !important;
  }

  .admin-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-shell {
    width: calc(100% - 16px) !important;
    padding-top: 8px !important;
  }

  .content-header {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 18px !important;
  }

  .save-all-btn {
    width: 100%;
  }

  .admin-summary-strip,
  .admin-grid.two {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .panel-card {
    padding: 16px !important;
  }

  .sidebar-footer {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-item-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS FIXES FOR PHONE (BULLETPROOF)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .admin-body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .admin-shell {
    width: 100% !important;
    padding: 10px !important;
    margin: 0 auto !important;
  }

  .login-card {
    padding: 20px !important;
    width: 100% !important;
    margin-top: 5vh !important;
    border-radius: var(--radius-md) !important;
  }

  .login-card h1 {
    font-size: 1.5rem !important;
  }

  .login-card p {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
  }

  .panel-card {
    padding: 15px !important;
    border-radius: var(--radius-md) !important;
  }

  .content-header {
    padding: 15px !important;
    border-radius: var(--radius-md) !important;
  }

  .content-header h1 {
    font-size: 1.25rem !important;
  }

  .admin-sidebar {
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
  }

  .sidebar-brand {
    padding: 16px !important;
    margin: -16px -16px 16px -16px !important;
  }

  .sidebar-brand h2 {
    font-size: 1rem !important;
  }

  .nav-tab {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    gap: 8px !important;
  }

  .admin-grid {
    gap: 12px !important;
  }

  .admin-edit-card {
    padding: 12px !important;
  }

  .admin-item-row {
    padding: 10px !important;
    gap: 10px !important;
  }

  .image-uploader-card {
    min-height: 140px !important;
  }

  .uploader-placeholder {
    padding: 20px !important;
  }

  .admin-field input,
  .admin-field textarea,
  .login-card input {
    font-size: 16px !important;
  }
}

/* Classy Cart Branch Buttons */
.cart-branch-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-md);
  color: var(--cream-soft);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition-fast);
  text-align: right;
  outline: none;
}

.cart-branch-btn svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  transition: color var(--transition-fast);
}

.cart-branch-btn:hover {
  background: rgba(212, 168, 83, 0.06);
  color: #fff;
  border-color: rgba(212, 168, 83, 0.35);
}

.cart-branch-btn.active {
  background: rgba(196, 18, 41, 0.12) !important;
  border-color: rgba(196, 18, 41, 0.4) !important;
  color: #ff8e9b !important;
  box-shadow: 0 0 15px rgba(196, 18, 41, 0.1);
}

.cart-branch-btn.active svg {
  color: var(--red) !important;
}
