/* SSK Store V4.1.90 — Dedicated mobile search row
 * Keeps the existing header/menu structure intact.
 * The mobile search is the separate .ssk-mobile-search-row in header.php,
 * never part of the cart/action block.
 */
@media screen and (max-width:767px){
  html body.ssk-premium-v40.ssk-mobile .ssk-header{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-header-main{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) 48px!important;
    grid-template-rows:58px!important;
    height:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    padding:0 8px!important;
    gap:0 6px!important;
    overflow:visible!important;
  }
  /* The desktop search must stay hidden on mobile. */
  html body.ssk-premium-v40.ssk-mobile .ssk-header-main > .ssk-desktop-search,
  html body.ssk-premium-v40.ssk-mobile .ssk-header-main > .ssk-search{
    display:none!important;
  }
  /* Dedicated second row, outside the cart/action area. */
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-row{
    display:block!important;
    position:relative!important;
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    margin:0!important;
    padding:6px 10px!important;
    box-sizing:border-box!important;
    background:#09090d!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    overflow:visible!important;
    z-index:20!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-form{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:10px!important;
    background:#121218!important;
    box-shadow:0 2px 10px rgba(0,0,0,.25)!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-form > span{
    flex:0 0 34px!important;
    width:34px!important;
    text-align:center!important;
    font-size:21px!important;
    line-height:40px!important;
    color:#aaaab4!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-form input[type=search]{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    height:38px!important;
    margin:0!important;
    padding:0 8px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:#fff!important;
    font-size:13px!important;
    line-height:38px!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-form input[type=search]::placeholder{
    color:#8d8e99!important;
    opacity:1!important;
  }
  html body.ssk-premium-v40.ssk-mobile .ssk-mobile-search-form button{
    flex:0 0 58px!important;
    width:58px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(135deg,var(--pink,#ff2d9b),var(--pink2,#ff5bb5))!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:38px!important;
    cursor:pointer!important;
  }
}
@media screen and (min-width:768px){
  .ssk-mobile-search-row{display:none!important;}
}
