/* ————— product-list.tpl ————— */
.category {
	width: 75%;
	margin: 0 auto;
}

.category_content{
	background:#fff;
	width:100%;
}

.category-product-list {
	display: flex;
	gap: 85px;
}

.category_column {
	flex: 0 0 270px;
}

#product-list {
	margin-bottom: 10rem;
	flex: 1 1 auto;
}

#product-list .product-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 4fr);
	gap: 80px;
}

#product-list .ajax_block_product {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

#product-list .ajax_block_product img {
	box-shadow: 0px 3px 6px #00000029;
	margin-bottom: 1rem;
	transition: ease-out 0.4s;
	width: 100%;
}

#product-list .ajax_block_product .product_options {
	text-align: center;
}

#product-list .ajax_block_product .product_options a.product-link {
	font-size: 20px;
}

#product-list .ajax_block_product .product_options span.price {
	font-size: 20px;
}

#product-list .ajax_block_product .product_options .product-desc {
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	color: #707070;
}

#product-list .ajax_block_product .product_options .btn_add_cart {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 8rem;
	left: 50%;
	transform: translate(-50%);
	padding: 0.6rem 2.5rem;
	width: max-content;
	width: -moz-max-content;
}

#product-list .ajax_block_product .product_options .btn-view {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 18rem;
	left: 50%;
	transform: translate(-50%);
	padding: 0.6rem 2.5rem;
	width: fit-content;
}

#product-list .ajax_block_product:hover img {
	opacity: 0.5;
}

#product-list .ajax_block_product:hover .product_options .btn_add_cart,
#product-list .ajax_block_product:hover .product_options .btn-view {
	opacity: 100;
	visibility: visible;
}

@media screen and (max-width: 1500px) {
	#product-list .product-wrapper {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 1199px) {
	#product-list .product-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 60px;
	}

	.category-product-list {
		gap: 65px;
	}

	#product-list {
		margin-bottom: 6rem;
	}
}

@media screen and (max-width: 1500px) {
	#product-list{
		padding-left:20px;
		padding-right:20px;
	}
}


@media screen and (min-width: 961px) {
	#product-list{
		padding-right:50px;
	}
}

@media screen and (max-width: 959px) {
	.category-product-list {
		display: block;
	}
}

@media screen and (max-width: 650px) {
	#product-list .product-wrapper {
		grid-template-columns: repeat(1, 1fr);
		gap: 4rem;
	}

	#product-list {
		margin-bottom: 0;
	}

	.product_options {
		width: 80%;
	}
}