/* .explore-all-btn, */
.flash-sale-header h2 {
  color: #000;
  font-family: Poppins, sans-serif;
  text-align: center;
}

#flash-sale {
  width: 100%;
  padding: 5px;
  /* background-color: #fdfbf6; */
  box-sizing: border-box;
  margin-top: 25px;
}

.flash-sale-header {
  display: flex;
  justify-content: center; /* Centers items horizontally */
  align-items: center; /* Centers items vertically */
  margin-bottom: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.flash-sale-header h2 {
  font-weight: 400;
  font-size: 24px;
  margin: 0; /* Optional: Remove any additional margins */
}


/* Container to center the button */
.explore-all-btn-container {
  text-align: center;
  margin-top: 50px; /* Moved from the button */
}

/* Adjust button to be inline-block */
.explore-all-btn {
  display: inline-block;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 4vw, 1.5rem);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 400;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.explore-all-btn:hover,
.explore-all-btn:focus {
  background-color: var(--btn-color);
  color: var(--btn-bg);
  transform: translateY(-2px);
}

.flash-sale-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  transition: box-shadow var(--transition), transform var(--transition);
}





.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.mobile-btn-wrapper {
  display: none;
}

@media (max-width: 992px) {
  .flash-sale-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .flash-sale-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }
  .flash-sale-products {
    grid-template-columns: repeat(2, 1fr);
  }
  /* .explore-all-btn-container {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    order: 1;
  } */
  .flash-sale-header .explore-all-btn {
    display: none;
   
  }
  /* .mobile-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  } */
}

.product-card.card-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.product-card.card-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s, transform 0.9s;
}
