.rt-category-catalog {
	--rt-catalog-accent: #661421;
	--rt-catalog-border: #e6e6e6;
	--rt-catalog-gap: 20px;
	width: 100%;
}

/* Online Market category navigation */
body.page-id-1202 .vc_col-sm-2 .wpb_widgetised_column > .wpb_wrapper > .wpb_heading {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 64px;
	margin: 0 !important;
	padding: 13px 14px 10px 50px !important;
	color: #fff !important;
	background: linear-gradient(135deg, #50101b 0%, #762031 100%);
	border-radius: 10px 10px 0 0;
	box-shadow: 0 10px 26px rgba(55, 15, 23, 0.18);
	box-sizing: border-box;
	font-family: "Raleway", sans-serif;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.01em;
}

body.page-id-1202 .vc_col-sm-2 .wpb_widgetised_column > .wpb_wrapper > .wpb_heading::before {
	position: absolute;
	top: 25px;
	left: 19px;
	width: 18px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
	content: "";
	opacity: 0.95;
}

body.page-id-1202 .vc_col-sm-2 .wpb_widgetised_column > .wpb_wrapper > .wpb_heading::after {
	position: absolute;
	bottom: 9px;
	left: 50px;
	color: rgba(255, 255, 255, 0.72);
	content: "Browse catalog";
	font-size: 9px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

body.page-id-1202 .vc_col-sm-2 .wpb_widgetised_column > .wpb_wrapper > .wpb_heading + .widget_product_categories {
	margin: 0 0 32px !important;
	padding: 8px !important;
	overflow: hidden;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-top: 0 !important;
	border-radius: 0 0 10px 10px !important;
	box-shadow: 0 13px 32px rgba(32, 38, 47, 0.09);
	box-sizing: border-box;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories > li + li {
	border-top: 1px solid #eef0f2 !important;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a {
	position: relative;
	display: flex !important;
	align-items: center;
	min-height: 45px;
	padding: 10px 30px 10px 25px !important;
	color: #363a40 !important;
	background: transparent;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a::before {
	position: absolute;
	top: 50%;
	left: 9px;
	width: 7px;
	height: 7px;
	background: #fff;
	border: 2px solid #aeb3ba;
	border-radius: 2px;
	box-sizing: border-box;
	content: "";
	transform: translateY(-50%) rotate(45deg);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a::after {
	position: absolute;
	top: 50%;
	right: 10px;
	color: #a2a7ae;
	content: "\203A";
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-52%);
	transition: color 0.2s ease, transform 0.2s ease;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:hover,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:focus,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li.current-cat > a,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li.current-cat-parent > a {
	padding-left: 28px !important;
	color: #661421 !important;
	background: #faf2f4;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:hover::before,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:focus::before,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li.current-cat > a::before,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li.current-cat-parent > a::before {
	background: #661421;
	border-color: #661421;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:hover::after,
body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories li > a:focus::after {
	color: #661421;
	transform: translate(2px, -52%);
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories .count {
	position: absolute;
	top: 50%;
	right: 25px;
	padding: 2px 6px;
	color: #777;
	background: #f1f2f4;
	border-radius: 10px;
	font-size: 9px;
	line-height: 1.4;
	transform: translateY(-50%);
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories ul.children {
	margin: 0 0 5px 13px !important;
	padding: 0 0 0 8px !important;
	border-left: 1px solid #e5e7eb;
}

body.page-id-1202 .vc_col-sm-2 .widget_product_categories .product-categories ul.children li > a {
	min-height: 38px;
	padding-top: 7px !important;
	padding-bottom: 7px !important;
	font-size: 11px !important;
}

.rt-category-section {
	margin: 0 0 56px;
}

.rt-category-section:last-child {
	margin-bottom: 0;
}

.rt-category-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 13px;
	border-bottom: 2px solid var(--rt-catalog-border);
}

.rt-category-title {
	position: relative;
	margin: 0;
	font-size: 25px;
	line-height: 1.25;
}

.rt-category-title::after {
	position: absolute;
	right: 0;
	bottom: -15px;
	left: 0;
	width: 54px;
	height: 2px;
	background: var(--rt-catalog-accent);
	content: "";
}

.rt-category-title a {
	color: #333;
	transition: color 0.2s ease;
}

.rt-category-title a:hover,
.rt-category-title a:focus {
	color: var(--rt-catalog-accent);
}

.rt-category-actions,
.rt-category-arrows {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rt-category-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	color: #333;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.rt-category-arrow:hover,
.rt-category-arrow:focus {
	color: #fff;
	background: var(--rt-catalog-accent);
	border-color: var(--rt-catalog-accent);
}

.rt-category-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.rt-category-arrow:disabled:hover {
	color: #333;
	background: #fff;
	border-color: #d8d8d8;
}

.rt-category-view-all {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 0 17px;
	color: #fff;
	background: var(--rt-catalog-accent);
	border: 1px solid var(--rt-catalog-accent);
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.rt-category-view-all:hover,
.rt-category-view-all:focus {
	color: var(--rt-catalog-accent);
	background: #fff;
}

.rt-category-products .woocommerce {
	width: 100%;
}

.rt-category-products .woocommerce ul.products {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (4 * var(--rt-catalog-gap))) / 5);
	grid-template-columns: none !important;
	gap: var(--rt-catalog-gap);
	margin: 0 !important;
	padding: 0 0 15px !important;
	overflow-x: auto;
	overflow-y: hidden;
	clear: none !important;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--rt-catalog-accent) #ededed;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.rt-category-products .woocommerce ul.products::before,
.rt-category-products .woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}

.rt-category-products .woocommerce ul.products::-webkit-scrollbar {
	height: 7px;
}

.rt-category-products .woocommerce ul.products::-webkit-scrollbar-track {
	background: #ededed;
	border-radius: 10px;
}

.rt-category-products .woocommerce ul.products::-webkit-scrollbar-thumb {
	background: var(--rt-catalog-accent);
	border-radius: 10px;
}

.page-template-default .rt-category-products .woocommerce ul.products li.product,
.page-template-full-width .rt-category-products .woocommerce ul.products li.product,
.rt-category-products .woocommerce ul.products li.product {
	float: none !important;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	clear: none !important;
	scroll-snap-align: start;
}

@media only screen and (max-width: 1024px) {
	.rt-category-products .woocommerce ul.products {
		grid-auto-columns: calc((100% - (2 * var(--rt-catalog-gap))) / 3);
	}
}

@media only screen and (max-width: 768px) {
	body.page-id-1202 .vc_col-sm-2 .wpb_widgetised_column > .wpb_wrapper > .wpb_heading + .widget_product_categories {
		margin-bottom: 25px !important;
	}

	.rt-category-section {
		margin-bottom: 44px;
	}

	.rt-category-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.rt-category-actions {
		justify-content: space-between;
		width: 100%;
	}

	.rt-category-products .woocommerce ul.products {
		grid-auto-columns: calc((100% - var(--rt-catalog-gap)) / 2);
	}
}

@media only screen and (max-width: 480px) {
	.rt-category-title {
		font-size: 21px;
	}

	.rt-category-view-all {
		padding: 0 13px;
		font-size: 10px;
	}

	.rt-category-products .woocommerce ul.products {
		grid-auto-columns: 82%;
	}
}
