
/* PREMIUM MOBILE UI - only mobile */
.mobile-bottom-menu,
.mobile-sticky-cart,
.mobile-cat-fab,
.mobile-cat-drawer,
.mobile-cat-backdrop,
.mobile-toast-premium{display:none}

@media (max-width: 768px){
  body{padding-bottom:74px !important;overflow-x:hidden !important}
  .mobile-bottom-menu{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    height:62px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border:1px solid rgba(17,24,39,.08);
    border-radius:22px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
    z-index:99990;
    box-shadow:0 18px 45px rgba(15,23,42,.20);
  }
  .mobile-bottom-menu a{
    text-decoration:none;
    color:#111827;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font-size:11px;
    font-weight:800;
    min-width:0;
  }
  .mobile-bottom-menu b{
    font-size:20px;
    line-height:1;
    display:block;
  }
  .mobile-bottom-menu span{
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:58px;
  }
  .mobile-bottom-menu a.active{
    color:#ef4444;
  }

  .mobile-cat-fab{
    display:flex;
    position:fixed;
    right:14px;
    bottom:86px;
    width:50px;
    height:50px;
    border-radius:18px;
    border:0;
    align-items:center;
    justify-content:center;
    background:#111827;
    color:#fff;
    z-index:99989;
    font-size:22px;
    box-shadow:0 14px 30px rgba(15,23,42,.25);
  }

  .mobile-cat-backdrop{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.45);
    z-index:99991;
  }
  .mobile-cat-backdrop.show{display:block}

  .mobile-cat-drawer{
    position:fixed;
    left:0;
    right:0;
    bottom:-100%;
    max-height:78vh;
    background:#fff;
    z-index:99992;
    border-radius:24px 24px 0 0;
    padding:16px;
    box-shadow:0 -22px 60px rgba(15,23,42,.28);
    transition:bottom .25s ease;
    overflow:auto;
  }
  .mobile-cat-drawer.show{
    display:block;
    bottom:0;
  }
  .mobile-cat-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
  }
  .mobile-cat-head strong{
    font-size:18px;
    color:#111827;
  }
  .mobile-cat-close{
    width:38px;
    height:38px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    background:#fff;
    font-size:20px;
    font-weight:900;
  }
  .mobile-cat-list{
    display:grid;
    gap:8px;
  }
  .mobile-cat-list a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:#111827;
    padding:13px 14px;
    border-radius:14px;
    background:#f8fafc;
    border:1px solid #eef2f7;
    font-weight:800;
  }

  .mobile-sticky-cart{
    position:fixed;
    left:10px;
    right:10px;
    bottom:82px;
    display:grid;
    grid-template-columns:1fr 1.25fr;
    gap:10px;
    z-index:99988;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border:1px solid rgba(17,24,39,.08);
    border-radius:20px;
    padding:10px;
    box-shadow:0 18px 45px rgba(15,23,42,.20);
  }
  .mobile-sticky-cart .msc-price{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
  }
  .mobile-sticky-cart .msc-price small{
    color:#6b7280;
    font-weight:700;
    font-size:11px;
  }
  .mobile-sticky-cart .msc-price strong{
    color:#111827;
    font-size:18px;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .mobile-sticky-cart button{
    border:0;
    background:#ef4444;
    color:#fff;
    border-radius:16px;
    font-weight:900;
    font-size:14px;
    min-height:46px;
    box-shadow:0 10px 22px rgba(239,68,68,.28);
  }

  .mobile-toast-premium{
    position:fixed;
    left:16px;
    right:16px;
    bottom:154px;
    z-index:99999;
    background:#111827;
    color:#fff;
    padding:13px 16px;
    border-radius:16px;
    text-align:center;
    font-weight:900;
    box-shadow:0 18px 40px rgba(15,23,42,.28);
    opacity:0;
    transform:translateY(12px);
    pointer-events:none;
    transition:all .22s ease;
  }
  .mobile-toast-premium.show{
    display:block;
    opacity:1;
    transform:translateY(0);
  }

  .jl-prod{
    box-shadow:0 8px 20px rgba(15,23,42,.06) !important;
  }
  .jl-prod-actions .jl-btn{
    background:#111827 !important;
    color:#fff !important;
    border-radius:12px !important;
  }
  .jl-prod-actions .jl-btn-secondary{
    background:#f3f4f6 !important;
    color:#111827 !important;
    border-radius:12px !important;
  }
  .jl-hero{
    box-shadow:0 12px 28px rgba(15,23,42,.10) !important;
  }
}

@media (max-width: 390px){
  .mobile-bottom-menu span{font-size:10px;max-width:48px}
  .mobile-bottom-menu b{font-size:18px}
  .mobile-sticky-cart{grid-template-columns:1fr;bottom:82px}
  body.product-page{padding-bottom:148px !important}
}
