.rpa-wrap {
	box-sizing: border-box;
	color: #171717;
	font-family: Lato, Arial, sans-serif;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	overflow-x: clip;
	padding-left: 20px;
	padding-right: 20px;
	width: auto;
}

.rpa-wrap * {
	box-sizing: border-box;
}

.rpa-head {
	align-items: flex-end;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.rpa-head h1 {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 8px;
}

.rpa-breadcrumbs {
	align-items: center;
	color: #777;
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 7px;
}

.rpa-breadcrumbs a {
	color: #777;
	text-decoration: none;
}

.rpa-breadcrumbs strong {
	color: #444;
	font-weight: 700;
}

.rpa-result-sort {
	align-items: center;
	display: flex;
	gap: 18px;
}

.rpa-results {
	color: #555;
	font-size: 13px;
	margin: 0;
	white-space: nowrap;
}

.rpa-sort select {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 4px;
	color: #222;
	font-size: 13px;
	min-height: 40px;
	min-width: 190px;
	padding: 0 12px;
}

.rpa-category-strip {
	display: none;
	gap: 10px;
	margin-bottom: 16px;
	overflow-x: auto;
	padding-bottom: 2px;
}

.rpa-category-strip a {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 6px;
	color: #222;
	display: inline-flex;
	flex: 0 0 96px;
	font-size: 12px;
	justify-content: center;
	min-height: 64px;
	padding: 9px;
	text-align: center;
	text-decoration: none;
}

.rpa-mobile-controls {
	display: none;
	gap: 10px;
	margin-bottom: 12px;
}

.rpa-filter-open {
	align-items: center;
	background: #dc0019;
	border: 0;
	border-radius: 4px;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
}

.rpa-filter-open span:not(.dashicons) {
	background: #fff;
	border-radius: 99px;
	color: #dc0019;
	font-size: 11px;
	padding: 3px 7px;
}

.rpa-active-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	min-height: 34px;
}

.rpa-chip {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 999px;
	color: #333;
	display: inline-flex;
	font-size: 12px;
	gap: 8px;
	min-height: 34px;
	padding: 5px 6px 5px 12px;
	text-decoration: none;
}

.rpa-chip b {
	align-items: center;
	background: #dc0019;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	line-height: 1;
	width: 22px;
}

.rpa-chip:hover {
	border-color: #dc0019;
}

.rpa-clear {
	color: #dc0019;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.rpa-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 260px minmax(0, 1fr);
}

.rpa-filter-panel {
	min-width: 0;
}

.rpa-filter-head {
	display: none;
}

.rpa-products-area {
	min-width: 0;
}

.rpa-category-group {
	border-top: 1px solid #eeeeee;
	margin-bottom: 30px;
	padding-top: 18px;
}

.rpa-category-group:last-child {
	margin-bottom: 0;
}

.rpa-category-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.rpa-category-titleline {
	align-items: center;
	display: flex;
	gap: 20px;
	min-width: 0;
}

.rpa-category-titleline h2 {
	color: #171717;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.25;
	margin: 0;
}

.rpa-category-titleline a {
	color: #dc0019;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

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

.rpa-category-arrows button {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
	color: #111;
	cursor: pointer;
	display: inline-flex;
	font-size: 16px;
	height: 36px;
	justify-content: center;
	line-height: 36px;
	padding: 0;
	width: 36px;
}

.rpa-category-arrows button:hover {
	border-color: #dc0019;
	color: #dc0019;
}

.rpa-grid {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.rpa-grid::-webkit-scrollbar {
	display: none;
}

.rpa-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rpa-category-group.is-expanded .rpa-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: visible;
	scroll-snap-type: none;
}

.rpa-category-group.is-expanded .rpa-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rpa-category-group.is-expanded .rpa-category-arrows {
	display: none;
}

.rpa-card {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 6px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .025);
	display: flex;
	flex: 0 0 calc((100% - 60px) / 4);
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	scroll-snap-align: start;
}

.rpa-wishlist {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 50%;
	color: #777;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	position: absolute;
	right: 10px;
	text-decoration: none;
	top: 10px;
	width: 28px;
	z-index: 1;
}

.rpa-wishlist .dashicons {
	font-size: 15px;
	height: 15px;
	line-height: 15px;
	width: 15px;
}

.rpa-image {
	align-items: center;
	aspect-ratio: 1.22 / 1;
	background: #fafafa;
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 12px;
	text-decoration: none;
}

.rpa-image img {
	display: block;
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.rpa-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px;
}

.rpa-card h2 {
	font-size: 13px;
	font-weight: 900;
	line-height: 1.35;
	margin: 0 0 6px;
}

.rpa-card h2 a {
	color: #171717;
	text-decoration: none;
}

.rpa-brand {
	color: #777;
	font-size: 12px;
	margin: 0 0 8px;
}

.rpa-price {
	color: #dc0019;
	font-size: 16px;
	font-weight: 900;
	margin-bottom: 14px;
}

.rpa-price del {
	color: #999;
	font-size: 11px;
	font-weight: 400;
	margin-left: 5px;
}

