/* Product gallery: preserve the Purple Hub visual identity. */
#catalogo .merch-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 26px}
#catalogo .product[hidden]{display:none!important}
#catalogo .product{min-width:0;padding-bottom:24px;border-bottom:1px solid #342c3e}
#catalogo .merch-art{border-radius:12px;background:#19191b;aspect-ratio:1;position:relative}
#catalogo .merch-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
#catalogo .merch-art:hover img{transform:scale(1.045)}
#catalogo .product-info{gap:12px;margin:20px 0 12px;align-items:center}
#catalogo .product-info h3{font-size:clamp(18px,1.7vw,24px);line-height:1.25}
#catalogo .product>p{font-size:13px;line-height:1.8;margin:12px 0 18px;max-width:95%}
#catalogo .photo-badge{font-size:8px;letter-spacing:1px;top:14px;left:14px;right:auto;background:#111c;color:#e1d4f3;padding:8px 10px;border:1px solid #ffffff20;border-radius:3px}
.product-zoom{position:absolute;right:12px;bottom:12px;border:1px solid #ffffff40;background:#121015dc;color:#fff;border-radius:50%;width:40px;height:40px;font-size:24px;cursor:pointer}
.product-zoom:focus-visible,.gallery-close:focus-visible{outline:3px solid #c6a4ff;outline-offset:4px}
.gallery-dialog{padding:0;border:1px solid #5d4b70;background:#131017;color:#f6f0ff;max-width:min(850px,94vw);max-height:92dvh;border-radius:12px;overflow:auto}
.gallery-dialog::backdrop{background:#000d;backdrop-filter:blur(8px)}
.gallery-dialog img{display:block;width:100%;height:min(65dvh,640px);object-fit:contain;background:#171719}
.gallery-caption{padding:22px 26px}.gallery-caption h3{margin:0 0 10px;font-size:24px}.gallery-caption p{color:#c7bdcf;line-height:1.7;font-size:13px;margin:0}
.gallery-close{position:absolute;top:12px;right:12px;width:42px;height:42px;border:1px solid #ffffff50;border-radius:50%;background:#16121a;color:white;font-size:26px;cursor:pointer}
.embroidery-detail{overflow:hidden;border-radius:12px}.embroidery-detail img{width:100%;height:auto;display:block}
@media(max-width:850px){#catalogo .merch-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}}
@media(max-width:520px){#catalogo .merch-products{grid-template-columns:1fr;gap:30px}#catalogo .product-info h3{font-size:23px}#catalogo .product>p{font-size:14px}.gallery-caption{padding:20px}}
@media(prefers-reduced-motion:reduce){#catalogo .merch-art img{transition:none}#catalogo .merch-art:hover img{transform:none}}
