.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f8f8;
    border-radius: 10px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__badges {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  font-size: 13px;
  padding: 3px 14px;
  border-radius: var(--dnd-radius-pill, 999px);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
}

.badge--sale {
  background: linear-gradient(90deg, #ef4444, #f97316);
}
.badge--new {
  background: var(--dnd-primary, #2a9d8f);
}
.badge--outofstock {
  background: var(--dnd-muted, #6c757d);
}


.product-card__stock-left {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-card__stock-left-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.product-card__stock-left-text {
  white-space: nowrap;
}
.product-card {
  scroll-snap-align: start;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
  width: 100%;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #f3f3f3;
  mix-blend-mode: multiply;
}

.product-card__body {
  padding: 10px 4px;
}

.product-card__title {
  font-size: 14px !important;
  margin: 0 0 2px !important;
  padding: unset !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-card__title-en {
  font-size: 12px;
  color: #888;
  margin: 0 0 15px;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.product-card__price-regular {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
  margin-inline-end: 6px;
}

.product-card__price-sale,
.product-card__price-normal {
  font-weight: 700;
  color: #1a1a1a;
}

.product-card__contact {
  font-size: 13px;
  color: #444;
}

.product-card__country,
.product-card__brand {
  padding: 5px;
  border-radius: 5px;
  background: #f8f9fa;
}
