/* HEADER START */

.com-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.com-banner a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.com-banner a img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

header{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    background-color: white;
    box-shadow: 0px 20px 25px -30px #3FBE6D;
    top: 0;
    position: sticky;
    z-index: 99;
}
.header-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 1200px;
    padding: 20px 0px;
}

.header-rast{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 50px;
    font-weight: bold;
}
.header-rast a{
    text-decoration: none;
    color: gray;
    transition: all .5s;
    position: relative;
}
.header-rast a:hover{
    color: #3FBE6D;
}
.header-rast a::before {
    content: '';
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: #3FBE6D;
    position: absolute;
    bottom: -.25rem;
    right: 0;
    transition: width .5s;
}
.header-rast a:hover::before {
    width: 100%;
}

.header-chap{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 20px;
}

.header-chap .loginbtn{
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 10px 15px;
    border-radius: 18px;
    transition: all .5s;
    border: 2px solid black;
}
.header-chap .loginbtn:hover{
    border-radius: 18px 8px 18px 8px;
    border: 2px solid #3FBE6D;
    color: #3FBE6D;
}

.header-chap .bell{
    text-decoration: none;
    color: white;
    background-color: #3FBE6D;
    padding: 10px 12px 7px 12px;
    border-radius: 50%;
    font-size: 20px;
}
.header-chap .poshtiban{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.header-chap .poshtiban #p1{
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
}
.header-chap .poshtiban #p1 i{
    transform: translateY(-1px) translateX(-5px);
}
.header-chap .poshtiban #p2{
    display: flex;
    align-items: center;
    justify-content: center;
    color: gray;
}

/* HEADER END */







/* HEADER-MOBILE START */


.headermobile{
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    border-bottom: 2px solid rgba(128, 128, 128, 0.5);
    top: 0;
    position: sticky;
    z-index: 99;
}
.headermobile-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    padding: 10px;
    background-color: white;
}

.headermobile-chap{
    display: flex;
    align-items: center;
    justify-content: center;
}
.headermobile-chap img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}
.headermobile-rast{
    display: flex;
    align-items: center;
    justify-content: center;
}
.headermobile-rast i{
    font-size: 24px;
    cursor: pointer;
}


.menu{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 100;
    gap: 30px;
    padding: 15px;
    border-radius: 20px 0 0 0;
    width: 80%;
    border: 2px solid rgba(128, 128, 128, 0.2);
    backdrop-filter: blur(10px);
    height: 100vh;
    transition: all 1s;
}
.menu-top{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(128, 128, 128, 0.1);
}
.menu-top i{
    font-size: 25px;
    cursor: pointer;
}

.menu-btn{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    overflow-y: auto;
}
.menu-btn a{
    text-decoration: none;
    color: gray;
    font-weight: bold;
    font-size: 19px;
}
.menu-btn-auth{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.menu-btn-auth a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 100%;
    background-color: black;
    padding: 10px;
    border-radius: 15px;
    font-weight: unset;
    margin-top: 15px;
}


.menu-bg{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 99;
    display: none;
}


/* HEADER-MOBILE END */





















/* HEADER MAHSULAT START */

.mahsulat{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mahsulat i{
    margin-right: 5px;
}

.megamenu{
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    padding: 0px 10px;
    top: 140px;
    z-index: 99;
}
.megamenu.active {
    display: flex;
    opacity: 1;
}
.megamenu-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    position: relative;
    width: 1200px;
    background-color: #f0f1f4;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(128, 128, 128, 0.3);
    border: 2px solid rgba(128, 128, 128, 0.3);
}
.megamenu-container::after{
    content: '';
    width: 10px;
    height: 10px;
    background-color: white;
    border-top: 2px solid rgba(128, 128, 128, 0.3);
    border-left: 2px solid rgba(128, 128, 128, 0.3);
    position: absolute;
    top: -6.5px;
    rotate: 45deg;
    right: 245px;
}

.megamenu-rast{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    background-color: white;
    padding: 10px;
    gap: 10px;
    width: 350px;
    border-radius: 0 10px 10px 0;
}
.megamenu-rast-btn{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    transition: all .5s;
    cursor: pointer;
}
.megamenu-rast-btn:hover{
    background-color: rgba(63, 190, 109, 0.5);
}
.megamenu-rast-btn-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
.megamenu-rast-btn-top p{
    font-weight: bold;
}
.megamenu-rast-btn-top i{
    font-size: 13px;
}
.megamenu-rast-btn-bottom{
    font-size: 13px;
    color: gray;
}





.megamenu-chap{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 350px;
    width: 100%;
    padding: 20px;
}

.megamenu-chap-menu{
    display: grid;
    grid-template-columns: repeat(4,auto);
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.megamenu-chap-menu-item{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.megamenu-chap-menu-item-title{
    font-weight: bold;
    color: #364163;
}
.megamenu-chap-menu-item-btn{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.megamenu-chap-menu-item-btn a{
    text-decoration: none;
    color: #667494;
}

/* HEADER MAHSULAT END */

























/* HEADER PRODUCTS START */

#megamobile{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.megamobile{
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    transition: display 0.5s;
}
.megamobile.show {
    display: flex;
}
.megamobile-menu{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.megamobile-menu-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    background-color: #36416320;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}
.megamobile-menu-btn p{
    font-size: 18px;
    font-weight: bold;
}

.megamobile-menu-products{
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-right: 5%;
    padding-right: 10px;
    border-right: 2px solid rgba(128, 128, 128, 0.2);
    transition: display 0.5s;
}
.megamobile-menu-products.show {
    display: flex;
}
.megamobile-menu-product{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
}
.megamobile-menu-product p{
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 5px;
}
.megamobile-menu-product a{
    font-size: 14px;
    font-weight: 100;
}

/* HEADER PRODUCTS END */
























/* RESPONSIVE START */



@media screen and (max-width:1210px) {

    header{
        display: none;
    }
    .headermobile{
        display: flex;
    }
    .megamenu{
        visibility: hidden;
    }
}



/* RESPONSIVE END */