/** Shopify CDN: Minification failed

Line 93:0 Unexpected "}"

**/


/* CSS from section stylesheet tags */
/* Add custom CSS here if needed */
.custom-image-grid-section {
  display: flex;
  height: 100vh; /* Full viewport height */
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
}

.custom-image-grid-section .image-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-image-grid-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.custom-image-grid-section .image-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.custom-image-grid-section .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 20px;
  z-index: 10;
}

.custom-image-grid-section .image-item:hover .image-overlay {
  opacity: 1;
}

.custom-image-grid-section .image-overlay h3 {
  margin: 0;
  color: white;
  z-index: 20;
  font-size: 5rem;
}

@media (max-width: 768px) {
  .custom-image-grid-section {
    flex-direction: column-reverse; /* Stack images in a column */
    height: 100vh; /* Allow height to adjust */
  }

  .custom-image-grid-section .image-item {
    height: auto; /* Allow each image item to adjust its height */
  }

  .custom-image-grid-section img {
    height: auto; /* Allow images to maintain aspect ratio */
    filter: grayscale(0%);
  }

  .custom-image-grid-section .image-overlay h3 {
    font-size: 4rem; /* Adjust title size for smaller screens */
  }
  .custom-image-grid-section .image-overlay {
    opacity: 100;
    background: none;
  }
}

}