
.rodman-product-carousel {
	--rpc-gap: 24px;
	position: relative;
	width: 100%;
}

.rodman-product-carousel .rpc-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.rodman-product-carousel .rpc-title {
	margin: 0;
}

.rodman-product-carousel .rpc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 0 24px;
}

.rodman-product-carousel .rpc-filter {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 4px 0 7px;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	position: relative;
	opacity: .65;
	transition: opacity .2s ease;
}

.rodman-product-carousel .rpc-filter::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .2s ease;
}

.rodman-product-carousel .rpc-filter:hover,
.rodman-product-carousel .rpc-filter.is-active {
	opacity: 1;
	background: transparent;
	color: inherit;
}

.rodman-product-carousel .rpc-filter.is-active::after {
	transform: scaleX(1);
}

.rodman-product-carousel .rpc-stage {
	position: relative;
	transition: opacity .18s ease;
}

.rodman-product-carousel.is-loading .rpc-stage {
	opacity: .4;
	pointer-events: none;
}

.rodman-product-carousel .rpc-stage > .products {
	display: flex !important;
	grid-template-columns: none !important;
	gap: var(--rpc-gap) !important;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	margin-bottom: 0;
	padding-bottom: 3px;
}

.rodman-product-carousel .rpc-stage > .products::-webkit-scrollbar {
	display: none;
}

.rodman-product-carousel .rpc-stage > .products > .product {
	flex: 0 0 calc((100% - (var(--rpc-gap) * (var(--rpc-desktop-cols) - 1))) / var(--rpc-desktop-cols));
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	scroll-snap-align: start;
}

/* Blocksy Flexy look */
.rodman-product-carousel .rpc-arrows {
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 20;
}

.rodman-product-carousel .rpc-arrow {
	position: absolute;
	top: calc(50% - 20px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 100%;
	color: var(--flexy-nav-arrow-color, var(--theme-text-color));
	background: var(--flexy-nav-background-color, #fff);
	box-shadow: 0 25px 40px rgba(0, 0, 0, .03);
	cursor: pointer;
	pointer-events: auto;
	transition: all .12s cubic-bezier(.455, .03, .515, .955);
	z-index: 2;
}

.rodman-product-carousel .rpc-arrow svg {
	display: block;
	width: 16px;
	height: 10px;
}

.rodman-product-carousel .rpc-prev {
	left: 20px;
	transform: translateX(-10px);
}

.rodman-product-carousel .rpc-next {
	right: 20px;
	transform: translateX(10px);
}

@media (any-hover: hover) {
	.rodman-product-carousel .rpc-arrow {
		opacity: 0;
	}

	.rodman-product-carousel .rpc-stage:hover .rpc-arrow,
	.rodman-product-carousel .rpc-arrow:focus-visible {
		opacity: 1;
		transform: translateX(0);
	}

	.rodman-product-carousel .rpc-arrow:hover {
		color: var(--flexy-nav-arrow-hover-color, #fff);
		background: var(--flexy-nav-background-hover-color, var(--theme-palette-color-1, #fbbf47));
	}
}

.rodman-product-carousel .rpc-arrow:disabled {
	opacity: 0 !important;
	pointer-events: none;
}

.rodman-product-carousel .rpc-empty {
	margin: 8px 0 0;
}

.rodman-product-carousel .rpc-status {
	min-height: 1px;
}

@media (max-width: 1024px) {
	.rodman-product-carousel {
		--rpc-gap: 18px;
	}

	.rodman-product-carousel .rpc-stage > .products > .product {
		flex-basis: calc((100% - (var(--rpc-gap) * (var(--rpc-tablet-cols) - 1))) / var(--rpc-tablet-cols));
	}
}

@media (max-width: 689px) {
	.rodman-product-carousel {
		--rpc-gap: 14px;
	}

	.rodman-product-carousel .rpc-heading-row {
		align-items: flex-start;
		margin-bottom: 14px;
	}

	.rodman-product-carousel .rpc-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		white-space: nowrap;
		margin-right: -20px;
		padding-right: 20px;
		margin-bottom: 18px;
	}

	.rodman-product-carousel .rpc-filters::-webkit-scrollbar {
		display: none;
	}

	.rodman-product-carousel .rpc-arrows {
		display: none;
	}

	.rodman-product-carousel .rpc-stage > .products > .product {
		flex-basis: calc((100% - (var(--rpc-gap) * (var(--rpc-mobile-cols) - 1))) / var(--rpc-mobile-cols));
	}
}
