/* ============================================================
   Design tokens
   ============================================================ */
:root{
  --color-primary:#FF6B35;
  --color-primary-dark:#E5571F;
  --color-primary-light:#FFF0EB;
  --color-primary-soft:#FFE4D6;
  --color-secondary:#2D6A4F;
  --color-secondary-light:#D8F3DC;
  --color-bg:#F7F7F4;
  --color-surface:#FFFFFF;
  --color-surface-2:#F1F0EC;
  --color-surface-3:#E9E8E2;
  --color-text-primary:#15171A;
  --color-text-secondary:#5C6068;
  --color-text-muted:#9CA0A8;
  --color-border:#E6E5DF;
  --color-border-strong:#D6D5CE;
  --color-border-hover:#BFBDB4;
  --color-success:#2E8B57;
  --color-success-bg:#E5F4EB;
  --color-warning:#D97706;
  --color-warning-bg:#FEF3D7;
  --color-danger:#DC2626;
  --color-danger-bg:#FEE7E7;
  --color-info:#2563EB;
  --color-info-bg:#E1ECFE;

  --brand: var(--color-primary);

  --radius-xs:4px;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:14px;
  --radius-xl:20px;
  --radius-2xl:28px;
  --radius-full:9999px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 28px rgba(15,23,42,.08), 0 4px 8px rgba(15,23,42,.04);
  --shadow-xl: 0 24px 48px rgba(15,23,42,.10), 0 8px 16px rgba(15,23,42,.06);
  --shadow-brand: 0 8px 24px rgba(255,107,53,.28);
  --shadow-card-hover: 0 16px 32px rgba(255,107,53,.16), 0 4px 12px rgba(15,23,42,.06);

  --ring-brand: 0 0 0 3px rgba(255,107,53,.18);
  --ring-danger: 0 0 0 3px rgba(220,38,38,.18);

  --transition-fast:.15s cubic-bezier(.4,0,.2,1);
  --transition-base:.25s cubic-bezier(.4,0,.2,1);
  --transition-slow:.4s cubic-bezier(.4,0,.2,1);

  --sidebar-w: 264px;
  --topbar-h: 68px;
}

/* ============================================================
   Base
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
html{ -webkit-text-size-adjust:100% }
body{
  font-family:'Tajawal','DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--color-bg);
  color:var(--color-text-primary);
  line-height:1.65;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
img,svg{ max-width:100%; display:block }
a{ color:inherit; text-decoration:none }
button{ font-family:inherit; cursor:pointer; border:0; background:none; color:inherit }
h1,h2,h3,h4,h5{ margin:0 0 .5rem; line-height:1.25; font-weight:700; letter-spacing:-.01em }
p{ margin:0 0 .75rem }
::selection{ background:var(--color-primary); color:#fff }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 18px;
  border-radius:var(--radius-md);
  font-weight:600;
  transition:transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  border:1px solid transparent;
  font-size:14px;
  white-space:nowrap;
  user-select:none;
  line-height:1.2;
}
.btn:active{ transform:translateY(1px) }
.btn:focus-visible{ outline:none; box-shadow:var(--ring-brand) }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:var(--shadow-xs) }
.btn-primary:hover{ background:var(--color-primary-dark); box-shadow:var(--shadow-brand); transform:translateY(-1px) }
.btn-secondary{ border-color:var(--color-border-strong); color:var(--color-text-primary); background:var(--color-surface) }
.btn-secondary:hover{ border-color:var(--brand); color:var(--brand); background:var(--color-primary-light) }
.btn-ghost{ color:var(--color-text-secondary); padding:8px 12px }
.btn-ghost:hover{ color:var(--color-text-primary); background:var(--color-surface-2) }
.btn-danger{ background:var(--color-danger); color:#fff }
.btn-danger:hover{ filter:brightness(.92); transform:translateY(-1px); box-shadow:0 8px 20px rgba(220,38,38,.25) }
.btn-sm{ padding:7px 12px; font-size:13px; border-radius:var(--radius-sm) }
.btn-lg{ padding:14px 28px; font-size:16px }
.btn-pill{ border-radius:var(--radius-full) }
.btn svg{ width:16px; height:16px; flex-shrink:0 }
.btn-icon{ padding:8px; width:34px; height:34px }

/* ============================================================
   Forms
   ============================================================ */
.form-group{ margin-bottom:1.1rem }
.form-label{ display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--color-text-primary) }
.form-input, .form-select, .form-textarea{
  width:100%; padding:10px 14px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-surface);
  color:var(--color-text-primary);
  font-size:14px; font-family:inherit;
  transition:border-color var(--transition-fast), box-shadow var(--transition-fast);
  line-height:1.4;
}
.form-input::placeholder{ color:var(--color-text-muted) }
.form-input:hover, .form-select:hover, .form-textarea:hover{ border-color:var(--color-border-strong) }
.form-input:focus, .form-select:focus, .form-textarea:focus{
  outline:none; border-color:var(--brand);
  box-shadow:var(--ring-brand);
}
.form-textarea{ min-height:110px; resize:vertical; line-height:1.6 }
.form-select{ appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23667085' stroke-width='2'><polyline points='3,4.5 6,7.5 9,4.5'/></svg>"); background-repeat:no-repeat; background-position:left 12px center; padding-inline-start:36px; cursor:pointer }
html[dir="rtl"] .form-select{ background-position:left 12px center }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px }
.form-row-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px }
.form-help{ font-size:12px; color:var(--color-text-muted); margin-top:5px }
.form-error{ font-size:13px; color:var(--color-danger); margin-top:5px; font-weight:500 }
.form-actions{ display:flex; gap:10px; margin-top:1.5rem; padding-top:1.5rem; border-top:1px solid var(--color-border) }
.form-check{ display:inline-flex; align-items:center; gap:8px; padding:6px 0; cursor:pointer; user-select:none; font-size:14px; color:var(--color-text-secondary) }
.form-check input[type="checkbox"]{ width:16px; height:16px; accent-color:var(--brand); cursor:pointer }
input[type="color"].form-input{ height:46px; padding:4px; cursor:pointer }

