/* Homepage category slider — equal gaps, large arrows, 3 visible */
.hv-cat-slider-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
}

.hv-cat-slider-wrap .hv-cat-slider-viewport {
	overflow: hidden;
	flex: 1;
	min-width: 0;
}

.elementor-widget-wc-categories.hv-cat-slider ul.products,
.hv-cat-slider ul.products {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	transition: transform 0.5s ease;
	will-change: transform;
	grid-template-columns: none !important;
}

.elementor-widget-wc-categories.hv-cat-slider ul.products::before,
.elementor-widget-wc-categories.hv-cat-slider ul.products::after,
.hv-cat-slider ul.products::before,
.hv-cat-slider ul.products::after {
	display: none !important;
	content: none !important;
}

.elementor-widget-wc-categories.hv-cat-slider ul.products li.product-category,
.hv-cat-slider ul.products li.product-category {
	flex: 0 0 calc((100% - 40px) / 3) !important;
	width: calc((100% - 40px) / 3) !important;
	max-width: calc((100% - 40px) / 3) !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
}

/* Equal-height category images */
.hv-cat-slider ul.products li.product-category > a {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	aspect-ratio: 3 / 4 !important;
	overflow: hidden !important;
	background: #f3efe8;
}

.hv-cat-slider ul.products li.product-category > a > img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.hv-cat-slider ul.products li.product-category .count,
.hv-cat-slider .woocommerce-loop-category__title .count {
	display: none !important;
}

.hv-cat-nav {
	flex: 0 0 auto;
	align-self: center;
	width: auto;
	min-width: 48px;
	height: auto;
	margin: 0;
	padding: 8px 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #051f34;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	line-height: 0.8;
	font-weight: 600;
	transition: color 0.25s ease, transform 0.2s ease;
	z-index: 2;
	box-shadow: none;
}

.hv-cat-nav span {
	display: block;
	font-size: 48px;
	font-weight: 600;
	line-height: 0.8;
}

.hv-cat-nav:hover {
	background: transparent;
	color: #0a3554;
	transform: scale(1.08);
}

.hv-cat-nav:focus {
	outline: none;
}

@media (max-width: 1100px) {
	.elementor-widget-wc-categories.hv-cat-slider ul.products li.product-category,
	.hv-cat-slider ul.products li.product-category {
		flex-basis: calc((100% - 20px) / 2) !important;
		width: calc((100% - 20px) / 2) !important;
		max-width: calc((100% - 20px) / 2) !important;
	}
}

@media (max-width: 720px) {
	.hv-cat-slider-wrap {
		gap: 8px;
	}

	.elementor-widget-wc-categories.hv-cat-slider ul.products,
	.hv-cat-slider ul.products {
		gap: 14px !important;
	}

	.elementor-widget-wc-categories.hv-cat-slider ul.products li.product-category,
	.hv-cat-slider ul.products li.product-category {
		flex-basis: 88% !important;
		width: 88% !important;
		max-width: 88% !important;
	}

	.hv-cat-nav,
	.hv-cat-nav span {
		font-size: 34px;
	}
}
