.product-card,
.product-card * {
  box-sizing: border-box;
}

.product-card {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: clamp(245px, 70vw, 370px);
  overflow: hidden;
  border-radius: clamp(12px, 2.5vw, 18px);
  background: #fff;
  border: 1px solid rgba(48, 25, 31, 0.06);
  box-shadow: 0 8px 20px rgba(30, 20, 24, 0.045);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(30, 20, 24, 0.085);
}

.product-card-click {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 0.78 / 1;
  min-height: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: clamp(12px, 2.5vw, 18px) clamp(12px, 2.5vw, 18px) 0 0;
  background: linear-gradient(135deg, #c92f35, #861226 58%, #d9a84d);
}

.product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.product-media:not(:has(img))::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 26%, rgba(255,255,255,0.38), transparent 12%),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.12) 0 2px,
      transparent 2px 18px
    );
  opacity: 0.88;
}

.product-media:not(:has(img))::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 5%;
  bottom: -10%;
  height: 88%;
  border-radius: 52% 48% 0 0;
  transform: rotate(-4deg);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(199,146,67,0) 0 15px,
      rgba(199,146,67,0.58) 15px 18px
    ),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(0,0,0,0.08));
}

.product-offer {
  position: absolute;
  z-index: 4 !important;
  top: 8px !important;
  left: 8px !important;
  padding: 5px 9px !important;
  border-radius: 3px !important;
  color: #fff;
  background: #c01863 !important;
  box-shadow: 0 5px 12px rgba(60, 20, 30, 0.14) !important;
  font-family: var(--font-sans);
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase;
}

.product-heart {
  position: absolute !important;
  z-index: 5 !important;
  top: 7px !important;
  right: 8px !important;

  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;

  display: grid !important;
  place-items: center !important;

  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;

  font-family: var(--font-sans);
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  pointer-events: auto !important;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: none !important;
}

.product-heart.is-favorited {
  color: #8f1731 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: scale(1.08) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 10px rgba(0, 0, 0, 0.22);
}

.product-info {
  padding: clamp(7px, 1.8vw, 12px) clamp(10px, 2.4vw, 16px) clamp(9px, 2.2vw, 14px);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(78px, 22vw, 102px);
}

.product-info h3,
.product-info .product-name {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;

  min-height: 2.3em;
  max-height: 2.3em;

  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-category {
  margin: 0 0 6px;
  color: #6d7682;
  font-family: var(--font-sans);
  font-size: clamp(9.5px, 2.15vw, 12.5px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  min-height: 1.05em;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  min-height: 22px;
}

.product-price strong {
  color: #111827;
  font-family: var(--font-sans);
  font-size: clamp(16px, 3.7vw, 22px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.product-price del {
  color: #b24a4f;
  font-family: var(--font-sans);
  text-decoration-color: #b24a4f;
  text-decoration-thickness: 1.5px;
  font-size: clamp(10.5px, 2.35vw, 13.5px);
  font-weight: 700;
  opacity: 0.72;
}

.product-whatsapp {
  display: none !important;
}

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

  .product-media {
    aspect-ratio: 0.82 / 1;
  }

  .product-info {
    min-height: 112px;
  }
}

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

  .product-media {
    aspect-ratio: 0.78 / 1;
  }
}

@media (max-width: 480px) {
  .product-card {
    min-height: 246px;
  }

  .product-media {
    aspect-ratio: 0.86 / 1;
  }

  .product-info {
    padding: 8px 10px 10px;
    min-height: 95px;
  }

.product-info h3,
.product-info .product-name {
  margin-bottom: 4px;
  font-size: 13.5px;
  line-height: 1.12;

  -webkit-line-clamp: 2;

  min-height: 2.24em;
  max-height: 2.24em;
}

  .product-category {
    margin-bottom: 6px;
    font-size: 9.4px;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .product-price {
    gap: 5px;
  }

  .product-price strong {
    font-size: 16px;
  }

  .product-price del {
    font-size: 10.5px;
  }

  .product-offer {
    top: 7px !important;
    left: 7px !important;
    padding: 4px 7px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
  }

  .product-heart {
    top: 5px !important;
    right: 6px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 17px !important;
  }
}



@media (max-width: 360px) {
  .product-card {
    min-height: 224px;
  }

  .product-info {
    padding: 7px 9px 8px;
    min-height: auto;
  }

.product-info h3,
.product-info .product-name {
  font-size: 12.5px;
  line-height: 1.12;

  -webkit-line-clamp: 2;

  min-height: 2.24em;
  max-height: 2.24em;
}
  .product-category {
    font-size: 8.8px;
    margin-bottom: 5px;
  }

  .product-price strong {
    font-size: 15px;
  }

  .product-price del {
    font-size: 10px;
  }

  .product-offer {
    padding: 4px 6px !important;
    font-size: 8px !important;
  }

  .product-heart {
    width: 24px !important;
    height: 24px !important;
    font-size: 16px !important;
  }
}