/* Partículas de temporada - gwalls86 */
#gw-season {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* no bloquea clics */
  z-index: 99999;
}
@media print { #gw-season { display: none; } }

/* Cinta del tema "Black Friday premium" */
.gw-ribbon {
  position: relative;
  z-index: 100000;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #1b1b1b, #000);
  color: #f5c518;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-align: center;
  overflow: hidden;
}
.gw-ribbon--bottom {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--gw-edge, #f5c518);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .35);
}
.gw-ribbon--top {
  border-bottom: 1px solid var(--gw-edge, #f5c518);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.gw-ribbon--top-sticky {
  position: sticky;      /* ocupa su espacio al inicio y se queda pegada arriba al hacer scroll */
  top: 0;
  border-bottom: 1px solid var(--gw-edge, #f5c518);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
body.admin-bar .gw-ribbon--top-sticky { top: 32px; }                          /* debajo de la barra de administración */
@media (max-width: 782px) { body.admin-bar .gw-ribbon--top-sticky { top: 46px; } }
.gw-ribbon__text { position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* destello de luz que cruza la cinta */
.gw-ribbon::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, var(--gw-shine, rgba(245, 197, 24, .28)), transparent);
  transform: skewX(-20deg);
  animation: gw-shine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gw-shine {
  0%, 60% { left: -40%; }
  100%    { left: 130%; }
}
body.gw-ribbon-bottom-on { padding-bottom: 40px; }
@media (max-width: 600px) { .gw-ribbon { font-size: 11px; letter-spacing: .12em; } }
@media (prefers-reduced-motion: reduce) { .gw-ribbon::after { animation: none; display: none; } }
@media print { .gw-ribbon { display: none; } }

/* ---------- Vista previa en el panel de administración ---------- */
.gw-season-canvas-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.gw-ribbon--host-top,
.gw-ribbon--host-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: .14em;
  z-index: 3;
}
.gw-ribbon--host-top    { top: 0;    border-bottom: 1px solid var(--gw-edge, #f5c518); }
.gw-ribbon--host-bottom { bottom: 0; border-top: 1px solid var(--gw-edge, #f5c518); }
