/** Shopify CDN: Minification failed

Line 458:18 Unexpected "{"
Line 458:27 Expected ":"
Line 458:33 Unexpected ","

**/
/* Video Stories Section */
.hdt-video-stories {
  --video-card-radius: 16px;
  --product-badge-bg: #fff;
  --view-btn-bg: #6b8e23;
  --view-btn-color: #fff;
}

/* Section Heading - Center alignment */
.hdt-video-stories .hdt-section-head {
  margin-bottom: calc(var(--margin-heading_bottom, 30px) * 0.75);
  width: 100%;
  text-align: center;
}

.hdt-video-stories .hdt-section-main-heading {
  gap: 10px;
  width: 100%;
}

.hdt-video-stories .hdt-sec-heading {
  justify-content: center;
}

/* Container */
.hdt-video-stories-container {
  position: relative;
  padding: 0 50px;
}

@media screen and (max-width: 767px) {
  .hdt-video-stories-container {
    padding: 0 15px;
  }
}

/* Slider Setup */
.hdt-video-stories .hdt-slider {
  --slide-size: 25%;
  --slide-spacing: 20px;
}

.hdt-video-stories .hdt-slider__viewport {
  overflow: visible;
  padding: 40px 0;
  margin: -40px 0;
}

.hdt-video-stories .hdt-slider__container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  /* margin-inline-start: calc(var(--slide-spacing) * -1); */
}

/* Video card - slide sizing */
.hdt-video-stories .hdt-video-card.hdt-slider__slide {
  flex: 0 0 24%;
  min-width: 0;
  /* padding-inline-start: var(--slide-spacing); */
  box-sizing: border-box;
}

.hdt-video-card {
  position: relative;
  border-radius: var(--video-card-radius);
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

/* Active/Center slide - larger and prominent */
.hdt-video-card.is-active,
.hdt-video-card.hdt-active {
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hdt-video-card:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hdt-video-card.is-active:hover,
.hdt-video-card.hdt-active:hover {
  transform: scale(1.05) translateY(-4px);
}

/* Full card link overlay */
.hdt-video-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

/* Video wrapper */
.hdt-video-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: var(--video-card-radius);
}

.hdt-video-card__media video,
.hdt-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder */
.hdt-video-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hdt-video-card__placeholder svg {
  width: 48px;
  height: 48px;
  fill: rgba(255,255,255,0.8);
}

/* Product name badge */
.hdt-video-card__badge {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--product-badge-bg);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  max-width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 3;
}

/* Product info section */
.hdt-video-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 12px;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  border-radius: 0 0 var(--video-card-radius) var(--video-card-radius);
}

/* Product thumbnail */
.hdt-video-card__thumb {
  width: 45px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid #eee;
}

.hdt-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Price section */
.hdt-video-card__price {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hdt-video-card__price-current {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hdt-video-card__price-compare {
  font-size: 10px;
  color: #999;
  text-decoration: line-through;
}

/* View button */
.hdt-video-card__btn {
  background: #886f57;
  color: var(--view-btn-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  flex-shrink: 0;
  transition: background 0.3s ease;
  position: relative;
  z-index: 6;
}

.hdt-video-card__btn:hover {
  background: #5e3914;
}

/* Navigation arrows */
.hdt-video-stories .hdt-slider__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: none;
}

.hdt-video-stories .hdt-slider__button:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.1);
}

.hdt-video-stories .hdt-slider__button--prev {
  left: 0;
}

.hdt-video-stories .hdt-slider__button--next {
  right: 0;
}

.hdt-video-stories .hdt-slider__button svg {
  width: 10px;
  height: 16px;
  fill: #333;
}

/* Video play state */
.hdt-video-card__media video {
  pointer-events: none;
}

/* Dots styling */
.hdt-video-stories .hdt-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.hdt-video-stories .hdt-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hdt-video-stories .hdt-slider__dot.is-active {
  background: var(--view-btn-bg);
  transform: scale(1.2);
}

/* Touch-friendly on mobile */
@media screen and (max-width: 767px) {
  .hdt-video-stories .hdt-slider__dot {
    width: 10px;
    height: 10px;
  }
}
.hdt-video-stories .hdt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px;
    box-sizing: border-box;
}
.hdt-video-stories-container .hdt-slider__container {
    gap: 20px;
}

