/*--------------------  HEADER   -----------------------------*/
@import "input.css";
@import "modal.css";
body.active {
    overflow: hidden;
}
.header {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 15px;
    background-color: white;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url("../img/header_fon.webp");
}

.header__logo-mob {
    display: none;
}

.header__city {
    width: 100%;
    position: absolute;
    display: none;
    top: 80px;
    left: 0;
    z-index: 999;
    background: white;
    padding: 40px 21px;
    box-shadow: 0px 4px 53.5px 0px rgba(219, 203, 203, 1);
    border-radius: 10px;
}

.header__city.active {
    display: block;
}

.header__city__list {
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 0px;
}

.header__burger {
    width: 23px;
    display: flex;
    row-gap: 3px;
    flex-direction: column;
}

.header__mobile {
    display: none;
    position: relative;
}

.header__burger-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.header__mob {
    display: none;
    width: 100%;
    height: 0px;
    position: fixed;
    background: rgba(245, 239, 242, 1);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: height .2s;
    z-index: 9999;
}

.header__mob.active {
    height: 100%;
    position: fixed;
}

.header__mob.active .header__mobile{
    display: block;
}


.header__mobile__wrapper {
    max-width: 450px;
    padding: 42px 20px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;

}

.header__mobile__item__sub-item__list__wrapper {
    padding-left: 20px;
}
.header__burger__container {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.header__burger-line {
    width: 100%;
    height: 3px;
    background: var(--pink);
}

.header__burger {
    display: none;
}

.header__mobile__item.active .header__mobile__item-title {
    color: var(--pink);
}

.header__mobile__item-title {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.5px;
    color: rgba(72, 72, 72, 1);
}

.header__mobile__item__sub-item-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 19.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	text-decoration:none;
	color:#000;
}

.header__mobile__item__sub-item-title svg {
    fill: var(--black);
    transform: rotate(180deg);
}
.header__mobile__item__sub-item.active .header__mobile__item__sub-item-title svg {
    fill: var(--pink);
    transform: rotate(0deg);
}

.header__mobile__item__sub-item {
    padding-left: 10px;
}

.header__mobile__item__sub-item.active .header__mobile__item__sub-item-title {
    color: var(--pink);
}


.header__mobile__item__sub-item__list__link {
    font-size: 14px;
    font-weight: 500;
    line-height: 17.07px;
    color: var(--pink);
    text-decoration: none;
}

.header__mobile__item__sub-item__list {
    display: none;
    flex-direction: column;
    row-gap: 5px;
    list-style: disc;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.header__mobile__item__sub-item__list.active {
    display: flex;
}

.header__mobile__item__sub-item__wrapper {
    display: none;
    flex-direction: column;
    row-gap: 11px;
    margin-top: 10px;
}

.header__mobile__item__sub-item__wrapper.active {
    display: flex;
	overflow: auto;
    max-height: 500px;
}
.header__mobile__item__sub-item__list li::marker {
    color: red
}
.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav {
    display: flex;
    column-gap: 39px;
    justify-content: space-between;
    align-items: center;
}

.header__location {
    display: flex;
    cursor: pointer;
    align-items: center;
    column-gap: 7px;
}


.header__nav__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 7px;
    cursor: pointer;
	text-decoration:none;
}


.header__nav-text {
    font-size: 16px;
    line-height: 19.5px;
    color: rgba(72, 72, 72, 1);
}

.header__search {
	/*display:block;*/
    width: 100%;
    max-width: 342px;
	display: flex;
	flex-direction: row;
}

.header__nav-search {
    display: none;
}

.header__search-btn {
    border: none;
    background: transparent;
    display: inline-flex;	
}

@media (max-width: 1200px) {
    .header__search {
        max-width: 250px;
    }

    .header__nav-text {
        font-size: 14px;
    }

    .header__nav__wrapper img {
        width: 18px;
    }

    .header__logo {
        width: 200px;
    }
}

@media (max-width: 1000px) {
    .header__nav-text {
        display: none;
    }
    .header__nav__location-text {
        display: block;
    }

    .header__nav-search {
        display: block;
    }

    .header__nav {
        column-gap: 17px;
    }

    .header__search {
        display: none !important;
    }

    .header__mob {
        display: block;
    }

    .header__burger {
        display: flex;
    }
}

@media (max-width: 850px) {
    .header__logo-mob {
        display: block;
    }

    .header__logo {
        display: none;
    }

    .header__nav__wrapper img{
        width: 11px;
    }
    .header__nav__wrapper {
        display: block;
    }

    .header__nav-map {
        display: none;
    }
    .header__location img, .header__nav-search svg{
        width: 14px;
    }
    .header__nav {
        column-gap: 12px !important;
    }

    .header__nav__location-text {
        font-size: 12px;
        line-height: 14.63px;
    }
	
	.header__nav .header__nav-1 svg {
		width: 18px;		
	}
	
	.header__nav .header__nav-2 svg {
        width: 17px;	
	}
	
	.header__nav .header__nav-3 img {
        width: 15px;	
	}
}