/* Lightbox minimal para galería de productos */
.ts-lightbox{position:fixed;inset:0;z-index:1050;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;padding:2rem;opacity:0;visibility:hidden;transition:opacity .25s ease;}
.ts-lightbox.active{opacity:1;visibility:visible;}
.ts-lightbox-content{position:relative;max-width:90vw;max-height:80vh;display:flex;align-items:center;justify-content:center;}
.ts-lightbox img{max-width:100%;max-height:80vh;object-fit:contain;box-shadow:0 0 1rem rgba(0,0,0,.6);border-radius:6px;}
.ts-lightbox-close,.ts-lightbox-prev,.ts-lightbox-next{position:absolute;background:rgba(0,0,0,.55);color:#fff;border:0;border-radius:50%;width:46px;height:46px;font-size:1.75rem;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(4px);transition:background .2s;}
.ts-lightbox-close:hover,.ts-lightbox-prev:hover,.ts-lightbox-next:hover{background:rgba(0,0,0,.8);} 
.ts-lightbox-close{top:1rem;right:1rem;font-size:2rem;line-height:1;}
.ts-lightbox-prev{left:1rem;top:50%;transform:translateY(-50%);}
.ts-lightbox-next{right:1rem;top:50%;transform:translateY(-50%);}
.ts-lightbox-counter{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);color:#fff;font-size:.875rem;background:rgba(0,0,0,.5);padding:.35rem .75rem;border-radius:1rem;letter-spacing:.5px;}
body.ts-lightbox-open{overflow:hidden;}
.is-active-thumb{outline:2px solid #0d6efd; box-shadow:0 0 0 3px rgba(13,110,253,.35);}
@media (max-width: 575.98px){
  .ts-lightbox{padding:1rem;}
  .ts-lightbox-prev,.ts-lightbox-next{width:40px;height:40px;font-size:1.5rem;}
  .ts-lightbox img{max-height:70vh;}
}
