/* «Tez baxış» pəncərəsi (public/frontend/js/quickview.js) */
html.pz-qv-open { overflow: hidden; }
.pz-qv[hidden] { display: none; }
.pz-qv { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pz-qv__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.pz-qv__dialog { position: relative; width: min(960px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff;
    border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, .35); outline: none; }
.pz-qv__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: #f1f5f9; color: #334155; font-size: 26px; line-height: 38px; padding: 0; cursor: pointer; }
.pz-qv__close:hover { background: #e2e8f0; }
.pz-qv__loading { padding: 70px 20px; text-align: center; color: #64748b; font-size: 15px; }
.pz-qv__loading.is-error { color: #b91c1c; }

.pz-qv__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; }
.pz-qv__main { position: relative; aspect-ratio: 1 / 1; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; background: #fff; }
.pz-qv__main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pz-qv__main .pz-card-badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.pz-qv__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.pz-qv__thumb { flex: 0 0 64px; height: 64px; padding: 3px; border: 2px solid #e2e8f0; border-radius: 8px; background: #fff; cursor: pointer; }
.pz-qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pz-qv__thumb.is-active { border-color: #1e2a78; }

.pz-qv__gallery, .pz-qv__info { min-width: 0; }
.pz-qv__cat { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .4px; }
.pz-qv__title { margin: 4px 40px 8px 0; font-size: 22px; line-height: 1.3; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.pz-qv__rating { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #334155; }
.pz-qv__muted { color: #94a3b8; }
.pz-qv__stars { position: relative; display: inline-block; color: #e2e8f0; letter-spacing: 1px; }
.pz-qv__stars .fill { position: absolute; left: 0; top: 0; width: var(--pz-r, 0%); overflow: hidden; white-space: nowrap; color: #f5a623; }
.pz-qv__specs { list-style: none; margin: 14px 0; padding: 0; font-size: 14px; }
.pz-qv__specs li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; align-items: baseline; flex-wrap: wrap; }
.pz-qv__specs li > span { flex: 0 0 96px; color: #64748b; }
.pz-qv__specs a { color: #1e2a78; font-weight: 600; }
.pz-qv__specs em { font-style: normal; color: #f5a623; }
.pz-qv__specs .is-in { color: #15803d; }
.pz-qv__specs .is-out { color: #b91c1c; }

.pz-qv__price { padding: 12px 14px; border-radius: 12px; background: #f8fafc; margin-bottom: 14px; }
.pz-qv__price small { display: block; color: #64748b; font-size: 12px; }
.pz-qv__price strong { font-size: 26px; color: #1e2a78; }
.pz-qv__price s { color: #94a3b8; margin-left: 6px; }
.pz-qv__campaign { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #b45309;
    background: #fef3c7; padding: 2px 8px; border-radius: 999px; }
.pz-qv__campaign[hidden] { display: none; }

.pz-qv__fields { display: grid; gap: 10px; margin-bottom: 14px; }
.pz-qv__fields.is-loading { opacity: .55; pointer-events: none; }
.pz-qv__field { display: grid; gap: 4px; margin: 0; font-weight: 600; font-size: 13px; color: #334155; }
.pz-qv__field select { height: 40px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 10px; background: #fff; font-weight: 400; }
.pz-qv__field.is-done select { border-color: #1e2a78; }

.pz-qv__buy { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.pz-qv__stepper { display: flex; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; }
.pz-qv__stepper button { width: 40px; border: 0; background: #f8fafc; font-size: 18px; cursor: pointer; }
.pz-qv__stepper input { width: 52px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.pz-qv__stepper input::-webkit-outer-spin-button, .pz-qv__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pz-qv__cart { flex: 1 1 180px; height: 46px; border: 0; border-radius: 10px; background: #1e2a78; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.pz-qv__cart:hover:not([disabled]) { background: #16205e; }
.pz-qv__cart[disabled] { background: #94a3b8; cursor: not-allowed; }
.pz-qv__error { min-height: 18px; margin-top: 6px; color: #b91c1c; font-size: 13px; }
.pz-qv__error.is-hint { color: #b45309; font-weight: 600; }
.pz-qv__secondary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.pz-qv__sec { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid #cbd5e1;
    border-radius: 999px; background: #fff; color: #334155; font-weight: 600; font-size: 13px; cursor: pointer; }
.pz-qv__sec:hover { border-color: #1e2a78; color: #1e2a78; }
.pz-qv__sec.wishlist.is-active { border-color: #fecaca; background: #fef2f2; color: #dc2626; }
.pz-qv__summary { margin: 8px 0 12px; color: #475569; font-size: 14px; line-height: 1.55; }
.pz-qv__more { font-weight: 700; color: #1e2a78; }

@media (max-width: 767px) {
    .pz-qv { padding: 0; align-items: stretch; }
    .pz-qv__dialog { max-height: none; height: 100%; border-radius: 0; }
    .pz-qv__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 60px 16px 24px; }
    .pz-qv__close { position: fixed; top: 10px; right: 10px; box-shadow: 0 2px 8px rgba(15, 23, 42, .18); }
    .pz-qv__title { margin-right: 0; font-size: 19px; }
}
