/* Restaurant layer — warm, editorial, mobile first. Loaded after app.css. */
:root { --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Naskh Arabic", serif; --cream: #FBF6EE; --ember-glow: color-mix(in srgb, var(--brand) 10%, transparent); }
body { background: var(--cream); }
h1, h2, h3, .brand .bname b, .dish-title, .big-hours { font-family: var(--font-head); }
h1, h2 { font-weight: 700; letter-spacing: -.01em; }
.alt { font-size: .85rem; color: var(--muted); font-weight: 500; }
html[dir=rtl] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif; }
html[dir=rtl] h1, html[dir=rtl] h2, html[dir=rtl] h3 { font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", serif; letter-spacing: 0; }

/* header */
.topbar { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); }
.topbar .wrap { flex-wrap: nowrap; min-height: 64px; gap: 10px; }
.brand { flex: 1 1 auto; }
.brand .mark { background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--sun); }
.brand .bname small.status { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .72rem; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; flex: none; }
.status.is-open i { background: #2E9E5B; box-shadow: 0 0 0 3px rgba(46,158,91,.2); }
.status.is-closed i { background: #C2412D; }
.iconbtn, .langbtn, .cart-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .85rem; border: 1px solid var(--line); background: var(--paper); padding: 0 10px; }
.langbtn { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; }
.cart-btn { background: var(--brand); color: #fff; border-color: var(--brand); position: relative; padding: 0 14px; }
.cart-btn .badge-count { position: static; background: var(--sun); color: var(--ink); }
.table-bar { background: var(--ink); color: #fff; font-size: .85rem; padding: 8px 16px; display: flex; justify-content: center; gap: 14px; align-items: center; flex-wrap: wrap; }
.table-bar svg { vertical-align: -3px; } .table-bar .linkbtn { color: var(--sun); }
.announce { font-size: .85rem; }

/* tabbar + cart bar */
.tabbar { background: color-mix(in srgb, var(--paper) 96%, transparent); }
.tabbar a[aria-current="page"] { color: var(--brand); }
.tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--brand); }
.cartbar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 30px rgba(33,26,23,.35); animation: rise .3s ease; }
.cartbar .cb-n { min-width: 28px; height: 28px; border-radius: 8px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: .85rem; }
.cartbar .cb-l { flex: 1; } .cartbar .cb-p { font-variant-numeric: tabular-nums; }
body.has-cartbar { padding-bottom: calc(var(--tabbar-h) + 80px + env(safe-area-inset-bottom)); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* buttons */
.btn { border-radius: 999px; }
.btn-lg { border-radius: 999px; }
.btn-primary { box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-primary:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 40%, transparent); }

/* hero */
.resto-hero { background: radial-gradient(1200px 400px at 85% -20%, var(--ember-glow), transparent), var(--cream); padding: 28px 0 8px; position: relative; overflow: hidden; }
.resto-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 4l6 14 14 6-14 6-6 14-6-14-14-6 14-6z' fill='none' stroke='%23C9A24B' stroke-opacity='.18'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); }
.resto-hero .hero-grid { position: relative; z-index: 1; display: grid; gap: 22px; }
.resto-hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.05; }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
html[dir=rtl] .eyebrow { letter-spacing: 0; text-transform: none; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #C2412D; } .live.on { background: #2E9E5B; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(46,158,91,.0); } 0% { box-shadow: 0 0 0 0 rgba(46,158,91,.5); } }
.hero-proof { margin-top: 16px; display: flex; gap: 8px; align-items: center; } .stars { color: var(--sun); letter-spacing: 2px; }
.otype-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 18px 40px rgba(33,26,23,.08); }
.otype-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.otype-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface); padding: 4px; border-radius: 999px; margin-bottom: 14px; }
.otype-tabs button { border: 0; background: none; font: inherit; font-weight: 700; font-size: .85rem; padding: 10px 6px; border-radius: 999px; cursor: pointer; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; }
.otype-tabs button.on { background: var(--brand); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); }
.facts { display: grid; grid-auto-flow: column; gap: 8px; margin-bottom: 14px; }
.fact { background: var(--surface); border-radius: 14px; padding: 10px 12px; } .fact b { display: block; font-size: 1rem; } .fact span { font-size: .75rem; color: var(--muted); }

