/*
HEADER MOBILE - START
*/

.header_mobile .content {
    padding: 20px 0 0 0;
}

.header_mobile .j_menu_wishlist {
    width: 20px;
    height: 20px;
    position: absolute;
    font-style: normal;
    font-size: .75rem;
    left: 15px;
    line-height: 20px;
    color: #000000;
    background-color: #000000;
    opacity: 0.9;
    border-radius: 50%;
}

.header_mobile .cart_count {
    width: 20px;
    height: 20px;
    position: absolute;
    font-style: normal;
    font-size: .75rem;
    left: 15px;
    line-height: 20px;
    color: #000000;
    background-color: #000000;
    opacity: 0.9;
    border-radius: 50%;
}

.header_desktop .cart-drawer a.btn:hover {
    background-color: var(--color-background-grey);
}

.header-line {
    background-color: var(--color-headerLine-background);
}

.first-menu {
    background-color: var(--color-header-background);
    color: var(--color-header-text);
}

.first-menu .input-group-append {
    display: flex;
}

.header_mobile_nav {
    text-align: center;
}

.header_mobile_nav a,
.header_mobile_nav button {
    background-color: transparent;
    border: none;
}

.header_mobile_nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header_mobile_nav ul li a i,
.header_mobile_nav ul li button i {
    position: relative;
    font-size: 1.5rem;
}

.header_mobile_nav ul li a img {
    height: auto;
    width: 115px;
}

.header_mobile_search {
    display: none;
}

.header_mobile_search .content {
    padding: 15px 0;
}

.header_mobile_search form input {
    height: 35px;
    border: none;
}

.header_mobile_search form button {
    height: 35px;
    background-color: white;
    border: none;
    padding: 0 10px;
}

.header_mobile_search form button:hover {
    background-color: #f1f1f1;
}

.header_mobile_search .realtime_search {
    border-radius: 0;
}

.header_mobile_search .realtime_search ul {
    background-color: white;
}

.header_mobile_categories_ul {
    overflow-y: auto;
    background-color: transparent;
    border: 1px solid transparent;
}

.header_mobile_categories_ul::-webkit-scrollbar {
    width: 5px;
    background-color: white;
}

.header_mobile_categories_ul::-webkit-scrollbar-thumb {
    background-color: var(--color-headerLine-background);
}

.header_mobile_categories_ul li > div {
    position: relative;
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-text-grey);
    margin-bottom: 1px;
}

.header_mobile_categories_ul li > div div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    width: 50px;
    height: 100%;
    background-color: transparent;
    cursor: pointer;
}

.header_mobile_categories_ul li > div i,
.header_mobile_categories_ul li > div div i {
    font-size: .9rem;
    color: #000000;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    float: right;
}

.header_mobile_categories_ul li > div a {
    display: block;
    font-size: .8rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 15px 15px 0;
}

.header_mobile_categories_ul li ul {
    display: none;
    padding-left: 40px;
}

.j_cat_open_end_close .bi-chevron-down {
    transform: rotate(-90deg);
}

.j_cat_open_end_close .bi.active {
    transform: rotate(0deg);
}

/*
HEADER MOBILE - END
*/


/*
HEADER DESKTOP - START
*/

.header_desktop {
    display: none;
    background-color: white;
}

.header_desktop .j_menu_wishlist {
    width: 20px;
    height: 20px;
    position: absolute;
    text-align: center;
    left: 20px;
    line-height: 20px;
    font-style: normal;
    color: #000000;
    opacity: 0.9;
    border-radius: 50%;
}

.header_desktop .cart_count {
    width: 20px;
    height: 20px;
    position: absolute;
    text-align: center;
    left: 20px;
    line-height: 20px;
    font-style: normal;
    color: #000000;
    opacity: 0.9;
    border-radius: 50%;
}

.header_desktop .bi:hover span {
    background-color: #000000cc;
}

.header_desktop_logo {
    text-align: center;
    flex-basis: 25%;
}

.header_desktop a i:hover {
    color: #000000cc;
}

.header_desktop_logo a span {
    position: absolute;
    top: -9999px;
    left: -9999px;
    text-indent: -9999px;
}

.header_desktop_search {
    position: relative;
    flex-basis: 50%;
}

.header_desktop_buttons {
    display: flex;
    flex-basis: 25%;
    justify-content: space-between;
    padding-left: 70px;
}

.header_desktop_buttons_account,
.header_desktop_buttons_wishlist,
.header_desktop_buttons_cart {
    position: relative;
    flex-basis: 50px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
    padding: 20px 30px;
}

.header_desktop_buttons_account {
    background: url(images/user.png) no-repeat center;
}

.header_desktop_buttons_wishlist {
    background: url(images/heart.png) no-repeat center;
}