/* Password input with toggle eye */
.password-wrap{ position:relative; display:block }
.password-wrap .form-input{ padding-inline-end:42px }
.password-toggle{
  position:absolute;
  inset-inline-end:8px;
  top:50%; transform:translateY(-50%);
  width:30px; height:30px;
  display:inline-flex; align-items:center; justify-content:center;
  border:0; background:transparent;
  color:var(--color-text-muted);
  cursor:pointer;
  border-radius:var(--radius-sm);
  transition:color var(--transition-fast), background var(--transition-fast);
}
.password-toggle:hover{ color:var(--color-text-primary); background:var(--color-surface-2) }
.password-toggle svg{ width:18px; height:18px; pointer-events:none }
.password-toggle .eye-off{ display:none }
.password-toggle.is-revealed .eye-on{ display:none }
.password-toggle.is-revealed .eye-off{ display:inline-block }
input[type="file"]{ font-family:inherit; font-size:13px; color:var(--color-text-secondary) }
input[type="file"]::file-selector-button{
  margin-inline-end:10px; padding:7px 14px; border:0;
  border-radius:var(--radius-sm); background:var(--color-surface-2);
  color:var(--color-text-primary); font-weight:600; font-family:inherit;
  cursor:pointer; transition:background var(--transition-fast);
}
input[type="file"]::file-selector-button:hover{ background:var(--color-surface-3) }

/* ============================================================
   Admin / Restaurant shell layout
   ============================================================ */
.admin-body{
  display:flex;
  min-height:100vh;
  background:var(--color-bg);
}

.sidebar{
  width:var(--sidebar-w);
  background:var(--color-surface);
  border-inline-start:1px solid var(--color-border);
  padding:22px 16px 18px;
  display:flex; flex-direction:column; gap:6px;
  position:sticky; top:0; height:100vh;
  flex-shrink:0;
}
.sidebar-brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; font-size:17px; margin-bottom:18px;
  padding:6px 8px;
  color:var(--color-text-primary);
  letter-spacing:-.01em;
}
.sidebar-brand > span:last-child{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.brand-dot{
  width:36px; height:36px; border-radius:var(--radius-md);
  background:var(--brand); color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0; box-shadow:var(--shadow-brand);
}
.brand-dot--tenant{ background:var(--brand) }
.brand-logo{
  width:36px; height:36px; border-radius:var(--radius-md);
  object-fit:cover; flex-shrink:0;
  box-shadow:var(--shadow-sm);
}
.sidebar-nav{ display:flex; flex-direction:column; gap:2px; flex:1; margin-top:4px }
.nav-item{
  display:flex; align-items:center; gap:11px;
  padding:10px 12px; border-radius:var(--radius-md);
  color:var(--color-text-secondary); font-weight:500; font-size:14.5px;
  transition:background var(--transition-fast), color var(--transition-fast);
  width:100%; text-align:start;
  position:relative;
}
.nav-item:hover{ background:var(--color-surface-2); color:var(--color-text-primary) }
.nav-item.is-active{
  background:var(--color-primary-light);
  color:var(--brand);
  font-weight:700;
}
.nav-item.is-active::before{
  content:""; position:absolute; inset-block:6px; inset-inline-end:-16px;
  width:3px; background:var(--brand); border-radius:3px;
}
.nav-item .ico{
  width:22px; height:22px;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color:currentColor;
}
.nav-item .ico svg{ width:18px; height:18px }
.nav-logout{ color:var(--color-danger) }
.nav-logout:hover{ background:var(--color-danger-bg); color:var(--color-danger) }
.sidebar-logout{ margin-top:auto; padding-top:8px; border-top:1px solid var(--color-border) }

.main{
  flex:1; min-width:0;
  display:flex; flex-direction:column;
  min-height:100vh;
}
.topbar{
  height:var(--topbar-h);
  background:var(--color-surface);
  border-bottom:1px solid var(--color-border);
  padding:0 28px;
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0; z-index:5;
  backdrop-filter:saturate(180%) blur(10px);
}
.topbar-title{ font-size:20px; font-weight:700; margin:0; color:var(--color-text-primary); letter-spacing:-.01em }
.topbar-user{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--color-text-secondary); font-weight:500 }
.topbar-avatar{
  width:36px; height:36px; border-radius:var(--radius-full);
  background:var(--brand); color:#fff; display:inline-flex;
  align-items:center; justify-content:center; font-weight:700;
  box-shadow:var(--shadow-sm);
  font-size:14px;
}
.content{ padding:28px; max-width:1400px; width:100% }

/* ============================================================
   Cards / panels
   ============================================================ */
.card{
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-xs);
}
.card-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--color-border);
  gap:10px; flex-wrap:wrap;
}
.card-title{ margin:0; font-size:17px; font-weight:700; color:var(--color-text-primary); letter-spacing:-.01em }

/* Stats grid */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:16px; margin-bottom:24px;
}
.stat-card{
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  padding:20px 22px;
  display:flex; flex-direction:column; gap:8px;
  transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position:relative; overflow:hidden;
}
.stat-card::after{
  content:""; position:absolute; inset-block-start:0; inset-inline-start:0;
  width:4px; height:100%; background:var(--color-border);
  transition:background var(--transition-base);
}
.stat-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-2px); border-color:var(--color-border-strong) }
.stat-card:hover::after{ background:var(--brand) }
.stat-card .label{ color:var(--color-text-secondary); font-size:13px; font-weight:500 }
.stat-card .value{ font-size:30px; font-weight:800; color:var(--color-text-primary); font-family:'DM Sans',sans-serif; line-height:1.1; letter-spacing:-.02em }
.stat-card .ico{ font-size:22px }
.stat-card.is-success::after{ background:var(--color-success) }
.stat-card.is-success .value{ color:var(--color-success) }
.stat-card.is-warning::after{ background:var(--color-warning) }
.stat-card.is-warning .value{ color:var(--color-warning) }
.stat-card.is-danger::after{ background:var(--color-danger) }
.stat-card.is-danger .value{ color:var(--color-danger) }