.rpa-stock {
	font-size: 12px;
	font-weight: 800;
	margin: 0 0 12px;
}

.rpa-stock.is-in {
	color: #15803d;
}

.rpa-stock.is-out {
	color: #777;
}

.rpa-card-actions {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) 42px;
	margin-top: auto;
}

.rpa-cart,
.rpa-card .button {
	align-items: center;
	background: #fff !important;
	border: 1px solid #e5a0a8 !important;
	border-radius: 4px !important;
	color: #dc0019 !important;
	display: inline-flex !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	justify-content: center;
	line-height: 1 !important;
	min-height: 34px;
	padding: 0 12px !important;
	text-align: center;
	width: 100%;
}

.rpa-view {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 50%;
	color: #111;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	text-decoration: none;
	width: 36px;
}

.rpa-view .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 16px;
	width: 16px;
}

.rpa-pagination {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 24px;
}

.rpa-pagination .page-numbers {
	align-items: center;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 4px;
	color: #222;
	display: inline-flex;
	font-size: 13px;
	height: 36px;
	justify-content: center;
	min-width: 36px;
	padding: 0 10px;
	text-decoration: none;
}

.rpa-pagination .current {
	background: #dc0019;
	border-color: #dc0019;
	color: #fff;
}

.rpa-empty {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 6px;
	padding: 24px;
	text-align: center;
}

.rpa-overlay {
	display: none;
}

body.rpa-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.rpa-head {
		align-items: flex-start;
		display: block;
	}

	.rpa-result-sort {
		align-items: flex-start;
		display: flex;
		justify-content: flex-start;
		margin-top: 10px;
	}

	.rpa-sort-desktop {
		display: none;
	}

	.rpa-category-strip {
		display: none;
	}

	.rpa-mobile-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 150px;
	}

	.rpa-sort-mobile select {
		min-width: 0;
		width: 100%;
	}

	.rpa-layout {
		display: block;
	}

	.rpa-filter-panel {
		background: #fff;
		bottom: 0;
		box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
		left: 0;
		max-width: min(420px, 92vw);
		overflow-x: hidden;
		overflow-y: auto;
		position: fixed;
		top: 0;
		transform: translateX(-105%);
		transition: transform .24s ease;
		width: min(420px, 92vw);
		z-index: 99999;
	}

	.rpa-filter-panel .rapf-mobile-trigger,
	.rpa-filter-panel .rapf-overlay,
	.rpa-filter-panel .rapf-panel-head {
		display: none !important;
	}

	.rpa-filter-panel .rapf-shell {
		position: static !important;
		width: 100% !important;
	}

	.rpa-filter-panel .rapf-panel {
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		max-width: none !important;
		overflow: visible !important;
		position: static !important;
		transform: none !important;
		transition: none !important;
		width: 100% !important;
	}

	.rpa-filter-panel .rapf-form-all {
		padding: 0 16px 18px !important;
	}

	body.rpa-open .rpa-filter-panel {
		transform: translateX(0);
	}

	body.rpa-open .rpa-overlay {
		background: rgba(0, 0, 0, .34);
		bottom: 0;
		display: block;
		left: 0;
		position: fixed;
		right: 0;
		top: 0;
		z-index: 99998;
	}

	.rpa-filter-head {
		align-items: center;
		border-bottom: 1px solid #e7e7e7;
		display: flex;
		justify-content: flex-end;
		padding: 14px 16px;
	}

	.rpa-filter-head button {
		background: transparent;
		border: 0;
		font-size: 28px;
		line-height: 1;
		padding: 0;
	}

	.rpa-grid,
	.rpa-columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rpa-category-group.is-expanded .rpa-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rpa-card {
		flex-basis: calc((100% - 40px) / 3);
	}
}

@media (max-width: 540px) {
	.rpa-head h1 {
		font-size: 22px;
	}

	.rpa-mobile-controls {
		grid-template-columns: minmax(0, 1fr) 104px;
	}

	.rpa-filter-open {
		bottom: 14px;
		box-shadow: 0 10px 24px rgba(220, 0, 25, .28);
		left: 14px;
		position: fixed;
		right: 14px;
		z-index: 9999;
	}

	.rpa-grid,
	.rpa-columns-3 {
		gap: 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rpa-category-group.is-expanded .rpa-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rpa-card {
		flex-basis: calc((100% - 12px) / 2);
	}

	.rpa-products-area {
		padding-bottom: 74px;
	}

	.rpa-category-group {
		margin-bottom: 22px;
	}

	.rpa-category-titleline {
		gap: 10px;
	}

	.rpa-category-titleline h2 {
		font-size: 16px;
	}

	.rpa-category-arrows button {
		height: 32px;
		width: 32px;
	}

	.rpa-card {
		display: flex;
	}

	.rpa-image {
		aspect-ratio: 1.08 / 1;
	}

	.rpa-card-body {
		min-width: 0;
		padding: 12px;
	}

	.rpa-card-actions {
		gap: 8px;
		grid-template-columns: 1fr;
	}

	.rpa-view {
		display: none;
	}
}
