/* Yemekhane — hastane, okul ve kurum yemekhanesi: iri ve yüksek kontrastlı yazı, büyük dokunma alanları, porsiyon ve kalori sütunlu tablo (tablo şablonu) */
.theme-yemekhane {
  --bg: #f4f7f9; --surface: #ffffff; --surface-2: #e8eef3; --text: #0f1e2b; --muted: #3e4c59; --faint: #7a8692;
  --line: rgba(15, 30, 43, .14); --line-strong: rgba(15, 30, 43, .3); --radius: 6px; --price: var(--text);
  --tint: color-mix(in srgb, var(--primary) 9%, #fff);
}
body.theme-yemekhane { font-size: 16px; line-height: 1.55; }
.theme-yemekhane [data-section] { scroll-margin-top: 70px; }
.theme-yemekhane .item:focus-visible { box-shadow: none; outline: 3px solid var(--primary); outline-offset: -3px; }

/* Kurum başlığı: ana renkte bant */
.tb-head { padding: calc(16px + var(--safe-t)) max(16px, calc((100% - 788px) / 2)) 18px; background: var(--primary); color: var(--on-primary); }
.tb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tb-row > .tools { order: -1; width: 100%; justify-content: flex-end; margin-bottom: -4px; }
.tb-logo { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: #fff; color: var(--primary); font-weight: 700; font-size: 24px; }
.tb-head h1 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.tb-head p { font-size: 15px; margin-top: 2px; color: color-mix(in srgb, var(--on-primary) 90%, transparent); }
.tb-head .tool { width: 40px; height: 40px; padding: 0; border-radius: 8px; background: color-mix(in srgb, var(--on-primary) 14%, transparent); color: var(--on-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-primary) 30%, transparent); }
.tb-head .tool span { display: none; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta .status-pill, .meta .table-pill { height: 34px; border-radius: 6px; background: #fff; color: #0f1e2b; font-size: 14px; font-weight: 700; }

/* İşlemler: büyük dokunma alanları */
.acts { max-width: 820px; margin: 0 auto; padding: 14px 16px 0; gap: 8px; }
.act { height: 48px; padding: 0 16px 0 12px; gap: 8px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 15px; font-weight: 700; }
.act-ic { color: var(--primary-ink); }
.act-ic .icon { width: 19px; height: 19px; }
.banner { max-width: 788px; margin: 14px 16px 0; border-radius: 8px; background: var(--tint); box-shadow: inset 5px 0 0 var(--primary); font-size: 15.5px; font-weight: 700; }
.banner-ic { border-radius: 8px; }
.camps { padding-inline: 16px; }
.camp { border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.camp-t b { font-size: 15px; }
.camp-t small { font-size: 13.5px; }
.camp-ic { border-radius: 8px; }
@media (min-width: 820px) { .banner { margin-inline: auto; } }

/* Kategori seçici */
.tb-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 0 8px 12px; background: var(--surface); box-shadow: 0 1px 0 var(--line-strong); }
.tb-nav-row { flex: 1; display: flex; gap: 6px; overflow-x: auto; }
.tb-nav-row a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 8px; font-size: 15.5px; font-weight: 700; color: var(--text); background: var(--surface-2); white-space: nowrap; }
.tb-nav-row a small { font-size: 12.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--surface); color: var(--text); }
.tb-nav-row a.active { background: var(--primary); color: var(--on-primary); }
.tb-nav-row a.active small { background: var(--on-primary); color: var(--primary); }
.tb-search { width: 48px; height: 44px; display: grid; place-items: center; flex-shrink: 0; }

/* Tablo */
.main { max-width: 820px; margin: 0 auto; padding: 4px 12px 30px; }
.sheet-card { margin-top: 18px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); overflow: hidden; }
.cap { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cap-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cap-img img { width: 100%; height: 100%; object-fit: cover; }
.cap h2 { font-size: 22px; font-weight: 700; }
.cap p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.cap-time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary-ink); background: var(--tint); padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.cap-time .icon { width: 15px; height: 15px; }
.sheet-card > .sec-closed { margin: 0 16px 12px; font-size: 14px; }
.thead, .tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
.thead.has-extra, .tr.has-extra { grid-template-columns: minmax(0, 1fr) 84px auto; }
.thead { padding: 9px 16px; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.thead .col-p { text-align: end; min-width: 76px; }
.tr { align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tr:last-child { border-bottom: 0; }
.tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, #fff); }
.tr:active { background: var(--tint); }
.td-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.td-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.td-img img { width: 100%; height: 100%; object-fit: cover; }
.tr h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.3; }
.desc { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr .tags { margin-top: 6px; }
.col-x { font-size: 14px; color: var(--text); font-weight: 700; text-align: center; line-height: 1.35; }
.col-x small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.td-x { display: none; width: fit-content; font-size: 14px; font-weight: 700; color: var(--text); margin-top: 5px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); }
.col-p { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 76px; }
.tr .price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.vrow { display: flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vrow small { font-size: 13px; font-weight: 400; color: var(--muted); }
.add { width: 40px; height: 40px; border-radius: 8px; margin-top: 4px; }
.add .icon { width: 19px; height: 19px; }
.tag { font-size: 12.5px; padding: 3px 9px; border-radius: 5px; }
.tag .icon { width: 13px; height: 13px; }
.unavailable .items { opacity: .5; }
@media (max-width: 419px) { .thead.has-extra, .tr.has-extra { grid-template-columns: minmax(0, 1fr) auto; } .has-extra .col-x { display: none; } .td-x { display: block; } }

/* Pencereler: daha iri yazı ve düğmeler */
.sheet-panel { border-radius: 14px 14px 0 0; }
.p-desc, .p-block p { font-size: 16px; }
.variant { padding: 16px; font-size: 16px; }
.cta { height: 56px; border-radius: 8px; font-size: 17px; }
.inp { font-size: 17px; }
.pill-btn, .stepper, .segmented, .search-box, .inp, .variants, .choice-list, .criteria, .call-btn, .fact, .fchip, .promo-on, .wifi-card, .table-chip, .search-cats a, .sr-img, .pair, .filter-open { border-radius: 8px; }
.segmented button { border-radius: 6px; }
.call-ic, .done-check, .wifi-ic { border-radius: 10px; }
.cart-bar { background: var(--text); border-radius: 10px; font-size: 17px; }
.cart-count { border-radius: 8px; }
.foot-social a { border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.footer, .foot-note { font-size: 14px; }
body.dm-on .tr:nth-child(even) { background: rgba(255, 255, 255, .04); }
body.dm-on { --tint: color-mix(in srgb, var(--primary) 18%, #17171a); }
body.dm-on .thead { background: var(--surface-2); color: var(--text); }
body.dm-on .tag { color: var(--primary-ink); }
@media (prefers-color-scheme: dark) { body.dm-auto .tr:nth-child(even) { background: rgba(255, 255, 255, .04); } body.dm-auto { --tint: color-mix(in srgb, var(--primary) 18%, #17171a); } body.dm-auto .thead { background: var(--surface-2); color: var(--text); } body.dm-auto .tag { color: var(--primary-ink); } }
/* Happy hour rozeti açık zeminlerde AA kontrastta */
.tag.b-happy { color: #92400e; }
