/** Shopify CDN: Minification failed

Line 51:8 Expected identifier but found whitespace
Line 51:10 Unexpected "{"
Line 51:23 Expected ":"
Line 51:39 Expected identifier but found "%"
Line 56:8 Expected identifier but found whitespace
Line 56:10 Unexpected "{"
Line 56:12 Expected identifier but found "100"
Line 56:44 Expected identifier but found "%"

**/
/* FULL IMAGE DISPLAY - Hero Slideshow CSS */

.hero-slideshow {
  position: relative;
  overflow: hidden;
  /* Calculate height based on 16:9 aspect ratio for full image display */
  height: var(--section-height);
  min-height: 56.25vw; /* 16:9 aspect ratio (9/16 * 100) */
  max-height: 100vh; /* Don't exceed viewport height */
  
  /* Fallback for older browsers */
  min-height: 400px;
}

/* Desktop: Better min-height for larger screens */
@media (min-width: 768px) {
  .hero-slideshow {
    height: var(--sm-section-height);
    min-height: 56.25vw; /* Maintain 16:9 ratio */
    max-height: 90vh; /* Leave some space for navigation */
    
    /* Alternative: Fixed height approach for more control */
    /* min-height: 600px; */
    /* height: 700px; */
  }
}

/* Very large screens: Cap the size */
@media (min-width: 1920px) {
  .hero-slideshow {
    min-height: 1080px; /* Native height of your image */
    height: 1080px;
  }
}

.hero-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: {{ slide_count | times: 100 }}%;
  height: 100%;
}

.hero-slide {
  width: {{ 100 | divided_by: slide_count }}%;
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

/* FULL IMAGE DISPLAY - Media container */
.hero-slide .hero-media {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Background color for letterboxing areas */
  background-color: #000; /* Change to match your design */
}

.media {
  height: 100% !important;
}

/* SHOW FULL IMAGE - No cropping */
.hero-slide .hero-media img,
.hero-slide .hero-media video {
  width: 100%;
  height: 100% !important;
  /* CONTAIN shows the entire image without cropping */
  object-fit: cover;
  object-position: center;
  /* Optional: Add subtle animation */
  transition: transform 0.3s ease;
}

/* Optional: Slight zoom effect on hover */
.hero-slide .hero-media img:hover {
  transform: scale(1.02);
}

/* Alternative: If you want some areas to use cover instead */
.hero-slide .hero-media.use-cover img {
  object-fit: cover;
}

/* Text container positioning - with better spacing for full image */
.hero-slide .hero-text-container {
  display: flex !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 3;
}

/* Positioning classes with better spacing for larger banners */
.hero-slide .hero-text-container.vertical-top {
  align-items: flex-start !important;
  padding-top: clamp(60px, 10vh, 120px);
}

.hero-slide .hero-text-container.vertical-center {
  align-items: center !important;
}

.hero-slide .hero-text-container.vertical-bottom {
  align-items: flex-end !important;
  padding-bottom: clamp(60px, 10vh, 120px);
}

.hero-slide .hero-text-container.horizontal-left {
  justify-content: flex-start !important;
  padding-left: clamp(40px, 6vw, 80px);
}

.hero-slide .hero-text-container.horizontal-center {
  justify-content: center !important;
}

.hero-slide .hero-text-container.horizontal-right {
  justify-content: flex-end !important;
  padding-right: clamp(40px, 6vw, 80px);
}

/* Desktop positioning overrides */
@media only screen and (min-width: 768px) {
  .hero-slide .hero-text-container {
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-slide .hero-text-container.sm-vertical-top {
    align-items: flex-start !important;
    padding-top: clamp(80px, 12vh, 150px);
  }
  
  .hero-slide .hero-text-container.sm-vertical-center {
    align-items: center !important;
  }
  
  .hero-slide .hero-text-container.sm-vertical-bottom {
    align-items: flex-end !important;
    padding-bottom: clamp(80px, 12vh, 150px);
  }
  
  .hero-slide .hero-text-container.sm-horizontal-left {
    justify-content: flex-start !important;
    padding-left: clamp(60px, 8vw, 120px);
  }
  
  .hero-slide .hero-text-container.sm-horizontal-center {
    justify-content: center !important;
  }
  
  .hero-slide .hero-text-container.sm-horizontal-right {
    justify-content: flex-end !important;
    padding-right: clamp(60px, 8vw, 120px);
  }
}

/* Content width - responsive to larger banner */
.hero-slide .hero-text-container > div {
  max-width: min(900px, 85vw); /* Slightly larger for bigger banner */
  margin: 0 auto;
  text-align: inherit;
}

/* Hero structure */
.hero-slide .hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: var(--section-height);
  background: transparent;
}

/* Overlay with better opacity for full image display */
.hero-slide .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  opacity: var(--overlay-opacity);
  z-index: 2;
  pointer-events: none;
  /* Ensure overlay covers letterbox areas too */
  background-size: cover;
}

.hero-slide .hero-text {
  position: relative;
  height: 100%;
  z-index: 3;
  color: var(--color-overlay-text);
}

/* Navigation controls - adjusted for larger banner */
.hero-slideshow-controls {
  position: absolute;
  bottom: clamp(20px, 3vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-slideshow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}

.hero-slideshow-dot.active {
  background: rgba(255, 255, 255, 1);
}

.hero-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background 0.3s ease;
}

.hero-slideshow-nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero-slideshow-nav.prev {
  left: 20px;
}

.hero-slideshow-nav.next {
  right: 20px;
}

@media (max-width: 767px) {
  .hero-slideshow-nav {
    display: none;
  }
}

/* Optional: Custom background colors for letterboxing */
.hero-slideshow.bg-white .hero-slide .hero-media {
  background-color: #ffffff;
}

.hero-slideshow.bg-black .hero-slide .hero-media {
  background-color: #000000;
}

.hero-slideshow.bg-gray .hero-slide .hero-media {
  background-color: #f5f5f5;
}

/* Utility: Force cover mode for specific slides if needed */
.hero-slide.force-cover .hero-media img {
  object-fit: cover !important;
}

/* Debug mode - uncomment to see boundaries */
/*
.hero-slideshow {
  border: 3px solid red;
}
.hero-slide .hero-media {
  border: 2px solid blue;
}
.hero-slide .hero-media img {
  border: 2px solid green;
}
*/