/* Faz 2 müşteri ekranları: rezervasyon, yönetim, masa uygulaması. app.css değişkenlerini kullanır. */
.narrow { max-width: 860px; }
.lead { font-size: 1.05rem; }
.h3 { font-size: 1.1rem; margin: 0 0 10px; }
.h4 { font-size: .98rem; margin: 14px 0 8px; }
.res-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* Saat seçici */
.slot-list { margin: 6px 0 4px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.slot:hover { border-color: var(--brand); text-decoration: none; }
.slot-full { color: var(--ink-3); text-decoration: line-through; background: var(--surface-2); }
.slot-offer { position: absolute; top: -8px; right: -4px; background: var(--brand); color: #fff; font-size: .68rem; padding: 1px 5px; border-radius: 999px; }

/* Koşullar */
.terms { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0 0 8px; }
.terms dt { font-weight: 600; color: var(--ink-2); }
.terms dd { margin: 0; overflow-wrap: anywhere; }
.fee-list { list-style: none; margin: 0; padding: 0; }
.fee-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.offer-box { border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.offer-box p { margin: 4px 0 0; }
.review-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.review-photos img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }

/* Masa uygulaması */
.table-app { padding-bottom: 90px; }
.table-head h1 { margin-bottom: 0; }
.table-tabs { position: sticky; top: 0; background: var(--bg); z-index: 5; }
.call-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.call-bar form { margin: 0; }
.table-menu .menu-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.table-menu .price { white-space: nowrap; font-weight: 600; }
.code-input { text-transform: uppercase; letter-spacing: .3em; font-size: 1.2rem; }
.order-lines, .share-list, .cart-lines { list-style: none; margin: 0; padding: 0; }
.order-lines li, .share-list li, .cart-lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-lines li.is-void { opacity: .55; }
.order-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.share-list li.is-me { font-weight: 600; }
.bill-table { width: 100%; border-collapse: collapse; }
.bill-table th { text-align: left; font-weight: 500; padding: 4px 0; }
.bill-table td { text-align: right; white-space: nowrap; }
.bill-table tr.total th, .bill-table tr.total td { font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.share-form { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-form fieldset { border: 0; padding: 0; margin: 0; }
.pay-form .pids { padding-left: 26px; }
.pay-total { font-size: 1.05rem; }
.tip-row { margin-bottom: 8px; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); z-index: 20; }
.cart-bar[hidden] { display: none; }
.sheet { border: 0; border-radius: 16px 16px 0 0; padding: 0; width: 100%; max-width: 640px; margin: auto auto 0; background: var(--surface); color: var(--ink); max-height: 85vh; }
.sheet::backdrop { background: rgba(0,0,0,.45); }
.sheet-body { padding: 18px 16px; }
.cart-lines .qty { white-space: nowrap; }
@media (min-width: 700px) { .sheet { border-radius: 16px; margin: auto; } }
