/* XYLO 2.16 — moving electric traces, product cards only.
   Two small SVG dashes travel on the card perimeter. No JS animation loop,
   no animated box shadows, no CSS filters or canvas effects. */
.xv-catalog-main .vip-product-card {
  border-color: rgba(var(--xv-cat-accent-rgb), .46) !important;
  box-shadow: 0 0 0 1px rgba(var(--xv-cat-accent-rgb), .16),
              0 0 17px rgba(var(--xv-cat-accent-rgb), .15),
              0 12px 28px rgba(0,0,0,.28) !important;
}
.xv-catalog-main .vip-product-card:hover,
.xv-catalog-main .vip-product-card:focus-visible {
  border-color: rgba(var(--xv-cat-accent-rgb), .86) !important;
  box-shadow: 0 0 0 1px rgba(var(--xv-cat-accent-rgb), .27),
              0 0 24px rgba(var(--xv-cat-accent-rgb), .27),
              0 15px 30px rgba(0,0,0,.32) !important;
}
.xv-catalog-main .vip-product-card .xv-electric-outline {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 12;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  contain: paint;
}
.xv-catalog-main .xv-electric-outline svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none !important;
}
.xv-catalog-main .xv-electric-outline rect {
  fill: none;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.xv-catalog-main .xv-electric-track {
  stroke: rgba(var(--xv-cat-accent-rgb), .49);
  stroke-width: 1.5px;
}
.xv-catalog-main .xv-electric-bolt {
  stroke: rgb(var(--xv-cat-accent-rgb));
  stroke-width: 4.2px;
  stroke-linecap: round;
  stroke-dasharray: 11 89;
  stroke-dashoffset: 100;
  opacity: .98;
  animation: xv-electric-lap 4.1s linear infinite;
  animation-play-state: paused;
}
.xv-catalog-main .xv-electric-core {
  stroke: #fbf1ff;
  stroke-width: 2.1px;
  stroke-linecap: round;
  stroke-dasharray: 2.8 97.2;
  stroke-dashoffset: 100;
  opacity: 1;
  animation: xv-electric-lap 4.1s linear infinite;
  animation-play-state: paused;
}
/* Phase offset makes adjacent cards feel independent without more layers. */
.xv-catalog-main .vip-product-card:nth-child(4n+2) .xv-electric-outline rect { animation-delay: -1.1s; }
.xv-catalog-main .vip-product-card:nth-child(4n+3) .xv-electric-outline rect { animation-delay: -2.2s; }
.xv-catalog-main .vip-product-card:nth-child(4n+4) .xv-electric-outline rect { animation-delay: -3.3s; }
.xv-catalog-main .xv-electric-outline.is-electric-visible .xv-electric-bolt,
.xv-catalog-main .xv-electric-outline.is-electric-visible .xv-electric-core {
  animation-play-state: running;
}
@keyframes xv-electric-lap { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .xv-catalog-main .xv-electric-outline rect { animation: none !important; }
  .xv-catalog-main .xv-electric-bolt { stroke-dashoffset: 32; }
  .xv-catalog-main .xv-electric-core { stroke-dashoffset: 32; }
}
