@media (max-width: 1400px) {
    .threecard {
        grid-template-columns: 1fr 1fr;
    }
    .fourcard {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .wrp:not(.head-wrp) {
        padding: 25px;
    }
    .opensystem-slider {
        flex-direction: column;
        gap: 25px;
    }
    .opensystem__slide {
        flex-direction: column;
    }
    .opensystem__slide-desc {
        margin: 0;
    }
    .itemcard .wrp {
        flex-direction: column !important;
    }
    .item-img {
        width: 100%;
        height: 500px;
        min-height: 500px;
    }

	.filter {
		min-width: 136px;
	}

	.siries-card.column {
		width: calc(34% - 24px);
	}


	.previewslider {
		height: auto;
	}

	.threecard .siries-card > div {
		min-height: 320px;
  		max-height: 480px;
	}

	.header {
		padding-left: unset;
        padding-right: unset;
	}

	* {
		box-sizing: border-box;
	}

	.threecard .siries-card {
		height: 34.8rem;
	}

	section:not(.promotion, .header) {
		margin-bottom: 60px;
	}

	.catalog {
		margin-top: 60px;
	}

	.threecard .siries-card {
    	height: 25.4rem;
  	}

	.card-holder.fourcard.catalogroot .siries-card>div {
		height: 25rem !important;
	}

	.card-holder.fourcard.catalogroot .siries-card img {
		width: 100%;
		height: 100%;
	}

	.offercontainer h1 {
		font-size: 32px;
		width: unset;
	}

	.threecard .siries-card, .card-holder.fourcard.catalogroot .siries-card {
  		width: calc(33.1% - 24px);
	}

	.leftsideForm {
  		width: 73%;
	}

	div.itemcard.cardall {
		width: 100% !important;
	}

	.itemcard .item-img {
		width: 100% !important;
	}

	.item-configurator {
		width: 100% !important;
	}


	fourcard.siries-card {
		width: calc(33% - 24px);
	}

	.wrp {
  		gap: 60px;
	}

	.castlbut {
		top: unset;
  		left: 3.5rem;
	}

	.contactform .b24-form-btn {
		width: 100%;
	}
}

@media (max-width: 1023px) {
    .linkBlock, .contactsocialwrpr{
        display: none;
    }

    .header-dropdown {
        display: block;
    }

	.header-dropdown.active {
		display: flex;
    	position: fixed;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100vh;
    	flex-direction: column;
    	justify-content: center;
    	align-items: center;
    	z-index: 99;
    	background-color: #f7f7f7;
		text-align: center;
  		gap: 2rem;
	}

	.header-dropdown.active :is(.linkBlock, .contactBlock, .contactsocialwrpr) {
		display: flex;
		flex-direction: column;
	}

	.header-dropdown.active>a {
		z-index: 100;
		background-color: darkgray;
  		top: 1.2rem;
  		position: absolute;
  		right: 1rem;
	}

	.otercls.active {
		right: 1rem;
	}

	.header-dropdown.active>a {
		height: unset;
	}
}

@media (max-width: 691px) {
	  .siries-card.column {
   	  width: calc(50% - 24px);
  }
}