.modal-content {
  border-radius: 10px;
}
.swiper {
  width: 100%;
  height: auto;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.swiper-container {
  width: 100%;
  height: auto;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.btn-dark {
  background-color: #222;
  color: white;
  border: none;
  padding: 10px 20px;
}
.btn-dark:hover {
  background-color: #444;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
}

.default-image {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease-in-out;
}

.hover-image {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.product:hover .default-image {
  opacity: 0;
}

.product:hover .hover-image {
  opacity: 1;
}

/* Overlay */
.product-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Show overlay on hover */
.product:hover .product-overlay {
  opacity: 1;
}

/* ADD TO CART Button */
.add-to-cart {
  background: #222;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.add-to-cart:hover {
  background: #444;
}

/* Icons */
.product-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.product-icons span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.product-icons span i {
  color: #222;
  font-size: 16px;
}

.product-icons span:hover {
  background: #444;
}

.product-icons span:hover i {
  color: white;
}

.product-card {
  position: relative;
  padding: 15px;
  transition: all 0.3s ease-in-out;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.product-card:hover .hover-image {
  opacity: 1;
}

.view-details {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 50%;
  width: 60%;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
}

.product-card:hover .view-details {
  opacity: 1;
  visibility: visible;
}


