/** Shopify CDN: Minification failed

Line 177:4 Unexpected "{"
Line 177:5 Expected identifier but found "%"
Line 179:4 Unexpected "{"
Line 179:5 Expected identifier but found "%"

**/


/* CSS from section stylesheet tags */
.mag-custom-buttons-wrapper {
  padding: 40px 0;
}

.mag-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Space between buttons */
}

.mag-custom-button {
  display: inline-block;
  padding: 18px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* Only grow when there are 3+ buttons, otherwise size to content */
  flex-grow: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Only apply flex-grow when there are multiple buttons that should stretch */
.mag-buttons-container:has(.mag-custom-button:nth-child(3)) .mag-custom-button:not(.mag-button--full-width) {
  flex-grow: 1;
  flex-basis: 22%; /* Allows up to 4 buttons per row */
  min-width: 200px;
}

/* Fallback for browsers that don't support :has() */
@supports not (selector(:has(*))) {
  .mag-custom-button:not(.mag-button--full-width) {
    flex-grow: 1;
    flex-basis: 22%;
    min-width: 200px;
  }
}

.mag-custom-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mag-button--full-width {
  flex-basis: 100%;
  flex-grow: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 990px) {
  .mag-buttons-container:has(.mag-custom-button:nth-child(3)) .mag-custom-button:not(.mag-button--full-width) {
    flex-basis: 45%; /* 2 buttons per row on tablets */
  }
  
  /* Fallback for browsers that don't support :has() */
  @supports not (selector(:has(*))) {
    .mag-custom-button:not(.mag-button--full-width) {
      flex-basis: 45%;
    }
  }
  
  .mag-button--full-width {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 749px) {
  .mag-buttons-container {
    flex-direction: column;
    align-items: stretch;
  }
  .mag-custom-button {
    width: 100%;
    margin-bottom: 10px;
  }
}
.mag-video-wrapper {
  width: 100%;
  position: relative;
}

.mag-video-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

.mag-video-box video,
.mag-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mag-video-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

.mag-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-play-btn {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.mag-play-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.3);
}

.mag-icon {
  font-size: 28px;
  color: #fff;
  margin-left: 4px;
}

.mag-ripple {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: ripple 2s infinite;
}

.ripple-2 { animation-delay: 0.6s; }
.ripple-3 { animation-delay: 1.2s; }

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

@media(max-width: 767px) {
  .mag-play-btn { width: 60px; height: 60px; }
  .mag-icon { font-size: 20px; }
  
  .mag-thumb {
    {% if section.settings.thumb_mobile != blank %}
      content: url('{{ section.settings.thumb_mobile | img_url: 'master' }}');
    {% endif %}
  }
}