.block{
	--block-width: 1500px;
	width: var(--block-width);
    margin: 30px auto;
    padding: 0;
    border-radius: 10px;
}

.main-area{
	display: flex;
	justify-content: space-between;
	gap: 30px;
	width: 1500px;
	margin: 0 auto;
	align-items: flex-start;
}

.main{
}

.aside{
	background-color: var(--clr-green);
	border-radius: 10px;
	width: 370px;
	margin: 10px auto;
}

.aside-catalogs{
	padding: 20px;
	gap: 10px;
	display: flex;
    flex-direction: column;
    width: calc(370px - 40px);
    background-color: var(--clr-green);
    margin: 0;
    border: 1px solid var(--clr-darkgreen20);
}

.aside-catalog{
	background-color: var(--clr-green50);
	padding: 10px 8px;
	border-radius: 10px;
	transition: 0.3s;
}

.aside-catalog:hover{
	background-color: var(--clr-green75);
}

.aside-catalog > .no-link{
	display: flex;
	justify-content: space-between;
}

.search-main__text{
    width: calc(100% - 74px);
    margin: 10px auto 20px;
    display: none;
}

.block-sales{
	margin: 10px auto;
    border-radius: 10px;
}

.block-sales__image{
	width: 100%;
}

.block-sales:hover{

}

.block-text_index{
    margin: 0 auto;
}

.block-text{
	width: 1500px;
    margin: 0 auto;
}

.block-catalogs__index{
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	margin: 30px auto;
	border-radius: 10px;
}

.block-catalog__index{
	padding: 2px 2px 6px 2px;
	display: flex;
    flex-direction: column;
    background-color: var(--clr-grey);
    border-radius: 10px;
    width: calc(calc(100% - 110px) / 4);
    transition: 0.4s;
}

.block-catalog__index:hover{
	background-color: var(--clr-grey75);
}

.block-catalog_text{
	margin: 6px;
}

.block-photo__static{
	width: 100%;
	border-radius: 10px;
}

.block-photo__mixed{
	width: 100%;
	height: 390px;
	border-radius: 10px;
}
.block-photo__cart{
	height: 150px;
	border-radius: 10px;
	border: 6px solid var(--clr-green);
}

.block-orderform__info{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 30px;
}

.block-catalogs{
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	margin: 30px auto;
	border-radius: 10px;
}

