/* ════════════════════════════════════════════
   Public Menu — Jedo-style theme
   ════════════════════════════════════════════ */

.menu-body {
  --bg: #a87b5d;
  --bg-overlay: rgba(45, 24, 16, 0.55);
  --bg-tint: rgba(168, 123, 93, 0.55);
  --primary: #889892;
  --primary-dark: #6d7d78;
  --dark: #2d1810;
  --clay: #c4854a;
  --clay-light: #d4a373;
  --footer-bg: #3b1f12;
  --footer-text: #d4b8a0;
  --footer-muted: #f0e4d8;
  --surface: #ffffff;
  --text-on-bg: #ffffff;
  --text-sub-on-bg: #f4e7d8;
  --card-bg: #2a1a14;
  --radius-card: 16px;
  --max-w: 1100px;
  --splash-size: 160px;
}

/* ── Background photo + light tint ── */
.menu-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../background.jpg') center center / cover no-repeat fixed;
}
.menu-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(45, 24, 16, 0.38) 0%,
      rgba(168, 123, 93, 0.52) 50%,
      rgba(45, 24, 16, 0.62) 100%
    );
}

.menu-body {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  background: transparent;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.menu-body .font-display,
.menu-body .font-display * {
  font-family: 'Aref Ruqaa', 'IBM Plex Sans Arabic', serif;
}

/* ── Page ── */
.menu-body .page {
  max-width: none;
  margin: 0;
  background: transparent;
  min-height: 100dvh;
  position: relative;
  z-index: 2;
}

.page-inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  transform: scale(1);
  transform-origin: 50% 35%;
  transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.page-inner.splash-zoom {
  transform: scale(1.06);
}

/* ── Splash ── */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.splash-overlay.done {
  display: none;
}
.splash-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-tint);
  backdrop-filter: blur(2px);
  opacity: 1;
  transition: opacity 800ms ease-out;
}
.splash-overlay.animating .splash-bg,
.splash-overlay.done .splash-bg {
  opacity: 0;
}
.splash-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--splash-size);
  height: var(--splash-size);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transform-origin: top left;
  will-change: transform;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 20px 8px;
  background: rgba(45, 24, 16, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 133, 74, 0.22);
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  direction: ltr;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.header-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-brand img.splash-hidden {
  visibility: hidden;
}
.header-name {
  font-size: 1.25rem;
  color: var(--footer-muted);
  line-height: 1;
  display: none;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  direction: rtl;
}
.header-search i {
  color: rgba(45, 24, 16, 0.55);
  font-size: 16px;
  flex-shrink: 0;
}
.header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--dark);
  font-family: inherit;
}
.header-search input::placeholder {
  color: rgba(45, 24, 16, 0.45);
}
.header-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--footer-muted);
  font-size: 20px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.header-menu-btn:hover {
  background: rgba(196, 133, 74, 0.25);
}

/* ── Babylonian ornaments ── */
.babylon-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  opacity: 0.85;
}
.babylon-ornament::before,
.babylon-ornament::after {
  content: '';
  flex: 1;
  max-width: 72px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--clay) 0 5px,
    transparent 5px 9px
  );
  opacity: 0.75;
}
.babylon-ornament span {
  color: var(--clay-light);
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.babylon-ornament::before {
  background: repeating-linear-gradient(
    -90deg,
    var(--clay) 0 5px,
    transparent 5px 9px
  );
}
/* ── Hero ── */
.hero-banner {
  padding: 4px 20px 0;
}
.hero-banner-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--card-bg);
  border: 1px solid rgba(196, 133, 74, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(212, 163, 115, 0.12);
}
.hero-banner-inner::after {
  content: '𒉿';
  position: absolute;
  bottom: 48px;
  inset-inline-end: 6%;
  inset-inline-start: auto;
  font-size: 22px;
  color: rgba(212, 163, 115, 0.45);
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.cat-section-title::after {
  content: '◆';
  display: block;
  font-size: 10px;
  color: var(--clay-light);
  opacity: 0.55;
  margin-top: 8px;
  letter-spacing: 0.5em;
}
.hero-banner-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5c3d2e, #2a1a14);
}
.hero-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(290deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.45) 100%);
}
.hero-banner-text {
  position: absolute;
  top: 50%;
  transform: translateY(-58%);
  inset-inline-start: 6%;
  inset-inline-end: auto;
  color: #fff;
  text-align: right;
}
.hero-eyebrow {
  font-size: clamp(13px, 2.5vw, 18px);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.hero-browse-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  padding: 8px 28px;
  border-radius: 999px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.hero-browse-btn:hover {
  background: #fff;
  color: var(--dark);
}
@media (min-width: 640px) {
  .hero-browse-btn { bottom: 20px; padding: 10px 28px; font-size: 14px; }
}

/* ── Section headings ── */
.featured-section {
  margin-top: 40px;
}
.section-head-center {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-on-bg);
}
.section-head-center h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}
.section-head-center p {
  font-size: clamp(12px, 2vw, 14px);
  color: var(--text-sub-on-bg);
  margin-top: 6px;
}
.cat-section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-on-bg);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
}

