/* ApoloCloud v1.9.8 - mobile subtle controls + fixed global search render */
.catalog-searching .tab-content > .tab-pane,
.catalog-searching .tab-pane.fade{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
}
.catalog-searching .tab-content > .tab-pane:not(.active){
  pointer-events:auto!important;
}
@media (max-width:991px){
  .shop-sidebar#shopSidebar{
    left:12px!important;
    right:12px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 86px)!important;
    top:auto!important;
    width:auto!important;
    max-height:46vh!important;
    min-height:0!important;
    padding:10px!important;
    border-radius:22px!important;
    overflow:hidden!important;
    transform:translateY(14px) scale(.98)!important;
    background:rgba(5,8,16,.96)!important;
    border:1px solid rgba(125,211,252,.22)!important;
    box-shadow:0 -18px 50px rgba(0,0,0,.58),0 0 28px rgba(14,165,233,.10)!important;
  }
  .shop-sidebar#shopSidebar.mobile-open{
    transform:translateY(0) scale(1)!important;
  }
  .shop-sidebar#shopSidebar:before{
    content:'';
    display:block;
    width:42px;
    height:4px;
    border-radius:999px;
    background:rgba(226,242,254,.36);
    margin:0 auto 10px;
  }
  .shop-sidebar.mobile-search-open{
    max-height:155px!important;
  }
  .shop-sidebar.mobile-category-open{
    max-height:46vh!important;
  }
  .shop-sidebar .search-box{
    margin:0!important;
  }
  .shop-sidebar.mobile-search-open .search-box{display:block!important;}
  .shop-sidebar.mobile-search-open .tabs-scroll,
  .shop-sidebar.mobile-search-open .tabs-scroll.nav{display:none!important;}
  .shop-sidebar .search-box input{
    height:56px!important;
    border-radius:18px!important;
    font-size:17px!important;
    background:#07101d!important;
    border-color:rgba(125,211,252,.35)!important;
    box-shadow:0 12px 28px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.02)!important;
  }
  .shop-sidebar.mobile-category-open .tabs-scroll,
  .shop-sidebar.mobile-category-open .tabs-scroll.nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    max-height:calc(46vh - 34px)!important;
    overflow:auto!important;
    border:0!important;
    background:transparent!important;
    padding:0 2px 2px!important;
  }
  .shop-sidebar.mobile-category-open .tabs-scroll a{
    min-height:52px!important;
    border:1px solid rgba(125,211,252,.15)!important;
    border-radius:16px!important;
    background:#0b1220!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:13px!important;
    line-height:1.12!important;
    white-space:normal!important;
    word-break:break-word!important;
    box-shadow:none!important;
  }
  .shop-sidebar.mobile-category-open .tabs-scroll a.active,
  .shop-sidebar.mobile-category-open .tabs-scroll a[aria-selected="true"]{
    border-color:rgba(125,211,252,.52)!important;
    background:linear-gradient(135deg,#082f49,#0f172a)!important;
    box-shadow:0 0 24px rgba(14,165,233,.20), inset 0 0 0 1px rgba(255,255,255,.05)!important;
  }
  .mobile-shop-actions{
    left:12px!important;
    right:12px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important;
    padding:7px!important;
    border-radius:24px!important;
    background:rgba(5,8,16,.94)!important;
  }
  .mobile-shop-actions button{
    min-height:50px!important;
    border-radius:18px!important;
    background:#0b1220!important;
  }
  .mobile-shop-actions button.active{
    border-color:rgba(125,211,252,.55)!important;
    background:linear-gradient(135deg,#082f49,#0b1220)!important;
    box-shadow:0 0 24px rgba(14,165,233,.18)!important;
  }
  .mobile-shop-actions strong{font-size:12px!important;}
  .mobile-shop-actions span{font-size:17px!important;}
  body{padding-bottom:108px!important;}
  main.product_area{padding-bottom:116px!important;}
}
@media (max-width:420px){
  .shop-sidebar.mobile-category-open .tabs-scroll,
  .shop-sidebar.mobile-category-open .tabs-scroll.nav{grid-template-columns:1fr!important;}
  .mobile-shop-actions{grid-template-columns:1fr 1fr 1fr!important;}
  .mobile-shop-actions button{gap:5px!important;}
}
