/* ======================================================
   MOBILE HEADER
====================================================== */

.vp-mobile-header{

    display:none;

    background:#fff;

    position:sticky;

    top:0;

    z-index:9999;

    border-bottom:1px solid rgba(0,0,0,.05);

    box-shadow:0 2px 10px rgba(0,0,0,.06);

}

.vp-mobile-top{

    display:flex;

    align-items:center;

    height:58px;

    padding:0 16px;

}

.vp-mobile-menu-btn{

    margin-right:12px;

}

.vp-mobile-logo{

    flex:1;

    margin-left:-4px;

}

.vp-mobile-logo img{

    height:44px;

    width:auto;

}

.vp-mobile-right{

    display:flex;

    align-items:center;

    gap:14px;

    margin-left:auto;

}

/* ============================= */

.vp-mobile-menu-btn,

.vp-mobile-search-btn,

.vp-mobile-truck{

    width:42px;

    height:42px;

    background:none;

    border:none;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

}

/* ============================= */

.vp-mobile-menu-btn{

    flex-direction:column;

    gap:5px;

}

.vp-mobile-menu-btn span{

    width:26px;

    height:2px;

    background:#222;

    border-radius:20px;

}

/* ============================= */

.vp-mobile-cart{

    position:relative;

    color:#222;

}

.vp-mobile-cart-count{

    position:absolute;

    top:-6px;

    right:-6px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#6b8e23;

    color:#fff;

    font-size:10px;

    display:flex;

    align-items:center;

    justify-content:center;

}

/* ======================================================
   LOCATION
====================================================== */

.vp-mobile-location{

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 16px;

    border-top:1px solid #f7f7f7;

    border-bottom:1px solid #f1f1f1;

}

.vp-mobile-location svg{

    margin-top:0;

    flex-shrink:0;

    color:#6b8e23;

}

.vp-mobile-location-title{
    
    line-height:1.1;

    font-size:15px;

    font-weight:600;

    color:#222;

}

.vp-mobile-location-subtitle{

    font-size:12px;

    color:#666;

    margin-top:3px;

    line-height:1.2;

}

.vp-mobile-right svg{
    transform:translateY(1px);
}

.vp-mobile-location-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

/* ======================================================
   SEARCH PANEL
====================================================== */

.vp-mobile-search-panel{

    position:fixed;

    left:0;

    top:-100%;

    width:100%;

    height:100%;

    background:#fff;

    z-index:10001;

    transition:.35s ease;

}

.vp-mobile-search-panel.active{

    top:0;

}

.vp-mobile-search-header{

    display:flex;

    align-items:center;

    gap:10px;

    padding:18px;

}

.vp-mobile-search-close{

    width:42px;

    height:42px;

    border:none;

    background:none;

    font-size:22px;

}

.vp-mobile-search-box{

    flex:1;

}

.vp-mobile-search-box input{

    width:100%;

    height:48px;

    padding:0 16px;

    border:1px solid #d9d9d9;

    border-radius:8px;

    font-size:15px;

}

.vp-mobile-popular{

    padding:20px;

}

.vp-mobile-popular h4{

    margin-bottom:16px;

    font-size:16px;

}

.vp-mobile-popular a{

    display:block;

    padding:10px 0;

    color:#222;

    text-decoration:none;

    border-bottom:1px solid #f2f2f2;

}

/* ======================================================
   DRAWER
====================================================== */

.vp-mobile-drawer{

    position:fixed;

    left:-100%;

    top:0;

    width:300px;

    height:100%;

    background:#fff;

    z-index:10002;

    transition:.35s ease;

    overflow:auto;

}

.vp-mobile-drawer.active{

    left:0;

}

.vp-mobile-drawer nav{

    padding:24px;

}

.vp-mobile-drawer a{

    display:block;

    padding:16px 0;

    color:#222;

    text-decoration:none;

    border-bottom:1px solid #efefef;

}

.vp-mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.35);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:10000;

}

.vp-mobile-overlay.active{

    opacity:1;

    visibility:visible;

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:768px){

    .vp-header{

        display:none;

    }

    .vp-mobile-header{

        display:block;

    }

}