.header_desktop_buttons_cart {
    background: url(images/cart.png) no-repeat center;
}

.header_desktop_buttons_account.active,
.header_desktop_buttons_account:hover,
.header_desktop_buttons_wishlist.active,
.header_desktop_buttons_wishlist:hover,
.header_desktop_buttons_cart.active,
.header_desktop_buttons_cart:hover {
    background-color: #000000cc;
}

.header_desktop_buttons_wishlist span,
.header_desktop_buttons_cart span {
    display: none;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: .8rem;
    font-weight: bold;
    background-color: #000000cc;
    border-radius: 50%;
}

.header_desktop_buttons_wishlist span.active,
.header_desktop_buttons_cart span.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_desktop_categories_ul {
    display: flex;
}

.header_desktop_categories_ul > li {
    position: relative;
    text-align: center;
    flex-grow: 1;
}

.header_desktop_categories_ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 400;
    color: var(--color-headerLine-text);
    text-transform: uppercase;
    padding: 15px 0;
    text-align: center;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.header_desktop_categories_ul > li > a:hover {
    color: var(--color-headerLine-text-opacity);
}

.header_desktop_categories_ul > li:hover > div {
    display: block;
}

.header_desktop_categories_ul > li > div {
    display: none;
    width: 250px;
    position: absolute;
    left: 0;
    max-height: 400px;
    height: initial;
    padding: 20px 10px;
    border-top: none;
    background-color: var(--color-headerLine-background);
    z-index: 9999;
    overflow-y: auto;
}

.header_desktop_categories_ul > li > div div:first-child ul li {
    text-align: left;
}

.header_desktop .form-control {
    color: #000000;
    background-color: transparent;
    border-top: none;
    border-bottom: 1px solid #000000;
    border-right: none;
    border-left: none;
    border-radius: 0;
    padding: 6px 12px 6px 0;
}

.header_desktop .form-control:focus {
    background-color: transparent;
    box-shadow: none;
}

.header_desktop .form-control::placeholder {
    color: #000000;
}

.login-box {
    border: 1px solid black;
    border-radius: 5px;
}

.login-box p {
    font-size: .75rem !important;
}

/*
HEADER DESKTOP - END
*/


/*
WIDGETS (REALTIME SEARCH) - START
*/

.realtime_search {
    display: none;
    width: 100%;
    position: absolute;
    top: 2.65rem;
    padding: 10px 5px 10px 10px;
    background-color: white;
    z-index: 999;
}

.realtime_search ul {
    max-height: 300px;
    overflow-y: auto;
}

.realtime_search ul::-webkit-scrollbar {
    width: 5px;
    background-color: white;
}

.realtime_search ul::-webkit-scrollbar-thumb {
    background-color: var(--color-background-black);
}

.realtime_search li a {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    transition: background-color 0.2s ease-in-out;
}

.realtime_search li a:hover {
    background-color: #f6f6f6;
}

.realtime_search li a img {
    width: 50px;
    margin-right: 20px;
}

.realtime_search li a p {
    text-align: left;
    font-size: .75rem;
    color: var(--color-text-grey);
}

.realtime_search li a p .old_price {
    font-size: .75rem;
    text-decoration: line-through;
    float: left;
    margin: 0 10px 0 0;
}

.realtime_search li a p .new_price {
    color: var(--color-background-black);
    font-weight: bold;
    float: left;
}

/*
WIDGETS (REALTIME SEARCH) - END
*/


/*
MENU LINKS - START
*/

#menu-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#menu-links i,
#menu-links a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-header-text);
}

#menu-links button {
    font-size: 2rem;
    font-weight: bold;
    background-color: transparent;
    border: none;
}

#menu-links i:hover,
#menu-links a:hover,
#menu-links a:hover i,
#menu-links button:hover i {
    color: #000000cc;
}

#menu-links a p,
#menu-links a span,
#menu-links button span {
    font-size: .9rem;
}

#menu-links a p:hover {
    color: var(--color-header-text-opacity);
    font-weight: bold;
}

/*
MENU LINKS - END
*/


/*
992px
*/
@media (min-width: 62em) {
    .header_mobile {
        display: none;
    }

    .header_desktop {
        display: block;
    }
}


/*
768px
*/
@media (max-width: 48em) {
    .header_mobile_nav {
        border-bottom: 1px solid var(--color-background-grey);
    }

    .heading h1 span {
        font-size: 1rem;
    }

    .heading h1 i {
        font-size: 1.5rem;
    }
}


/*
768px
*/
@media (max-width: 48em) {
    .first-block {
        justify-content: center;
    }

    .first-block a {
        font-size: .6rem;
    }
    
    .login_box header {
        padding: 20px !important;
    }
}