/* PAWLINE_STRIDE_GALLERY_V4 | isolated video thumbnail rail */
.pl-gallery .stride-gallery-v4__rail {
  justify-content: flex-start;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.pl-gallery .stride-gallery-v4__rail[hidden] { display: none !important; }
.pl-gallery .stride-gallery-v4__thumb {
  position: relative;
  scroll-snap-align: start;
  background: #29231d;
}
.pl-gallery .stride-gallery-v4__thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.pl-gallery .stride-gallery-v4__play {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: white;
  background: rgba(28, 22, 18, .78);
  border-radius: 50%;
  font-size: 10px;
  pointer-events: none;
}
/* PAWLINE_STRIDE_PAGE_BG_SIDES_V2
   Videos verticales: conservar el encuadre completo y hacer que los
   laterales usen exactamente el color de fondo editorial de la pagina. */
.pl-gallery__viewport.stride-gallery-v4__video-active {
  background: var(--pl-paper);
}
.pl-gallery__viewport > .stride-gallery-v4__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--pl-paper) !important;
  background-image: none !important;
  filter: none;
  transform: none;
  pointer-events: none;
}
.pl-gallery__viewport > .stride-gallery-v4__player {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.pl-gallery__viewport.stride-gallery-v4__video-active > .pl-gallery__arrow {
  z-index: 3;
}
.pl-gallery__viewport > #productMainImage[hidden] { display: none !important; }
.pl-gallery__viewport > .stride-gallery-v4__warning {
  position: absolute;
  z-index: 4;
  left: 12px; bottom: 12px; right: 12px;
  padding: 12px; border-radius: 9px;
  background: rgba(32, 25, 20, .85); color: white;
  font: 12px/1.4 Arial, sans-serif;
}