/* ── Category grid ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

.cat-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: 1px solid rgba(196, 133, 74, 0.2);
  padding: 0;
  font-family: inherit;
  transition: transform 0.15s;
}
.cat-tile:active { transform: scale(0.97); }
.cat-tile.active {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, opacity 0.3s ease;
}
.cat-tile img.lazy-img { opacity: 0; }
.cat-tile img.lazy-img.is-loaded { opacity: 1; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cat-tile-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 32px 8px 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.cat-tile-skel {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, 0.12);
  animation: menuPulse 1.6s ease-in-out infinite;
}

/* ── Products ── */
.menu-section {
  margin-top: 40px;
  padding-bottom: 32px;
}
.cat-products-block + .cat-products-block {
  margin-top: 48px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.j-product-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background: var(--card-bg);
  transition: box-shadow 0.2s, transform 0.15s;
}
.j-product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.j-product-card:active { transform: scale(0.98); }
.j-product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.j-product-card img.lazy-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.j-product-card img.lazy-img.is-loaded {
  opacity: 1;
}
.j-product-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 40px;
}
.j-product-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 48px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  color: #fff;
}
.j-product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.j-product-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.j-price-pill {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  font-variant-numeric: tabular-nums;
}
.j-cart-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  z-index: 2;
}
.j-cart-badge i { font-size: 11px; }
.j-quick-add {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  font-size: 14px;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.j-quick-add:hover { transform: scale(1.08); }
.j-unavail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border-radius: var(--radius-card);
}
.j-unavail-overlay span {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.prod-skeleton-card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  background: rgba(0, 0, 0, 0.12);
  animation: menuPulse 1.6s ease-in-out infinite;
}

.prods-empty {
  padding: 64px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}
.prods-empty i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.5;
  display: block;
}
.prods-empty-title { font-size: 15px; font-weight: 600; }
.prods-empty-sub { font-size: 13px; margin-top: 6px; opacity: 0.8; }

/* ── Footer ── */
.site-footer {
  margin-top: 56px;
  border-top: 2px solid rgba(196, 133, 74, 0.3);
  background: linear-gradient(180deg, rgba(59, 31, 18, 0.97) 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  padding: 36px 20px 20px;
}
.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-footer-inner::before {
  content: '𒀭 𒊩𒌆 𒆠';
  display: block;
  text-align: center;
  font-size: 13px;
  color: rgba(196, 133, 74, 0.35);
  letter-spacing: 0.35em;
  margin-bottom: 24px;
}
.footer-social {
  text-align: center;
  margin-bottom: 36px;
}
.footer-social h4,
.footer-info h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--footer-text);
  font-size: 20px;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.footer-info {
  text-align: center;
}
.footer-info-list {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  font-size: 14px;
  color: rgba(240, 228, 216, 0.85);
}
.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-info-row i {
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.55;
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(240, 228, 216, 0.55);
  text-align: center;
}
.footer-dev {
  direction: ltr;
  letter-spacing: 0.02em;
}
.footer-dev a {
  color: rgba(240, 228, 216, 0.85);
  font-weight: 500;
}
.footer-dev a:hover { color: #fff; }

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Drawer (jedo style) ── */
.menu-body .drawer {
  width: 85%;
  max-width: 340px;
  right: -110%;
  border-left: none;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
}
.menu-body .drawer.open { right: 0; }
.menu-body .drawer-overlay { background: rgba(0, 0, 0, 0.5); }

.drawer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.drawer-topbar h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.drawer-topbar button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #6b7280;
  display: grid;
  place-items: center;
}
.drawer-topbar button:hover { background: #f3f4f6; }

.menu-body .drawer-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}
.menu-body .drawer-section-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.drawer-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-cat-item button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  color: #374151;
  transition: background 0.15s, color 0.15s;
}
.drawer-cat-item button.active {
  background: var(--primary);
  color: #fff;
}
.drawer-cat-thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.drawer-cat-thumb-fallback {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
}
.drawer-cat-item button.active .drawer-cat-thumb-fallback {
  background: rgba(255, 255, 255, 0.25);
}

.menu-body .drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}
.menu-body .drawer-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.menu-body .drawer-item-icon.wa {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}
.menu-body .drawer-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 16px 0;
}
.menu-body .drawer-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 4px 8px;
}
.menu-body .social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.15s;
}
.menu-body .social-btn:hover { transform: scale(1.08); }