/* ========== RESPONSIVE ========== */

/* Mobile - show 1 full + peek of next with infinite slider */
@media screen and (max-width: 767px) {
  .hdt-video-stories .hdt-slider {
    --slide-size: 70% !important;
    --slide-spacing: 20px !important;
  }

  .hdt-video-stories .hdt-slider__button {
    display: none !important;
  }

  .hdt-video-card__badge {
    font-size: 12px;
    padding: 6px 14px;
    bottom: 80px;
  }

  .hdt-video-card__info {
    padding: 10px 10px;
  }

  .hdt-video-card__thumb {
    width: 42px;
    height: 39px;
  }

  .hdt-video-card__price-current {
    font-size: 12px;
  }

  .hdt-video-card__price-compare {
    font-size: 10px;
  }

  .hdt-video-card__btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hdt-video-stories .hdt-section-head {
    margin-bottom: 20px;
  }
  
  /* Enable proper slider behavior on mobile */
  .hdt-video-stories .hdt-slider__viewport {
    overflow: visible;
  }
  
  .hdt-video-stories .hdt-slider__container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-in-out;
  }
  
  .hdt-video-stories .hdt-video-card.hdt-slider__slide {
    flex: 0 0 70%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Show dots on mobile */
  .hdt-video-stories .hdt-slider__dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  /* Enhanced center zoom on mobile */
  .hdt-video-card.is-active,
  .hdt-video-card.hdt-active {
    transform: scale(1.08);
    opacity: 1;
  }
  .hdt-video-stories .hdt-container {
    padding: 58px 20px 40px 20px;overflow: hidden;
}
  .hdt-video-card {
    opacity: 0.6;
  }

}

/* Tablet - 3 items */
@media screen and (min-width: 768px) and (max-width: 1149px) {
  .hdt-video-stories .hdt-slider {
    --slide-size: 33.3333% !important;
    --slide-spacing: 20px !important;
  }

  .hdt-video-stories .hdt-section-head {
    margin-bottom: calc(var(--margin-heading_bottom, 30px) * 0.85);
  }
}

/* Desktop - 4 items */
@media screen and (min-width: 1150px) {
  .hdt-video-stories .hdt-slider {
    --slide-size: 25% !important;
    --slide-spacing: 20px !important;
  }

  .hdt-video-stories .hdt-section-head {
    margin-bottom: var(--margin-heading_bottom, 30px);
  }
}

/* When 4 or less items on desktop - don't show scroll, center items */
@media screen and (min-width: 1150px) {
  .hdt-video-stories .hdt-no-scroll .hdt-slider__viewport {
    overflow: visible;
  }
}

/* Hide dots on desktop if not enabled */
@media screen and (min-width: 1150px) {
  .hdt-video-stories .hdt-slider__dots:not(.hdt-show-dot-true) {
    display: none;
  }
}
/* =========================================================
   ✅ FIX: Mobile slider going out of screen (Video Stories)
   Paste this at the VERY BOTTOM of hdt-video-stories.css
   ========================================================= */

/* Keep vertical overflow for scaling, but prevent horizontal bleed */
.hdt-video-stories .hdt-slider__viewport {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

/* Extra safety: section should not cause horizontal scroll */
#shopify-section-{{ section.id }},
.hdt-video-stories,
.hdt-video-stories-container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure track doesn't exceed viewport width */
.hdt-video-stories .hdt-slider__container {
  width: 100%;
  max-width: 100%;
}

/* Prevent iframe/video from pushing width */
.hdt-video-card__media iframe,
.hdt-video-card__media video,
.hdt-video-card__media img {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

/* Fix YouTube/Vimeo iframe intrinsic sizing overflow */
.hdt-video-card__media iframe {
  height: 100% !important;
  border: 0;
}

/* Mobile-specific: allow “peek”, but keep it inside screen */
@media screen and (max-width: 767px) {
  /* Viewport padding can cause overflow if combined with scale */
  .hdt-video-stories-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* IMPORTANT: if your slider JS uses translateX, this prevents edge overflow */
  .hdt-video-stories .hdt-slider {
    max-width: 100%;
  }

  /* Slightly reduce scale so it doesn't bleed outside on smaller phones */
  .hdt-video-card.is-active,
  .hdt-video-card.hdt-active {
    transform: scale(1.05) !important; /* was 1.08 */
  }
}


