/** Shopify CDN: Minification failed

Line 16:10 Unexpected "{"
Line 16:19 Expected ":"
Line 17:14 Expected identifier but found whitespace
Line 17:16 Unexpected "{"
Line 17:25 Expected ":"
Line 17:51 Expected ":"
Line 18:17 Expected identifier but found whitespace
Line 18:19 Unexpected "{"
Line 18:28 Expected ":"
Line 18:57 Expected ":"
... and 14 more hidden warnings

**/
.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* --- Header Styles --- */
.custom-video-grid__header {
  margin-bottom: 50px;
  text-align: center;
}
.custom-video-grid__title {
  margin: 0 0 20px;
  font-weight: 600;
}
.custom-video-grid__button {
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 12px 24px;
  color: var(--text-color);
  background-color: transparent;
  border: 1px solid var(--text-color);
}
.custom-video-grid__button:hover {
  color: var(--bg-color, #FFFFFF);
  background-color: var(--text-color);
}

/* --- Video Grid Styles --- */
.custom-video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 15px;
}
.custom-video-grid__item-wrapper {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 280px;
}
.custom-video-grid__block {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #000;
}
.custom-video-grid__block-title {
  font-size: 16px;
  text-align: center;
  margin: 15px 0 0;
  font-weight: 500;
}
.custom-video-grid__product-link {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.custom-video-grid__product-link:hover {
  opacity: 0.7;
}
.custom-video-grid__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.custom-video-grid__video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 749px) {
  .section-{{ section.id }}-padding {
    padding-top: {{ section.settings.padding_top | times: 0.7 | round: 0 }}px;
    padding-bottom: {{ section.settings.padding_bottom | times: 0.7 | round: 0 }}px;
  }
  .custom-video-grid__title {
    font-size: {{ section.settings.title_size | times: 0.8 | round: 0 }}px !important;
  }
  .custom-video-grid__item-wrapper {
    min-width: calc(50% - 15px);
  }
}
