/*=========================================================
    SANVI MASALE
    MAIN HEADER
=========================================================*/

:root{
    --primary:#C62828;
    --primary-dark:#A61919;
    --secondary:#1B5E20;
    --gold:#FFC107;
    --text:#333;
    --white:#fff;
    --border:#ececec;
    --light:#f8f8f8;
    --transition:.35s ease;
}

/*=========================================================*/

.main-header{
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    position:relative;
    z-index:999;
}

.header-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    min-height:95px;
}

/*=========================================================
LOGO
=========================================================*/

.header-logo{
    width:200px;
    flex-shrink:0;
}

.header-logo img{
    width:100%;
    transition:var(--transition);
}

.header-logo img:hover{
    transform:scale(1.04);
}

/*=========================================================
SEARCH
=========================================================*/

.header-search{
    flex:1;
}

.search-box{
    position:relative;
}

.search-box input{
    width:100%;
    height:55px;
    border:2px solid var(--border);
    border-radius:50px;
    padding:0 65px 0 25px;
    outline:none;
    font-size:15px;
    transition:var(--transition);
    background:#fafafa;
}

.search-box input:focus{
    background:#fff;
    border-color:var(--primary);
    box-shadow:0 0 15px rgba(198,40,40,.10);
}

.search-box button{
    position:absolute;
    top:5px;
    right:5px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    transition:var(--transition);
}

.search-box button:hover{
    background:var(--secondary);
    transform:rotate(12deg);
}

/*=========================================================
RIGHT
=========================================================*/

.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}

/*=========================================================
ITEM
=========================================================*/

.header-item{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:var(--text);
    transition:var(--transition);
}

.header-item:hover{
    color:var(--primary);
}

/*=========================================================
ICON
=========================================================*/

.header-icon{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#fafafa;
    border:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    font-size:20px;
    transition:var(--transition);
}

.header-item:hover .header-icon{
    background:var(--primary);
    color:#fff;
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(198,40,40,.20);
}

/*=========================================================
BADGE
=========================================================*/

.badge-count{
    position:absolute;
    top:-5px;
    right:-5px;
    width:20px;
    height:20px;
    background:var(--gold);
    color:#000;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:11px;
    font-weight:700;
    border:2px solid #fff;
}

/*=========================================================
TEXT
=========================================================*/

.header-text{
    display:flex;
    flex-direction:column;
}

.header-text small{
    font-size:12px;
    color:#888;
    line-height:1;
}

.header-text strong{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

/*=========================================================
MOBILE MENU
=========================================================*/

.mobile-menu{
    display:none;
    width:46px;
    height:46px;
    border:none;
    border-radius:10px;
    background:var(--primary);
    color:#fff;
    font-size:20px;
    cursor:pointer;
    transition:var(--transition);
}

.mobile-menu:hover{
    background:var(--secondary);
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:1199px){

    .header-wrapper{
        min-height:85px;
        gap:15px;
    }

    .header-search{
        display:none;
    }

    .header-text{
        display:none;
    }

    .mobile-menu{
        display:flex;
        align-items:center;
        justify-content:center;
    }
}

@media(max-width:768px){

    .header-logo{
        width:150px;
    }

    .header-right{
        gap:10px;
    }

    .header-icon{
        width:42px;
        height:42px;
        font-size:17px;
    }

    .badge-count{
        width:18px;
        height:18px;
        font-size:10px;
    }

    .mobile-menu{
        width:42px;
        height:42px;
    }
}

@media(max-width:576px){

    .header-wrapper{
        min-height:75px;
        gap:8px;
    }

    .header-logo{
        width:130px;
    }

    .header-icon{
        width:38px;
        height:38px;
        font-size:15px;
    }
}