/* ------------------------------------------------- 1024 */
/* ------------------------------------------------- 1024 */
@media screen and (min-width: 1025px) {
	.child-menu-container {
		margin-top: 0 !important;
	}
	.child-menu-1-on-left .child-menu-container-1 {
		left: auto;
		right: 0;
	}
	.child-menu-2-on-left .child-menu-container-2 {
		transform: translateX(-200%);
	}
}
@media (max-width: 1024px) {
	:root {
		--aside-width: 320px;
		--nav-height: 40px;
	}
	.close-custom-popup {
		right: 15px;
		top: 15px;
	}

	/* ------------------------------------ header */
		.personal-link {
			display: none;
		}
		.nav-login-link {
			display: flex;
		}
		.basket-info-container {
			display: none;
		}
		.header-link-counter {
			top: -7px;
		}

	/* ------------------------------------ nav */
		.hamburger {
			display: -webkit-flex;
			display: -moz-flex;
			display: -ms-flex;
			display: -o-flex;
			display: flex;
		}
		.top-nav-container {
			position: fixed;
			top: 0;
			left: 0;
			z-index: 100;
			background-color: var(--white);
			height: 100vh;
			max-height: 100vh;
			width: var(--aside-width);
			max-width: var(--aside-width);
			overflow-x: hidden;
			scrollbar-color: #56CCF2 #ddd; /* «цвет ползунка» «цвет полосы скроллбара» */
		  scrollbar-width: thin; 
		  transition: opacity .7s, transform .7s;
		  opacity: 0;
		  transform: translateX(-100%);
		}
		.top-nav-container.child-menu-1-is-open {
			overflow: hidden;
		}
		.menu-is-open .top-nav-container {
			opacity: 1;
			transform: translateX(0);
		}
		.top-menu,
		.top-nav-inner {
			flex-direction: column;
			align-items: stretch;
			width: 100% !important;
			position: static !important;
			transition: transform .2s;
		}
		.child-menu-1-is-open .top-nav-inner,
		.child-menu-2-is-open .top-menu-1 {
			transform: translateX(calc(var(--aside-width) * -1));
		}
		.top-menu li {
			position: static;
		}
		.top-menu-0>li {
			border-bottom: 1px solid var(--grey-6);
		}
		.top-menu-0>li>a {
			padding: 10px 20px;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			flex-grow: 2;
			transition: color .3s;
			color: var(--black);
			min-height: 0;
		}
		.top-menu-0>li>a:hover {
			color: var(--blue);
		}
		.top-menu-0>li>a:after {
			display: none;
		}
		.top-menu a {
			pointer-events: all !important;
			padding: 10px 20px;
		}
		.open-child-menu + a {
			padding-right: 20px;
		}
		.child-menu-container {
			position: absolute;
			top: 0!important;
			left: var(--aside-width) !important;
			width: var(--aside-width);
			max-width: var(--aside-width);
			min-width: var(--aside-width);
			height: calc(100vh - var(--header-height) - var(--nav-height)) !important;
			max-height: calc(100vh - var(--header-height) - var(--nav-height)) !important;
			min-height: calc(100vh - var(--header-height) - var(--nav-height)) !important;
			overflow-x: hidden;
			box-shadow: none;
		    background-color: var(--white);
		}
		.child-menu-is-open>.child-menu-container {
			opacity: 1;
			visibility: visible;
			transition: opacity .3s 0s, visibility 0s 0s;
		}
		.child-menu-2-is-open .child-menu-container-1 {
			overflow: hidden;
		}
		.child-menu-container a {
			text-align: left;
			justify-content: flex-start;
			padding-left: 35px;
			color: var(--black) !important;
		}
		.child-menu-header {
			display: flex !important;
			text-transform: uppercase;
		}
		.child-menu-header a {
			padding-left: 25px;
		}
		.open-child-menu {
			transform: unset !important;
			cursor: pointer;
			pointer-events: unset;
			margin-left: 0;
			width: 41px;
			min-width: 41px;
			transition: background-color .2s;
			padding-bottom: 0;
		}
		.top-menu-0>li>.open-child-menu {
			position: static;
			height: auto;
			display: flex;
		}
		.open-child-menu:hover {
			background-color: var(--grey-6);
		}
		.open-child-menu * {
			cursor: pointer;
		}
		.close-child-menu {
			display: flex !important;
			transition: background-color .2s;
		}
		.close-child-menu:hover {
			background-color: var(--grey-6)!important;
		}
		.close-child-menu svg {
			transform: rotate(180deg);
		}
		.nav-overlay {
			display: block;
		}
		.personal-link-container {
			display: flex !important;
		}

	/* ------------------------------------ main */
		.bx_catalog_tile li {
			width: calc((100% - 30px) / 3) !important;
		}
		.brand-item,
		.brand-item.all-brands-link {
			width: calc(100% / 3);
		}
		.main-trends-container img {
			width: 400px;
		}
		.main-trends-text {
			width: calc(100% - 400px);
		}
	
	/* ------------------------------------ catalog */
		.product-item.custom-slide {
			min-width: calc((100% - 20px) / 3);
			max-width: calc((100% - 20px) / 3);
		}
		.product-item:after {
			height: 100%;
		}
		.product-item-hidden {
			position: static;
			display: flex;
			background-color: transparent;
		}
		.product-item-button-container {
			padding-right: 10px;
		}
		.products-slider .custom-tab:nth-of-type(4n - 3) {
			display: none;
		}
		.products-slider .custom-tab:nth-of-type(3n - 2) {
			display: flex;
		}
		.catalog-middle-wrapper {
			position: relative;
		}
		.catalog-aside {
			position: absolute;
			top: 0;
			z-index: 3;
			left: -25px;
			height: 100%;
			opacity: 0;
			pointer-events: none;
			visibility: hidden;
			transition: opacity .7s, visibility 0s .7s;
		}
		.filter-is-open .catalog-aside {
			opacity: 1;
			pointer-events: all;
			visibility: visible;
			transition: opacity .7s, visibility 0s 0s;
		}
		aside + main.catalog-main {
			position: relative;
			z-index: 1;
			width: 100%;
			padding-left: 0;
		}
		.catalog-overlay {
			position: absolute;
			top: -1000px; bottom: calc(-1 * var(--margin-bottom));
			left: -25px; right: -25px;
			background-color: var(--black);
			opacity: 0;
			visibility: hidden;
			z-index: 2;
			transition: opacity .7s, visibility 0s .7s;
		}
		.filter-is-open .catalog-overlay {
			opacity: 0.7;
			visibility: visible;
			transition: opacity .7s, visibility 0s 0s;
		}
		.open-filter,
		.close-filter {
			display: flex;
		}

	/* ------------------------------------ product-card */
		.product-card-gallery-container {
			width: 350px;
			min-width: 350px;
		}
		.product-card-gallery,
		.product-card-no-photo-container {
			height: 350px;
		}
		.product-card-title-container {
			padding-right: 0;
		}
		.product-card-brand {
			top: 100%;
			margin-top: 10px;
		}

	/* ------------------------------------ footer */
		.footer-top-container .custom-wrapper,
		.footer-menu-container,
		.footer-menus,
		.footer-logo, .footer-phones, .footer-email, .footer-address, .footer-schedule {
			flex-direction: column;
			align-items: center;
			text-align: center;
		}
		.footer-menu-container {
			padding-right: 0;
			margin-bottom: 30px;
		}
		.footer-logo {
			margin-right: auto;
			margin-left: auto;
		}
		.social-icons {
			justify-content: center;
		}
		.social-icon {
			margin-right: 15px;
			margin-left: 15px;
		}
		.footer-bottom-wrapper {
			flex-direction: column;
		}
		.copyright,
		.developer {
			text-align: center;
			padding-left: 0;
			padding-right: 0;
		}
		.footer-images {
			padding-top: 10px;
			padding-bottom: 10px;
		}
		.footer-top-container>svg {
			width: 541px !important;
			height: 251px !important;
		}

	/* ------------------------------------ personal */
	.personal-page aside {
		display: none;
	}
	.personal-page aside + main {
		padding-left: 0;
		width: 100%;
	}
}