/* Tables */
.table-wrap{
  overflow-x:auto;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-xs);
}
.table{ width:100%; border-collapse:collapse; font-size:14px }
.table thead th{
  text-align:start; padding:14px 18px;
  background:var(--color-surface-2);
  color:var(--color-text-secondary);
  font-weight:600; font-size:12.5px;
  border-bottom:1px solid var(--color-border);
  letter-spacing:.02em;
  text-transform:uppercase;
}
.table tbody td{
  padding:14px 18px;
  border-bottom:1px solid var(--color-border);
  vertical-align:middle;
  color:var(--color-text-primary);
}
.table tbody tr:last-child td{ border-bottom:0 }
.table tbody tr{ transition:background var(--transition-fast) }
.table tbody tr:hover{ background:var(--color-surface-2) }
.table-actions{ display:flex; gap:6px; justify-content:flex-end; align-items:center; flex-wrap:wrap }
.table-actions form{ display:inline-flex }

/* Badges */
.badge{
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 10px; border-radius:var(--radius-full);
  font-size:12px; font-weight:600;
  line-height:1.5;
}
.badge::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.7 }
.badge-success{ background:var(--color-success-bg); color:var(--color-success) }
.badge-warning{ background:var(--color-warning-bg); color:var(--color-warning) }
.badge-danger{ background:var(--color-danger-bg); color:var(--color-danger) }
.badge-info{ background:var(--color-info-bg); color:var(--color-info) }
.badge-neutral{ background:var(--color-surface-2); color:var(--color-text-secondary) }
.badge-neutral::before{ opacity:.5 }

