.ja-categorias-carrusel {
	width: 100%;
	max-width: none;
	position: relative;
	margin: 0;
	padding: 0;
	container-type: inline-size;
}

.ja-categorias-carrusel__header {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	gap: 6px;
}

.ja-categorias-carrusel__arrow {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.ja-categorias-carrusel__arrow:hover,
.ja-categorias-carrusel__arrow:focus-visible {
	background: rgba(0, 0, 0, .65);
}

.ja-categorias-carrusel__viewport {
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.ja-categorias-carrusel__viewport::-webkit-scrollbar {
	display: none;
}

.ja-categorias-carrusel__track {
	display: flex;
	gap: 18px;
	width: max-content;
}

.ja-categorias-carrusel__item {
	position: relative;
	display: block;
	flex: 0 0 calc((100% - 36px) / 3);
	flex-basis: min(360px, calc((100cqw - 36px) / 3));
	aspect-ratio: .9;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	scroll-snap-align: start;
}

.ja-categorias-carrusel__item img,
.ja-categorias-carrusel__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ja-categorias-carrusel__item img {
	object-fit: cover;
	object-position: center;
	transition: transform .45s ease;
}

.ja-categorias-carrusel__item:hover img,
.ja-categorias-carrusel__item:focus-visible img {
	transform: scale(1.04);
}

.ja-categorias-carrusel__shade {
	background: linear-gradient(180deg, rgba(0, 0, 0, .04) 35%, rgba(0, 0, 0, .68) 100%);
}

.ja-categorias-carrusel__name {
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 6%;
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
}

@media (max-width: 700px) {
	.ja-categorias-carrusel__item {
		flex-basis: min(290px, 76cqw);
		aspect-ratio: .84;
	}

	.ja-categorias-carrusel__header {
		top: 8px;
		right: 8px;
	}
}
