/** Shopify CDN: Minification failed

Line 18:19 Expected identifier but found whitespace
Line 18:21 Unexpected "{"
Line 18:30 Expected ":"

**/


/* CSS from section stylesheet tags */
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Desktop view */
  gap: 30px;

  margin: auto;
  padding: 40px 20px;
  background-color: {{ section.settings.section_bg_color }};
}

@media only screen and (max-width: 768px) {
  .featured-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* 2 products per row on mobile */
  }
}

.featured-product {
  position: relative;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.featured-product img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.featured-product:hover img {
  transform: scale(1.1); /* Default zoom effect */
}

/* Apply different animations based on the selected animation class */

.featured-product.zoom:hover img {
  transform: scale(1.2); /* Zoom in more on hover */
}

.featured-product.rotate:hover img {
  transform: rotate(15deg); /* Rotate on hover */
}

.featured-product.slide:hover img {
  transform: translateX(10px); /* Slide the image */
}

.featured-product.fade:hover img {
  opacity: 0.8; /* Fade the image */
}

.featured-product a {
  text-decoration: none;
}

.featured-product h3 {
  font-size: 16px;
  margin: 10px 0 5px;
  text-decoration: none;
}

.featured-product .price {
  color: #555;
  font-size: 14px;
  margin-bottom: 10px;
}

.featured-product .rating {
  color: #ffc107;
  margin-bottom: 10px;
}

/* Add to Cart button styling */
.featured-product .select-btn {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background:rgb(0, 0, 0);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap; /* Prevent text from wrapping */
  font-size: 14px;
  text-align: center; /* Ensure the text is centered */
}

.featured-product:hover .select-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.select-btn:hover {
  background:rgb(0, 0, 0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile-specific button styling */
@media only screen and (max-width: 768px) {
  .featured-product .select-btn {
    padding: 12px 25px; /* Adjust padding for mobile */
    font-size: 14px; /* Adjust font size for mobile */
    width: auto; /* Make button width auto for proper sizing */
    transform: translate(-50%, -50%) scale(1); /* Reset scale for better fit */
    opacity: 1; /* Make button fully visible */
    pointer-events: auto; /* Allow interaction */
    margin-top: 20px; /* Ensure space between button and product */
    text-align: center; /* Keep text centered in the button */
  }
}