

/* Video thumbnails styles */

.video-thumbnails {

  display: flex;

  flex-wrap: wrap;

  gap: var(--space-md);

  justify-content: center;

  margin-top: var(--space-md);

}



.video-thumbnail {

  position: relative;

  width: 160px;

  height: 90px;

  border-radius: var(--radius-sm);

  overflow: hidden;

  cursor: pointer;

  box-shadow: var(--shadow-small);

  border: 2px solid var(--border-color);

  transition: all var(--transition-fast);

}



.video-thumbnail:hover {

  transform: scale(1.05);

  border-color: var(--primary-color);

}



.video-thumbnail img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.play-button {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 40px;

  height: 40px;

  background-color: rgba(0, 0, 0, 0.7);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

}



.play-button:before {

  content: '';

  display: block;

  width: 0;

  height: 0;

  border-top: 8px solid transparent;

  border-bottom: 8px solid transparent;

  border-left: 12px solid white;

  margin-left: 3px;

}



/* PDF icons for the resources section */

.resource-icon svg {

  width: 20px;

  height: 20px;

  fill: white;

}



/* Adjust spacing for YouTube section */

.youtube-demo {

  margin-top: 2rem !important;

  padding-top: 1rem !important;

  text-align: center;

}



.youtube-demo .custom-heading h4 {

  font-size: 1.8rem !important;

  color: var(--primary-dark);

  margin: 0;

}



/* Responsive adjustments for video thumbnails */

@media (max-width: 768px) {

  .video-thumbnails {

    justify-content: center;

  }



  .video-thumbnail {

    width: 140px;

    height: 80px;

  }



  .play-button {

    width: 32px;

    height: 32px;

  }



  .play-button:before {

    border-top: 6px solid transparent;

    border-bottom: 6px solid transparent;

    border-left: 10px solid white;

  }

}



@media (max-width: 480px) {

  .video-thumbnails {

    flex-direction: column;

    align-items: center;

  }



  .video-thumbnail {

    width: 200px;

    height: 120px;

  }

}



/* Make sure the main product image is centered and properly sized */

.main-image {

  display: flex;

  justify-content: center;

  align-items: center;

}



#main-product-image {

  max-width: 85%;

  max-height: 85%;

  object-fit: contain;

}