.block-catalog{
	padding: 2px 2px 6px 2px;
	display: flex;
    flex-direction: column;
    background-color: var(--clr-grey);
    border-radius: 10px;
    width: calc(calc(100% - 140px) / 5);
    transition: 0.4s;
}
.block-catalog:hover{
	background-color: var(--clr-grey75);
}
.block-products{
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	margin: 30px auto;
	border-radius: 10px;
	justify-content: center;
}
.block-product{
	padding:6px;
	display: flex;
    flex-direction: column;
    background-color: var(--clr-green);
    border-radius: 10px;
    width: 263px;
    gap: 6px 0;
    justify-content: space-between;
    transition: 0.4s;
}
.block-product:hover{
	background-color: var(--clr-green70); ;
}
.block-product__price{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 6px 0 0 0;
}
.block-catalog_cost{
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.block-quantity{
	border-radius: 20px;
	background-color: var(--clr-darkgreen);
	display: flex;
	flex-direction: row;
	padding: 0 10px;
	align-items: center;
}

.block-information{
	display: flex;
	gap: 25px;
	flex-wrap: nowrap;
	margin: 30px auto;
	border-radius: 10px;
}

.block-photo__information{
	width: calc(calc(100% - 30px) / 1.5);
	display: flex;
    flex-direction: column;
    padding: 0 10px;
    gap: 20px;
}

.block-photo__product{
	width: calc(calc(100% - 30px) / 3);
	border: 2px solid var(--clr-grey);
	border-radius: 10px;
	height: 100%;
}
.block-features{
	display: flex;
	flex-direction: column;
	gap: 0;
}

.block-features__head{
	background-color: var(--clr-green);
	border-radius: 10px;
	padding: 20px;
}

.block-features__text{
	background-color: var(--clr-green75);
	border-radius: 10px;
	padding: 20px;
}
.block-cart{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	margin: 30px auto;
	border-radius: 10px;
	justify-content: center;
}
.block-cart__product{
	padding:6px;
	display: flex;
    flex-direction: row;
    border-top: 2px solid var(--clr-grey);
    border-radius: 10px;
    gap: 6px 0;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s;
}
.block-cart__product.removing {
    opacity: 0;
}
.icon-cross{
	height: 25px;
	width: 25px;
	padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cross:hover {
    filter: brightness(1.15);
   }
.block-cart-photo__name{
	display: flex;
	align-items: center;
}
.text-price{
	white-space: nowrap;
}
.icon-cross-alt{
	display: none;
	height: 25px;
	width: 25px;
	position: relative;
	padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.block-product-price__cart{
	text-decoration: none;
	min-width: calc(100% - 30px);
}
.error-message {
    color: #ff0000;
    font-size: 16px;
    margin-top: -20px;
}

.input.error {
    border: 1px solid #ff0000;
}

@media screen and (max-width: 1600px) {
	.block{
		--block-width: calc(100% - 80px);
	}
	.main-area{
	width: calc(100% - 30px);
	}
	.main{
		width: calc(100% - 410px - 40px);
	}
	.block-text{
    width: calc(100% - 80px);
	}
}

@media screen and (max-width: 1500px) {
	.block-catalog__index{
    	width: calc(calc(100% - 75px) / 3);
	}

	.block-catalog{
    	width: calc(calc(100% - 110px) / 4);
	}
}

@media screen and (max-width: 1300px) {
	.block-catalog__index{
    width: calc(calc(100% - 40px) / 2);
	}
}

@media screen and (max-width: 1100px) {
	.aside{
		display: none;
	}
	.main{
		width: 100%;
	}
	.block-catalog__index, .block-catalog{
    width: calc(calc(100% - 75px) / 3);
	}
	.block{
		--block-width: calc(100% - 50px);
	}
	.block-product{
	padding:3px;
    width: 200px;
    gap:3px 0;
	}
	.block-photo__mixed{
	height: 297px;
	}
	.text20{
		font-size: 18px;
	}
	.text24{
		font-size: 20px;
	}
	.minus{
		width: 20px;
		height: 20px;
	}
	.plus{
		width: 20px;
		height: 20px;
	}
	.block-product-price__cart{
	min-width: calc(100% - 20px);
}
}

@media screen and (max-width: 900px) {
	.block-information{
		flex-direction: column;
	}
	.block-photo__information{
		width: calc(100% - 30px);
	}

	.block-photo__product{
		width: 100%;
	}
	.text32{
		font-size: 24px;
	}
}

@media screen and (max-width: 700px) {
	.text18{
		font-size: 14px;
	}
	.block-text{
		width: calc(100% - 30px);
	}
	.text20{
		font-size: 14px;
	}
	.block-catalogs__index, .block-catalogs{
		gap: 15px;
		width: var(--block-width);
	}
	.block-catalog__index, .block-catalog{
		width: calc(calc(100% - 25px) / 2);
	}
	.block{
		--block-width: calc(100% - 40px);
	}
	.minus{
		width: 15px;
		height: 15px;
	}
	.plus{
		width: 15px;
		height: 15px;
	}
	.block-product{
		width: calc(calc(100% - 30px) / 2);
	}
	.block-products{
		gap: 10px;
	}
	.block-quantity{
		height: 30px;
	}
	.block-product__price{
		align-items: center;
		flex-direction: column;
		gap: 5px;
	}
	.search-main__text{
		width: calc(100% - 54px);
	}
	.search-icon__main {
		height: 45px;
	}
}

@media screen and (max-width: 600px) {
	.block-cart__product{
		flex-direction: column;
	}
	.text24{
		font-size: 16px;
	}
	.block-cart-photo__name{
		width: 100%;
		justify-content: space-between;
	}
	.text32{
		font-size: 20px;
	}
	.icon-cross-alt{
		display: block;
		height: 25px;
		width: 25px;
		position: relative;
		padding: 0;
	    margin: 0;
	    border: 0;
	    bottom: 55px;
	    background: transparent;
	    cursor: pointer;
	}
	.icon-cross{
		display: none;
	}
	.block-photo__cart{
		height: 120px;
	}
}

@media screen and (max-width: 500px) {
	.text20, .text18{
		font-size: 12px;
	}
	main{
		gap: 20px;
	}
	.search-main__text{
		display: block;
	}
	.block-photo__mixed{
		height: 250px;
	}
}