/* Terminal — AVM yemek katı, havalimanı ve istasyon: yön tabelası gibi koyu zemin, sarı kodlar ve kalkış panosu satırları (fiş şablonu) */
.theme-terminal {
  --bg: #17191c; --surface: #202327; --surface-2: #2a2e33; --text: #f4f4f2; --muted: #a9adb2; --faint: #74797f;
  --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .22); --radius: 4px; --price: var(--text);
  --mono: 'Overpass Mono', ui-monospace, monospace;
  --sign: var(--primary);
  --primary-soft: color-mix(in srgb, var(--primary) 16%, var(--surface));
}
.theme-terminal [data-section] { scroll-margin-top: 60px; }
.theme-terminal h1, .theme-terminal h2, .theme-terminal h3 { font-weight: 700; }

/* Pano: fiş maskesi yok, tam genişlik koyu yüzey */
.desk { padding: 0; }
.receipt { position: relative; max-width: 620px; margin: 0 auto; padding: calc(12px + var(--safe-t)) 16px 26px; background: var(--bg); color: var(--text); }

/* Başlık: tabela */
.r-head { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-align: start; padding-top: 4px; }
.r-tools { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-bottom: 14px; }
.r-tools .tools { gap: 6px; }
.r-tools .tool { height: 34px; border-radius: 4px; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 12px; }
.r-tools .tool.round { width: 34px; }
.r-logo { grid-row: span 3; width: 64px; height: 64px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--sign); }
.r-logo > span { width: 100%; height: 100%; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #17191c; }
.r-head h1 { font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.r-small { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.r-head > .r-small, .r-head > h1 { grid-column: 2; }
.r-head > .r-rule, .r-head > .r-kv { grid-column: 1 / -1; }
.center { text-align: center; }
.r-rule { height: 0; border-top: 1px solid var(--line-strong); margin: 14px 0; }
.r-rule.double { border-top: 3px solid var(--sign); }
.r-kv { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 6px; text-align: start; }
/* Fiş numarası tabelada gösterilmez; masa varsa kalır */
.r-rule.double + .r-kv + .r-kv > span:first-child { display: none; }
.r-rule.double + .r-kv + .r-kv:not(:has(.r-table)) { display: none; }
.r-kv.big { font-size: 14px; font-weight: 700; color: var(--text); }
.r-table { font-weight: 700; background: var(--sign); color: #17191c; padding: 1px 8px; border-radius: 3px; }
.r-status { font-family: var(--mono); font-size: 12.5px; color: #4ade80; }

/* İşlemler */
.acts { flex-wrap: wrap; gap: 8px; margin-top: 2px; overflow: visible; }
.act { gap: 7px; height: 40px; padding: 0 13px 0 10px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; }
.act-ic { color: var(--sign); }
.act-ic .icon { width: 16px; height: 16px; }
.banner { margin-top: 12px; border-radius: 4px; background: var(--sign); color: #17191c; box-shadow: none; font-size: 14.5px; font-weight: 700; }
.banner-ic { border-radius: 4px; background: #17191c; color: var(--sign); }

/* Kategori şeridi: kapı tabelaları */
.r-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; margin: 18px -16px 0; padding: 0 0 0 10px; background: #0f1113; box-shadow: 0 1px 0 var(--line-strong); }
.r-nav-row { flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.r-nav-row a { flex-shrink: 0; padding: 7px 10px; border-radius: 4px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--sign); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sign) 45%, transparent); white-space: nowrap; }
.r-nav-row a.active { color: #17191c; background: var(--sign); box-shadow: none; }
.r-search { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; color: var(--text); }

/* Bölümler: sarı yön tabelası ve kalkış panosu satırları */
.r-sec { padding-top: 24px; }
.r-cat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 4px; border-radius: 4px; background: var(--sign); color: #17191c; font-size: 18px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.r-cat::after { content: '→'; margin-inline-start: auto; font-weight: 800; }
[dir="rtl"] .r-cat::after { content: '←'; }
.r-sec > .r-small.center { text-align: start; margin: 6px 2px 0; }
.r-sec .sec-closed { display: flex; width: fit-content; max-width: 100%; margin: 8px 0; border-radius: 4px; }
.r-line { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.r-line:last-child { border-bottom: 0; }
.r-line:active { background: var(--surface); }
.rl-top { display: flex; align-items: baseline; gap: 10px; }
.rl-no { flex-shrink: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--sign); padding: 1px 5px; border-radius: 3px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sign) 40%, transparent); }
.r-line h3 { font-size: 16.5px; line-height: 1.3; min-width: 0; }
.dots { flex: 1; min-width: 10px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.r-line .price { font-family: var(--mono); font-weight: 700; font-size: 15px; white-space: nowrap; }
.rl-sub { display: flex; gap: 12px; margin-top: 8px; padding-inline-start: 52px; }
.thermal { width: 60px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.thermal img { width: 100%; height: 100%; object-fit: cover; }
.rl-sub p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.rl-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.rl-foot:has(.tags:empty):not(:has(.r-add)) { display: none; }
.rl-sub:not(:has(.thermal)):not(:has(p)):has(.rl-foot:only-child) .rl-foot { margin-top: 0; }
.tag { border-radius: 3px; background: var(--surface-2); color: var(--text); }
.r-add { margin-inline-start: auto; font-family: var(--mono); font-weight: 700; font-size: 13px; padding: 5px 9px; border-radius: 4px; color: var(--sign); box-shadow: inset 0 0 0 1px var(--sign); white-space: nowrap; }
.r-add:active { background: var(--sign); color: #17191c; }
.unavailable .items { opacity: .45; }

.r-thanks { text-align: center; font-family: var(--mono); font-weight: 700; margin-top: 18px; letter-spacing: .08em; color: var(--muted); }
.barcode { display: none; }
.receipt > .r-small.center:last-child { display: none; }

/* Kampanyalar ve pencereler */
.receipt .camps { padding: 0; margin: 10px 0 0; flex-direction: column; gap: 8px; }
.camp { max-width: none; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.camp-ic { border-radius: 4px; background: var(--sign); color: #17191c; }
.footer { border-top: 1px solid var(--line); }
.foot-social a { border-radius: 4px; background: var(--surface); }
.sheet-panel { border-radius: 8px 8px 0 0; box-shadow: 0 -3px 0 var(--sign), 0 -10px 40px -10px rgba(0, 0, 0, .7); }
.cta, .inp, .search-box, .stepper, .segmented, .variants, .choice-list, .criteria, .call-btn, .wifi-card, .pill-btn, .search-cats a, .sr-img, .pair, .fact, .fchip, .promo-on, .table-chip, .filter-open { border-radius: 4px; }
.segmented button { border-radius: 3px; }
.call-ic, .done-check, .wifi-ic { border-radius: 6px; }
.cta { font-weight: 800; }
.p-price { font-family: var(--mono); }
.cart-bar { border-radius: 6px; }
.cart-count { border-radius: 4px; }
