.clicky-fv-thumb {
    position: relative;
    cursor: pointer;
}
.clicky-fv-thumb img {
    width: 100%;
    display: block;
}
.clicky-fv-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 10px;
}
.clicky-featured-video {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.clicky-featured-video iframe,
.clicky-featured-video video {
    width: 100%;
    height: auto;
    display: block;
}
.clicky-featured-video.woocommerce-product-gallery__image iframe, .clicky-hover-container.woocommerce-product-gallery__image iframe{
    height: 350px;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url('../img/play-button.png') no-repeat center center;
    background-size: 50% 50%;
    border-radius: 50%;
    z-index: 5;
    pointer-events: none; /* Ensures it doesn’t block clicks */
}

.clicky-featured-video-lightbox {
    position: relative;
    display: inline-block;
}
.clicky-featured-video-lightbox img {
    display: block;
}

.clicky-hover-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}
.clicky-hover-container video,
.clicky-hover-container iframe,
.clicky-hover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plyr {
  --plyr-color-main: var(--clicky-player-color); /* Green */
  --plyr-video-control-color: white;
  --plyr-control-hover-background: rgba(0, 0, 0, 0.3);
  --plyr-range-thumb-background: var(--clicky-player-color);
}
button.plyr__controls__item.plyr__control {
    border: 0px;
}
button.plyr__controls__item.plyr__control {
    color: #fff;
}
button.plyr__controls__item.plyr__control.plyr__control--pressed, button.plyr__controls__item.plyr__control.plyr__control--pressed:focus, button.plyr__controls__item.plyr__control.plyr__control--paused:focus {
    background-color: var(--clicky-player-color);
}
.plyr-clicky-branding {
  margin-left: auto;
  padding: 0 12px;
  font-size: 14px;
  color: white;
  display: flex;
  align-items: center;
  font-family: sans-serif;
  opacity: 0.8;
}
.plyr__controls__item.plyr__progress__container {
    position: absolute;
    bottom: 0px;
    width: 90%;
    padding-right: 20px;
}
.plyr__controls {
    margin-bottom: 10px;
}
button.plyr__control {
    border: 0px;
    color: #fff;
}
button.plyr__control:hover {
    background-color: transparent !important;
}
.fancybox-content {
    background-color: transparent !important;
    padding: 0px !important;
}

button.fancybox-button.fancybox-close-small{
    color: #fff;
    border: 0px;
    opacity: 1;
    background-color: var(--clicky-player-color);
    border-radius: 100px;
}
.clicky-custom-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px !important;
    height: 40px !important;
    transform: translate(-50%, -50%);
    z-index: 10;
}
