/* ABIX Ecommerce - ajuste aislado del slider superior.
   Versión 20260609c: evita miniaturas múltiples tras cerrar catálogo y elimina recorte en escritorio. */

@media (min-width: 768px) {
  .reveal-viewport {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 12% 22%, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 30%),
      radial-gradient(circle at 86% 68%, rgba(255,255,255,.12) 0, rgba(255,255,255,0) 34%),
      linear-gradient(90deg, #b80f17 0%, #e51b23 48%, #f2444a 100%) !important;
    border-bottom: 1px solid rgba(25, 34, 48, .08) !important;
  }

  .reveal-viewport .reveal,
  .reveal-viewport .slides {
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  /* Bootstrap d-flex podía dejar visibles todas las secciones cuando Reveal recalculaba tras cerrar el catálogo. */
  .reveal-viewport .reveal .slides > section:not(.present) {
    display: none !important;
  }

  .reveal-viewport .reveal .slides > section.present {
    display: flex !important;
  }

  .reveal-viewport .slide-background,
  .reveal-viewport .slide-background.present,
  .reveal-viewport .slide-background.stack,
  .reveal-viewport .slide-background-content {
    background-color: transparent !important;
  }

  /* En escritorio se fuerza encaje completo del banner para evitar recortes en FHD. */
  .reveal-viewport .slide-background-content,
  .reveal-viewport div.slide-background > div.slide-background-content {
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .reveal-viewport .reveal .controls {
    color: rgba(255,255,255,.92) !important;
  }
}

@media (max-width: 767.98px) {
  .reveal-viewport {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }
}
