/* =====================================================
   RESET TOPBAR
   ===================================================== */
.atop-bar,
.atop-bar *{
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  width: auto;
  height: auto;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  border-radius: 0;
  min-height: 0;
  min-width: 0;
  float: none;
  position: static;
  box-shadow: none;
  text-shadow: none;
  line-height: normal;
  box-sizing: border-box;
}

/* =====================================================
   BASE (DESKTOP)
   ===================================================== */
.atop-bar{
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  height: 35px;
  padding: 7px 0;
  text-transform: uppercase;
  font-family: "Assistant", Arial, Helvetica, sans-serif;
  font-size: 17px;
  letter-spacing: 0.075em;
  color: #000;
  background: linear-gradient(to right, #ffecd2, #fcb69f);
  z-index: 999999 !important;
}

.as-topbar-timer{ font-weight: 700; }
.as-break-bar{ padding: 0 5px; }

/* =====================================================
   🔥 MOBILE / TABLET → SIEMPRE ABAJO
   (NO DEPENDE DE BREAKPOINTS RAROS)
   ===================================================== */
@media screen and (max-width: 1024px){

  .atop-bar{
    position: fixed !important;
    top: auto !important;        /* 🔥 ANULA TOP */
    bottom: 0 !important;        /* 🔥 FUERZA ABAJO */
    left: 0 !important;
    height: 50px;
    padding: 5px;
    font-size: 12px;
    line-height: 12px;
    z-index: 999999 !important;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .atop-close{
    right: 7px;
    top: 5px;
    position: absolute;
  }
}

/* =========================================
   OCULTAR TOPBAR EN MÓVIL
   ========================================= */

/* Desktop: visible */
.atop-bar{
  display: block;
}

/* Móvil: oculto */
@media screen and (max-width: 1024px){
  .atop-bar{
    display: none !important;
  }
}

/* =====================================================
   OCULTAR TOPBAR EN MÓVIL — FORZADO DEFINITIVO
   ===================================================== */

/* Cualquier pantalla que no sea desktop grande */
@media screen and (max-width: 1200px){

  html body .atop-bar{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

}

