/* TIME GALLERY • Product image enlarge — isolated from current storefront styles */
.modal-img{position:relative;cursor:zoom-in}
.modal-img img{display:block}
.tg-img-enlarge{
  position:absolute;right:12px;bottom:12px;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid rgba(255,255,255,.42);border-radius:999px;
  padding:9px 15px;background:rgba(14,17,31,.66);color:#fff;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 5px 18px rgba(0,0,0,.26);font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;
  opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease,background .18s ease;
  pointer-events:none;cursor:zoom-in
}
.modal-img:hover .tg-img-enlarge,.modal-img:focus-within .tg-img-enlarge{
  opacity:1;transform:translateY(0);pointer-events:auto
}
.tg-img-enlarge:hover,.tg-img-enlarge:focus-visible{
  background:rgba(24,28,52,.94);outline:2px solid rgba(119,101,255,.8);outline-offset:2px
}
@media(hover:none), (pointer:coarse){.tg-img-enlarge{opacity:1;transform:none;pointer-events:auto}}
@media(max-width:680px){
  .tg-img-enlarge{right:8px;bottom:8px;gap:4px;padding:6px 10px;font-size:12px;min-width:44px;min-height:44px}
}
.tg-product-lightbox[hidden]{display:none!important}
.tg-product-lightbox{
  position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;
  width:100%;height:100vh;height:100dvh;
  background:rgba(3,5,12,.975);color:#f7f7fc;
  font-family:inherit;overscroll-behavior:contain
}
.tg-lightbox-topbar{
  flex:0 0 auto;min-height:65px;display:flex;align-items:center;gap:12px;
  padding:12px 18px;border-bottom:1px solid rgba(255,255,255,.12);
  background:#10111f;z-index:1
}
.tg-lightbox-heading{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
.tg-lightbox-title{font-size:14px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg-lightbox-dimensions{font-size:11px;color:#a6a5ba}
.tg-lightbox-controls{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.tg-lightbox-controls button{
  appearance:none;white-space:nowrap;background:#27283c;color:#f5f4ff;
  border:1px solid rgba(255,255,255,.2);border-radius:9px;padding:8px 12px;
  font-family:inherit;font-size:12px;font-weight:700;min-height:37px;cursor:pointer
}
.tg-lightbox-controls button[aria-pressed="true"]{background:#6849cf;border-color:#8e7df0;color:white}
.tg-lightbox-controls button:focus-visible{outline:2px solid #a99bf5;outline-offset:2px}
.tg-lightbox-controls .tg-lightbox-close{font-size:22px;line-height:1;padding:6px 12px;background:#2f2131}
.tg-lightbox-controls .tg-lightbox-close:hover{background:#682d4a}
.tg-lightbox-stage{
  min-height:0;flex:1;position:relative;display:flex;align-items:center;justify-content:center;
  padding:18px;overflow:auto;overscroll-behavior:contain
}
.tg-lightbox-image{
  display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;
  box-shadow:0 12px 48px rgba(0,0,0,.4);background:transparent
}
/* At 100%, each source image pixel is represented by one CSS pixel. */
.tg-product-lightbox.is-actual .tg-lightbox-stage{display:block;text-align:center}
.tg-product-lightbox.is-actual .tg-lightbox-image{
  max-width:none;max-height:none;width:auto;height:auto;margin:0 auto;object-fit:unset
}
.tg-lightbox-help{
  flex:0 0 auto;padding:7px 14px 11px;text-align:center;color:#a6a5ba;
  font-size:11px;background:#10111f;border-top:1px solid rgba(255,255,255,.08)
}
@media(max-width:600px){
  .tg-lightbox-topbar{padding:10px 12px;gap:7px;flex-wrap:wrap}
  .tg-lightbox-title{font-size:12px}
  .tg-lightbox-controls{gap:5px}
  .tg-lightbox-controls button{font-size:11px;padding:7px 9px;min-height:36px}
  .tg-lightbox-stage{padding:9px}
  .tg-lightbox-help{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.tg-img-enlarge{transition:none}}

/* Fullscreen gallery navigation, shown only for multi-photo products. */
.tg-lightbox-nav[hidden],#tg-lightbox-counter[hidden]{display:none!important}
.tg-lightbox-nav{
  appearance:none;position:absolute;top:50%;transform:translateY(-50%);
  z-index:4;display:flex;align-items:center;justify-content:center;
  width:54px;height:54px;border:1px solid rgba(255,255,255,.35);
  border-radius:999px;background:rgba(35,30,61,.82);color:white;
  box-shadow:0 8px 28px rgba(0,0,0,.35);cursor:pointer;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background .15s ease,transform .15s ease
}
.tg-lightbox-nav-prev{left:clamp(10px,1.8vw,30px)}
.tg-lightbox-nav-next{right:clamp(10px,1.8vw,30px)}
.tg-lightbox-nav svg{width:25px;height:25px}
.tg-lightbox-nav:hover{background:#6849cf;transform:translateY(-50%) scale(1.06)}
.tg-lightbox-nav:focus-visible{outline:3px solid #b9adff;outline-offset:3px}
#tg-lightbox-counter{color:#e6ddff;font-weight:700}
@media(max-width:600px){
  .tg-lightbox-nav{width:45px;height:45px;background:rgba(35,30,61,.84)}
  .tg-lightbox-nav-prev{left:8px}
  .tg-lightbox-nav-next{right:8px}
  .tg-lightbox-nav svg{width:22px;height:22px}
}
@media(prefers-reduced-motion:reduce){.tg-lightbox-nav{transition:none}}
