/* Make product card a flex container */
/* Make the product card image container relative so images are stacked */
.product-card__image {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Ensure both images are stacked on top of each other */
.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

/* The second image will be hidden initially */
.product-card__image img:nth-of-type(2) {
    opacity: 0;
}

/* On hover, make the first image fade out and the second fade in */
.product-card__image:hover img:nth-of-type(1) {
    opacity: 0; /* Main image fades out */
}

.product-card__image:hover img:nth-of-type(2) {
    opacity: 1; /* Hover image fades in */
}
.banners-slider banners-slider--3 {
width:300px!important
}

/*------------------------*/

.discount-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999;
}

.discount-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.discount-popup {
  background: #fafafa;
  width: 90%;
  max-width: 380px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.discount-popup-overlay.show .discount-popup {
  transform: translateY(0);
}

.discount-popup h2 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.discount-popup p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.discount-popup .discount {
  display: block;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.popup-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}