/* header starts */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	transform: translateY(0);
    transition: 0.6s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}
.header--hide {
    transform: translateY(-100%);
    box-shadow: none;
}
.empty-block {
    height: 92px;
}
.header__inner {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
}
/* mobile header starts */
.header__mobile {
    background: var(--green-color);
    height: 92px;
}
.header__inner--mobile {
    height: 50%;
}
.mobile__left {
    flex: 1 1 50%;
}
.mobile__center {
    flex: 0 0 auto;
}
.mobile__right {
    display: flex;
    flex: 1 1 50%;
    justify-content: flex-end;
}
.mobile__open-cart-btn,
.mobile__open-menu-btn {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
}
.mobile__open-cart-btn {
    width: 24px;
    height: 24px;
}
.mobile__open-cart-btn img {
    width: 100%;
}
.mobile__open-cart-btn-counter {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    right: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    color: #ffffff;
}
.mobile-search-form {
    width: 100%;
    position: relative;
}
.mobile-search-form__input {
    width: 100%;
    height: 28px;
    border: none;
    outline: none;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    padding-left: 40px;
    color: #525252;
    font-size: 14px;
}
.mobile-search-form__submit {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* mobile header ends */

/* web header starts */
.header__top {
    display: none;
}
.header__middle {
    display: none;
}
.header__bottom {
    display: none;
}
.header__inner--top {
    width: 100%;
}
.top__left {
    flex: 1 1 50%;
}
.top__center {
    flex: 0 0 auto;
}
.top__right {
    flex: 1 1 50%;
    justify-content: flex-end;
}
.language-link {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}
.discount {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.discount__slider {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #ffffff;
    width: 200px;
    height: 16px;
    border-radius: 8px;
    position: relative;
}
.discount__left {
    height: 100%;
    border-radius: inherit;
    background: #FFA1A1;
    position: absolute;
    left: 0;
}
.discount__min {
    position: relative;
    z-index: 2;
    margin-left: 8px;
}
.discount__min span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
}
.discount__max {
    z-index: 2;
    margin-right: 6px;
}
.discount__max span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: var(--green-color);
}
.discount__curent {
    position: absolute;
    top: -6px;
    z-index: 3;
    background: #ff0000;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ffffff;
    transform: translateX(-50%);
}
.discount__curent span {
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
}
.discount_left {
    margin-right: 17px;
}
.discount_right {
    margin-left: 17px;
}
.discount_left, 
.discount_right {
    font-size: 12px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #ffffff;
}
.discount_right a {
    color: #ffffff;
}
.top__right {
    display: flex;
    flex-direction: row;
}
.favourite-link {
    color: #ffffff;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.favourite-link img {
    margin-right: 4px;
}
.phone-link {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 17px;
}
.phone-link img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}
.header__inner--middle {
    width: 100%;
}
.middle__left {
    flex: 1 1 50%;
}
.middle__center {
    flex: 0 0 auto;
    width: 140px;
}
.middle__center a {
    display: inline-flex;
    width: 100%;
}
.middle__center a img {
    width: 100%;
}
.middle__right {
    display: flex;
    flex: 1 1 50%;
    justify-content: flex-end;
}
.search-form__form {
    display: flex;
    flex-direction: row;
}
.search-form__input {
    height: 40px;
    width: 260px;
    background: none;
    outline: none;
    border: 1px solid var(--green-color);
    padding: 0 8px;
    font-size: 13px;
    transition: 0.6s;
}
.search-form__submit {
    width: 40px;
    height: 40px;
    background: var(--green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.6s;
}
.search-form__form--collapse .search-form__input {
    width: 0px;
}
.search-form__form--collapse .search-form__submit {
    transform: translateX(-18px);
}
.user-header {
    display: flex;
    flex-direction: row;
}
.user-header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-color);
}
.user-header__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 4px;
}
.user-header__top {
    font-size: 14px;
    font-weight: bold;
    color: var(--gray-dark-color);
}
.user-header__bottom {
    font-size: 13px;
    color: var(--gray-dark-color);
}
.cart-header {
    display: flex;
    flex-direction: row;
    margin-left: 14px;
}
.user-header__exit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 6px;
}
.user-header__exit-btn {
    background: none;
    border: none;
    outline: none;
    color: var(--green-color);
    font-size: 14px;
    cursor: pointer;
}
.cart-header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-color);
    outline: none;
    border: none;
    cursor: pointer;
}
.cart-header__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 4px;
}
.cart-header__top {
    font-size: 14px;
    font-weight: bold;
    color: var(--gray-dark-color);
}
.cart-header__bottom {
    font-size: 13px;
    color: var(--gray-dark-color);
}
.header__inner--bottom {
    justify-content: center;
}
.menu-header {
    display: flex;    
    flex-direction: row;
}
.menu-header li {
    margin-left: 26px;
}
.menu-header li:first-child {
    margin-left: 0;
}
.menu-header__link {
    color: var(--green-dark);
    font-size: 15px;
    position: relative;
}
.menu-header__link::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--green-dark);
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.6s;
}
.menu-header__link:hover:after {
    transform: translateY(0px);
    opacity: 0.5;
}
.menu-header__link--active {
    font-weight: bold;
}
.menu-header__link.menu-header__link--active::after {
    transform: translateY(0px);
    opacity: 0.5;
}
/* web header ends */
@media (min-width: 576px) {
    .header__mobile {
        height: 104px;
    }
    .empty-block {
        height: 104px;
    }
	.mobile__open-cart-btn-counter {
        width: 14px;
        height: 14px;
        top: -7px;
        right: -7px;
        font-size: 8px;
    }
}
@media (min-width: 992px) {
	.header__top {
        display: block;
        background: var(--green-color);
        height: 40px;
    }
    .header__middle {
        display: block;
        background: var(--gray-light-color);
        height: 70px;
    }
    .header__bottom {
        display: block;
        background: #ffffff;
        height: 70px;
    }
    .header__mobile {
        display: none;
    }
    .empty-block {
        height: 180px;
    }
}
@media (min-width: 1200px) {
    .discount__slider {
        width: 267px;
    }
}
@media (min-width: 1530px) {
    .header__top {
        height: 45px;
    }
    .header__middle {
        height: 80px;
    }
    .header__bottom {
        height: 80px;
    }
    .empty-block {
        height: 205px;
    }
    .language-link {
        font-size: 15px;
    }
    .discount__slider {
        width: 367px;
        height: 19px;
        border-radius: 10px;
    }
    .discount__min span {
        font-size: 12px;
    }
    .discount__max span {
        font-size: 12px;
    }
    .discount__curent {
        height: 31px;
        width: 31px;
    }
    .discount__curent span {
        font-size: 12px;
    }
    .discount_left {
        margin-right: 18px;
    }
    .discount_right {
        margin-left: 10px;
    }
    .discount_left, 
    .discount_right {
        font-size: 14px;
    }
    .favourite-link {
        font-size: 17px;
    }
    .favourite-link img {
        margin-right: 7px;
    }
    .phone-link {
        font-size: 17px;
        margin-left: 37px;
    }
    .phone-link img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    .middle__center {
        width: 164px;
    }
    .search-form__input {
        height: 50px;
        width: 350px;
        padding: 0 13px;
        font-size: 15px;
    }
    .search-form__submit {
        width: 50px;
        height: 50px;
    }
    .search-form__form--collapse .search-form__submit {
        transform: translateX(-28px);
    }
    .user-header__btn {
        width: 50px;
        height: 50px;
    }
    .user-header__text {
        margin-left: 5px;
    }
    .user-header__top {
        font-size: 17px;
    }
    .user-header__bottom {
        font-size: 16px;
    }
    .cart-header {
        margin-left: 40px;
    }
    .user-header__exit {
        margin-right: 10px;
    }
    .user-header__exit-btn {
        font-size: 16px;
    }
    .cart-header__btn {
        width: 50px;
        height: 50px;
    }
    .cart-header__text {
        margin-left: 5px;
    }
    .cart-header__top {
        font-size: 17px;
    }
    .cart-header__bottom {
        font-size: 16px;
    }
    .menu-header li {
        margin-left: 43px;
    }
    .menu-header__link {
        font-size: 19px;
    }
}
/* header ends */