:root {
	--aroma-verde: #1e3932;
	--aroma-crema: #f5f0e8;
	--aroma-dorado: #c89f65;

	--aroma-carrusel-alto: 15.625vw;
	--aroma-carrusel-min: 180px;
	--aroma-carrusel-max: 320px;
}

.carrusel-categorias .carousel-item {
	height: var(--aroma-carrusel-alto);
	min-height: var(--aroma-carrusel-min);
	max-height: var(--aroma-carrusel-max);
}

.carrusel-categorias .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.carrusel-categorias .carousel-caption {
	right: 10%;
	left: 10%;
	bottom: 50%;
	transform: translateY(50%);
	padding: 0.75rem 1rem;
	background-color: rgba(0, 0, 0, 0.55);
	border-radius: 0.75rem;
}

.carrusel-categorias .carousel-caption .titulo-categoria {
	margin-bottom: 0.35rem;
	font-size: clamp(1.4rem, 3.2vw, 2.4rem);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.carrusel-categorias .carousel-caption .texto-categoria {
	margin-bottom: 0.6rem;
	font-size: clamp(0.8rem, 1.4vw, 1rem);
}

.carrusel-categorias .carousel-control-prev,
.carrusel-categorias .carousel-control-next {
	width: 8%;
}

.carrusel-categorias .carousel-indicators {
	margin-bottom: 0.4rem;
}

.carrusel-categorias .carousel-indicators [data-bs-target] {
	width: 24px;
	height: 4px;
}

@media (max-width: 575.98px) {
	.carrusel-categorias .carousel-caption {
		right: 6%;
		left: 6%;
		padding: 0.6rem 0.75rem;
	}

	.carrusel-categorias .carousel-caption .texto-categoria {
		display: none;
	}
}

img {
	max-width: 100%;
}

.img-producto {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.portada {
	position: relative;
	overflow: hidden;
}

.portada img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.portada-alta {
	height: clamp(220px, 32vw, 420px);
}

.img-seccion {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.logo-pago {
	width: auto;
	height: 24px;
}

.card-producto {
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-producto:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-producto .card-title {
	font-size: 1rem;
}

.card-producto .card-text {
	font-size: 0.875rem;
}

.tarjeta-indicador .valor {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.1;
}

.resultado-api {
	max-height: 360px;
	overflow: auto;
}

.tabla-gestion {
	overflow-x: auto;
}

.tabla-gestion table {
	min-width: 600px;
}

@media (min-width: 992px) {
	.tabla-gestion table {
		min-width: 0;
	}
}

.pestanas-admin {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}

.pestanas-admin .nav-link {
	margin-bottom: 0;
	padding-left: 0.45rem;
	padding-right: 0.45rem;
	font-size: 0.875rem;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.pestanas-admin .nav-link i {
		display: none;
	}
}

@media (min-width: 1400px) {
	.pestanas-admin .nav-link {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
}

.panel-driver .btn-accion {
	min-height: 48px;
	font-size: 1rem;
}

.panel-driver .linea-estado {
	font-variant-numeric: tabular-nums;
}

html,
body {
	overflow-x: hidden;
}

.marco-mapa {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

@media (max-width: 575.98px) {
	.marco-mapa {
		aspect-ratio: 4 / 3;
	}
}
