@media(max-width: 1800px) {
	.wrap {
		padding-left: 50px;
		padding-right: 50px;
	}

	.side_to_flex {
		gap: 50px;
	}

	.side_three_list_item:first-child .wrap p:first-child {
		font-size: 40px;
	}

	.side_four_faq {
		width: 100%;
	}

	.side_five_highlight div {
	    height: 40px;
	    font-size: 50px;
	    line-height: 30px;
	}

	.side_five_text {
		max-width: 350px;
	}

	.idkwtf {
		height: 150px;
	}

	.container_title_flex {
		gap: 50px;
	}

	.product_grid {
		column-gap: 50px;
		grid-template-columns: 100px minmax(322px, 501px) 1fr;
	}
}

@media(max-width: 1400px) {
	.product_grid {
		width: calc(100% + 50px);
		grid-template-columns: 100px minmax(322px, 100%) 1fr;
		column-gap: 50px;
		row-gap: 50px;
		grid-template-rows: auto auto;
		grid-template-areas:
		"col1 col2"
      "full  full";
	}

	.product_img_mini {
		grid-area: col1;
	}

	.product_img_full {
		grid-area: col2;
	}

	.product_pole {
		grid-area: full;
	}
}

@media(max-width: 1024px) {
	#imageModal {
  		--imageModal_gap: 40px;
	}

	.product_img_mini {
		display: none;
	}

	.product_grid {
		display: flex;
		flex-direction: column;
		width: 100%;
		gap: 20px;
	}

	.product_img_full {
		min-height: 300px;
		max-height: 300px;
		height: 300px;
		width: auto;
		margin-left: -30px;
		margin-right: -30px;
	}

	.product_img_scroll {
		max-height: 300px;
		left: 0%;
		padding-left: 30px;
		padding-right: 30px;
	}

	.wrap {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}

	.head {
		height: auto;
		margin-bottom: 5px;
		margin-top: 30px;
		position: relative;
		z-index: 10;
	}

	.container {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.search {
		min-width: 200px;
	}

	.highlight {
		height: auto;
		min-height: 1px;
		max-height: 100%;
		background: 0;
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: center;
	}

	.highlight span {
		padding: 0 3px;
		display:block;
		background: #6f1414;
		height: 26px;
		line-height: 26px;
		width: max-content;
		font-size: 20px;
	}

	.catalog_grid {
		gap: 20px 10px;
		grid-template-columns: repeat(3, minmax(150px, 1fr));
	}

	.catalog_item_name {
		font-size: 12px;
		margin-top: 5px;
		margin-bottom: 0;
	}

	.catalog_item_info {
		font-size: 10px;
	}
}

@media(max-width: 768px) {
	html, body {
		min-width: 340px;
	}

	.foot {
		height: auto;
		padding: 20px 0;
	}

	.foot_nav {
		gap: 14px;
	}

	.container_title_flex {
		flex-direction: column;
		gap: 10px;
		height: auto;
		justify-content: flex-start;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.search {
		width: 100%;
		margin-top: 10px;
	}

	.container_title {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.catalog_item_name {
		margin-top: 10px;
	}

	.catalog_grid {
		gap: 20px 10px;
		grid-template-columns: repeat(3, minmax(150px, 1fr));
	}

	.product_name {
		margin-bottom: 20px;
	}

	.product_details_title {
		margin-top: 10px;
	}

	.product_btn {
		margin-top: 20px;
		gap: 20px;
	}

	.product_wrap {
		margin-top: 40px;
		gap: 40px;
	}

	.product_title {
		margin-bottom: 10px;
	}

	.side[side="1"] {
		min-height: 100vh;
    	max-height: 100vh;
    	height: 100vh;
	}

	.side_catalog_btn {
		margin-top: 50px;
	}

	.side_one_title {
		font-size: 45px;
		line-height: 45px;
	}

	.side_one_text {
	    font-size: 16px;
	    line-height: 26px;
	    margin-top: 30px;
	}

	.side[side="2"] {
	    padding-top: 30px;
	    padding-bottom: 30px;
	}

	.side_to_title {
	    font-size: 25px;
	    line-height: 26px;
	}

	.side_to_text {
	    font-size: 14px;
	    line-height: 15px;
	    margin-top: 10px;
	    margin-bottom: 40px;
	}

	.side_to_flex {
		flex-direction: column;
		gap: 30px;
	}

	.side_to_item {
		width: 100%;
		max-width: 100%;
		height: auto;
	}

	.side_to_item_name {
	    font-size: 16px;
	    line-height: 31px;
	    margin-top: 0px;
	}

	.side_to_item_info {
	    font-size: 14px;
	    line-height: 10px;
	    margin-top: 0px;
	}

	.side_to_item_img {
		height: 200px;
	}

	.side_three_list_item {
		height: auto !important;
		min-height: 1px !important;
	}

	.side_three_list_item .wrap {
		flex-direction: column;
		padding: 20px;
		justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
	}

	.side_three_list_item .wrap p {
		width: auto !important;
	}

	.side_three_list_item .wrap p:first-child {
		font-size: 20px !important;
	}

	.side_three_list_item .wrap p:last-child {
		font-size: 14px;
	}

    .idkwtf {
        height: auto;
        padding: 20px 0;
    }

	.side[side="4"] {
	    padding-top: 20px;
	    padding-bottom: 20px;
	}

	.side_four_title {
	    font-size: 25px;
	    line-height: 30px;
	    margin-bottom: 20px;
	}

	.side_four_name {
	    font-size: 16px;
	    line-height: 18px;
	}

	.side_four_text {
		margin-top: 10px;
		font-size: 14px;
	}

	.wrap.side_five {
		height: auto;
		flex-direction: column-reverse;
		padding: 35px 0;
	}

	.side_five_info {
	    flex-direction: column;
	    gap: 25px;
	    align-items: center;
	    justify-content: center;
	}

	.side_five_text {
	    font-weight: 300;
	    font-size: 16px;
	    line-height: 18px;
	    text-align: center;
	}

	.side_five_highlight {
	    align-items: center;
	    gap: 10px;
	    margin-bottom: 35px;
	}

	 .side_five_highlight div {
        height: 26px;
        font-size: 26px;
        line-height: 22px;
        padding: 0 3px;
    }

    .side_five_catalog, .side_catalog_btn {
    	width: max-content;
    padding: 0 20px;
    font-size: 13px;
    }

    .wrapper.page .side_one_middle {
    	padding-top: 30px;
    	padding-bottom: 30px;
    }

    .wrapper.page .side_one_btn {
    	gap: 10px;
    	margin-bottom: 40px;
    }

    .wrapper.page .side[side="1"] {
		min-height: 100vh;
    	max-height: 100%;
    	height: 100%;
	}

	.contacts {
		gap: 20px;
	}

	.contacts a {
		font-size: 25px;
		line-height: 30px;
	}

	.contacts span {
		font-size: 15px;
	}

	.contacts em {
		font-size: 10px;
	}
}

@media(max-width: 600px) {
	.foot .wrap {
		justify-content: center;
    flex-direction: column;
    gap: 10px;
	}
}

@media(max-width: 500px) {
	.catalog_grid {
		grid-template-columns: repeat(2, minmax(150px, 1fr));
	}
}