/* Toolbar */
.toolbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:18px; flex-wrap:wrap;
}
.toolbar-left{ display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.toolbar input.form-input{ width:260px }
.page-title{ font-size:22px; margin:0; font-weight:700; letter-spacing:-.01em; color:var(--color-text-primary) }

/* Pagination */
.pagination{ display:flex; gap:4px; justify-content:center; padding:16px; flex-wrap:wrap }
.pagination a, .pagination span{
  padding:7px 12px; min-width:36px; text-align:center;
  border-radius:var(--radius-sm); border:1px solid var(--color-border);
  background:var(--color-surface); font-size:13.5px; color:var(--color-text-secondary);
  font-weight:500;
  transition:all var(--transition-fast);
}
.pagination a:hover{ border-color:var(--brand); color:var(--brand) }
.pagination .active span{ background:var(--brand); color:#fff; border-color:var(--brand) }

/* Toasts */
.toast{
  margin:18px 28px 0;
  padding:13px 18px;
  border-radius:var(--radius-md);
  font-weight:500; font-size:14px;
  border:1px solid transparent;
  display:flex; align-items:center; gap:10px;
  animation:slideDown .3s ease both;
}
@keyframes slideDown{ from{ opacity:0; transform:translateY(-8px) } to{ opacity:1; transform:translateY(0) } }
.toast-success{ background:var(--color-success-bg); color:var(--color-success); border-color:#BFE0CC }
.toast-error{ background:var(--color-danger-bg); color:var(--color-danger); border-color:#F5C2C7 }
.toast > div{ width:100% }

/* Auth screens */
.auth-page{
  min-height:100vh; display:grid; place-items:center; padding:24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,107,53,.10), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(45,106,79,.08), transparent 40%),
    linear-gradient(135deg, var(--color-bg), var(--color-surface));
  position:relative;
}
.auth-card{
  width:100%; max-width:430px;
  background:var(--color-surface); border-radius:var(--radius-xl);
  padding:36px 32px; box-shadow:var(--shadow-xl);
  border:1px solid var(--color-border);
  position:relative;
}
.auth-title{ font-size:24px; font-weight:800; margin-bottom:6px; letter-spacing:-.01em }
.auth-sub{ color:var(--color-text-secondary); margin-bottom:26px; font-size:14.5px }

/* Form grids */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px }
.form-grid .full{ grid-column:1/-1 }
@media (max-width: 900px){
  .form-grid{ grid-template-columns:1fr }
  .form-row, .form-row-3{ grid-template-columns:1fr }
  .toolbar input.form-input{ width:100% }
}
@media (max-width: 780px){
  :root{ --sidebar-w:72px }
  .sidebar{ padding:14px 8px }
  .sidebar-brand > span:last-child{ display:none }
  .sidebar-brand{ justify-content:center }
  .nav-item span:not(.ico){ display:none }
  .nav-item{ justify-content:center; padding:11px }
  .content{ padding:18px }
  .topbar{ padding:0 18px }
  .topbar-user span:not(.topbar-avatar){ display:none }
}

/* Image preview */
.img-preview{
  width:120px; height:120px; border-radius:var(--radius-md);
  border:1px dashed var(--color-border-strong);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; background:var(--color-surface-2); color:var(--color-text-muted);
  font-size:13px;
}
.img-preview img{ width:100%; height:100%; object-fit:cover }
.img-row{ display:flex; gap:14px; align-items:center; flex-wrap:wrap }

/* ============================================================
   ============================================================
   CUSTOMER MENU — Warm Light SaaS Template
   ============================================================
   ============================================================ */

.menu-body{
  /* Base Theme Tokens (warm light) */
  --app-bg:#FFF8F0;
  --app-bg-soft:#FFF1E2;
  --surface:#FFFFFF;
  --surface-soft:#FFF6EC;
  --surface-muted:#F7EFE5;
  --text-main:#1F1B16;
  --text-muted:#756B5E;
  --text-soft:#9A8F82;
  --border:#E8DCCB;
  --border-soft:#F1E7DA;
  --shadow-soft:0 14px 40px rgba(31,27,22,.08);
  --shadow-card:0 10px 24px rgba(31,27,22,.07);

  --whatsapp:#25D366;

  /* Brand defaults (overridden per tenant via inline <style>) */
  --brand-primary:#D97706;
  --brand-secondary:#7C2D12;
  --brand-accent:#F59E0B;
  --brand-soft:rgba(217,119,6,.10);
  --brand-muted:rgba(217,119,6,.18);
  --brand-strong:#9A5208;

  --hero-overlay:linear-gradient(180deg, rgba(31,27,22,.20) 0%, rgba(31,27,22,.55) 55%, rgba(31,27,22,.82) 100%);
  --hero-brand-glow:rgba(217,119,6,.38);

  font-family:'Tajawal','DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--app-bg);
  color:var(--text-main);
  min-height:100vh;
  margin:0;
  overflow-x:hidden;
}

.menu-container{
  width:min(100% - 32px, 1120px);
  margin-inline:auto;
}

/* ============================================================
   Sticky Glassy Header — floats OVER the hero
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  width:100%;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(22px) saturate(180%);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  border-bottom:1px solid rgba(255,255,255,.14);
  transition:background var(--transition-base), border-color var(--transition-base);
}
/* Scrolled past hero: light bg + dark text for readability */
.site-header.is-scrolled{
  background:rgba(255,248,240,.88);
  border-bottom-color:var(--border-soft);
}
.site-header-inner{
  width:min(100% - 24px, 1120px);
  margin-inline:auto;
  height:64px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
}
.site-brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; color:var(--text-main);
}
.site-brand-logo{
  width:46px; height:46px; border-radius:14px;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.6);
  overflow:hidden; flex-shrink:0;
  box-shadow:0 6px 16px rgba(0,0,0,.10);
}
.site-brand-logo img{ width:100%; height:100%; object-fit:contain; padding:4px }
.site-brand-name{ font-size:14px; font-weight:800; display:none }
.site-nav{
  display:flex; align-items:center; justify-content:center;
  gap:10px;
}
.site-nav-link{
  position:relative;
  padding:6px 10px;
  font-size:15px; font-weight:700;
  color:#FFFFFF;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
  transition:color var(--transition-fast), text-shadow var(--transition-fast);
}
.site-nav-link:hover{ color:#fff; opacity:.85 }
.site-nav-link.is-active{
  color:#FFFFFF;
  font-weight:800;
}
.site-nav-link.is-active::after{
  content:""; position:absolute; left:10px; right:10px; bottom:-6px;
  height:3px; border-radius:3px;
  background:var(--brand-primary);
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  transition:box-shadow var(--transition-fast);
}
.site-contact{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(37,211,102,.16);
  border:1px solid rgba(37,211,102,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:#FFFFFF;
  text-shadow:0 1px 3px rgba(0,0,0,.25);
  font-weight:800; font-size:13.5px;
  transition:background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.site-contact:hover{
  background:rgba(37,211,102,.26);
  border-color:rgba(37,211,102,.42);
  transform:translateY(-1px);
}
.site-contact .wa-ico{
  width:18px; height:18px;
  color:#25D366;
  flex-shrink:0;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.3));
  transition:filter var(--transition-fast);
}

/* Scrolled state — dark text on light glass */
.site-header.is-scrolled .site-nav-link{
  color:var(--text-main);
  text-shadow:none;
}
.site-header.is-scrolled .site-nav-link.is-active{
  color:var(--brand-primary);
}
.site-header.is-scrolled .site-nav-link.is-active::after{
  box-shadow:none;
}
.site-header.is-scrolled .site-contact{
  color:#1B5E3F;
  text-shadow:none;
  background:rgba(37,211,102,.12);
  border-color:rgba(37,211,102,.34);
}
.site-header.is-scrolled .site-contact .wa-ico{
  filter:none;
}

/* Mobile */
@media (max-width:520px){
  .site-header-inner{ height:58px; gap:6px }
  .site-brand-logo{ width:42px; height:42px; border-radius:12px }
  .site-nav-link{ padding:6px 8px; font-size:14px }
  .site-contact{ padding:6px; font-size:13px }
  .site-contact .wa-ico{ width:20px; height:20px }
}

/* ============================================================
   HERO — Full-bleed, header overlays the top
   ============================================================ */
.hero-wrap{
  width:100%;
  margin:-64px 0 0;  /* pull up so the sticky header overlays the top */
  position:relative;
  z-index:1;
}
.hero{
  position:relative;
  border-radius:0 0 32px 32px;
  overflow:hidden;
  min-height:clamp(560px, 78svh, 720px);
  background-color:#1F1B16;
  background-size:cover;
  background-position:center;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:var(--hero-overlay);
  z-index:1;
}
.hero-inner{
  position:relative; z-index:2;
  min-height:clamp(560px, 78svh, 720px);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding:96px 22px 40px;
  color:#fff;
  gap:6px;
}
@media (max-width:520px){
  .hero-wrap{ margin-top:-58px }
  .hero-inner{ padding-top:84px }
}
.hero-logo-wrap{
  width:104px; height:104px; border-radius:50%;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  border:4px solid #fff;
  box-shadow:0 0 0 6px var(--hero-brand-glow), 0 18px 32px rgba(0,0,0,.4);
  overflow:hidden;
}
.hero-logo-wrap img{ width:100%; height:100%; object-fit:contain; padding:6px }
@media (max-width:360px){
  .hero-logo-wrap{ width:92px; height:92px; margin-bottom:14px }
}
@media (min-width:769px){
  .hero-logo-wrap{ width:128px; height:128px; margin-bottom:22px }
}
.hero-logo-fallback{
  width:60%; height:60%;
  color:var(--brand-primary);
  display:flex; align-items:center; justify-content:center;
}
.hero-title{
  font-size:clamp(28px, 7vw, 56px);
  font-weight:900;
  margin:0 0 10px;
  text-shadow:0 4px 20px rgba(0,0,0,.5);
  letter-spacing:-.01em;
  color:#fff;
  line-height:1.35;
  padding-block-start:4px;
}
.hero-subtitle{
  font-size:clamp(14px, 3.8vw, 18px);
  color:rgba(255,255,255,.88);
  max-width:520px;
  margin:0 auto 26px;
  font-weight:500;
  line-height:1.7;
}
.hero-actions{
  display:flex; flex-direction:column;
  gap:10px;
  width:min(100%, 320px);
}
.hero-btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:18px;
  font-weight:800; font-size:16px;
  transition:transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height:54px;
}
.hero-btn-primary{
  min-height:56px;
  background:var(--brand-primary); color:#fff;
  box-shadow:0 14px 28px color-mix(in srgb, var(--brand-primary) 30%, transparent), 0 10px 24px rgba(0,0,0,.25);
}
.hero-btn-primary:hover{ background:var(--brand-strong); transform:translateY(-2px) }
.hero-btn-secondary{
  background:rgba(255,255,255,.16); color:#fff;
  border:1px solid rgba(255,255,255,.34);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.hero-btn-secondary:hover{ background:rgba(255,255,255,.26) }
.hero-btn svg{ width:18px; height:18px }

/* Larger desktop hero */
@media (min-width:769px){
  .hero{ min-height:clamp(560px, 64svh, 680px) }
  .hero-inner{ min-height:clamp(560px, 64svh, 680px); padding:64px 32px 56px }
  .hero-actions{ flex-direction:row; gap:14px; width:auto }
  .hero-btn{ min-width:180px }
}

/* Compact hero strip — Menu page (no border, full width, header overlays top) */
.hero-strip{
  position:relative;
  width:100%;
  margin:-64px 0 0;
  height:170px;
  overflow:hidden;
  background-color:#1F1B16;
  background-size:cover;
  background-position:center;
  z-index:1;
}
.hero-strip::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(31,27,22,.30) 0%, rgba(31,27,22,.55) 100%);
}
@media (max-width:520px){
  .hero-strip{ margin-top:-58px; height:150px }
}

