/* ApoloCloud v2.0.2 - Mobile categorías reales + búsqueda limpiable */
.catalog-searching .tab-content > .tab-pane:not(.search-pane-empty){
  display:block!important;opacity:1!important;visibility:visible!important;height:auto!important;
}
.catalog-searching .tab-content > .tab-pane.search-pane-empty{display:none!important;}
.product-hidden-by-search{display:none!important;}

@media (max-width:991px){
  html,body{overflow-x:hidden!important;}
  body{padding-bottom:86px!important;}

  .mobile-filter-backdrop.active{display:none!important;}

  /* Panel de filtros mobile: pantalla completa real */
  aside.shop-sidebar#shopSidebar{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    transform:translateY(110%)!important;
    transition:transform .18s ease!important;
    z-index:10080!important;
    background:#050814!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-open{transform:translateY(0)!important;}
  aside.shop-sidebar#shopSidebar .sidebar-title,
  aside.shop-sidebar#shopSidebar .mobile-category-toggle{display:none!important;}

  .mobile-sheet-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:72px!important;
    padding:14px 16px!important;
    background:#070b13!important;
    border-radius:0!important;
    border-bottom:1px solid rgba(125,211,252,.18)!important;
  }
  .mobile-sheet-title{display:flex!important;flex-direction:column!important;min-width:0!important;}
  .mobile-sheet-title span{font-size:11px!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#7dd3fc!important;font-weight:950!important;}
  .mobile-sheet-title strong{font-size:19px!important;color:#fff!important;font-weight:1000!important;}
  .mobile-sheet-close{
    width:48px!important;height:48px!important;border-radius:0!important;
    border:1px solid rgba(125,211,252,.24)!important;
    background:#0b1220!important;color:#fff!important;font-size:30px!important;line-height:1!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
  }

  /* Categorías: fullscreen, una por renglón, ancho completo, sin redondeado */
  aside.shop-sidebar#shopSidebar.mobile-category-open .search-box{display:none!important;}
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll,
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll.nav{
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    gap:0!important;
    margin:0!important;
    padding:0 0 calc(86px + env(safe-area-inset-bottom,0px)) 0!important;
    background:#050814!important;
    border:0!important;
    border-radius:0!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:60px!important;
    margin:0!important;
    padding:18px 18px!important;
    border-radius:0!important;
    border:0!important;
    border-bottom:1px solid rgba(148,163,184,.16)!important;
    background:#080d18!important;
    color:#e0f2fe!important;
    font-size:16px!important;
    font-weight:950!important;
    line-height:1.18!important;
    text-align:left!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    box-shadow:none!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll a::after{
    content:'›'!important;
    display:block!important;
    margin-left:12px!important;
    font-size:24px!important;
    opacity:.55!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll a.active,
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll a[aria-selected="true"],
  aside.shop-sidebar#shopSidebar.mobile-category-open .tabs-scroll a:active{
    background:#0b2a3d!important;
    color:#fff!important;
    box-shadow:inset 6px 0 0 #38bdf8!important;
  }

  /* Buscador fullscreen simple con cruz real para limpiar */
  aside.shop-sidebar#shopSidebar.mobile-search-open .tabs-scroll{display:none!important;}
  aside.shop-sidebar#shopSidebar.mobile-search-open .search-box{
    display:block!important;
    position:relative!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding:22px 16px!important;
    background:#050814!important;
    border:0!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-search-open .search-box input{
    display:block!important;
    width:100%!important;
    height:62px!important;
    padding:0 56px 0 18px!important;
    border-radius:0!important;
    border:1px solid rgba(125,211,252,.34)!important;
    background:#0b1220!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:850!important;
    text-align:left!important;
    box-shadow:none!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-search-open .search-box input::placeholder{text-align:left!important;color:#93c5fd!important;}
  .search-clear-btn{
    display:none!important;
  }
  aside.shop-sidebar#shopSidebar.mobile-search-open .search-clear-btn{
    display:flex!important;
    position:absolute!important;
    top:29px!important;
    right:23px!important;
    width:48px!important;
    height:48px!important;
    border-radius:0!important;
    border:0!important;
    background:#111827!important;
    color:#fff!important;
    font-size:28px!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:4!important;
  }

  /* Barra inferior entendible */
  .mobile-shop-actions{
    position:fixed!important;
    left:0!important;right:0!important;bottom:0!important;
    height:74px!important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid rgba(125,211,252,.18)!important;
    background:#060912!important;
    box-shadow:0 -12px 34px rgba(0,0,0,.65)!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 1.08fr!important;
    gap:8px!important;
    z-index:10070!important;
  }
  .mobile-shop-actions button{
    min-width:0!important;
    height:56px!important;
    border-radius:0!important;
    border:1px solid rgba(148,163,184,.16)!important;
    background:#0b1220!important;
    color:#dbeafe!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    padding:0 7px!important;
    font-weight:950!important;
  }
  .mobile-shop-actions button span{font-size:18px!important;line-height:1!important;}
  .mobile-shop-actions button strong{font-size:12px!important;line-height:1!important;white-space:nowrap!important;}
  .mobile-shop-actions button.active{background:#0b2a3d!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(56,189,248,.35)!important;}
  #bottomCartBtn{background:linear-gradient(135deg,#075985,#0284c7)!important;color:#fff!important;border-color:rgba(125,211,252,.36)!important;}
  #bottomCartBtn .item_count{min-width:22px!important;height:22px!important;border-radius:999px!important;background:#e0f2fe!important;color:#082f49!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-style:normal!important;font-weight:1000!important;}
}