/* sections, tiles */
.section { padding: 22px 0; }
.section-head h2 { font-size: 1.5rem; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-align: center; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile .img { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.cat-tile .img svg { width: 26px; height: 26px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.panel.dark { background: var(--ink); color: #fff; border: 0; } .panel.dark h2 { color: #fff; }
.panel h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; } .big-hours { font-size: 1.7rem; margin: 0 0 4px; }
.visit-grid { display: grid; gap: 12px; }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; min-width: 260px; max-width: 300px; scroll-snap-align: start; }
.quote blockquote { margin: 6px 0 10px; font-family: var(--font-head); font-size: 1rem; } .quote figcaption { font-size: .8rem; color: var(--muted); }
.scroller.reviews > * { flex: 0 0 280px; }

/* dish cards */
.dcard { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .2s, transform .2s; }
.dcard:hover { box-shadow: var(--shadow); }
.dcard .media { display: block; aspect-ratio: 4/3; background: var(--surface); position: relative; overflow: hidden; }
.dcard .media img { width: 100%; height: 100%; object-fit: cover; }
.dcard .media.no-photo { background: linear-gradient(135deg, var(--brand-soft), var(--sun-soft)); display: grid; place-items: center; aspect-ratio: 16/7; }
.dcard .ph { color: color-mix(in srgb, var(--brand) 55%, transparent); }
.dcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dcard .name { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.25; }
.dcard .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dcard .price { font-weight: 800; font-variant-numeric: tabular-nums; } .dcard .price .was { text-decoration: line-through; color: var(--muted); font-weight: 500; font-size: .8rem; margin-inline-end: 4px; } .from { font-size: .72rem; font-weight: 600; color: var(--muted); }
.dcard .tag { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .72rem; padding: 3px 9px; border-radius: 999px; z-index: 2; }
.dcard .tag.out { background: var(--ink); color: #fff; }
.dcard.is-out { opacity: .65; }
.dcard .heart { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; }
.add-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; text-decoration: none; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); transition: transform .12s; }
.add-btn:active { transform: scale(.9); } .add-btn.added { background: #2E9E5B; }
.bdgs { display: flex; flex-wrap: wrap; gap: 4px; min-height: 0; }
.bdg { display: inline-flex; align-items: center; gap: 3px; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.bdg.hot { background: var(--sun-soft); color: #7a5a10; } .bdg.diet { background: #E5F3EA; color: #1c6a3b; } .bdg.spice { background: #FCE8E2; color: #B3321B; }
.scroller > .dcard { min-width: 200px; max-width: 220px; flex: 0 0 auto; scroll-snap-align: start; }

/* menu page */
.menu-top { background: var(--cream); position: sticky; top: 64px; z-index: 30; border-bottom: 1px solid var(--line); }
.menu-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.menu-head h1 { font-size: 1.7rem; margin: 0; } .menu-head p { margin: 0; font-size: .9rem; }
.menu-search { position: relative; flex: 1 1 220px; max-width: 360px; } .menu-search svg { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.menu-search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 16px; padding-inline-start: 40px; font: inherit; }
.menu-filters { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; } .menu-filters::-webkit-scrollbar, .menu-tabs .wrap::-webkit-scrollbar { display: none; }
.fchip { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; color: var(--ink); }
.fchip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 10px; scrollbar-width: none; }
.menu-tabs a { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; text-decoration: none; color: var(--muted); }
.menu-tabs a.on { background: var(--brand); color: #fff; }
.menu-body { padding-top: 8px; padding-bottom: 40px; }
.msec { padding-top: 22px; scroll-margin-top: 190px; }
.msec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; } .msec-head h2 { margin: 0; font-size: 1.45rem; }
.menu-grid { display: grid; gap: 10px; }
.menu-grid .dcard { flex-direction: row-reverse; align-items: stretch; }
.menu-grid .dcard .media { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; }
.menu-grid .dcard .media.no-photo { aspect-ratio: auto; background: linear-gradient(135deg, var(--brand-soft), var(--sun-soft)); }
.menu-grid .dcard .media.no-photo .ph svg { width: 30px; height: 30px; }
.menu-grid .dcard .body { padding: 12px 14px; }
.menu-grid .dcard .tag { inset-inline-start: auto; inset-inline-end: 6px; top: 6px; font-size: .65rem; }
.menu-grid .dcard .heart { display: none; }
.mitem[hidden] { display: none; }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20,12,8,.55); animation: fade .2s; }
.sheet { position: relative; background: var(--paper); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; animation: sheet-up .28s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet-hero { position: relative; height: 56px; } .sheet-hero img { width: 100%; height: 200px; object-fit: cover; } .sheet-hero:has(img) { height: 200px; }
.sheet-x { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 3; }
body.sheet-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
.dish-form { padding-bottom: 8px; } .sheet .dish-form > * { margin-inline: 18px; } .sheet .dish-form > .sheet-hero { margin: 0; }
.dish-head { padding: 4px 0 8px; } .dish-title { font-size: 1.6rem; margin: 6px 0 2px; } .dish-desc { margin: 8px 0; }
.dish-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); } .dish-meta svg { vertical-align: -3px; }
.allergens { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.optgroup { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.optgroup legend { font-weight: 800; padding: 0; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; width: 100%; }
.req { font-style: normal; font-size: .68rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); padding: 2px 8px; border-radius: 999px; } .req.opt-l { background: var(--surface); color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; cursor: pointer; background: var(--paper); transition: border-color .12s, background .12s; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9bfb3; flex: none; display: grid; place-items: center; } .opt.is-check .mark { border-radius: 6px; }
.opt input:checked + .mark { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px var(--paper); } .opt.is-check input:checked + .mark { box-shadow: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt:has(input:focus-visible) { outline: 3px solid var(--sun); }
.opt.out { opacity: .5; } .opt-name { flex: 1; font-weight: 600; } .opt-price { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: .9rem; }
.optgroup.invalid legend { color: var(--danger); }
.note-field { margin-top: 16px; } .note-field textarea { border-radius: 12px; }
.dish-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; position: sticky; bottom: 0; background: var(--paper); padding-block: 12px; border-top: 1px solid var(--line); }
.dish-actions .btn { flex: 1; } .sep { opacity: .5; margin-inline: 4px; }
.qty { border-radius: 999px; } .qty button { border-radius: 50%; }

/* checkout/cart bits */
.tchip { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.tchip.t-dinein { background: #E6EEF9; color: #234a8a; } .tchip.t-pickup { background: #E5F3EA; color: #1c6a3b; } .tchip.t-delivery { background: var(--sun-soft); color: #7a5a10; }
.otype-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.otype-pick .tile { flex-direction: column; text-align: center; padding: 14px 6px; gap: 6px; }
.tip-row { display: flex; gap: 8px; flex-wrap: wrap; } .tip-row label { cursor: pointer; } .tip-row input { position: absolute; opacity: 0; }
.tip-row span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; background: var(--paper); }
.tip-row input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.line-note { font-size: .8rem; color: var(--muted); } .mods { font-size: .82rem; color: var(--muted); margin: 2px 0; }
.upsell { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; } .upsell .dcard { min-width: 170px; }
.pill.ready, .pill.preparing, .pill.served { background: var(--sun-soft); color: #7a5a10; }

/* reservation */
.reserve-wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 40px; }
.times { display: flex; flex-wrap: wrap; gap: 8px; } .times label { cursor: pointer; } .times input { position: absolute; opacity: 0; }
.times span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; background: var(--paper); font-variant-numeric: tabular-nums; }
.times input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.times input:disabled + span { opacity: .4; text-decoration: line-through; }
.ticket { background: var(--paper); border: 1px dashed var(--sun); border-radius: 22px; padding: 22px; text-align: center; }
.ticket .code { font-family: ui-monospace, monospace; font-size: 1.6rem; font-weight: 800; letter-spacing: .12em; color: var(--brand); }

/* RTL */
html[dir=rtl] .search svg, html[dir=rtl] .menu-search svg { left: auto; }
html[dir=rtl] .add-btn svg[data-flip], html[dir=rtl] .flip { transform: scaleX(-1); }
html[dir=rtl] .num, html[dir=rtl] .price, html[dir=rtl] .opt-price, html[dir=rtl] .cb-p { direction: ltr; unicode-bidi: isolate; }

@media (min-width: 640px) {
  .cat-tiles { grid-template-columns: repeat(7, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .sheet-wrap { align-items: center; } .sheet { border-radius: 24px; max-height: 88vh; }
}
@media (min-width: 960px) {
  .resto-hero { padding: 56px 0 32px; } .resto-hero .hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); } .menu-top { top: 72px; }
  .cartbar { left: auto; right: 24px; bottom: 24px; width: 340px; } html[dir=rtl] .cartbar { right: auto; left: 24px; }
  body.has-cartbar { padding-bottom: 90px; }
  .scroller > .dcard { min-width: 230px; }
}
@media (prefers-reduced-motion: reduce) { .cartbar, .sheet, .sheet-backdrop, .live { animation: none; } }
@media print { .cartbar, .table-bar { display: none !important; } }

/* header on phones */
.brand .bname b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.brand .bname small.status { white-space: nowrap; }
.brand .bname small.status .sub { display: none; }
.cur-form { display: none; }
.cart-btn svg, .iconbtn svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 720px) { .brand .bname small.status .sub { display: inline; } .cur-form { display: block; } }