/* ============================================================
   Sections — generic
   ============================================================ */
.section{ padding:40px 0 24px }
.section-head{
  width:min(100% - 32px, 1120px);
  margin:0 auto 18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
}
.section-title{
  font-size:24px; font-weight:900; color:var(--text-main);
  display:inline-flex; align-items:center; gap:10px;
  margin:0;
  line-height:1.55;
  padding-block-start:2px;
}
.section-title::before{
  content:""; display:inline-block;
  width:4px; height:24px; border-radius:999px;
  background:var(--brand-primary);
}
@media (min-width:769px){
  .section{ padding:64px 0 32px }
  .section-title{ font-size:32px }
  .section-title::before{ height:32px; width:5px }
}
.section-link{
  font-size:13.5px; font-weight:700; color:var(--brand-primary);
  display:inline-flex; align-items:center; gap:4px;
  transition:color var(--transition-fast), transform var(--transition-fast);
}
.section-link:hover{ color:var(--brand-strong); transform:translateX(-2px) }
.section-link svg{ width:14px; height:14px }

/* ============================================================
   Featured Dishes (horizontal scroll on mobile, grid on desktop)
   ============================================================ */
.featured-scroll{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-snap-stop:always;
  scroll-padding-inline:20px;
  padding:6px 20px 22px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.featured-scroll::-webkit-scrollbar{ display:none }
.featured-card{
  flex:0 0 76vw;
  max-width:320px;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-card);
  transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.featured-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-soft);
  border-color:color-mix(in srgb, var(--brand-primary) 35%, var(--border));
}
.featured-card-img{
  position:relative;
  width:100%; height:170px;
  overflow:hidden;
  background:var(--surface-muted);
}
.featured-card-img img{ width:100%; height:100%; object-fit:cover }
.featured-badges{
  position:absolute; top:10px; left:10px;
  display:flex; gap:6px; flex-wrap:wrap;
  z-index:2;
}
.featured-badges .menu-badge{
  padding:4px 10px;
  font-size:12px;
  height:28px;
  display:inline-flex; align-items:center;
}
.menu-badge{
  display:inline-flex; align-items:center; gap:4px;
  padding:4px 10px; border-radius:999px;
  font-size:11.5px; font-weight:800;
  line-height:1.4;
  white-space:nowrap;
}
.menu-badge--featured{ background:var(--brand-primary); color:#fff }
.menu-badge--featured::before{
  content:"\2605";
  font-size:11px; line-height:1;
}
.menu-badge--popular{ background:var(--brand-primary); color:#fff }
.menu-badge--popular::before{
  content:"\2605";
  font-size:11px; line-height:1;
}
.menu-badge--new{ background:var(--brand-accent); color:#fff }
.menu-badge--unavailable{
  background:var(--surface-muted);
  color:var(--text-muted);
  border:1px solid var(--border);
}

.featured-card-body{ padding:14px }
.featured-card-name{
  font-size:17px; font-weight:900; color:var(--text-main);
  margin:0 0 4px;
  text-align:right;
  line-height:1.4;
}
.featured-card-desc{
  font-size:13px; color:var(--text-muted);
  margin:0 0 10px;
  text-align:right;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.featured-card-price{
  font-size:16px; font-weight:900;
  color:var(--brand-primary);
  text-align:right;
  font-family:'DM Sans','Inter',system-ui,sans-serif;
}
.featured-card-price-unit{ font-size:12px; font-weight:700; margin-inline-start:2px }

@media (min-width:769px){
  .featured-scroll{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    overflow:visible;
    padding:6px 16px 24px;
    width:min(100% - 32px, 1120px);
    margin-inline:auto;
  }
  .featured-card{ flex:initial; max-width:none; border-radius:24px }
  .featured-card-img{ height:190px }
  .featured-card-body{ padding:16px }
  .featured-card-name{ font-size:18px; margin-bottom:6px }
  .featured-card-desc{ font-size:14px; margin-bottom:12px }
  .featured-card-price{ font-size:18px }
  .featured-card-price-unit{ font-size:13px }
}

/* Pagination dots (interactive) */
.scroll-dots{
  display:flex; justify-content:center; gap:6px;
  margin-top:0; margin-bottom:24px;
}
.scroll-dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--border);
  border:0; padding:0;
  cursor:pointer;
  transition:width var(--transition-base), background var(--transition-base);
}
.scroll-dot:hover{ background:var(--text-soft) }
.scroll-dot.is-active{ background:var(--brand-primary); width:22px; border-radius:5px }

/* ============================================================
   Categories Carousel — inside a sticky WHITE card
   ============================================================ */
.menu-categories{
  position:sticky;
  top:64px;
  z-index:30;
  width:100%;
  background:rgba(255,248,240,.92);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid var(--border-soft);
  padding:12px 0;
}
@media (max-width:520px){
  .menu-categories{ top:58px }
}
.menu-categories-inner{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:0 16px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  align-items:flex-start;
}
.menu-categories-inner::-webkit-scrollbar{ display:none }
.category-item{
  flex:0 0 92px;
  min-height:116px;
  display:flex; flex-direction:column;
  align-items:center; gap:14px;
  cursor:pointer; user-select:none;
  background:none; border:0; padding:10px 6px 12px;
  border-radius:22px;
  transition:background var(--transition-fast), transform var(--transition-fast);
}
.category-item.is-active{
  background:var(--brand-soft);
}
.category-circle{
  position:relative;
  width:54px; height:54px; border-radius:50%;
  background:var(--surface-muted);
  border:2px solid transparent;
  transition:width .3s ease, height .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.category-circle img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
  position:relative;
  z-index:1;
}
.category-circle--all{
  background:var(--brand-soft);
  display:flex; align-items:center; justify-content:center;
  color:var(--brand-primary);
}
.category-circle--all svg{ width:50%; height:50% }
.section-title--new::before{
  background:var(--brand-accent);
}
.category-ring{ display:none }
.category-name{
  font-size:13px; font-weight:800;
  color:var(--text-muted);
  transition:color var(--transition-fast);
  max-width:96px;
  text-align:center;
  margin-top:4px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  word-break:break-word;
}
.category-item.is-active .category-name{
  color:var(--brand-strong);
}
.category-item.is-active .category-circle{
  width:62px; height:62px;
  border-color:var(--brand-primary);
  animation:cat-pulse 2.2s ease-in-out infinite;
}
@keyframes cat-pulse{
  0%, 100% { box-shadow:0 0 0 4px var(--brand-soft); }
  50%      { box-shadow:0 0 0 10px color-mix(in srgb, var(--brand-primary) 16%, transparent); }
}

@media (min-width:769px){
  .menu-categories-inner{ justify-content:center; gap:14px }
}

/* ============================================================
   Selected Category Header — image 3 layout
   Count pill (LEFT in RTL) | title + icon + desc (RIGHT in RTL)
   ============================================================ */
.category-header{
  width:min(100% - 32px, 1120px);
  margin:28px auto 16px;
  display:flex; flex-direction:column;
  gap:8px;
}
.category-header-row{
  display:flex; align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.category-header-count{
  display:inline-flex; align-items:center; justify-content:center;
  height:32px; padding:0 14px; border-radius:999px;
  background:var(--brand-soft);
  font-size:13px; font-weight:800;
  color:var(--brand-primary);
  white-space:nowrap;
  flex-shrink:0;
  margin-inline-start:auto;
}
.category-header-title{
  font-size:26px; font-weight:900;
  color:var(--text-main);
  margin:0;
  line-height:1.5;
  padding-block-start:2px;
}
.category-header-icon{
  width:48px; height:48px;
  border-radius:16px;
  background:var(--brand-soft); color:var(--brand-primary);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  box-shadow:0 6px 14px color-mix(in srgb, var(--brand-primary) 18%, transparent);
}
.category-header-icon svg{ width:24px; height:24px }
.category-header-desc{
  font-size:14px; color:var(--text-muted);
  margin:0;
  line-height:1.7;
}
@media (min-width:769px){
  .category-header-title{ font-size:34px }
  .category-header-icon{ width:54px; height:54px; border-radius:18px }
  .category-header-icon svg{ width:28px; height:28px }
  .category-header-desc{ font-size:16px }
}

/* ============================================================
   Dish Row Card (horizontal, mobile-optimized)
   ============================================================ */
.dishes-list{
  width:min(100% - 32px, 1120px);
  margin:0 auto;
  display:flex; flex-direction:column;
  gap:22px;
  padding-bottom:40px;
}
.dishes-group{
  display:flex; flex-direction:column;
  gap:22px;
}
.dishes-group + .dishes-group{ margin-top:22px }
.dish-row{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:14px;
  padding:12px;
  min-height:116px;
  background:var(--surface);
  border:1px solid var(--border-soft);
  border-radius:22px;
  box-shadow:var(--shadow-card);
  transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position:relative;
  align-items:center;
}
.dish-row-body{ text-align:right }
.dish-row:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
  border-color:color-mix(in srgb, var(--brand-primary) 25%, var(--border));
}
.dish-row-img{
  width:92px; height:92px;
  border-radius:18px;
  overflow:hidden;
  background:var(--surface-muted);
  position:relative;
  flex-shrink:0;
}
.dish-row-img img{ width:100%; height:100%; object-fit:cover }
.dish-row-img-placeholder{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-soft);
}
.dish-row-img-placeholder svg{ width:40%; height:40% }
.dish-row-badges{
  position:absolute; top:8px; left:8px;
  display:flex; flex-direction:column; gap:4px;
  z-index:2;
}
.dish-row-body{
  display:flex; flex-direction:column;
  gap:6px;
  min-width:0;
  text-align:right;
}
.dish-row-name{
  font-size:16px; font-weight:900;
  color:var(--text-main);
  margin:0;
  line-height:1.45;
}
.dish-row-desc{
  font-size:13px;
  color:var(--text-muted);
  margin:0;
  line-height:1.65;
  display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.dish-row-price{
  font-size:16px; font-weight:900;
  color:var(--brand-primary);
  margin-top:6px;
  font-family:'DM Sans','Inter',system-ui,sans-serif;
}
.dish-row-price-unit{ font-size:13px; font-weight:700; margin-inline-start:2px }

/* Unavailable state */
.dish-row.is-unavailable{
  background:var(--surface-muted);
  border-style:dashed;
}
.dish-row.is-unavailable .dish-row-img{ opacity:.55 }
.dish-row.is-unavailable .dish-row-name,
.dish-row.is-unavailable .dish-row-desc,
.dish-row.is-unavailable .dish-row-price{
  color:var(--text-muted);
}
.dish-row .unavailable-tag{
  position:absolute; bottom:12px; left:12px;
  background:#fff;
  color:var(--text-muted);
  border:1px solid var(--border);
  font-size:11.5px; font-weight:700;
  padding:5px 10px; border-radius:999px;
}

@media (min-width:769px){
  .dishes-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
  }
}
@media (min-width:1024px){
  .dishes-list{ grid-template-columns:repeat(2, 1fr) }
}

/* ============================================================
   About section (من نحن)
   ============================================================ */
.about-section{
  padding:40px 0 24px;
  background:var(--app-bg);
}
.about-section-inner{
  width:min(100% - 32px, 1120px);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:center;
}
.about-section-image{
  width:100%;
  border-radius:24px;
  overflow:hidden;
  background:var(--surface-muted);
  aspect-ratio:16 / 10;
}
.about-section-image img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.about-section-body{
  text-align:right;
}
.about-section-title{
  font-size:26px; font-weight:900;
  color:var(--text-main);
  margin:0 0 10px;
  display:inline-flex; align-items:center; gap:10px;
  line-height:1.5;
  padding-block-start:2px;
}
.about-section-title::before{
  content:""; display:inline-block;
  width:5px; height:28px; border-radius:999px;
  background:var(--brand-primary);
}
.about-section-subtitle{
  font-size:18px; font-weight:800;
  color:var(--text-main);
  margin:0 0 10px;
  line-height:1.4;
}
.about-section-text{
  font-size:15px; line-height:1.85;
  color:var(--text-muted);
  margin:0;
  white-space:pre-line;
}
@media (min-width:769px){
  .about-section{ padding:64px 0 32px }
  .about-section-inner{
    grid-template-columns:1fr 1.2fr;
    gap:32px;
  }
  .about-section-title{ font-size:34px }
  .about-section-title::before{ height:38px }
  .about-section-subtitle{ font-size:22px; margin-bottom:14px }
  .about-section-text{ font-size:16px }
}

/* ============================================================
   Price pills (SYP / USD) — framed badges on dish + featured cards
   ============================================================ */
.price-pills{
  display:flex; flex-wrap:wrap; gap:6px;
  margin-top:8px;
}
.price-pill{
  display:inline-flex; align-items:center;
  gap:4px;
  height:32px; padding:0 12px;
  border-radius:999px;
  font-family:'DM Sans','Inter',system-ui,sans-serif;
  font-size:14.5px; font-weight:900;
  line-height:1;
  letter-spacing:.2px;
  white-space:nowrap;
}
.price-pill-unit{
  font-size:11px; font-weight:800;
  opacity:.85;
}
.price-pill--syp{
  background:var(--brand-soft);
  color:var(--brand-strong);
  border:1px solid color-mix(in srgb, var(--brand-primary) 32%, transparent);
}
.price-pill--usd{
  background:color-mix(in srgb, var(--success, #16A34A) 12%, white);
  color:#0F6B2E;
  border:1px solid color-mix(in srgb, var(--success, #16A34A) 32%, transparent);
}

/* Text selection uses tenant brand */
.menu-body::selection,
.menu-body *::selection{
  background:var(--brand-primary);
  color:#fff;
}

/* ============================================================
   Contact section (Home page)
   ============================================================ */
.contact-section{
  padding:30px 0 20px;
  background:var(--app-bg-soft);
  margin-top:14px;
}
.contact-section-head{
  width:min(100% - 32px, 1120px);
  margin:0 auto 22px;
  text-align:center;
}
.contact-section-title{
  font-size:22px; font-weight:900;
  color:var(--text-main);
  display:inline-flex; flex-direction:column;
  align-items:center; gap:6px;
  margin:0;
}
.contact-section-title::after{
  content:""; display:block;
  width:60px; height:3px; border-radius:3px;
  background:var(--brand-primary);
}
.contact-grid{
  width:min(100% - 32px, 1120px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.contact-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:20px;
  padding:16px;
  text-align:right;
  box-shadow:var(--shadow-card);
  transition:transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display:flex; flex-direction:column;
  gap:6px;
  color:inherit;
}
.contact-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
  border-color:color-mix(in srgb, var(--brand-primary) 28%, var(--border));
}
.contact-card-head{
  display:flex; align-items:center;
  gap:10px;
  margin-bottom:2px;
}
.contact-card-ico{
  width:40px; height:40px;
  border-radius:12px;
  background:var(--brand-soft);
  color:var(--brand-primary);
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-card-ico svg{ width:22px; height:22px }
.contact-card--whatsapp .contact-card-ico{
  background:color-mix(in srgb, var(--whatsapp) 14%, white);
  color:var(--whatsapp);
}
.contact-card-label{
  font-size:15px; font-weight:800;
  color:var(--text-main);
}
.contact-card-value{
  font-size:13px;
  color:var(--text-muted);
  margin:0;
  line-height:1.6;
  word-break:break-word;
}
.contact-card-link{
  font-size:14.5px; font-weight:800;
  color:var(--brand-primary);
  margin-top:10px;
  letter-spacing:.02em;
  display:inline-block;
  transition:opacity var(--transition-fast);
}
.contact-card-link:hover{ opacity:.78 }
.contact-card--whatsapp .contact-card-link{ color:var(--whatsapp) }

@media (min-width:769px){
  .contact-grid{
    grid-template-columns:repeat(4, 1fr);
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  padding:22px 0 30px;
  background:var(--app-bg-soft);
  text-align:center;
}
.site-footer-inner{
  width:min(100% - 32px, 1120px);
  margin:0 auto;
}
.site-footer-socials{
  display:flex; gap:14px; justify-content:center;
  margin-bottom:14px;
}
.site-footer-socials a{
  width:40px; height:40px; border-radius:50%;
  background:var(--surface); color:var(--text-muted);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border-soft);
  transition:color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.site-footer-socials a:hover{
  color:var(--brand-primary);
  border-color:var(--brand-primary);
  transform:translateY(-2px);
}
.site-footer-socials a svg{ width:18px; height:18px }
.site-footer-name{
  font-size:13.5px; font-weight:800;
  color:var(--text-main);
  margin:0 0 4px;
  line-height:1.5;
}
.site-footer-copy{
  font-size:12.5px; color:var(--text-muted);
  margin:0 0 18px;
}
.site-footer-copy-icon{
  display:inline-block;
  width:16px; height:16px;
  border-radius:50%;
  border:1.5px solid currentColor;
  color:var(--text-muted);
  font-size:11px; font-weight:800;
  line-height:13px;
  text-align:center;
  margin-inline-end:4px;
  vertical-align:-2px;
  font-family:'DM Sans',sans-serif;
}
.site-footer-attribution{
  font-size:10.5px;
  color:var(--text-soft);
  margin:0;
  line-height:1.5;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.site-footer-attribution strong{
  color:var(--text-main);
  font-weight:900;
  letter-spacing:.2px;
}
.site-footer-attribution a{
  color:var(--brand-primary);
  font-weight:800;
  transition:opacity var(--transition-fast);
}
.site-footer-attribution a:hover{ opacity:.78 }
.site-footer-links{
  display:flex; justify-content:center; gap:14px;
  font-size:12.5px; color:var(--text-muted);
}
.site-footer-links a{ transition:color var(--transition-fast) }
.site-footer-links a:hover{ color:var(--brand-primary) }
.site-footer-links span{ opacity:.4 }

/* ============================================================
   Floating buttons (WhatsApp + Scroll-to-top)
   ============================================================ */
.floating-whatsapp-btn{
  position:fixed;
  left:16px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:60;
  width:54px; height:54px;
  border-radius:50%;
  background:var(--whatsapp);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px rgba(37,211,102,.4);
  transition:box-shadow var(--transition-fast);
  animation:pulse-whatsapp 2.5s infinite, float-wa-y 2.6s ease-in-out infinite;
}
.floating-whatsapp-btn:hover{
  box-shadow:0 18px 36px rgba(37,211,102,.55);
  animation-play-state:paused;
}
.floating-whatsapp-btn svg{
  width:30px; height:30px;
  fill:currentColor; stroke:none;
}

@keyframes pulse-whatsapp{
  0%   { box-shadow:0 0 0 0 rgba(37,211,102,.5), 0 14px 30px rgba(37,211,102,.4) }
  70%  { box-shadow:0 0 0 14px rgba(37,211,102,0), 0 14px 30px rgba(37,211,102,.4) }
  100% { box-shadow:0 0 0 0 rgba(37,211,102,0),   0 14px 30px rgba(37,211,102,.4) }
}
@keyframes float-wa-y{
  0%, 100% { transform:translateY(0) }
  50%      { transform:translateY(-8px) }
}

.scroll-top-btn{
  position:fixed;
  right:16px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:60;
  width:50px; height:50px;
  border-radius:50%;
  background:var(--brand-primary);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px rgba(31,27,22,.22);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity var(--transition-base), transform var(--transition-base), background var(--transition-base);
  border:0;
}
.scroll-top-btn.is-visible{
  opacity:1; visibility:visible; transform:translateY(0);
}
.scroll-top-btn:hover{ background:var(--brand-strong); transform:translateY(-4px) }
.scroll-top-btn svg{ width:22px; height:22px }

/* ============================================================
   Dish Lightbox — opens on dish click
   ============================================================ */
.dish-row{ cursor:pointer }
.dish-lightbox{
  position:fixed; inset:0;
  z-index:100;
  display:none;
  align-items:center; justify-content:center;
  padding:20px;
}
.dish-lightbox.is-open{ display:flex }
.dish-lightbox-backdrop{
  position:absolute; inset:0;
  background:rgba(31,27,22,.74);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  animation:lightbox-fade .3s ease-out;
}
.dish-lightbox-card{
  position:relative;
  background:var(--surface);
  border-radius:28px;
  padding:50px 22px 22px;
  max-width:360px;
  width:100%;
  text-align:center;
  z-index:1;
  animation:lightbox-pop .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow:0 30px 60px rgba(0,0,0,.35);
}
.dish-lightbox-close{
  position:absolute;
  top:14px; left:14px;
  width:36px; height:36px;
  border-radius:50%;
  background:var(--surface-muted);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-main);
  border:0; cursor:pointer;
  transition:background var(--transition-fast), transform var(--transition-fast);
}
.dish-lightbox-close:hover{ background:var(--border); transform:rotate(90deg) }
.dish-lightbox-close svg{ width:18px; height:18px }
.dish-lightbox-image-frame{
  position:relative;
  width:200px; height:200px;
  margin:14px auto 22px;
  border-radius:50%;
}
.dish-lightbox-image-frame img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
  border:5px solid var(--surface);
  box-shadow:0 14px 30px rgba(31,27,22,.18);
}
.dish-lightbox-image-placeholder{
  width:100%; height:100%;
  border-radius:50%;
  background:var(--surface-muted);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-soft);
}
.dish-lightbox-arrows{
  position:absolute;
  inset:-32px;
  pointer-events:none;
  animation:lightbox-arrows-spin 8s linear infinite;
}
.lightbox-arrow{
  position:absolute;
  width:30px; height:30px;
  color:var(--brand-primary);
}
.lightbox-arrow--top    { top:0;    left:50%; transform:translateX(-50%); }
.lightbox-arrow--right  { right:0;  top:50%;  transform:translateY(-50%); }
.lightbox-arrow--bottom { bottom:0; left:50%; transform:translateX(-50%) rotate(180deg); }
.lightbox-arrow--left   { left:0;   top:50%;  transform:translateY(-50%) rotate(180deg); }

.dish-lightbox-name{
  font-size:22px; font-weight:900;
  color:var(--text-main);
  margin:0 0 8px;
  line-height:1.3;
}
.dish-lightbox-desc{
  font-size:14px; color:var(--text-muted);
  margin:0 0 14px;
  line-height:1.85;
  text-align:justify;
  text-align-last:center;
  hyphens:auto;
  word-spacing:0;
}
.dish-lightbox-price{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  font-size:22px; font-weight:900;
  color:var(--brand-primary);
}
.dish-lightbox-price-unit{ font-size:14px; font-weight:700; margin-inline-start:2px }
.dish-lightbox-badges{
  display:flex; gap:6px; justify-content:center;
  flex-wrap:wrap; margin-bottom:10px;
}

@keyframes lightbox-fade{
  from{ opacity:0 } to{ opacity:1 }
}
@keyframes lightbox-pop{
  from{ opacity:0; transform:scale(.86); }
  to{ opacity:1; transform:scale(1); }
}
@keyframes lightbox-arrows-spin{
  from{ transform:rotate(0); }
  to  { transform:rotate(360deg); }
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal{
  opacity:0;
  transform:translate3d(0,18px,0) scale(.98);
  transition:opacity .35s ease-out, transform .35s ease-out;
  will-change:opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
/* Cards live inside horizontal carousels; isolate their motion */
.featured-scroll{ contain:layout paint }
.featured-card{ contain:layout paint }

/* When users prefer less motion, disable animations */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; transform:none }
  .category-item.is-active::after{ display:none }
}

/* ============================================================
   Empty States
   ============================================================ */
.menu-empty{
  width:min(100% - 32px, 600px);
  margin:40px auto;
  text-align:center;
  padding:36px 20px;
  background:var(--surface-muted);
  border:1px dashed var(--border);
  border-radius:22px;
  color:var(--text-muted);
}
.menu-empty svg{
  width:48px; height:48px;
  margin:0 auto 14px;
  opacity:.6;
}
.menu-empty-title{
  font-size:15px; font-weight:800;
  color:var(--text-main);
  margin:0 0 6px;
}
.menu-empty-text{
  font-size:13px; margin:0;
}

/* ============================================================
   Hidden helper
   ============================================================ */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}
