.product-cover {
  position: relative;
}

.product-cover .product-cover-image {
  position: relative;
  z-index: 1;
}

.product-cover .product-cover-image[hidden],
.product-cover .product-cover-video[hidden] {
  display: none !important;
}

.product-cover .product-cover-video {
  display: none;
  width: 100%;
  background: #000;
}

.product-cover.is-video-playing .product-cover-image {
  display: none;
}

.product-cover.is-video-playing .product-cover-video {
  display: block;
}

.product-cover .tmdb-video-wrapper {
  width: 100%;
}

.product-cover .tmdb-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.product-cover .tmdb-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-cover .tmdb-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}

.thumb-container.tmdb-video-thumb {
  position: relative;
}

.thumb-container.tmdb-video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.tmdb-video-thumb-wrapper {
  position: relative;
  display: block;
}

.tmdb-video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmdb-video-thumb-play i {
  font-size: 22px;
  line-height: 1;
}

