body { background: var(--green-900); color: var(--on-dark); min-height: 100svh; }
body[data-view="landing"] { background: var(--green-900); }
svg:not(.mark) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] svg.dir { transform: scaleX(-1); }
:lang(ar) body, :lang(ar) .item-desc, :lang(ar) .detail-desc { line-height: 1.7; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 64px; padding: 0 16px; position: relative; z-index: 2; }
.page .topbar { position: sticky; top: 0; background: var(--green-900); border-bottom: 1px solid var(--line-dark); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); }
.brand .mark { height: 38px; width: auto; }
.brand .wordmark { font-size: 15px; }
.brand .wordmark i { font-style: normal; margin: 0 0.1em 0 -0.12em; }
.topbar-title { flex: 1; margin: 0 4px; font: 500 22px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-hi); background: var(--green-900); text-decoration: none; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--line-dark); background: var(--green-900); color: var(--on-dark); font: 600 13px/1 var(--sans); letter-spacing: 0.04em; cursor: pointer; }
.lang-btn svg { width: 18px; height: 18px; color: var(--gold-hi); }

.landing { position: relative; overflow: hidden; padding-bottom: 8px; }
.landing-plate { position: absolute; top: -34px; inset-inline-end: -128px; width: 430px; height: auto; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }
.welcome { position: relative; z-index: 1; padding: 0 20px; margin-top: 196px; }
.table-no { margin: 0; font: 500 88px/0.92 var(--serif); letter-spacing: -0.015em; color: var(--on-dark); text-shadow: 0 2px 18px rgba(13, 25, 18, 0.7); }
.table-no b { font-weight: 500; color: var(--gold-hi); }
.place { margin: 14px 0 0; font-size: 15px; color: var(--on-dark-2); }
.lang-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 22px 0 16px; padding: 14px 0; border-block: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-2); }
.lang-line b { color: var(--on-dark); font-weight: 600; }
.link { margin-inline-start: auto; padding: 4px 0; border: 0; background: none; color: var(--gold-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: var(--r); font: 600 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-hi); color: var(--gold-ink); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.7); }
.btn-gold:hover { background: #d6b47d; }
.btn-line { border: 1px solid var(--gold-soft); color: var(--on-dark); background: transparent; }
.btn-line svg { color: var(--gold-hi); }
.btn-line.dark { color: var(--ink); border-color: var(--line); width: 100%; margin-top: 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tile { display: grid; gap: 2px; align-content: start; padding: 14px; border: 1px solid var(--line-dark); border-radius: var(--r); text-decoration: none; transition: border-color 0.2s var(--ease); }
.tile:hover { border-color: var(--gold-soft); }
.tile svg { width: 22px; height: 22px; color: var(--gold-hi); margin-bottom: 8px; }
.tile b { font-size: 15px; font-weight: 600; }
.tile small { font-size: 12.5px; color: var(--on-dark-2); overflow-wrap: anywhere; }

.via-rule { position: relative; height: 1px; margin: 30px 20px 26px; background: var(--line-dark); }
.via-rule i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 6px var(--green-900); }
.review { padding: 0 20px 6px; }
.review h2 { margin: 0; font: 500 30px/1.1 var(--serif); }
.review > p { margin: 6px 0 14px; font-size: 15px; color: var(--on-dark-2); }
.review-actions { display: grid; gap: 10px; }
.inert-note { margin: 10px 0 0; font-size: 12px; color: var(--on-dark-2); text-align: center; }

.draft-banner { margin: 12px 16px 0; padding: 10px 12px; border: 1px dashed var(--gold-soft); border-radius: 8px; font-size: 13px; line-height: 1.45; color: var(--on-dark-2); }
.draft-banner b { color: var(--gold-hi); font-weight: 600; margin-inline-end: 4px; }
.fine { margin: 0; padding: 14px 20px; font-size: 12.5px; color: var(--on-dark-2); }
.fine.strong { color: var(--gold-hi); padding-bottom: 0; }
.fine.dark { padding: 10px 0 0; color: var(--ink-2); }

.cats, .items { list-style: none; margin: 0; padding: 6px 16px; }
.cats li + li, .items li + li { border-top: 1px solid var(--line-dark); }
.cat-row { display: grid; grid-template-columns: 112px 1fr 20px; gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; }
.cat-photo { width: 112px; height: 84px; border-radius: 8px; object-fit: cover; }
.cat-text { display: grid; gap: 2px; }
.cat-text b { font: 500 22px/1.12 var(--serif); }
.cat-text small { font-size: 13px; color: var(--on-dark-2); }
.cat-row > svg { color: var(--gold-hi); }
.cat-row.promo .cat-text b { font-style: italic; color: var(--gold-hi); }

.chips { position: sticky; top: 64px; z-index: 1; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--green-900); border-bottom: 1px solid var(--line-dark); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--on-dark-2); }
.chip.on { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--gold-ink); font-weight: 600; }

