/* v28 · Quick view pop-up: close button always visible, "Add to cart" bar always visible, smaller photo on phones,
   bottom-sheet on phones, tidier stock + colours. Loads after quickview.css / luxe3.css / harmony.css. */

/* the box no longer scrolls (the X would scroll away); the content inside does */
.ng-qv .qv-box{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px)}
.ng-qv .qv-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.ng-qv .qv-body::-webkit-scrollbar{display:none}
.ng-qv .qv-x{top:12px;right:12px;width:40px;height:40px;background:#fff;box-shadow:0 6px 18px -8px rgba(0,0,0,.55)}

/* title, price, stock */
.ng-qv .qv-info h2{font-size:clamp(20px,5.2vw,26px)}
.ng-qv .qv-info .ng-price strong{font-size:28px}
.ng-qv .qv-stock.left{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:5px 13px;border-radius:999px;background:#fdf1ee;border:1px solid #f3cfc7;font-size:13px}
.ng-qv .qv-stock.left::before{content:"";width:8px;height:8px;border-radius:50%;background:#c0392b;animation:qvdot 1.6s ease-in-out infinite}
@keyframes qvdot{50%{opacity:.35}}

/* link first, then the sticky bar at the very bottom */
.ng-qv .qv-full{order:8}
.ng-qv .qv-actions{order:9;position:sticky;bottom:0;z-index:2;margin:10px -20px -24px;padding:14px 20px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%)}

/* colours + thumbnails: smaller, so everything fits */
.ng-qv .qv-thumbs{padding:8px 16px}
.ng-qv .qv-thumbs button{width:52px;height:52px}
.ng-qv .ng-swatches.ng-sw-photo .sw-item .sw.ph{width:58px;height:68px}

@media (max-width:759px){
	/* bottom sheet */
	.ng-qv{padding:0;place-items:end center}
	.ng-qv .qv-box{max-width:none;border-radius:26px 26px 0 0;max-height:92vh;max-height:92dvh;animation:qvup .3s cubic-bezier(.2,.8,.2,1)}
	.ng-qv .qv-box::before{content:"";position:absolute;top:8px;left:50%;z-index:4;width:44px;height:4px;margin-left:-22px;border-radius:2px;background:rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(0,0,0,.08)}
	.ng-qv .qv-main{max-height:38vh;max-height:38dvh}
	.ng-qv .qv-info{padding:16px 20px 24px;gap:10px}
}
@keyframes qvup{from{transform:translateY(46px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.ng-qv .qv-box{animation:none}.ng-qv .qv-stock.left::before{animation:none}}
