/* Selo de desconto: moldura cromada, relevo e iluminação da campanha. */
:is(.product-card,.parts-featured-card) .product-discount{
  --discount-phase:0s;
  position:absolute;z-index:2;
  display:inline-flex;align-items:baseline;gap:5px;
  left:14px;top:12px;padding:10px 13px;
  border:2px solid transparent;border-radius:9px;
  background:linear-gradient(165deg,#263548 0%,#080f1b 42%,#030810 65%,#293747 100%) padding-box,
    linear-gradient(155deg,#f6fcff 0%,#748292 16%,#18222e 32%,#e6f1ff 48%,#63717f 60%,#101820 76%,#e0eaf4 100%) border-box;
  color:#fff6ae;isolation:isolate;overflow:hidden;
  transform:skewX(-6deg);transform-origin:left center;
  box-shadow:0 4px 0 #4a3c18,0 6px 0 #111b29,0 9px 14px #0008,0 0 13px #ffd22944;
  animation:discount-neon-glow 3.4s ease-in-out infinite,discount-neon-pulse 6.4s ease-in-out infinite;
  animation-delay:var(--discount-phase);
  pointer-events:none;
}
.product-discount::before{
  content:"";position:absolute;inset:3px;border:1px solid #ffe34b;border-radius:5px;
  box-shadow:inset 0 0 5px #ffc40099,0 0 5px #ffc40099;pointer-events:none;
}
.product-discount::after{
  content:"";position:absolute;inset:-30% -60%;pointer-events:none;
  background:linear-gradient(110deg,transparent 40%,#fffbd929 47%,#fffbe68c 50%,#fffbd929 53%,transparent 60%);
  transform:translateX(-70%);animation:discount-metal-shine 5.8s ease-in-out infinite;
}
.product-discount>strong{
  font:900 italic 25px/1 "Arial Black",Arial,sans-serif;letter-spacing:-1px;
  text-shadow:0 1px 0 #b56e00,0 2px 1px #6a3900,0 0 5px #ffd000,0 0 13px #ffbf0077;
}
.product-discount .discount-label{
  font:900 11px/1 Arial,sans-serif;letter-spacing:.5px;color:#fff3a0;
  text-shadow:0 0 5px #ffd000,0 1px 1px #000;
}
.product-discount::before,.product-discount>strong,.product-discount .discount-label{
  animation:discount-neon-ignite 6.4s linear infinite;
  animation-delay:var(--discount-phase);
}
:is(.product-card,.parts-featured-card):nth-child(even) .product-discount{--discount-phase:-1.3s}
:is(.product-card,.parts-featured-card):nth-child(even) .product-discount::after{animation-delay:-2.2s}
@keyframes discount-neon-pulse{
  0%,26%,65%,100%{transform:skewX(-6deg) scale(1)}
  43%,49%{transform:skewX(-6deg) scale(1.07)}
}
@keyframes discount-neon-ignite{
  0%,27%,33%,36%,40%,100%{opacity:1;filter:brightness(1)}
  31%,34.5%,38%{opacity:.28;filter:brightness(.7)}
  42%,48%{opacity:1;filter:brightness(1.3)}
  57%{opacity:1;filter:brightness(1)}
}
@keyframes discount-neon-glow{
  0%,100%{box-shadow:0 4px 0 #4a3c18,0 6px 0 #111b29,0 9px 14px #0008,0 0 10px #ffd22933}
  45%,60%{box-shadow:0 4px 0 #796025,0 6px 0 #111b29,0 9px 14px #0008,0 0 20px #ffd22988}
}
@keyframes discount-metal-shine{
  0%,48%{transform:translateX(-70%)}
  76%,100%{transform:translateX(70%)}
}
@media(prefers-reduced-motion:reduce){
  :is(.product-card,.parts-featured-card) .product-discount{animation:none}
  .product-discount::before,.product-discount>strong,.product-discount .discount-label{animation:none}
  .product-discount::after{animation:none;opacity:0}
}

