/* =============================================
   RIZK RESTAURANT — STYLES
   ============================================= */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* =============================================
   SPLASH LOADER
   ============================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1A0505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 500ms ease, visibility 500ms ease;
}
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-spinner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 1.4s linear infinite;
}

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

.splash-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  animation: splash-pulse 1.4s ease-in-out infinite;
}

@keyframes splash-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(.94); opacity: .85; }
}

.splash-name {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}
.splash-sub {
  font-family: 'Cairo', sans-serif;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
}

@media (prefers-reduced-motion: reduce) {
  .splash-spinner { animation: none; }
  .splash-logo    { animation: none; }
}

:root {
  --primary:     #DC2626;
  --primary-dk:  #B91C1C;
  --primary-lt:  #FEE2E2;
  --accent:      #CA8A04;
  --accent-lt:   #FEF9C3;
  --bg:          #FFF7F2;
  --bg-card:     #FFFFFF;
  --text:        #1A0505;
  --text-muted:  #6B4242;
  --border:      #F3D5D5;
  --shadow-sm:   0 2px 8px rgba(220,38,38,.08);
  --shadow-md:   0 8px 24px rgba(220,38,38,.12);
  --shadow-lg:   0 20px 48px rgba(220,38,38,.16);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --transition:  150ms ease;
  --header-h:    72px;
  --bottom-nav:  64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}


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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,247,242,.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.5px;
}
.logo-sub {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}

/* SEARCH */
.search-wrap {
  flex: 1;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
#search-input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: right;
}
#search-input::placeholder { color: var(--text-muted); }
#search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.search-clear {
  position: absolute;
  left: 12px;
  top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border: none;
  background: var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.search-clear svg { width: 14px; height: 14px; color: var(--text-muted); }
.search-clear:hover { background: var(--primary-lt); }

/* CART BUTTON */
.cart-btn {
  position: relative;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: none;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.cart-btn svg { width: 20px; height: 20px; color: #fff; }
.cart-btn:hover { background: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-count {
  position: absolute;
  top: -6px; left: -6px;
  min-width: 20px; height: 20px;
  padding: 0 4px;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 300ms cubic-bezier(.34,1.56,.64,1);
}
.cart-count.bump { transform: scale(1.4); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0505 0%, #450a0a 60%, #7f1d1d 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(202,138,4,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(220,38,38,.25) 0%, transparent 50%);
  pointer-events: none;
}

/* decorative dots */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(202,138,4,.2);
  border: 1px solid rgba(202,138,4,.4);
  color: #FCD34D;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(.9rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,.65);
  margin-bottom: 32px;
  letter-spacing: .04em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(220,38,38,.4);
}
.hero-cta:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,38,38,.5);
}

/* =============================================
   CATEGORY NAV
   ============================================= */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255,247,242,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cat-nav-inner {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 200ms ease;
}
.cat-btn .cat-emoji { font-size: 1rem; }
.cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lt);
}
.cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(220,38,38,.3);
}

/* =============================================
   NO RESULTS
   ============================================= */
.no-results {
  text-align: center;
  padding: 80px 24px;
}
.no-results svg {
  width: 56px; height: 56px;
  color: var(--border);
  margin: 0 auto 16px;
  display: block;
}
.no-results p { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.no-results span { font-size: .9rem; color: #bbb; }

/* =============================================
   MENU SECTIONS
   ============================================= */
#menu {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}

.menu-section {
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.menu-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.section-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220,38,38,.3);
}
.section-icon svg { width: 24px; height: 24px; color: #fff; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--text);
}
.section-count {
  margin-right: auto;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--primary-lt);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
}

/* SUBSECTIONS (e.g. chicken shawarma / meat shawarma) */
.subsection {
  margin-bottom: 32px;
}
.subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--primary-lt);
  border-radius: var(--radius-sm);
  border-right: 4px solid var(--primary);
  display: inline-block;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ITEM CARD */
