/* =====================================================
   Vedapulse Premium Header v4
=====================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#5F7F2B;
    --text:#222;
    --border:#ECECEC;
    --bg:#fff;

}

body{

    font-family:Inter,sans-serif;

}

.vp-header{

    background:#fff;

    position:sticky;

    top:0;

    z-index:999;

    border-bottom:1px solid rgba(0,0,0,.05);

    box-shadow:0 2px 8px rgba(0,0,0,.05);

}

.vp-container{
    max-width:100%;
    padding:0 14px;

    height:72px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:18px;

    padding:0 18px;

}

/* =========================
LOGO
========================= */

.vp-logo{

    width:110px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    flex-shrink:0;

}

.vp-logo a{

    display:flex;

    align-items:center;

}

.vp-logo img{

    width:70px;

    height:auto;

    display:block;

}

/* =========================
LOCATION
========================= */

.vp-location{

    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;

}

.vp-location-icon{

    width:18px;
    height:18px;
    color:#6B7F2A;
    flex-shrink:0;

}

.vp-location svg{

    width:18px;

    height:18px;

    color:var(--primary);

}

.vp-location-text{

    display:flex;
    flex-direction:column;
    justify-content:center;

}

.vp-location-title{

    font-size:16px;
    font-weight:600;
    color:#222;
    line-height:1.2;

}

.vp-location-change{

    display:flex;
    align-items:center;
    gap:3px;

    font-size:14px;
    color:#666;
    line-height:1.2;

}

.vp-arrow{

    font-size:16px;

    font-weight:600;

}

/* =========================
SEARCH
========================= */

.vp-search{

    flex:1;

    display:flex;

    justify-content:flex-start;

    margin-left:12px;

    margin-right:120px;

}

.vp-search form{

    width:100%;

    max-width:550px;

}

.vp-search-box{

    position:relative;

    width:100%;

    border:1px solid #d8d8d8;

    border-radius:10px;

    overflow:hidden;

    background:#fff;

}

.vp-search-box input{

    width:100%;

    height:42px;

    padding:0 22px 0 52px;

    border:none;

    background:transparent;

    outline:none;

    color:transparent;

    caret-color:#222;

    font-size:15px;

    position:relative;

    z-index:4;

}

.vp-search-box input::placeholder{

    color:#9a9a9a;

}

.vp-search-box input:focus{

    border-color:#000;
    box-shadow:none;
    outline:none;

}
.vp-search-box svg{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    width:18px;

    height:18px;

    color:#777;

}

/* =========================
RIGHT
========================= */

.vp-right{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:16px;

    flex-shrink:0;

}

/* =========================
SUPPORT
========================= */

.vp-support{

    min-width:94px;

    height:40px;

    border-radius:8px;

    background:#EEF6E7;

    color:#5F7F2B;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-size:15px;

    font-weight:600;

}

.vp-support:hover{

    background:#5F7F2B;

    color:#fff;

}

/* =========================
LOGIN
========================= */

.vp-login{

    min-width:82px;

    height:40px;

    border:1px solid #dcdcdc;

    border-radius:8px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#222;

    font-size:15px;

    font-weight:600;

    background:#fff;

}

.vp-login:hover{

    border-color:#5F7F2B;

    color:#5F7F2B;

}

/* =========================
   CART
========================= */

.vp-cart{

    position:relative;

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#222;

    border-radius:50%;

    transition:.25s;

}

.vp-cart:hover{

    background:#f6f6f6;

}

.vp-cart svg{

    width:22px;

    height:22px;

    stroke:currentColor;

}

/* Badge */

.vp-cart-count{

    position:absolute;

    top:1px;

    right:1px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:#ff4d4f;

    color:#fff;

    font-size:11px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    line-height:1;

}

/* =========================
   HAMBURGER
========================= */

.vp-menu{

    width:46px;
    height:46px;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-direction:column;

    gap:6px;

    background:none;
    border:none;
    cursor:pointer;

}

.vp-menu span{

    width:30px;
    height:2px;

    background:#222;

    border-radius:20px;

    transition:all .30s ease;

}

/* ACTIVE */

.vp-menu.active span:nth-child(1){

    transform:translateY(8px) rotate(45deg);

}

.vp-menu.active span:nth-child(2){

    opacity:0;

    transform:scaleX(0);

}

.vp-menu.active span:nth-child(3){

    transform:translateY(-8px) rotate(-45deg);

}

/* =========================
   HEADER SHADOW
========================= */

.vp-header{

    transition:box-shadow .25s ease;

}

.vp-header.scrolled{

    box-shadow:0 6px 20px rgba(0,0,0,.08);

}

/* =========================
   COMMON
========================= */

.vp-header a{

    transition:.25s;

}

.vp-header img{

    display:block;

    max-width:100%;

}

.vp-header button{

    outline:none;

}

/* =====================================================
   RESPONSIVE
=====================================================*/

@media (max-width:1200px){

    .vp-container{

        padding:0 16px;

        gap:14px;

    }

    .vp-search form{

        max-width:600px;

    }

}

@media (max-width:1024px){

    .vp-location{

    margin-right:8px;
}

}

@media (max-width:768px){

    .vp-header{

        height:64px;

    }

    .vp-container{

        height:64px;

        padding:0 14px;

    }

    .vp-logo{

        width:auto;

        height:50px;

    }

    .vp-logo img{

        width:82px;

    }

    .vp-search{

    flex:1;

    margin-left:20px;

}

    .vp-support{

        display:none;

    }

    .vp-login{

        display:none;

    }

    .vp-cart{

        width:38px;

        height:38px;

    }

    .vp-menu{

        width:38px;

        height:38px;

    }

}

@media (max-width:480px){

    .vp-container{

        padding:0 10px;

    }

    .vp-logo img{

        width:74px;

    }

}

/* =====================================================
   HOVER EFFECTS
=====================================================*/

.vp-logo img{

    transition:transform .25s ease;

}

.vp-logo:hover img{

    transform:scale(1.03);

}

.vp-search-box input:focus{

    box-shadow:0 0 0 4px rgba(95,127,43,.08);

}

.vp-support,
.vp-login,
.vp-cart,
.vp-menu{

    transition:all .25s ease;

}

/* =====================================================
   UTILITIES
=====================================================*/

.vp-header *{

    box-sizing:border-box;

}

.vp-header img{

    vertical-align:middle;

}

.vp-header button{

    font:inherit;

}

.vp-header input{

    font:inherit;

}

.vp-header a{

    text-decoration:none;

}

.vp-truck{

    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#222;

    text-decoration:none;

}

.vp-truck svg{

    width:22px;
    height:22px;

}

.vp-search-box input{

    border:none;

    background:transparent;

    border-radius:inherit;

}

/* ==========================================
   Search Keyword Animation
========================================== */

.vp-search-rotate{

    position:absolute;

    left:52px;

    right:20px;

    top:50%;

    height:22px;

    overflow:hidden;

    transform:translateY(-48%);

    pointer-events:none;

    z-index:3;

}

.vp-word{

    position:absolute;
    
    font-weight:500;

    left:0;

    width:100%;

    height:22px;

    line-height:22px;

    font-size:15px;

    color:#7a7a7a;

    white-space:nowrap;
    
    letter-spacing:.2px;

    will-change:transform;

    z-index:3;

}

.vp-word.current{

    transform:translateY(0);

}

.vp-word.next{

    transform:translateY(100%);

}

.vp-support,
.vp-login{

    box-shadow:0 2px 8px rgba(0,0,0,.08);

    transition:all .25s ease;

}

.vp-support:hover,
.vp-login:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.14);

}

/* =====================================================
   END
=====================================================*/