/* Heartstring Shop: compact gallery and image detail viewer */
@media(min-width:1100px){#artGrid.gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}#artGrid .visual{height:208px!important}#artGrid .art{min-width:0}}
@media(min-width:740px) and (max-width:1099px){#artGrid.gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}#artGrid .visual{height:220px!important}}
@media(max-width:739px){#artGrid.gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#artGrid .visual{height:165px!important}#artGrid .art{min-width:0}}
#artGrid .visual img{width:100%!important;height:100%!important;object-fit:contain!important}
.hs-zoom-viewer{position:fixed;display:none;pointer-events:none;z-index:2147483600;border:2px solid #c5a46a;border-radius:8px;box-shadow:0 18px 45px #071a2880;background-color:#f6f2eb;background-repeat:no-repeat;overflow:hidden}
.hs-zoom-viewer.hs-visible{display:block}
.hs-zoom-hint{position:fixed;z-index:2147483601;pointer-events:none;background:#132938e8;color:#fff;padding:5px 9px;border-radius:5px;font:12px Arial,sans-serif;display:none}
.hs-lightbox{position:fixed;inset:0;z-index:2147483602;background:#061522eb;display:none;align-items:center;justify-content:center;padding:65px 20px 30px;box-sizing:border-box}
.hs-lightbox.hs-visible{display:flex}
.hs-lightbox img{max-width:96vw;max-height:85vh;object-fit:contain;border:1px solid #d0b581;box-shadow:0 12px 45px #0007}
.hs-lightbox button{position:absolute;top:12px;right:17px;background:#fff;color:#102537;border:0;border-radius:50%;font-size:30px;width:48px;height:48px;cursor:pointer}
@media(hover:none),(pointer:coarse){.hs-zoom-viewer,.hs-zoom-hint{display:none!important}}
