@media only screen and (max-height: 1240.99px) {
	#register-popup-form-wrapper.popup-form-wrapper {
		top:0;
		overflow-y:auto;
	}
}

@media only screen and (max-width: 1720.99px) {
	.group-card .product-content-item .excerpt span, 
	.group-card .text span, 
	.product-content-item .group-card .excerpt span {
		font-size: calc(15px + 1.5vw);
	}
}

@media only screen and (max-width: 1630.99px) {
	.flex-menu > ul > li:nth-child(4) .sub-menu nav .grid-menu {
		grid-template-columns: repeat(3, 1fr);
	}

}
@media only screen and (max-width: 1440.99px) {

	.group-card .product-content-item .excerpt span, 
	.group-card .text span, 
	.product-content-item .group-card .excerpt span {
		font-size: calc(14px + 1.2vw);
	}
}

@media only screen and (max-width: 1380.99px) {
	.flex-menu > ul > li:nth-child(4) .sub-menu nav .grid-menu {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 1260.99px) {

	.group-card .product-content-item .excerpt span, 
	.group-card .text span, 
	.product-content-item .group-card .excerpt span {
		font-size: calc(18.78641px + .32362vw);
	}
}

@media only screen and (max-width: 1042.99px) {
	.account-wrapper .account-content-block .account-wishlist {
		overflow-x: auto;
	}
	.account-wrapper {
		    display: block;
	}
	.account-menu {
		margin-top: 30px;
	}
	.mobile-menu-top .btn-logout {
		width: 100%;
		height: 45px;
	}

	.mobile-menu-top .btn-logout svg {
		width: 1.2em;
    	height: 1.2em;
	}

	.mobile-menu-top .btn-logout path {
		stroke: #000;
	}

	.mobile-menu-body details ul.add-menu {
		display: flex;
		flex-wrap: wrap;
		margin-top: 15px;
	}

	.mobile-menu-body details ul.add-menu li:not(:last-child) {
		margin-right: 15px;
	}

	.mobile-menu-body details ul.add-menu li {
		border-radius: 5px;
		padding: 6px 12px;
		border: 1px solid #0FBF4D;
		height: fit-content;
	}

	.mobile-menu-body details ul.add-menu li a {
		font-weight: 700;
		text-align: center;
		color: #0FBF4D;
	}
	
	.catalog-statistic, .catalog-wrapper {
		grid-template-columns: 100%;
		grid-gap: 30px 0;
	}

	h1.product-title.title-h2 {display: block;}

	#cart-success .title-h2:not(:last-child) {
		display: block;
	}

	.page.catalog-page .title-h2:not(:last-child) {display: block;}

	.checkout-block .title {
		padding-left: 70px;
		padding-right: 0;
		box-sizing: border-box;
	}

	.checkout-block:before {left: 0;}

	.container {
		margin: 0 auto;
		box-sizing: border-box;
		width: 100%;
	}

	/*.header {
		position: relative!important;
		margin-block: 30px;
	}

	.hero-slider {margin-top: 0!important;}*/

}
@media (min-width: 1042.99px) and (max-width: 1260.99px) {
	.checkout .container {
	padding-left: 50px;
    max-width: max-content;
	}
}

@media only screen and (max-width: 520.99px) {
	.popup-form-wrapper[id] .close {
		top: 15px;
		right: 15px;
		width: 30px;
		height: 30px;
	}
	.popup-form-wrapper[id] .close:before,
	.popup-form-wrapper[id] .close:after {
		background-color: #111;
	}
}

@media only screen and (max-width: 767.99px) {
	.statistic-limit {
		display: none;
	}
	.header {
		padding: 15px 0px;
	}
	.header .container {
		padding: 0 10px;
	}
	.mobile-menu {
		font-size: 22px;
	}
	.mobile-menu-bottom .btn-inline {
		font-size: 18px;
		margin-top: 15px;
	}
	.mobile-menu-bottom .header-mobile-contacts .opener a{
		font-size: 20px;
	}
	.mobile-menu-bottom .header-mobile-contacts .dropdown span{
		font-size: 20px;
	}
}

@media only screen and (max-width: 420.99px) {
	.product-card {
		width: 100%;
	}

	.page.catalog-page .catalog {
		padding-left: 0;
		padding-right: 0;
	}

	.page.catalog-page .catalog .container {
		padding: 0 15px;
		box-sizing: border-box;
		width: 100%;
		margin: 0;
	}
	.page.catalog-page .catalog .new .container {
		padding: 0px;
	}

	.page.catalog-page .catalog .product-card {
		margin: 0 auto;
	}

	ul.pagination {
		overflow-x: auto;
		grid-gap: 0;
	}

	ul.pagination li:not(:last-child) {
		margin-right: 10px;
	}

	.pagination a, 
	.pagination span {
	    width: 25px;
	    height: 30px;
	    font-size: 16px;
	    border-radius: 4px;
	}

	.popup-form-wrapper[id] {
		border-radius: 0;
		max-width: 100%;
		left: auto;

	}

	.checkout-block .title {font-size: 20px;}

	.checkout-block:before {font-size: 40px;}
}
