/**
*** top-banner
**/
#top_banner{
    height: 50px;
}

#top_banner img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 768px){
    #top_banner{
        height: 35px;
    }
}

@media (max-width: 414px){
    #top_banner{
        height: 25px;
    }
}

/**
* Pc header
*/
#pc_header{
    z-index: 900;
    position: relative;
    display: block;
    background-color: #fff;
    box-shadow: 0 -4px 20px 5px rgba(137, 137, 137, 0.1607843137254902);
    padding: 15px 0;
}

@media only screen and (max-width: 992px) {
    #pc_header{
        display: none;
    }
}

/**
* search
*/
.search-bar{
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 10px;
}

.search-bar .search .header-search {
    border: none;
    background-color: #f0f0f1;
    border-radius: 6px;
    width: 450px;
    height: 45px;
    padding: 10px 30px;
    transition: all 0.3s;
}

.search-bar .search .header-search::placeholder{
    color: #a1a3a8;
}

.search-bar .search .header-search:focus-visible {
    outline: none !important;
}

.search-bar .search .icon{
    position: absolute;
    right: 3px;
    top: 10px;
}

/**
* contact
*/
.search-bar .contact{
    color: #8692a6;
}

.search-bar span, #pc_header .navigations .search-bar a{
    display: inline-block;
    color: #444;
    text-decoration: none;
}

.search-bar .separator{
    width: 1px;
    height: 25px;
    background-color: #c9c9c9;
}

.search-bar .tel .code{
    color: #763b99;
}

/**
* menus cart login
*/
#pc_header .navigations .menus-cart-login{
    padding-top: 10px;
}

#pc_header .navigations .menus-cart-login .menus .item{
    text-decoration: none;
    transition: all 0.3s;
}

#pc_header .navigations .menus-cart-login .menus .item:hover .title{
    color: #444;
    font-weight: bold;
}

#pc_header .navigations .menus-cart-login .menus .item:hover:after{
    width: 100%;
}

#pc_header .navigations .menus-cart-login .menus .item:after{
    content: '';
    width: 0;
    height: 2px;
    background-color: #8a26c5;
    display: block;
    transition: all 0.3s;
    margin-top: 5px;
}

#pc_header .navigations .menus-cart-login .menus .title{
    color: #5b5b5b;
}

/**
* menus cart login
*/
.cart-login .cart .holder{
    background-color: #fff;
    border: 0.17em solid #753d96;
    border-radius: 12px;
    text-align: center;
    padding: 5px;
    transition: all 0.3s;
}

.cart-login .cart .holder:hover{
    cursor: pointer;
}

.cart-login .cart .holder .count {
    position: absolute;
    bottom: 0;
    right: -10px;
    background-color: #000;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    line-height: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.cart-login .login{
    background-color: #071429;
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 7px 8px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid #071429;
}

.cart-login .login:hover{
    background-color: #fff;
    color: #753d96;
    border-color: #753d96;
}

.cart-login .login:hover .icon path{
    fill: rgba(117, 61, 150, 1);
}

.wallet-holder .holder{
    border: none !important;
}

/**
* Md header
*/
#md_header{
    background-color: #fff;
    box-shadow: 0 -4px 20px 5px rgba(137, 137, 137, 0.1607843137254902);
}

@media only screen and (min-width: 993px) {
    #md_header{
        display: none;
    }
}

#md_header .md-menu-icon span{
    background-color: #f6f6f6;
    padding: 10px;
    border-radius: 6px;
}

#md_header .md-menu-icon:hover{
    cursor: pointer;
}


/**
* mea menu
*/
.pc-mega-menu{
    position: absolute;
    background-color: #fff;
    border-top: 2px solid var(--primary-color);
    z-index: -1;
    top: 105px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 15px 30px #4b506930;
    border-radius: 10px;
    visibility: hidden;
}

.pc-mega-menu.active{
    visibility: visible;
    z-index: 35;
}

.pc-mega-menu .side{
    background-color: #f7f7f7;
    padding: 15px 10px;
    border-radius: 10px;
}

.pc-mega-menu .side .mega-menu-item{
    list-style: none;
    margin: 25px 0;
}

