/* Ürün seçenekleri penceresi (assets/qm-options.js) — müşteri menüsü, garson, kasa ve panel önizlemesi */
html.qmo-lock, html.qmo-lock body { overflow: hidden; }
.qmo-wrap { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; font-family: Inter, Nunito, system-ui, sans-serif; }
.qmo-shade { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); opacity: 0; transition: opacity .2s; }
.qmo-sheet { position: relative; width: 100%; max-width: 520px; max-height: 88vh; display: flex; flex-direction: column; background: #fff; color: #111827;
    border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); transform: translateY(100%); transition: transform .25s ease; }
.qmo-wrap.open .qmo-shade { opacity: 1; }
.qmo-wrap.open .qmo-sheet { transform: none; }
@media (min-width: 640px) {
    .qmo-wrap { align-items: center; }
    .qmo-sheet { border-radius: 20px; max-height: 84vh; }
}
.qmo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 18px 10px; border-bottom: 1px solid #f1f5f9; }
.qmo-head h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.qmo-head span { color: #6b7280; font-weight: 600; font-size: .9rem; }
/* Düğmeler ".qmo-wrap" önekiyle: tasarımların genel düğme sıfırlamaları (ör. Vitrin ".vt button") ezmesin */
.qmo-wrap .qmo-x { border: 0; background: #f1f5f9; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #111827; flex: 0 0 auto; }
.qmo-body { overflow-y: auto; padding: 6px 18px 12px; -webkit-overflow-scrolling: touch; }
.qmo-g { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.qmo-g:last-child { border-bottom: 0; }
.qmo-g.warn { animation: qmo-shake .35s; }
.qmo-g.warn .qmo-gh em.req { background: #dc2626; color: #fff; }
@keyframes qmo-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qmo-gh { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.qmo-gh > div { flex: 1; min-width: 0; }
.qmo-gh h4 { margin: 0; font-size: 1rem; font-weight: 800; }
.qmo-gh small { color: #6b7280; font-size: .78rem; }
.qmo-gh em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #64748b; white-space: nowrap; }
.qmo-gh em.req { background: #fef3c7; color: #92400e; }
.qmo-gh em.ok { background: #dcfce7; color: #166534; }
.qmo-count { font-size: .8rem; color: #374151; white-space: nowrap; }
.qmo-items { display: flex; flex-direction: column; gap: 6px; }
.qmo-wrap .qmo-i { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1.5px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 11px 12px; cursor: pointer; font: 600 .95rem Inter, Nunito, system-ui, sans-serif; color: #111827; }
.qmo-wrap .qmo-i.on { border-color: #16a34a; background: #f0fdf4; }
.qmo-wrap .qmo-i.dis { opacity: .45; }
.qmo-mark { width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 6px; flex: 0 0 auto; display: grid; place-items: center; }
.qmo-items.single .qmo-mark { border-radius: 50%; }
.qmo-i.on .qmo-mark { border-color: #16a34a; background: #16a34a; }
.qmo-i.on .qmo-mark::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; }
.qmo-items.single .qmo-i.on .qmo-mark::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.qmo-n { flex: 1; }
.qmo-th { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: #f3f4f6; margin: -4px 0; }
.qmo-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qmo-th.emo, .qmo-th.let { display: grid; place-items: center; font-size: 22px; line-height: 1; background: #fff7ed; }
.qmo-th.let { font-size: 15px; font-weight: 800; color: #7c3aed; background: #f3f0fa; }
.qmo-p { font-size: .85rem; color: #b45309; font-weight: 700; white-space: nowrap; }
.qmo-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #f1f5f9; }
.qmo-msg { min-height: 18px; font-size: .85rem; color: #92400e; font-weight: 600; text-align: center; margin-bottom: 8px; }
.qmo-wrap .qmo-ok { width: 100%; border: 0; border-radius: 14px; padding: 15px; background: var(--qm-accent, #111827); color: #fff; font: 800 1rem Inter, Nunito, system-ui, sans-serif; cursor: pointer; }
.qmo-wrap .qmo-ok.wait { opacity: .55; }
/* Panel önizlemesi: pencere sayfanın içinde, sabit konumsuz (user/urun_secenekleri.php) */
.qmo-wrap.qmo-inline { position: static; inset: auto; z-index: auto; display: block; }
.qmo-inline .qmo-sheet { transform: none; border-radius: 22px; max-width: 440px; max-height: none; margin: 0 auto; box-shadow: 0 20px 50px rgba(20, 10, 40, .22); }
.qmo-none { color: #9ca3af; text-align: center; padding: 30px 10px; margin: 0; }
/* Sepet satırında seçimler (masa / paket / rezervasyon sepeti) */
.qm-line-sub, .ro-line-sub { font-size: 12.5px; color: #15803d; font-weight: 600; margin-top: 2px; }
/* Garson ekranı: "+ Seç" ve seçimli satırlar */
.qty button.optadd { width: auto; padding: 0 14px; font-size: 14px; background: #111827; color: #fff; border-color: #111827; }
.prod.sub { margin-left: 18px; background: #f0fdf4; }
.prod.sub .nm { font-weight: 600; font-size: 13px; color: #166534; }
/* Kasa: seçimli satır */
.k-sub { display: block; font-size: 12px; color: #15803d; font-weight: 600; }
/* Menü kartındaki bilgi satırı */
.qmo-chip { display: block; font-size: .76rem; font-weight: 600; opacity: .75; margin: 3px 0; line-height: 1.3; }
