/* Tratamiento natural: conserva color, textura y contraste de la foto original. */
.product-card .product-image {
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #f8f7f7 0 20%, #efedef 58%, #e5e2e4 100%);
}

.product-card .product-image > a {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.01) saturate(1.01);
  transform: scale(1.005);
  backface-visibility: hidden;
  transition: transform .75s cubic-bezier(.2,.72,.2,1), filter .45s ease, opacity .38s ease;
}

.product-card .product-image > a::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgba(20,16,18,.035));
}

.product-card:hover .product-image img {
  filter: contrast(1.02) saturate(1.02);
  transform: scale(1.045);
}

.product-card.sold-out-card .product-image img {
  filter: contrast(1.005) saturate(1.005);
  opacity: 1;
}

.product-card.sold-out-card .product-image > .badge:first-of-type {
  color: #fff;
  background: #111;
  padding: 10px 15px;
  border: 2px solid #fff;
  font-size: 9px;
  letter-spacing: .18em;
  box-shadow: 0 7px 20px rgba(0,0,0,.24);
}

.product-card.sold-out-card .quick-add {
  min-height: 52px;
  padding: 8px 12px;
  color: #111;
  background: rgba(245,193,210,.96);
  box-shadow: 0 8px 24px rgba(125,36,73,.16);
  font-size: 8px;
  line-height: 1.25;
}

.product-card.sold-out-card .quick-add:hover {
  color: #fff;
  background: #111;
}

.product-grid .product-card:nth-child(3n + 2) .product-image {
  background: radial-gradient(circle at 50% 42%, #f8f6f7 0 20%, #f0eaed 58%, #e7dfe3 100%);
}

.product-grid .product-card:nth-child(3n + 3) .product-image {
  background: radial-gradient(circle at 50% 42%, #f7f7f7 0 20%, #ededee 58%, #e3e3e5 100%);
}

@media (max-width: 700px) {
  .product-card .product-image img {
    filter: contrast(1.005) saturate(1.005);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card .product-image img { transition: none; }
}
