/* Pepenero — menu view: sticky chrome + the bistro list (single skin,
   photo thumbs + tap-to-open lightbox ported from the BESH engine). */

/* ---------- dish photo lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(12, 12, 11, .9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .22s ease; }
.lightbox-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 78%;
  max-width: 420px;
  transform: scale(.92);
  transition: transform .22s ease-out;
}
.lightbox.open .lightbox-card { transform: scale(1); }
.lightbox img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  touch-action: none;
  cursor: zoom-in;
}
.lightbox-caption {
  color: #f4f4f2;
  text-align: center;
}
.lightbox-caption .lc-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .2px;
}
.lightbox-caption .lc-price {
  margin-top: 3px;
  font-size: 13px;
  color: #c9c9c4;
  letter-spacing: .4px;
}
.lightbox-caption .lc-desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #b9b9b4;
}

.chipbar {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 16px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #8f8f8b;
  padding: 9px 4px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
.chip.active { border-bottom-color: var(--ink); color: var(--ink); }

/* ---------- content shell ---------- */
.mroot { padding: 6px 0 92px; }
.sec { scroll-margin-top: calc(76px + env(safe-area-inset-top, 0px)); }
@media (min-width: 768px) { .sec { scroll-margin-top: 122px; } }

/* ---------- bistro 2: dense text rows with dotted leaders ---------- */
.bhead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 18px 6px;
}
.bhead .cat-en {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3.8px;
  color: var(--ink);
}
.bhead .cat-ar {
  font-family: var(--arabic);
  direction: rtl;
  font-size: 12.5px;
  font-weight: 500;
  color: #5a5a56;
  margin-left: auto;
}
.brule {
  height: 1px;
  margin: 0 18px 4px;
  background: linear-gradient(90deg, var(--rule), rgba(0, 0, 0, .05));
}

.brow {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 18px;
  border-bottom: 1px solid var(--row-line);
}
/* round plate thumbnails, tap to open the dish lightbox */
.bthumb {
  flex: none;
  width: 77px;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: transform .15s ease;
}
.bthumb:active { transform: scale(.9); }
.bthumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.binfo { flex: 1; min-width: 0; }
.bline { display: flex; align-items: baseline; gap: 7px; }
.bline .iname {
  flex: none;
  max-width: 70%;
  font-family: var(--serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1.4;
}
.bline .dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted #b9b9b4;
  transform: translateY(-3px);
}
.bline .bprice {
  flex: none;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .4px;
}
.speciale {
  font-family: var(--script);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.1;
}
/* Arabic sits under the Latin line, left-aligned like the printed layout */
.iname-ar {
  font-family: var(--arabic);
  direction: rtl;
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  color: #444444;
  margin-top: 2px;
  line-height: 1.5;
}
.desc { font-size: 10.5px; font-weight: 300; color: var(--soft); line-height: 1.42; margin-top: 2px; }
.desc-ar {
  font-family: var(--arabic);
  direction: rtl;
  text-align: left;
  font-size: 9.5px;
  color: var(--soft);
  line-height: 1.6;
  margin-top: 2px;
}

/* section footnotes (e.g. weekend-only buffet) */
.snote {
  text-align: center;
  font-size: 9.5px;
  font-weight: 300;
  color: var(--muted);
  margin: 14px 28px 0;
  letter-spacing: .4px;
}

/* ---------- footer ---------- */
.mfoot { text-align: center; padding: 26px 24px 10px; }
.mfoot .orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 22px;
}
.mfoot .orn::before, .mfoot .orn::after {
  content: "";
  height: 1px;
  width: 74px;
  background: linear-gradient(90deg, transparent, var(--rule));
}
.mfoot .orn::after { background: linear-gradient(90deg, var(--rule), transparent); }
.mfoot .orn span { width: 6px; height: 6px; transform: rotate(45deg); background: var(--ink); }
.mfoot > img { height: 42px; width: auto; margin: 0 auto 12px; mix-blend-mode: multiply; opacity: .92; }
.mfoot .fasting-en { font-size: 10px; letter-spacing: .4px; color: #4a4a46; }
.mfoot .fasting-ar { font-family: var(--arabic); direction: rtl; font-size: 9.5px; color: #4a4a46; margin-top: 2px; }
.mfoot .fen { margin-top: 10px; font-size: 10px; font-weight: 300; letter-spacing: .6px; color: var(--soft); text-transform: uppercase; }
.mfoot .far { font-family: var(--arabic); direction: rtl; font-size: 9.5px; color: var(--soft); margin-top: 3px; }

/* ---------- hero header layout (operator-published via TYBL_DESIGN) ---------- */
.mhero { position: relative; flex: none; height: 190px; overflow: hidden; }
.mhero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255, 253, 249, 1) 0%, rgba(255, 253, 249, 0) 55%); }

/* ---------- owner-portal decorations: tag chips + corner badges ---------- */
.tagrow { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 5px; }
.tagc {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; letter-spacing: .02em; line-height: 1.2;
  color: rgba(59, 51, 39, .68);
  border: 1px solid rgba(59, 51, 39, .16); border-radius: 999px;
  padding: 2px 8px; background: rgba(255, 255, 255, .35);
}
.tagc .temo { font-size: 11px; line-height: 1; }
.tagc .tsym {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 13px; height: 13px; padding: 0 2px;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 8px; line-height: 1; letter-spacing: .04em;
}
.ibadge {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  color: #fff; font-size: 10px; font-weight: 600;
  letter-spacing: .05em; line-height: 1.3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}
.ibadge-slant { transform: rotate(-6deg); }
/* "No box" badges: text only. */
.ibadge-nobox { padding: 2px 0; box-shadow: none; }
.bline .ibadge { flex: none; margin-right: 6px; }