.item-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
}
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.item-card:focus-within {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.card-img-wrap {
  height: 160px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--accent-lt) 100%);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.item-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-img-wrap .img-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.card-img-wrap img.loaded + .img-fallback { display: none; }

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-name-ar {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.card-name-en {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* SIZE VARIANTS */
.card-variants {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 120ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.variant-row:hover {
  background: var(--primary-lt);
  border-color: var(--primary);
}
.variant-row:active { transform: scale(.97); }
.variant-row .variant-add {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  transition: background 180ms ease, transform 150ms ease;
}
.variant-row:hover .variant-add { background: var(--primary-dk); transform: scale(1.1); }
.variant-row.added {
  background: var(--primary);
  border-color: var(--primary);
}
.variant-row.added .variant-label,
.variant-row.added .variant-price { color: #fff; }
.variant-row.added .variant-add {
  background: rgba(255,255,255,.3);
}
.variant-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.variant-price {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  direction: ltr;
  unicode-bidi: embed;
}

/* SINGLE PRICE */
.card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  direction: ltr;
  unicode-bidi: embed;
}

/* ADD BUTTON */
.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--primary-dk); transform: scale(1.02); }
.add-btn:active { transform: scale(.97); }

/* HIGHLIGHT MATCHES */
mark {
  background: rgba(202,138,4,.25);
  color: var(--text);
  border-radius: 3px;
  padding: 0 2px;
}

/* =============================================
   TOAST RIBBON
   ============================================= */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1A0505;
  color: #fff;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  min-width: 240px;
  max-width: 340px;
  width: max-content;
  border-right: 4px solid #25D366;
  transition: transform 380ms cubic-bezier(.34,1.56,.64,1), opacity 280ms ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.toast-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.toast-title {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}
.toast-sub {
  font-size: .72rem;
  color: #25D366;
  font-weight: 600;
}
.toast-check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: #25D366;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 400ms ease 200ms;
}
.toast.show .toast-check {
  stroke-dashoffset: 0;
}

/* =============================================
   CART OVERLAY
   ============================================= */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,5,5,.5);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* =============================================
   CART DRAWER
   ============================================= */
.cart-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform 350ms cubic-bezier(.32,.72,0,1);
  box-shadow: 0 -8px 48px rgba(0,0,0,.18);
}
.cart-drawer.open { transform: translateY(0); }

@media (min-width: 768px) {
  .cart-drawer {
    /* RTL-safe: anchor to the left edge, slide in from left */
    left: 0;
    right: auto;
    width: 420px;
    top: 0; bottom: 0;
    max-height: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    /* use Y-axis trick to stay RTL-neutral: hide off-screen left */
    transform: translateX(-100%);
    transition: transform 350ms cubic-bezier(.32,.72,0,1);
  }
  .cart-drawer.open { transform: translateX(0); }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
}
.cart-header h2 { font-size: 1.2rem; font-weight: 900; }
.cart-close {
  width: 36px; height: 36px;
  border: none; background: var(--primary-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.cart-close svg { width: 16px; height: 16px; color: var(--primary); }
.cart-close:hover { background: var(--primary); }
.cart-close:hover svg { color: #fff; }

.cart-empty {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
}
.cart-empty svg { width: 56px; height: 56px; color: var(--border); }
.cart-empty p { font-size: 1rem; font-weight: 700; }
.cart-empty span { font-size: .85rem; color: #bbb; }

.cart-items {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding: 12px 0;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  transition: background var(--transition);
}
.cart-item:hover { background: var(--bg); }
.ci-emoji {
  width: 44px; height: 44px;
  background: var(--primary-lt);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: .9rem; font-weight: 700; line-height: 1.2; }
.ci-size { font-size: .75rem; color: var(--text-muted); }
.ci-price { font-size: .95rem; font-weight: 800; color: var(--primary); flex-shrink: 0; direction: ltr; unicode-bidi: embed; }
.ci-qty {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.qty-btn {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--text);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.qty-num { font-size: .9rem; font-weight: 700; min-width: 20px; text-align: center; }

.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1.5px solid var(--border);
  flex-shrink: 0;
}
.cart-total {
  display: flex; justify-content: space-between;
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 14px;
}
#cart-total { color: var(--primary); font-size: 1.15rem; direction: ltr; unicode-bidi: embed; }

.checkout-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-family: inherit;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.checkout-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.checkout-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.cart-note { text-align: center; font-size: .75rem; color: var(--text-muted); margin-top: 10px; }

/* =============================================
   BOTTOM NAV (MOBILE)
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav);
  background: rgba(255,247,242,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 55;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}

.bnav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 600;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color var(--transition);
  position: relative;
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item:hover { color: var(--primary); }
.bnav-cart { color: var(--primary); }

.bnav-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 22px);
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #1A0505;
  color: rgba(255,255,255,.8);
  margin-bottom: var(--bottom-nav);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-brand {
  display: flex; align-items: flex-start; gap: 12px;
}
.footer-brand .logo-icon { flex-shrink: 0; }
.footer-brand p { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.55); }
.footer-contact p { font-size: .85rem; margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--transition);
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover { color: var(--primary); }
.footer-hours { font-size: .85rem; }
.footer-hours p { color: rgba(255,255,255,.55); margin-bottom: 4px; }
.footer-hours strong { font-size: 1.1rem; color: var(--accent); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.footer-powered a { color: var(--accent); text-decoration: none; font-weight: 600; }
.footer-powered a:hover { text-decoration: underline; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
  .search-wrap { max-width: none; }
  .logo-sub { display: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-name-ar { font-size: .9rem; }
  .section-title { font-size: 1.3rem; }
}

@media (min-width: 768px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .site-footer { margin-bottom: 0; }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .menu-section { opacity: 1; transform: none; }
}
