/* úprava galérie pre video */
.p-thumbnails-inner .p-thumbnail {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 1px solid #eee;
  box-sizing: border-box;
}

.p-thumbnails-inner .p-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-thumbnails a {
  width: 100px;
}
.p-thumbnails::after {
  background-color: inherit !important;
}

/*cena*/
@media only screen and (min-width: 768px) {
  .p-final-price-wrapper .price-final-holder {
    font-weight: 500 !important;
  }
}
/* galéria mobil posunutie */
@media screen and (max-width: 767px) {
  .p-thumbnails {
    height: 125px;
  }
}
/* colorbox úprava */

#cboxPrevious,
#cboxNext {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 9999;
  border: none;
  color: #000;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#colorbox,
#cboxContent,
#cboxLoadedContent,
.cboxPhoto,
#cboxLoadedContent video {
  border-radius: 12px;
  overflow: hidden;
}

.cboxPhoto {
  border-radius: 12px;
}

#cboxPrevious,
#cboxNext {
  font-size: 0 !important; /* Skryje text, ale nie ikonu vo ::before */
  line-height: 0 !important;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

#cboxWrapper {
  margin-top: 3px;
}

#cboxLoadedContent video {
  width: auto !important;
  height: auto !important;
  max-width: 95vw !important;
  max-height: 80vh !important;
}

.p-thumbnail a.video-lightbox {
  position: relative;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: rgba(255, 174, 204, 0.6); /* ružová s priehľadnosťou */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-overlay::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
  display: block;
  margin-left: 5px;
}
