/* Al Bait Al Shami – restaurant menu */
.bsm {
  --m-ink: #231A14; --m-ink2: #4F4238; --m-muted: #6B5B4D; --m-cream: #F7F1E6; --m-sand: #EFE5D3;
  --m-line: #E4D8C4; --m-orange: #F05223; --m-rust: #B5381A;
  color: var(--m-ink); font-size: 16px; line-height: 1.6;
}
.bsm *, .bsm *::before, .bsm *::after { box-sizing: border-box; }
.bsm h2 { margin: 0; }

/* sticky section bar */
.bsm-bar {
  position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: var(--m-cream); padding: 14px 0; border-bottom: 1px solid var(--m-line); margin-bottom: 40px;
}
body.admin-bar .bsm-bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bsm-bar { top: 0; } }
.bsm-cats { flex: 1 1 520px; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-behavior: smooth; }
.bsm-cats::-webkit-scrollbar { display: none; }
.bsm-cats a {
  flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid #CDBFA9; color: var(--m-ink);
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; background: #fff;
}
.bsm-cats a:hover { border-color: var(--m-ink); color: var(--m-ink); }
.bsm-cats a.is-on { background: var(--m-ink); color: var(--m-cream); border-color: var(--m-ink); }
.bsm-search { flex: 0 1 280px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #CDBFA9; border-radius: 999px; padding: 0 16px; min-height: 46px; color: var(--m-muted); }
.bsm-search:focus-within { outline: 2px solid var(--m-orange); outline-offset: 1px; }
.bsm-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--m-ink); width: 100%; min-height: 44px; }
.bsm .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .bsm-search { flex: 1 1 100%; } .bsm-bar { margin-bottom: 28px; } }

/* sections */
.bsm-sec { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; padding: 8px 0 56px; scroll-margin-top: 96px; }
.bsm-sec.no-img { grid-template-columns: minmax(0, 1fr); }
.bsm-photo { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #EADFCC; }
.bsm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .bsm-sec { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 44px; }
  .bsm-photo { position: static; aspect-ratio: 16 / 9; border-radius: 22px; }
}
.bsm-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--m-ink); }
.bsm-head h2 { font-family: var(--bs-display, Amiri, serif); font-size: clamp(30px, 4vw, 40px); line-height: 1.2; }
.bsm-head span { color: var(--m-rust); font-weight: 600; font-size: 15px; }

/* items */
.bsm-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
@media (max-width: 1100px) { .bsm-items { grid-template-columns: minmax(0, 1fr); } }
.bsm-item { padding: 14px 0; border-bottom: 1px dashed var(--m-line); break-inside: avoid; }
.bsm-row { display: flex; align-items: baseline; gap: 10px; }
.bsm-name { font-size: 17px; font-weight: 700; line-height: 1.4; }
.bsm-dots { flex: 1; min-width: 16px; border-bottom: 2px dotted #CDBFA9; transform: translateY(-4px); }
.bsm-price { white-space: nowrap; color: var(--m-rust); }
.bsm-price b, .bsm-sizes b { font-size: 17px; font-weight: 700; }
.bsm-cur { font-size: 13px; color: var(--m-muted); }
.bsm-alt { display: block; font-size: 13px; color: var(--m-muted); margin-top: 2px; }
.bsm-desc { margin: 4px 0 0; font-size: 14px; color: var(--m-ink2); }
.bsm-sizes { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bsm-sizes li { display: inline-flex; align-items: baseline; gap: 8px; background: var(--m-sand); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--m-ink2); }
.bsm-sizes b { color: var(--m-rust); }
.bsm-note { margin: 18px 0 0; background: #fff; border-radius: 16px; padding: 14px 18px; font-size: 14px; color: var(--m-ink2); }

/* quotes */
.bsm-quote { margin: 0 auto 56px; max-width: 760px; text-align: center; padding: 28px 16px; position: relative; }
.bsm-quote::before, .bsm-quote::after { content: ""; display: block; width: 64px; height: 2px; background: var(--m-orange); margin: 0 auto; }
.bsm-quote blockquote { margin: 18px 0 8px; font-family: var(--bs-display, Amiri, serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.6; color: var(--m-ink); }
.bsm-quote figcaption { color: var(--m-rust); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.bsm-quote figcaption::before { content: "— "; }

.bsm-empty { text-align: center; padding: 40px 16px; color: var(--m-muted); font-size: 17px; }
.bsm-foot { text-align: center; color: var(--m-muted); font-size: 14px; margin: 8px 0 0; }

/* while searching, hide decorations */
.bsm.is-searching .bsm-quote, .bsm.is-searching .bsm-photo { display: none; }
.bsm.is-searching .bsm-sec { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
.bsm-num { unicode-bidi: isolate; }
.bsm-cats { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(to left, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); padding-inline: 8px; }
