.product-item-2 .badge-name {
  position: unset;
}

.badge-name-product-card {
  width: auto;
  min-height: 22px;
  border-radius: 8px !important;
  justify-content: center !important;
  align-items: center !important;
  white-space: pre-wrap !important;
  text-align: center !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  top: 21px !important;
  left: 12px !important;
  right: unset !important;
}

.ltr .badge-name-product-card {
  left: unset !important;
  right: 12px !important;
}

.product-item {
  width: 100%;
}

.product-card-media {
  position: relative;
  width: 100%;
  height: 158px;
  border-radius: 15px;
  overflow: hidden;
}

.product-card-image-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.product-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.product-card-search {
  position: absolute;
  top: 12px;
  inset-inline-start: 11px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.product-card-search svg {
  width: 20px;
  height: 20px;
}

.product-card-search:hover {
  background: rgba(255, 255, 255, 0.5);
}

.product-card-cta {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 8px;
  z-index: 3;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background-color: #6fa3af;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12px;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.product-card-btn:hover {
  opacity: 0.94;
  color: #ffffff !important;
  text-decoration: none;
}

.product-card-body {
  margin-top: 8px;
  text-align: start;
}

.product-card-title-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-title {
  margin: 0;
  color: #000000;
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card-price-current {
  color: #686b6b;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
}

.product-card-price-old {
  color: #acafab;
  font-size: 14px;
  line-height: normal;
  text-decoration: line-through;
}

.product-card-rating-wrap {
  margin-top: 10px;
}

.product-item .product-card-rating .icon-star1:before,
.product-item .product-card-rating .icon-half-star:before {
  color: #6fa3af;
}

.product-item .product-card-rating .icon-star1.deactive:before {
  color: #cfd8da;
}

@media (min-width: 768px) {
  .product-card-media {
    height: 381px;
  }

  .product-card-search {
    top: 18px;
    inset-inline-start: 19px;
    width: 45px;
    height: 45px;
  }

  .product-card-search svg {
    width: 28px;
    height: 28px;
  }

  .product-card-cta {
    left: 26px;
    right: 26px;
    bottom: 15px;
  }

  .product-card-btn {
    height: 44px;
    font-size: 16px;
  }

  .product-card-body {
    margin-top: 24px;
  }

  .product-card-title {
    font-weight: 700;
    font-size: 18px;
  }

  .product-card-price {
    margin-top: 12px;
    gap: 8px;
  }

  .product-card-price-current {
    font-size: 18px;
  }

  .product-card-price-old {
    font-size: 18px;
  }

  .product-card-rating-wrap {
    margin-top: 20px;
  }

  /* Desktop default: hide hover UI */
  .product-card-overlay,
  .product-card-search,
  .product-card-cta {
    opacity: 0;
  }

  .product-card-search,
  .product-card-cta {
    pointer-events: none;
  }

  .product-card-search {
    transform: translateY(-8px) scale(0.92);
  }

  .product-card-cta {
    transform: translateY(12px);
  }

  /* Desktop hover animation */
  .product-item:hover .product-card-img {
    transform: scale(1.04);
  }

  .product-item:hover .product-card-overlay,
  .product-item:hover .product-card-search,
  .product-item:hover .product-card-cta {
    opacity: 1;
    transform: none;
  }

  .product-item:hover .product-card-search,
  .product-item:hover .product-card-cta {
    pointer-events: auto;
  }
}

@media (hover: none) {
  .product-card-overlay,
  .product-card-search,
  .product-card-cta {
    opacity: 1 !important;
    transform: none !important;
  }

  .product-card-search,
  .product-card-cta {
    pointer-events: auto !important;
  }

  .product-card-overlay {
    pointer-events: none !important;
  }
}