/* Add-to-order button: never clip text, even in Arabic on narrow phones */
[data-v-add]{min-width:0;white-space:nowrap;padding-inline:14px;gap:6px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
@media (max-width:420px){[data-v-add]{font-size:15px;padding-inline:10px}}

/* Live delivery map */
.livemap .lm-canvas{height:340px;background:#efe9e1;position:relative}
.livemap .lm-wait{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted,#6b625c);font-weight:600;padding:20px;text-align:center}
.livemap .lm-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--line,#e8dfd5);font-weight:700}
.livemap .lm-bar .btn{margin-inline-start:auto}
.livemap .lm-dot{width:10px;height:10px;border-radius:50%;background:#1F7A4D;box-shadow:0 0 0 0 rgba(31,122,77,.6);animation:lmp 1.6s infinite}
@keyframes lmp{70%{box-shadow:0 0 0 10px rgba(31,122,77,0)}100%{box-shadow:0 0 0 0 rgba(31,122,77,0)}}
@media(max-width:600px){.livemap .lm-canvas{height:300px}}

/* Language & currency popover */
.lc{position:relative;flex:none}
.lc>summary{list-style:none;cursor:pointer;gap:6px;width:auto;padding:0 12px}
.lc>summary::-webkit-details-marker{display:none}
.lc-cur{font-size:12px;font-weight:800;letter-spacing:.02em}
.lc-pop{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:260px;max-height:70vh;overflow:auto;background:#fff;border:1px solid var(--line,#e8dfd5);border-radius:16px;box-shadow:0 18px 40px rgba(33,26,23,.18);padding:10px;z-index:80}
.lc-h{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#6b625c);padding:8px 8px 4px}
.lc-list{display:grid;gap:2px}
.lc-list a,.lc-list button{display:flex;align-items:center;gap:8px;justify-content:space-between;text-align:start;padding:10px 12px;border:0;background:transparent;border-radius:10px;font:inherit;font-weight:600;color:inherit;cursor:pointer;text-decoration:none}
.lc-list a:hover,.lc-list button:hover{background:var(--brand-soft,#f6e7e2)}
.lc-list .on{background:var(--brand-soft,#f6e7e2);color:var(--brand,#9A2F1A);font-weight:800}
.lc-list button small{color:var(--muted,#6b625c);font-weight:500;margin-inline-end:auto;margin-inline-start:6px}
@media(max-width:520px){.lc-cur{display:none}.lc>summary{padding:0;width:44px}.lc-pop{position:fixed;inset-inline:12px;top:70px;width:auto}}

/* ===== Dish cards v2: full-bleed photo, soft rounded corners, no empty gaps ===== */
.dcard { border-radius: 22px; border-color: color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 1px 2px rgba(33,26,23,.04), 0 8px 24px -12px rgba(33,26,23,.18); background: var(--paper); }
.dcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(33,26,23,.05), 0 18px 34px -14px rgba(33,26,23,.28); }
.dcard .media { margin: 8px 8px 0; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--surface); isolation: isolate; }
.dcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.dcard:hover .media img { transform: scale(1.06); }
.dcard .media .shade { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(20,12,8,.28), transparent); pointer-events: none; }
.dcard .media.no-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-soft), var(--sun-soft)); }
.dcard .media.no-photo .ph svg { width: 40px; height: 40px; }
.dcard .body { padding: 12px 14px 14px; }
.dcard .name { font-size: 1.02rem; }
.dcard .tag { top: 16px; inset-inline-start: 16px; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.dcard .heart { top: 16px; inset-inline-end: 16px; background: rgba(255,255,255,.92); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.14); }
.dcard .bdgs { margin-bottom: 2px; }
.dcard .add-btn { width: 42px; height: 42px; box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.dcard .price { font-size: 1.05rem; color: var(--ink); }
.scroller > .dcard { min-width: 224px; max-width: 244px; }
/* menu list rows: photo on the side, rounded and flush */
.menu-grid .dcard { border-radius: 20px; padding: 8px; gap: 12px; }
.menu-grid .dcard .media { margin: 0; flex: 0 0 112px; min-height: 112px; border-radius: 14px; }
.menu-grid .dcard .media.no-photo { flex-basis: 112px; }
.menu-grid .dcard .shade { display: none; }
.menu-grid .dcard .body { padding: 4px 6px 4px 2px; }
.menu-grid .dcard:hover { transform: none; }
/* dish sheet and dish page hero photos */
.sheet .hero-photo, .dish-hero, .gallery .main { border-radius: 18px; overflow: hidden; }
.sheet img.dish-img, .dish-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .main { aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(33,26,23,.4); background: var(--surface); }
.gallery .main img { object-fit: cover; object-position: center 40%; background: transparent; }
.gallery .thumbs img, .gallery .thumb img { object-fit: cover; border-radius: 12px; }

/* Carousels: real flex rows so cards never overlap or leave gaps */
.scroller { display: flex; grid-auto-flow: unset; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; margin-inline: -2px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > .dcard { flex: 0 0 clamp(208px, 56vw, 244px); width: clamp(208px, 56vw, 244px); min-width: 0; max-width: none; height: auto; scroll-snap-align: start; }
.scroller.reviews > * { flex: 0 0 min(300px, 82vw); }
@media (min-width: 900px) { .scroller > .dcard { flex-basis: 248px; width: 248px; } }

/* ===== Guests say: designed review cards ===== */
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rev-sum { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; box-shadow: 0 6px 16px -10px rgba(33,26,23,.3); }
.rev-sum b { font-family: var(--font-head); font-size: 1.35rem; line-height: 1; }
.rev-sum .stars { font-size: .95rem; letter-spacing: 1px; } .rev-sum small { color: var(--muted); font-weight: 600; }
.quote { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 20px 18px 16px; min-width: 0; max-width: none; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--brand-soft) 40%, var(--paper))); box-shadow: 0 1px 2px rgba(33,26,23,.04), 0 12px 28px -16px rgba(33,26,23,.28); overflow: hidden; }
.quote .qmark { position: absolute; top: -6px; inset-inline-end: 14px; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: color-mix(in srgb, var(--brand) 16%, transparent); pointer-events: none; }
.quote .stars { font-size: 1.05rem; letter-spacing: 2px; color: #F2A81D; } .quote .stars .off { color: color-mix(in srgb, var(--muted) 35%, transparent); }
.quote blockquote { margin: 0; font-family: var(--font-body, inherit); font-size: .98rem; line-height: 1.55; font-weight: 500; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.quote .av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); box-shadow: 0 6px 12px -6px var(--brand); }
.quote .who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.quote .who b { font-size: .92rem; } .quote .who a { font-size: .8rem; color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scroller.reviews > .quote { flex: 0 0 min(300px, 84vw); scroll-snap-align: start; }
@media (min-width: 900px) { .scroller.reviews > .quote { flex-basis: 340px; } }

/* Booking banner: brand colours instead of a flat dark block */
.panel.dark { position: relative; overflow: hidden; border-radius: 24px; padding: 22px;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 70%, #fff 8%) 0%, color-mix(in srgb, var(--brand) 82%, #000) 55%, color-mix(in srgb, var(--brand) 55%, #000) 100%);
  box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--brand) 80%, #000); }
.panel.dark::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; inset-inline-end: -60px; bottom: -70px; background: rgba(255,255,255,.08); }
.panel.dark > * { position: relative; z-index: 1; }
.panel.dark p { color: rgba(255,255,255,.85); }
.panel.dark .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }

/* ---- Slider (v3): cards per view follow the screen, arrows + dots + swipe ---- */
.slider { position: relative; --gap: 14px; }
.slider .scroller { --per: 1.25; gap: var(--gap); scroll-snap-type: x mandatory; scroll-behavior: auto; cursor: grab; outline: none; padding: 4px 2px 8px; margin-inline: 0; scroll-padding-inline: 2px; }
.slider .scroller.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider .scroller > .dcard,
.slider .scroller.reviews > .quote {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  width: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; max-width: none; scroll-snap-align: start;
}
.slider .scroller.reviews { --per: 1.1; }
@media (min-width: 480px) { .slider .scroller { --per: 2.2; } .slider .scroller.reviews { --per: 1.6; } }
@media (min-width: 720px) { .slider .scroller { --per: 3; } .slider .scroller.reviews { --per: 2; } }
@media (min-width: 1000px) { .slider .scroller { --per: 4; } .slider .scroller.reviews { --per: 3; } }
@media (min-width: 1360px) { .slider .scroller { --per: 5; } }
.sl-btn { position: absolute; top: calc(50% - 34px); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line, #e8dfd5); background: #fff; color: var(--ink, #221b17); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.16); cursor: pointer; transition: opacity .2s, transform .15s, background .15s; }
.sl-btn:hover { background: var(--brand, #0E7A5F); color: #fff; border-color: transparent; transform: scale(1.06); }
.sl-btn:disabled { opacity: 0; pointer-events: none; }
.sl-prev { inset-inline-start: -12px; } .sl-next { inset-inline-end: -12px; }
.sl-dots { display: flex; justify-content: center; gap: 7px; margin-top: 2px; }
.sl-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d9cfc4; cursor: pointer; transition: width .25s, background .25s; }
.sl-dots button.on { width: 24px; background: var(--brand, #0E7A5F); }
.slider.sl-off .sl-btn, .slider.sl-off .sl-dots { display: none; }
@media (hover: none), (max-width: 719px) { .sl-btn { display: none; } }
@media (min-width: 720px) and (max-width: 1100px) { .sl-prev { inset-inline-start: -6px; } .sl-next { inset-inline-end: -6px; } }
.slider .scroller { padding-bottom: 22px; margin-bottom: -14px; }
.sl-dots { position: relative; z-index: 2; }

/* ---- Promo banner effects (Admin -> Settings -> Home page) ---- */
.promo-track[data-effect="slide"] { scroll-snap-type: x mandatory; }
.promo-track[data-effect="fade"], .promo-track[data-effect="zoom"] { display: grid; overflow: hidden; scroll-snap-type: none; gap: 0; touch-action: pan-y; }
.promo-track[data-effect="fade"] > .promo, .promo-track[data-effect="zoom"] > .promo { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--spd, 700ms) ease, transform var(--spd, 700ms) ease, visibility 0s linear var(--spd, 700ms); }
.promo-track[data-effect="zoom"] > .promo { transform: scale(1.06); }
.promo-track[data-effect="fade"] > .promo.is-active, .promo-track[data-effect="zoom"] > .promo.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .promo-track > .promo { transition-duration: .01ms !important; } }