/* ------------------------------------------------- 768 */
/* ------------------------------------------------- 768 */
@media (max-width: 768px) {

	:root {
		--header-height: 136px;
	}
	h2.custom-title:before, .h2.custom-title:before, .text-with-before:before {
		font-size: 90px;
	}
	h2.custom-title:before, .h2.custom-title:before {
		top: -50px;
	}
	.header-phones,
	.header-address {
		display: none;
	}
	.custom-header .custom-wrapper {
		justify-content: center;
	}
	.logo-link {
		flex-direction: column;
		text-align: center;
	}
	.logo-link img {
		margin-right: 0;
		margin-bottom: 10px;
		height: 60px;
		width: auto;
	}
	.logo-link br {
		display: none;
	}
	.logo-link br.mobile-br {
		display: inline;
	}

	/* ------------------------------------ main */
		.bx_catalog_tile ul {
			width: calc(100% + 6px);
		}
		.bx_catalog_tile li {
			width: calc((100% - 12px) / 2) !important;
			margin: 3px;
			min-height: 180px;
		}
		.bx_catalog_tile img {
			max-height: 120px;
		}
		.bx_catalog_tile span {
			font-size: 14px;
		}
		.brand-item,
		.brand-item.all-brands-link {
			width: 50%;
		}
		.main-trends-container {
			padding-left: 0 !important;
			padding-right: 0 !important;
		}
		.main-trends-container .custom-wrapper {
			flex-direction: column;
			justify-content: flex-start;
			align-items: center;
		}
		.main-trends-text {
			width: 100%;
			background-color: var(--grey-6);
			padding-bottom: 30px;
			position: relative;z-index: 2;
		}
		.main-trends-container img {
			width: auto;
			max-width: 100%;
			position: relative;
			z-index: 1;
			order: -1;
		}
		.main-trends-text .custom-title.text-with-before {
			margin-top: 20px;
			margin-bottom: 50px;
			line-height: 1;
		}
		.main-trends-text h2.custom-title:before {
			font-size: 144px;
		}
		.products-slider .text-with-before:before {
			content: attr(data-mobile-before);
		}

	/* ------------------------------------ catalog */
		.product-item:hover {
			background-color: var(--grey-6);
		}
		.product-item:hover:after {
			display: none;
		}
		.product-item.custom-slide {
			min-width: calc((100% - 10px) / 2);
			max-width: calc((100% - 10px) / 2);
		}
		.product-items .product-item,
		.catalog-categories-tile-ul li {
			width: calc((100% - 10px) / 2);
		}
		.product-items .product-item:nth-of-type(3n),
		.catalog-categories-tile-ul li:nth-of-type(3n) {
			margin-right: 10px;
		}
		.product-items .product-item:nth-of-type(2n),
		.catalog-categories-tile-ul li:nth-of-type(2n) {
			margin-right: 0;
		}
		.products-slider .custom-tab:nth-of-type(3n - 2) {
			display: none;
		}
		.products-slider .custom-tab:nth-of-type(odd) {
			display: flex;
		}

	/* ------------------------------------ product-card */
		.product-card-wrapper {
			flex-direction: column;
			align-items: center;
			max-width: 350px;
		}
		.product-card-gallery-container {
			width: 100%;
			min-width: 100%;
			margin-right: 0;
			margin-bottom: 30px;
		}

	/* ------------------------------------ product-card */
		.news-list {
			max-width: 500px;
		}
		.news-item {
			width: 100%;
		}
}

/* ------------------------------------------------- 500 */
/* ------------------------------------------------- 500 */
@media (max-width: 500px) {

	/* ------------------------------------ catalog */
		.product-item-hidden {
			flex-direction: column;
		}
		.product-item.custom-slide {
			min-width: 100%;
			max-width: 100%;
		}
		.product-items .product-item,
		.catalog-categories-tile-ul li {
			width: 100%;
			margin-right: 0 !important;
		}
		.product-item-button-container {
			padding-right: 0;
			padding-top: 10px;
			width: 100%;
			max-width: 200px;
			order: 2;
		}
		.products-slider .custom-slider-view,
		.products-slider .custom-slider-bottom {
			width: 100%;
			max-width: 320px;
			margin: 0 auto;
		}
		.products-slider .custom-slider-bottom {
			justify-content: space-around;
		}
		.products-slider .custom-tab {
			display: none !important;
		}

}

/* ------------------------------------------------- 374 */
/* ------------------------------------------------- 374 */
@media (max-width: 374px) {
		.bx_catalog_tile li {
			width: calc(100% - 6px) !important;
		}
		.brand-item,
		.brand-item.all-brands-link {
			width: 100%;
		}

}