.shop .photo-zoom{position:relative;display:block;overflow:hidden;cursor:zoom-in;isolation:isolate}
.shop .main-photo.photo-zoom{border-radius:22px}
.shop .buy-card>.photo-zoom{width:auto;flex:none;margin:7px 7px 0}
.shop .photo-zoom::after{content:'+';position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:31px;height:31px;box-sizing:border-box;border:1px solid #dcc7b3;border-radius:50%;background:#fffaf3f2;color:#52382b;font:24px/1 Arial,sans-serif;pointer-events:none}
.shop .photo-zoom img{display:block;transform-origin:var(--px,50%) var(--py,50%);transition:transform .17s ease-out}
@media(hover:hover) and (pointer:fine){
  .shop .photo-zoom:hover img{transform:scale(1.65)}
  .shop .photo-zoom:hover::after{background:#53382c;color:#fff;border-color:#53382c}
}
.viewing-product-photo{overflow:hidden}
.shop .product-viewer{position:fixed;inset:0;margin:auto;padding:0;box-sizing:border-box;width:min(1000px,94vw);max-width:94vw;max-height:95vh;max-height:95dvh;border:1px solid #dac9bb;border-radius:18px;background:#fffaf3;color:#45352c;overflow:auto;box-shadow:0 18px 75px #21171145}
.product-viewer::backdrop{background:#271e19cf}
.product-viewer .viewer-heading,.product-viewer .photo-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}
.shop .product-viewer h2{font:500 clamp(17px,2vw,25px)/1.23 'Playfair Display',Georgia,serif;letter-spacing:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-viewer .photo-count{margin:3px 0 0;font-size:12px;color:#796250}
.photo-stage{height:min(66vh,680px);height:min(66dvh,680px);overflow:auto;overscroll-behavior:contain;background:#eee6dc}
.shop .photo-surface{width:100%;height:100%;display:grid;place-items:center;padding:0;border:0;background:transparent;cursor:zoom-in}
.shop .photo-surface img{width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0;display:block;object-fit:contain}
.shop .photo-surface.enlarged{cursor:zoom-out}
.product-viewer .photo-actions button,.product-viewer [data-close],.shop .product-viewer .view-product{border:1px solid #d4bda9;border-radius:22px;background:#fffdfa;color:#5c4130;padding:6px 14px;min-height:40px;cursor:pointer;font:650 14px/1.3 Manrope,Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center}
.product-viewer [data-close]{width:40px;flex:none;font-size:24px}
.photo-paging{display:flex;gap:5px}.photo-paging button{min-width:38px}
.product-viewer .photo-actions{justify-content:flex-start;flex-wrap:wrap}
.shop .product-viewer .view-product{margin-left:auto;background:#5a3e30;color:#fff}
@media(max-width:610px){.shop .buy-card>.photo-zoom{margin:4px 4px 0}.shop .photo-zoom::after{width:26px;height:26px;font-size:20px;right:6px;bottom:6px}.shop .product-viewer{width:96vw;max-width:96vw}.product-viewer .viewer-heading,.product-viewer .photo-actions{padding:9px;gap:5px}.product-viewer .photo-actions button,.shop .product-viewer .view-product{padding:6px 9px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.shop .photo-zoom img{transition:none}}