.pc-mega-menu .side .mega-menu-item .icon svg path{
    fill: rgba(146, 146, 146, 1);
}

.pc-mega-menu .side .mega-menu-item .title{
    font-size: 14px;
    font-weight: bold;
    color: #929292;
}

.pc-mega-menu .side .mega-menu-item:hover{
    cursor: pointer;
}

.pc-mega-menu .side .mega-menu-item:hover .title{
    color: #474747;
}

.pc-mega-menu .side .mega-menu-item:hover .icon svg path{
    fill: rgba(71, 71, 71, 1);
}

/*
.pc-mega-menu .side .mega-menu-item:after{
    content: '\2039';
    display: block;
    visibility: hidden;
    opacity: 0;
    width: 20px;
    height: 0;
    font-size: 16px;
    color: var(--primary-color);
    background-color: #fff;
    text-align: center;
    line-height: 20px;
    border-radius: 10px;
    border-right: 2px solid var(--primary-color);
    box-shadow: #ffbe00 1px 0px 0px 0px;
    position: absolute;
    left: -20px;
    top: 5px;
    transition: all 0.5s;
}

.pc-mega-menu .side .mega-menu-item:hover:after{
    visibility: visible;
    opacity: 1;
    height: 20px;
}*/

/**
* md header
*/
.md-header-container{
    position: fixed;
    z-index: 0;
    background-color: #fff;
    width: 90%;
    box-shadow: -35px 0 0 55px rgb(0 0 0 / 65%);
    right: -90%;
    top: 0;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.md-header-container.active{
    z-index: 40;
    opacity: 1;
    visibility: visible;
    right: 0;
}

.btn-close-filter{
    background-color: #f7f7f7;
    border-color: #f7f7f7;
}

/**
* cart
*/
.cart-container{
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.4);
    width: 320px;
    z-index: 0;
    height: 450px;
    left: 17%;
    border-radius: 10px;
    overflow-y: scroll;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.cart-container.active{
    z-index: 45;
    visibility: visible;
    opacity: 1;
}

.cart-container .foot {
    position: sticky;
    bottom: 0;
    right: 0;
    padding: 15px;
    border-top: 1px solid #ededed;
    z-index: 45;
    background-color: #fff;
}

.cart-container .foot .total-price .price-title{
    font-size: 1.1rem;
    color: #81858b;
}

.cart-container .foot .total-price .price bdi{
    font-size: 1.9rem;
    color: var(--primary-color);
    font-weight: bold;
}

.cart-container .foot .total-price .price span{
    font-size: 1.1rem;
    color: #81858b;
}

.cart-container .foot .checkout-btn a{
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    border-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
}

.cart-container .cart-product-items{
    border-bottom: 1px solid #ededed;
}

.cart-container .head{
    position: sticky;
    top: 0;
    right: 0;
    padding: 15px;
    border-bottom: 1px solid #ededed;
    z-index: 45;
    background-color: #fff;
}

.cart-container .head .view-cart a{
    background-color: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
}


@media only screen and (max-width: 640px) {
    .cart-container{
        left: -100px;
    }
}

.search-popup{
    position: absolute;
    background-color: #fff;
    width: 100%;
    z-index: -1;
    height: 400px;
    top: 44px;
    border: 2px solid #d5d5d5;
    border-radius: 6px;
    overflow-x: hidden;
    overflow-y: scroll;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.search-popup::-webkit-scrollbar{
    width: 5px;
}

.search-popup::-webkit-scrollbar-thumb {
    background: #eaeef5;
}

.search-popup.active{
    z-index: 999;
    opacity: 1;
    pointer-events: unset;
}

.search-popup.result{
    display: flex !important;
    flex-flow: column;
    padding: 10px 15px;
}

.search-popup .icon{
    height: 100%;
    margin: auto;
    left: 0;
    right: 0;
}

.search-popup .icon svg {
    background-color: #f9f9f9;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid #eaeef5;
}

.search-item{
    border-bottom: 1px solid #d7d7d7;
    padding: 10px 0;
}

.search-item:last-child{
    border-bottom: none;
    margin-bottom: 1rem !important;
}
