/* ---------- Quick View trigger button (was a non-interactive span before) ---------- */
.product-card__quickview {
	position: absolute; left: 0; right: 0; bottom: -44px; display: flex; align-items: center; justify-content: center; gap: 6px;
	background: rgba(11,13,16,.85); color: #fff; font-size: 12.5px; font-weight: 700; padding: 10px; z-index: 3;
	border: none; width: 100%; font-family: var(--font-body); cursor: pointer;
	transition: bottom var(--speed-med) var(--ease), background var(--speed-fast) var(--ease);
}
.product-card__quickview:hover { background: var(--color-primary); }
.product-card:hover .product-card__quickview { bottom: 0; }

/* ---------- Modal shell ---------- */
.qv-overlay {
	position: fixed; inset: 0; background: rgba(11,13,16,.6); z-index: 500;
	display: flex; align-items: center; justify-content: center; padding: 24px;
	opacity: 0; visibility: hidden; transition: opacity var(--speed-med) var(--ease), visibility var(--speed-med);
}
.qv-overlay.is-open { opacity: 1; visibility: visible; }
.qv-modal {
	background: #fff; border-radius: var(--radius); max-width: 860px; width: 100%; max-height: 88vh; overflow-y: auto;
	position: relative; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.98); transition: transform var(--speed-med) var(--ease);
}
.qv-overlay.is-open .qv-modal { transform: translateY(0) scale(1); }
.qv-modal__close {
	position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none;
	background: var(--color-bg-soft); font-size: 20px; line-height: 1; cursor: pointer; z-index: 2;
	display: flex; align-items: center; justify-content: center;
}
.qv-modal__close:hover { background: #eceff3; }
.qv-modal__body { padding: 36px; }
.qv-loading { text-align: center; padding: 60px 20px; color: var(--color-muted); }

/* ---------- Quick View content ---------- */
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.qv__main-image { aspect-ratio: 1/1; background: var(--color-bg-soft); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.qv__main-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.qv__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.qv__thumb { width: 56px; height: 56px; border-radius: 8px; border: 1.5px solid var(--color-border); background: var(--color-bg-soft); padding: 4px; cursor: pointer; }
.qv__thumb.is-active { border-color: var(--color-primary); }
.qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.qv__brand { font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--color-muted); text-transform: uppercase; }
.qv__title { font-size: 24px; margin: 6px 0 10px; }
.qv__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-muted); margin-bottom: 12px; }
.qv__price { font-size: 24px; font-weight: 800; color: var(--color-dark); font-family: var(--font-heading); margin-bottom: 10px; }
.qv__price del { color: #C7CBD4; font-weight: 400; font-size: 16px; margin-right: 8px; }
.qv__stock { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.qv__stock.is-in-stock { background: #E8F8EE; color: var(--color-green); }
.qv__stock.is-out-of-stock { background: #FDECEC; color: #DC2626; }
.qv__desc { color: var(--color-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.qv__actions { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.qv__qty { display: flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.qv__qty-btn { width: 38px; height: 44px; border: none; background: var(--color-bg-soft); font-size: 18px; cursor: pointer; }
.qv__qty-input { width: 46px; height: 44px; border: none; text-align: center; font-size: 15px; font-family: var(--font-body); -moz-appearance: textfield; }
.qv__qty-input::-webkit-outer-spin-button, .qv__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qv__actions .btn { flex: 1; justify-content: center; }
.qv__actions .btn.is-loading { opacity: .7; pointer-events: none; }
.qv__view-full { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--color-primary); }

@media (max-width: 700px) {
	.qv { grid-template-columns: 1fr; }
	.qv-modal__body { padding: 24px; }
}
