/*!****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/sd-product-images/style.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************/
/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
.wp-block-custom-image-grid {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}
.image-grid-container {
  width: 100%;
  overflow: hidden;
}
.image-grid-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.image-grid-item {
  width: 100%;
}
.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f0f0f0;
  border-radius: 8px;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
/* Featured image takes full width */
.featured-image {
  grid-column: 1/-1;
}
/* Gallery images in 2 columns on desktop */
@media (min-width: 768px) {
  .image-grid-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-image {
    grid-column: 1/-1;
  }
}
/* Image wrapper to allow button to take full space */
.image-wrapper button.image-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.image-wrapper button.image-lightbox-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
/* Lightbox Styles */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-lightbox.active {
  display: block;
  opacity: 1;
}
.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image-wrapper {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}
.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 44px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}
.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-nav.hidden {
  display: none;
}
/* Mobile responsive */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
  .lightbox-nav {
    width: 40px;
    height: 50px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}
/* Slider controls - hidden on desktop */
.slider-controls {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-btn:hover {
  background: #f0f0f0;
}
.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.slider-dots {
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.2s;
}
.slider-dot.active {
  background-color: #333;
}
/* Mobile slider styles */
@media (max-width: 767px) {
  .image-grid-container {
    position: relative;
    touch-action: pan-y pinch-zoom;
  }
  .image-grid-track {
    display: flex;
    transition: transform 0.3s ease-out;
    gap: 0;
  }
  .image-grid-item {
    flex: 0 0 100%;
    padding: 0 0.5rem;
  }
  .slider-controls {
    display: flex;
    justify-content: flex-end;
  }
  /* Smooth scroll snap */
  .image-grid-container.scroll-snap {
    scroll-snap-type: x mandatory;
  }
  .scroll-snap .image-grid-item {
    scroll-snap-align: center;
  }
}
/* Animation for slider transitions */
@media (max-width: 767px) {
  .image-grid-track.animating {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/*# sourceMappingURL=style-index.css.map*/