/* Hostal Bruña: carrusel de fotos de las habitaciones ([hb_carrusel]). Desliza con el dedo o con las flechas. */
.hb-carrusel {
	position: relative;
	margin-top: 32px;
}
.hb-carrusel__pista {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.hb-carrusel__pista::-webkit-scrollbar {
	display: none;
}
.hb-carrusel__pista:focus-visible {
	outline: 2px solid var(--acento);
	outline-offset: 4px;
}
.hb-carrusel__foto {
	flex: 0 0 calc((100% - 32px) / 3);
	margin: 0;
	scroll-snap-align: start;
	border-radius: var(--radio);
	overflow: hidden;
	background: var(--fondo-oscuro);
	aspect-ratio: 800 / 712;
}
.hb-carrusel__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hb-carrusel__mandos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 18px;
}
.hb-carrusel__boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: var(--principal);
	cursor: pointer;
	transition: background .2s, color .2s, opacity .2s;
}
.hb-carrusel__boton:hover:not(:disabled) {
	background: var(--principal);
	border-color: var(--principal);
	color: #fff;
}
.hb-carrusel__boton:disabled {
	opacity: .35;
	cursor: default;
}
.hb-carrusel__cuenta {
	min-width: 64px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	font-size: .95rem;
}
.hb-carrusel__vacio {
	padding: 16px;
	border: 1px dashed currentColor;
}
@media (max-width: 900px) {
	.hb-carrusel__foto {
		flex-basis: calc((100% - 16px) / 2);
	}
}
@media (max-width: 600px) {
	.hb-carrusel__pista {
		gap: 10px;
	}
	.hb-carrusel__foto {
		flex-basis: 86%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hb-carrusel__pista {
		scroll-behavior: auto;
	}
}