.item-row { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: start; padding: 14px 0; text-decoration: none; }
.item-photo { width: 104px; height: 78px; border-radius: 8px; object-fit: cover; }
.item-text { display: grid; min-width: 0; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.item-name { font: 500 20px/1.15 var(--serif); }
.price { font: 600 15px/1.2 var(--sans); color: var(--gold-hi); white-space: nowrap; }
.item-orig { margin-top: 2px; font: italic 400 14px/1.3 var(--serif); color: var(--on-dark-2); }
.item-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--on-dark-2); }
.item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.item-tags:empty { display: none; }
.item-tags span { padding: 2px 8px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 12px; color: var(--on-dark-2); }
.item-tags .warn { color: var(--gold-hi); border-color: var(--gold-soft); }

.nophoto { display: grid; place-content: center; justify-items: center; gap: 6px; background: var(--green-850); border: 1px dashed var(--line-dark); color: var(--gold); text-align: center; }
.nophoto span { font-size: 12px; color: var(--on-dark-2); }
.cat-photo.nophoto span { display: none; }
.item-photo.nophoto span { font-size: 10.5px; line-height: 1.2; padding: 0 6px; }
.item-photo.nophoto svg { width: 20px; height: 20px; }
.nophoto svg { width: 26px; height: 26px; }

.detail-photo { position: relative; aspect-ratio: 4 / 3; background: var(--green-900); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.nophoto { border: 0; }
.hero-photo.nophoto svg { width: 44px; height: 44px; }
.float { position: absolute; top: 14px; inset-inline-start: 14px; }
.float-lang { position: absolute; top: 16px; inset-inline-end: 14px; }
.sheet-card { position: relative; margin-top: -22px; padding: 20px 20px 26px; border-radius: 20px 20px 0 0; background: var(--paper); color: var(--ink); }
.crumb { margin: 0; font-size: 13px; }
.crumb a { color: var(--ink-2); }
.detail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 6px; }
.detail-head h1 { margin: 0; font: 500 34px/1.05 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.price.big { margin: 0; font-size: 22px; color: #6f5120; }
.detail-orig { margin: 4px 0 0; font: italic 400 16px/1.3 var(--serif); color: var(--ink-2); }
.draft-tag { display: inline-block; margin: 12px 0 0; padding: 3px 10px; border: 1px dashed var(--gold); border-radius: 999px; font-size: 12px; font-weight: 600; color: #6a4d1d; }
.detail-desc { margin: 14px 0 0; font-size: 17px; line-height: 1.55; max-width: 60ch; }
.callout { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: #ecdfc5; font-size: 14.5px; font-weight: 500; color: #46330f; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.facts:empty { display: none; }
.facts li { padding: 4px 10px; border-radius: 999px; background: var(--cream-2); font-size: 13px; font-weight: 600; }
.allergens { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbf8f2; }
.allergens h2 { margin: 0 0 6px; font: 500 22px/1.2 var(--serif); }
.allergens p { margin: 0; font-size: 14px; color: var(--ink-2); }
.al-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.al-chips li { padding: 4px 10px; border-radius: 6px; background: var(--green-800); color: var(--cream); font-size: 13px; font-weight: 600; }
.allergens .al-note { margin-top: 10px; color: var(--ink); font-weight: 500; }
.text-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--green-800); font-weight: 600; }
.detail + .concept-badge, .page .concept-badge, .landing .concept-badge { border-top: 1px solid var(--line-dark); margin-top: 8px; }

.sheet { width: 100%; max-width: 520px; margin: auto auto 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(8, 14, 10, 0.62); }
.sheet-inner { padding: 20px 20px 24px; }
.sheet h2 { margin: 0 0 6px; font: 500 26px/1.1 var(--serif); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 54px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 18px; text-align: start; cursor: pointer; }
.sheet li button span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-2); }
.sheet li button.on b { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.3em; }
