#latest-products-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
  }

  .slide-product-card {
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 250px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 1rem;
    scroll-snap-align: start;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
  }

  .slide-product-card:hover {
    transform: scale(1.03);
  }

.slide-product-card img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
}


  .slide-product-card p {
  text-align: left;
  margin-top: 0.5rem; /* optional, for spacing */
  font-weight: 600;   /* optional, make price stand out */
  color: #333;        /* optional, a nice dark color */
}

#similar-products-carousel {
  scrollbar-width: thin;
}
.similar-product-card {
  min-width: 10%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
  text-align: center;
}

.similar-product-card img {
  width: 100%;           /* Fill container */
  height: 150px;         /* Fixed height */
  object-fit: contain;   /* Keep aspect ratio inside box */
  border-radius: 6px;
}

.similar-product-card h4 {
  font-size: 16px;
  margin: 10px 0 5px;
}
.similar-product-card p {
  color: green;
  font-weight: bold;
}

#similar-products-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.similar-product-card {
  cursor: pointer;
}

