.rt-product-archive-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1fr);
	align-items: start;
	gap: 30px;
	width: 100%;
	padding: 50px 2% 2%;
	box-sizing: border-box;
}

.rt-product-archive-main {
	min-width: 0;
}

.rt-product-archive-heading {
	position: relative;
	margin-bottom: 35px;
	padding: 24px 28px 25px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 72%);
	border: 1px solid #ececec;
	border-left: 5px solid #661421;
	border-radius: 7px;
	box-shadow: 0 8px 28px rgba(34, 34, 34, 0.06);
}

.rt-product-archive-heading::after {
	position: absolute;
	top: -45px;
	right: -45px;
	width: 135px;
	height: 135px;
	background: rgba(102, 20, 33, 0.055);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.rt-product-archive-type {
	display: block;
	margin-bottom: 5px;
	color: #661421;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rt-product-archive-title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #333;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
}

.rt-product-archive-sidebar {
	min-width: 0;
}

.rt-product-archive-sidebar .wpb_widgetised_column,
.rt-product-archive-top-widgets.wpb_widgetised_column {
	margin-bottom: 0;
}

.rt-product-archive-top-widgets {
	margin-bottom: 35px !important;
}

.rt-product-archive-description {
	position: relative;
	z-index: 1;
	margin-top: 13px;
	color: #555;
	font-size: 15px;
	line-height: 1.65;
}

.rt-product-archive-description > :last-child {
	margin-bottom: 0;
}

.rt-product-archive-products .woocommerce-result-count {
	margin-bottom: 25px;
}

.rt-product-archive-products .woocommerce-ordering {
	margin-bottom: 25px;
}

@media only screen and (max-width: 1200px) {
	.rt-product-archive-layout {
		grid-template-columns: minmax(170px, 1fr) minmax(0, 3fr) minmax(140px, 1fr);
		gap: 22px;
	}
}

@media only screen and (max-width: 900px) {
	.rt-product-archive-layout {
		grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
	}

	.rt-product-archive-sidebar--right {
		grid-column: 1 / -1;
	}
}

@media only screen and (max-width: 680px) {
	.rt-product-archive-layout {
		display: flex;
		flex-direction: column;
		gap: 35px;
		padding: 35px 15px;
	}

	.rt-product-archive-sidebar,
	.rt-product-archive-main {
		width: 100%;
	}

	.rt-product-archive-heading {
		margin-bottom: 28px;
		padding: 20px 20px 21px;
	}

	.rt-product-archive-title {
		font-size: 24px;
	}

	.rt-product-archive-main {
		order: 1;
	}

	.rt-product-archive-sidebar--left {
		order: 2;
	}

	.rt-product-archive-sidebar--right {
		order: 3;
	}
}
