/* 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; flex: 1; align-self: stretch; min-width: 0; }
/* hasta 3 mensajes apilados: se ve uno a la vez y cambian con un fundido suave */
.gw-ribbon__msg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 0 4px; opacity: 0; transition: opacity .5s ease; }
.gw-ribbon__msg.is-on { opacity: 1; }
.gw-ribbon__line { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .gw-ribbon__msg { transition: none; } }
/* con enlace: toda la franja de texto es clicable */
.gw-ribbon a.gw-ribbon__text, .gw-ribbon a.gw-ribbon__text:hover, .gw-ribbon a.gw-ribbon__text:focus { color: inherit; text-decoration: none; cursor: pointer; box-shadow: none; }
.gw-ribbon a.gw-ribbon__text:focus-visible { outline: 1px solid currentColor; outline-offset: -3px; }
/* flechas para cambiar de mensaje (solo con más de uno): discretas hasta que se pasa el cursor */
.gw-ribbon--nav { padding: 0 36px; }
.gw-ribbon .gw-ribbon__nav {
  position: absolute; top: 0; bottom: 0; z-index: 2;
  width: 36px; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  color: inherit; font: inherit; line-height: 0; letter-spacing: 0;
  opacity: .45; cursor: pointer; transition: opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.gw-ribbon .gw-ribbon__nav svg { display: block; width: 10px; height: 18px; pointer-events: none; }
.gw-ribbon .gw-ribbon__nav--prev svg { transform: scaleX(-1); }
.gw-ribbon .gw-ribbon__nav--prev { left: 0; }
.gw-ribbon .gw-ribbon__nav--next { right: 0; }
.gw-ribbon .gw-ribbon__nav:hover,
.gw-ribbon .gw-ribbon__nav:focus-visible { opacity: 1; background: none; color: inherit; outline: none; }
.gw-ribbon .gw-ribbon__nav:focus-visible { box-shadow: inset 0 0 0 1px currentColor; }
@media (max-width: 600px) { .gw-ribbon--nav { padding: 0 30px; } .gw-ribbon .gw-ribbon__nav { width: 30px; } }
/* 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); }
