.hdv-rp {
	--hdv-rp-gap: 18px;
	--hdv-rp-title-color: #171717;
	--hdv-rp-category-color: #8f8f8f;
	--hdv-rp-cta-color: #c9312c;
	--hdv-rp-image-bg: #f7f7f7;
	background: #fff;
}

.hdv-rp--empty {
	padding: 20px 0;
}

.hdv-rp__empty-box {
	padding: 24px;
	border: 1px dashed rgba(0, 0, 0, 0.14);
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.hdv-rp__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 48px;
}

.hdv-rp__section-title {
	margin: 0;
	color: var(--hdv-rp-title-color);
	font-size: 48px;
	line-height: 1.2;
	font-weight: 600;
}

.hdv-rp__nav {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.hdv-rp__nav .hdv-rp__arrow,
.hdv-rp button.hdv-rp__arrow,
.hdv-rp button.hdv-rp__arrow[type="button"] {
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	appearance: none;
	-webkit-appearance: none;
	color: #767676;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-indent: 0;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.hdv-rp__arrow--next {
	color: #767676;
}

.hdv-rp__arrow:hover,
.hdv-rp__arrow:focus-visible,
.hdv-rp button.hdv-rp__arrow:hover,
.hdv-rp button.hdv-rp__arrow:focus-visible {
	color: #d32027;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none;
	transform: translateY(-1px);
}

.hdv-rp__arrow--next:hover,
.hdv-rp__arrow--next:focus-visible {
	color: #d32027;
}

.hdv-rp__arrow:disabled,
.hdv-rp button.hdv-rp__arrow:disabled {
	opacity: 0.28;
	cursor: not-allowed;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	transform: none;
}

.hdv-rp__nav .hdv-rp__arrow::before,
.hdv-rp__nav .hdv-rp__arrow::after {
	display: none !important;
	content: none !important;
}

.hdv-rp__arrow span,
.hdv-rp__arrow svg {
	display: block;
	width: 24px;
	height: 24px;
}

.hdv-rp__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}

.hdv-rp__viewport::-webkit-scrollbar {
	display: none;
}

.hdv-rp__track {
	display: flex;
	gap: var(--hdv-rp-gap);
	width: max-content;
	min-width: 100%;
}

.hdv-rp__card {
	flex: 0 0 calc((100% - (var(--hdv-rp-gap) * 3)) / 4);
	max-width: 302px;
	min-width: 0;
	min-height: 0;
	scroll-snap-align: start;
}

.hdv-rp__image-link {
	display: block;
	text-decoration: none;
}

.hdv-rp__image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #F7F7F7 !important;
	padding: 18px;
}

.hdv-rp__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 320px;
	object-fit: contain;
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.45s ease;
}

.hdv-rp__card:hover .hdv-rp__image,
.hdv-rp__card:focus-within .hdv-rp__image {
	transform: scale(1.06);
}

.hdv-rp__content {
	padding-top: 12px;
}

.hdv-rp__category {
	margin-bottom: 6px;
	color: var(--hdv-rp-category-color);
	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;
	text-transform: none;
}

.hdv-rp__product-title {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--hdv-rp-title-color);
}

.hdv-rp__product-title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.hdv-rp__product-title a:hover,
.hdv-rp__product-title a:focus-visible {
	color: inherit;
	outline: none;
}

.hdv-rp__cta {
	display: inline-block;
	color: var(--hdv-rp-cta-color);
	font-size: 15px;
	line-height: 1.35;
	font-weight: 500;
	text-decoration-line: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hdv-rp__cta:hover,
.hdv-rp__cta:focus-visible {
	color: var(--hdv-rp-cta-color);
	text-decoration-color: currentColor;
	outline: none;
}

@media (max-width: 1024px) {
	.hdv-rp {
		--hdv-rp-gap: 16px;
	}

	.hdv-rp__header {
		margin-bottom: 32px;
	}

	.hdv-rp__section-title {
		font-size: 34px;
		line-height: 1.18;
	}

	.hdv-rp__nav {
		gap: 12px;
	}

	.hdv-rp__card {
		flex: 0 0 calc((100% - var(--hdv-rp-gap)) / 2);
		max-width: 240px;
	}

	.hdv-rp__image-wrap {
		padding: 16px;
		min-height: 260px;
	}

	.hdv-rp__image {
		max-width: 100%;
		max-height: 260px;
	}

	.hdv-rp__content {
		padding-top: 10px;
	}

	.hdv-rp__product-title {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.hdv-rp__header {
		margin-bottom: 20px;
	}

	.hdv-rp__section-title {
		font-size: 24px;
	}

	.hdv-rp__nav {
		gap: 8px;
	}

	.hdv-rp__nav .hdv-rp__arrow,
	.hdv-rp button.hdv-rp__arrow,
	.hdv-rp button.hdv-rp__arrow[type="button"] {
		width: 24px;
		height: 24px;
		min-width: 24px;
		min-height: 24px;
	}

	.hdv-rp__arrow span,
	.hdv-rp__arrow svg {
		width: 10.72px;
		height: 24px;
	}

	.hdv-rp__card {
		flex-basis: min(78vw, 280px);
		max-width: min(78vw, 280px);
	}

	.hdv-rp__image-wrap {
		padding: 14px;
		min-height: 220px;
	}

	.hdv-rp__image {
		max-width: 100%;
		max-height: 220px;
	}

	.hdv-rp__product-title {
		font-size: 15px;
	}

	.hdv-rp__cta {
		font-size: 14px;
	}
}
