/******* Do not edit this file *******
Code Snippets Manager
Saved: Nov 19 2025 | 19:42:08 */
/* Grid layout for the videos */
.product-videos-grid {
  display: grid;
  grid-template-columns: 1fr;      /* 1 column on mobile */
  gap: 16px;                       /* space between videos */
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
  .product-videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .product-videos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive 16:9 video wrapper */
.product-video-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;             /* 16:9 aspect ratio */
  overflow: hidden;
}

.product-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Prevent stray <p> tags inside the grid from taking up their own column */
.product-videos-grid > p {
  display: contents;  /* let their children participate in the grid instead */
  margin: 0;
  padding: 0;
}