#zs-pdp-gallery-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#zs-pdp-gallery-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}
.zs-pdp-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.zs-pdp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zs-pdp-slide-video {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}
.zs-pdp-slide-video .zs-vid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.zs-pdp-play-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.zs-pdp-play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #333;
  margin-left: 4px;
}
.zs-pdp-slide-video-label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  margin-top: 10px;
  font-weight: 600;
}
.zs-pdp-inline-player {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  background: #000;
}
.zs-pdp-inline-player iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.zs-pdp-inline-player.active { display: block; }
.zs-pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  padding: 0;
}
.zs-pdp-arrow-prev { left: 8px; }
.zs-pdp-arrow-next { right: 8px; }
.zs-pdp-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #333;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#zs-pdp-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.zs-pdp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}
.zs-pdp-dot.active { background: #555; }
#zs-pdp-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: 8px;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
#zs-pdp-thumbs::-webkit-scrollbar { height: 4px; }
#zs-pdp-thumbs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.zs-pdp-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  scroll-snap-align: start;
  background: #eee;
  position: relative;
  transition: border-color 0.2s;
}
.zs-pdp-thumb.active { border-color: #555; }
.zs-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zs-pdp-thumb-vid-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
}
.zs-pdp-thumb-vid-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 13px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
#zs-video-thumb-tile { display: none; }