/* Full-screen product image viewer (shared by every theme) */
.pdp-stage { position: relative; cursor: zoom-in; }
.pdp-expand {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #222; box-shadow: 0 2px 8px rgba(0,0,0,.18);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.pdp-expand:focus-visible, .gv-btn:focus-visible, .gv-th:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.gv { position: fixed; inset: 0; z-index: 2000; background: rgba(8,8,10,.98); display: none; flex-direction: column; color: #fff; }
.gv.is-open { display: flex; }
.gv-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 14px; }
.gv-count { opacity: .85; letter-spacing: .02em; }
.gv-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14);
  color: #fff; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.gv-btn:hover { background: rgba(255,255,255,.26); }
.gv-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.gv-img {
  position: absolute; left: 0; top: 0; max-width: none; max-height: none;
  transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; cursor: grab;
}
.gv-img.is-anim { transition: transform .22s ease; }
.gv-nav { position: absolute; top: 50%; margin-top: -22px; z-index: 2; }
.gv-prev { left: 12px; } .gv-next { right: 12px; }
.gv-thumbs { display: flex; gap: 8px; justify-content: center; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); overflow-x: auto; }
.gv-th { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; opacity: .6; cursor: pointer; overflow: hidden; }
.gv-th img { width: 100%; height: 100%; object-fit: contain; }
.gv-th.is-active { border-color: #fff; opacity: 1; }
.gv-hint { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px; opacity: .6; pointer-events: none; }
@media (hover: none) { .gv-nav { display: none; } .pdp-stage { cursor: pointer; } }
@media (hover: none) { .gv-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .gv-img.is-anim { transition: none; } }