/* ── FABs ── */
.menu-body .fabs {
  left: auto;
  right: 16px;
  bottom: 24px;
}
.menu-body .fab-cart {
  background: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.menu-body .fab-cart-badge {
  color: var(--primary);
  border-color: var(--primary);
}

/* ── Modals theme overrides ── */
.menu-body #productOverlay.modal-overlay {
  align-items: flex-end;
  padding: 0;
}
@media (min-width: 640px) {
  .menu-body #productOverlay.modal-overlay {
    align-items: center;
    padding: 16px;
  }
}

.menu-body .j-product-modal.product-sheet {
  width: 100%;
  max-width: 520px;
  height: auto !important;
  max-height: 94dvh;
  background: #f8f0e8;
  border-radius: 20px 20px 0 0;
  border-top: 3px solid var(--clay);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .3s cubic-bezier(.4, 0, .2, 1);
}
.menu-body .section-label-bar.accent {
  background: linear-gradient(to bottom, var(--clay), #a86b38);
}
@media (min-width: 640px) {
  .menu-body .j-product-modal.product-sheet {
    border-radius: 20px;
    max-height: 90dvh;
  }
}

.menu-body .j-modal-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.menu-body .j-modal-scroll::-webkit-scrollbar { width: 0; }

.menu-body .j-modal-images-wrap {
  position: relative;
  background: #1a100c;
}
.menu-body .j-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.15s, transform 0.15s;
}
.menu-body .j-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.menu-body .product-images-section {
  position: relative;
  height: auto !important;
  min-height: 0;
  flex-shrink: 0;
  overflow: visible;
  background: #1a100c;
  direction: ltr;
}

.menu-body .j-modal-images-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.menu-body .j-modal-img-wrap {
  position: relative;
  width: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a100c;
  overflow: hidden;
}
.menu-body .j-modal-img-wrap.is-loaded {
  min-height: 0;
}

.menu-body .j-modal-img-full {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain !important;
  object-position: center;
  display: block;
  vertical-align: top;
}

@media (min-width: 640px) {
  .menu-body .j-modal-img-full {
    max-height: min(75dvh, 900px);
  }
}

.menu-body .img-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #1a100c 8%, #2a1810 18%, #1a100c 33%);
  background-size: 200% 100%;
  animation: img-shimmer 1.2s linear infinite;
}
.menu-body .j-modal-img-wrap .img-loader {
  min-height: 160px;
}
@keyframes img-shimmer {
  to { background-position-x: -200%; }
}

.menu-body .product-image-dots {
  display: none !important;
}
.menu-body .product-img-placeholder {
  width: 100%;
  min-height: 200px;
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(196, 133, 74, 0.35);
  font-size: 48px;
  background: #1a100c;
}
.menu-body .product-img-placeholder span {
  font-size: 14px;
  color: rgba(240, 228, 216, 0.6);
}

.menu-body .j-modal-body {
  padding: 20px 20px 8px;
  background: #f8f0e8;
}
.menu-body .j-modal-ornament {
  margin-bottom: 8px;
}
.menu-body .j-modal-ornament::before,
.menu-body .j-modal-ornament::after {
  max-width: 48px;
}
.menu-body .j-modal-ornament span {
  color: var(--clay);
  text-shadow: none;
}
.menu-body .j-modal-divider {
  background: rgba(196, 133, 74, 0.25);
  margin: 16px 0;
}
.menu-body .product-detail-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
.menu-body .j-modal-add-bar {
  background: #f8f0e8;
  border-top: 1px solid rgba(196, 133, 74, 0.2);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.menu-body .btn-add-to-cart {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.menu-body .product-sheet {
  border-top-color: var(--primary);
  max-width: 520px;
}
.menu-body .product-price-badge,
.menu-body .product-avail-badge.available {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 25%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.menu-body .avail-dot.green { background: var(--primary); }
.menu-body .btn-add-to-cart,
.menu-body .btn-send-order,
.menu-body .btn-browse-menu,
.menu-body .btn-primary {
  background: var(--primary);
}
.menu-body .btn-add-to-cart:hover,
.menu-body .btn-send-order:hover,
.menu-body .btn-primary:hover {
  background: var(--primary-dark);
}
.menu-body .qty-btn.qty-plus { background: var(--primary); }
.menu-body .section-label-bar.primary {
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
}
.menu-body .confirm-total-box {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary) 18%, transparent);
}
.menu-body .confirm-total-val,
.menu-body .confirm-info-row i,
.menu-body .cart-total-price {
  color: var(--primary);
}
.menu-body .cart-icon-wrap { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.menu-body .img-dot.active { background: var(--primary); }

/* ── Toast ── */
.menu-body .toast {
  background: var(--dark);
  bottom: 100px;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .header-name { display: inline; }
}
@media (min-width: 521px) {
  .menu-body .page { border: none; }
  .menu-body .fabs { right: max(16px, calc(50% - 260px)); }
  .menu-body .cart-sheet,
  .menu-body .product-sheet {
    border-left: none;
    border-right: none;
  }
}

@keyframes menuPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
