/* Selos Promoção / Kit — pills discretas, sombra suave, shimmer leve só em promo */

.product-image-badges {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 5;
  max-width: min(94%, 15rem);
  pointer-events: none;
}

@media (min-width: 640px) {
  .product-image-badges {
    top: 0.65rem;
    right: 0.65rem;
  }
}

.product-badges-rail {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .product-badges-rail {
    gap: 0.45rem;
  }
}

.product-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.5rem 0.28rem 0.4rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.97);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px -6px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 640px) {
  .product-badge {
    padding: 0.32rem 0.6rem 0.32rem 0.45rem;
    font-size: 0.6875rem;
    gap: 0.32rem;
  }
}

.product-badge__icon,
.product-badge__label {
  position: relative;
  z-index: 1;
}

.product-badge__icon {
  flex-shrink: 0;
  width: 0.72rem;
  height: 0.72rem;
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

@media (min-width: 640px) {
  .product-badge__icon {
    width: 0.78rem;
    height: 0.78rem;
  }
}

.product-badge__label {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

/* Promoção — gradiente âmbar, brilho deslizante (::before) */
.product-badge--promo {
  background: linear-gradient(158deg, #fb923c 0%, #ea580c 52%, #c2410c 100%);
}

.product-badge--promo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.2) 48%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: badge-shimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badge-shimmer {
  0%,
  100% {
    background-position: 130% 0;
    opacity: 0.65;
  }
  50% {
    background-position: -30% 0;
    opacity: 1;
  }
}

/* Kit — índigo, estático (só profundidade) */
.product-badge--kit {
  background: linear-gradient(158deg, #a5b4fc 0%, #6366f1 48%, #4338ca 100%);
}

.product-badge--kit::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .product-badge--promo::before {
    animation: none;
    opacity: 0.35;
  }
}
