/* Menü görünümü: ortada ana ürün, etrafında yanındakiler ve ikramlar (includes/orbit.php, assets/orbit.js) */
.qo-wrap { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; font-family: 'Inter', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.qo-shade { position: absolute; inset: 0; background: rgba(8, 6, 14, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.qo-wrap.open .qo-shade { opacity: 1; }
.qo-sheet {
    --qo-accent: #7c3aed;
    position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 28px); overflow-y: auto; overflow-x: hidden;
    background: radial-gradient(120% 70% at 50% 28%, color-mix(in srgb, var(--qo-accent) 34%, #17131f) 0%, #15121c 62%);
    color: #f6f3fb; border-radius: 26px; padding: 22px 18px 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5); transform: scale(.94) translateY(16px); opacity: 0;
    transition: transform .42s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.qo-wrap.open .qo-sheet { transform: none; opacity: 1; }
.qo-x { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.qo-head { text-align: center; padding: 4px 40px 0; }
.qo-badge { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--qo-accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .03em; }
.qo-title { margin: 0; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }

/* Sahne */
.qo-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 400px; margin: 4px auto 0; }
.qo-ring { position: absolute; left: 50%; top: 50%; width: 76%; height: 76%; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .18); opacity: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .1s, opacity .5s .1s; }
.qo-wrap.open .qo-ring { transform: translate(-50%, -50%) scale(1); opacity: 1; animation: qoSpin 60s linear infinite; }
@keyframes qoSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.qo-center { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4); opacity: 0; z-index: 3; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), opacity .35s; }
.qo-wrap.open .qo-center { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.qo-center .ph { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 0 0 10px color-mix(in srgb, var(--qo-accent) 30%, transparent), 0 24px 50px rgba(0, 0, 0, .5); }
.qo-center img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qo-center img.logo { object-fit: contain; padding: 18%; }
.qo-price { position: absolute; left: 50%; top: 100%; transform: translate(-50%, -60%); z-index: 2; white-space: nowrap; text-align: center; padding: 6px 14px; border-radius: 999px; background: #fff; color: #17131f; font-weight: 900; font-size: 1.05rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.qo-price s { color: #8a8494; font-weight: 600; font-size: .82rem; margin-right: 6px; }
.qo-cname { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 55%); z-index: 2; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--qo-accent); color: #fff; font-size: .72rem; font-weight: 800; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }

/* Etraftaki daireler */
.qo-sat { position: absolute; left: 50%; top: 50%; width: var(--s, 21%); z-index: 4; transform: translate(-50%, -50%) scale(.2); opacity: 0;
    transition: transform .7s cubic-bezier(.3, 1.35, .5, 1), opacity .4s; transition-delay: var(--d, 0s); }
.qo-wrap.open .qo-sat { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); opacity: 1; }
.qo-sat .ph { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .16), 0 12px 26px rgba(0, 0, 0, .45); animation: qoBob 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes qoBob { 50% { transform: translateY(-4px); } }
.qo-sat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qo-sat .ic { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #ffffff, #ece8f4); color: color-mix(in srgb, var(--qo-accent) 80%, #000); font-weight: 900; font-size: 1.25rem; }
.qo-sat .ic svg { width: 46%; height: 46%; }
.qo-sat .nm { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); width: max-content; max-width: 160%; padding: 2px 7px; border-radius: 8px; background: rgba(18, 14, 26, .72); text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.2; color: #f1edf8; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qo-sat.gift .ph { box-shadow: 0 0 0 3px #f5c542, 0 12px 26px rgba(0, 0, 0, .45); }
.qo-gift { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 2; padding: 2px 7px; border-radius: 999px; background: #f5c542; color: #3b2a00; font-size: .6rem; font-weight: 900; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }

/* Alt bilgi */
.qo-body { margin-top: 30px; }
.qo-desc { margin: 0 0 12px; color: rgba(255, 255, 255, .78); font-size: .93rem; line-height: 1.5; text-align: center; white-space: pre-line; }
.qo-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qo-list span { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .8rem; font-weight: 600; }
.qo-list span.g { background: rgba(245, 197, 66, .18); color: #ffe08a; }
.qo-legend { margin: 12px 0 0; text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.qo-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #f5c542; margin-right: 5px; vertical-align: -1px; }
.qo-add { display: block; width: 100%; margin-top: 16px; padding: 14px; border: 0; border-radius: 14px; background: var(--qo-accent); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
body.qo-lock { overflow: hidden; }

/* Kart üzerindeki küçük işaret */
.qo-chip { position: absolute; z-index: 2; top: 8px; right: 8px; left: auto; padding: 3px 8px; border-radius: 999px; background: rgba(20, 16, 28, .82); color: #fff; font: 700 11px/1.2 'Inter', system-ui, sans-serif; pointer-events: none; backdrop-filter: blur(4px); }
.qo-chip.g { background: #f5c542; color: #3b2a00; }

@media (prefers-reduced-motion: reduce) {
    .qo-sheet, .qo-center, .qo-sat, .qo-ring { transition: none; }
    .qo-sat .ph, .qo-wrap.open .qo-ring { animation: none; }
}
.qo-sub { margin-top: 4px; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.qo-see { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(124, 58, 237, .1); color: #6d28d9; font: 700 12px/1 Inter, system-ui, sans-serif; cursor: pointer; }

/* Üst yarıdaki dairelerin adı dairenin üstünde: ortadaki ürünün arkasında kalmasın */
.qo-sat.up .nm { top: auto; bottom: 100%; transform: translate(-50%, -6px); }
.qo-sat.up .qo-gift { top: auto; bottom: -9px; }
.qo-stage:has(.qo-sat.up) { margin-top: 34px; }

/* Rozet sağ üstte: ürün adı rozetin altına girmesin */
.qo-has-chip .vt-item-name, .qo-has-chip .product-list-name, .qo-has-chip .menu-package-name { padding-right: 82px; }
.product-list-item.qo-has-chip { overflow: visible !important; }
.product-list-item.qo-has-chip .qo-chip { top: -9px; right: 14px; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
.product-list-item.qo-has-chip .product-list-name { padding-right: 0; }


/* Izgara/Kart: dar kartlarda rozet sadece simge (ad daha az yer kaybeder; tam yazı ipucunda) */
.product-card.qo-has-chip .qo-chip { width: 26px; height: 26px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 0; border-radius: 50%; }
.product-card.qo-has-chip .qo-chip::before { content: attr(data-ic); font-size: 14px; line-height: 1; }
.product-card.qo-has-chip .product-name { padding-right: 30px; }

/* Dokununca ortaya al */
.qo-wrap .qo-sat { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qo-wrap .qo-sat:active .ph { transform: scale(.92); }
.qo-wrap .qo-center { cursor: pointer; }
.qo-pop .ph { animation: qoPop .45s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes qoPop { 0% { transform: scale(.7); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.qo-price.inc { background: var(--qo-accent); color: #fff; }
.qo-sat.is-main .ph { box-shadow: 0 0 0 3px var(--qo-accent), 0 12px 26px rgba(0, 0, 0, .45); }
.qo-back { margin-top: 6px; padding: 5px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 700 .78rem/1.2 inherit; font-family: inherit; cursor: pointer; }
.qo-hint { margin: 26px 0 -14px; text-align: center; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.qo-list span[data-n] { cursor: pointer; transition: background .15s; }
.qo-list span.on { background: var(--qo-accent); color: #fff; }
.qo-inline .qo-hint { display: none; }
