/* ===== Página Escalonado: "Lleva más y paga menos" ===== */

.escalonado__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 991px) {
	.escalonado__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.escalonado__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

.escalonado__cargando {
	display: flex;
	justify-content: center;
	padding: 30px 0;
	min-height: 40px;
}

.escalonado__spinner {
	width: 32px;
	height: 32px;
	border: 4px solid #f3c6c7;
	border-top-color: #e3141b;
	border-radius: 50%;
	opacity: 0;
}

.escalonado__cargando.is-loading .escalonado__spinner {
	opacity: 1;
	animation: escalonado-spin .8s linear infinite;
}

@keyframes escalonado-spin {
	to { transform: rotate(360deg); }
}

/* ---- Card ---- */
.producto_esc {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 14px;
	padding: 18px 22px 24px;
	box-sizing: border-box;
	color: #444541;
}

.producto_esc__imagen {
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.producto_esc__imagen img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.producto_esc__info {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

/* styles.css aplica `* { font-family: Nunito }`, por eso la fuente va en cada elemento (igual que la card de productos) */
.producto_esc__marca,
.producto_esc__desc,
.producto_esc__presentacion,
.producto_esc__regular,
.producto_esc__legal {
	font-family: 'Neo Sans Std' !important;
	font-weight: 500 !important;
}

.producto_esc__apartir,
.producto_esc__cantidad {
	font-family: 'Neo Sans Pro' !important;
	font-weight: bold !important;
}

.producto_esc__precio,
.producto_esc__precio small {
	font-family: 'Titan One' !important;
	font-weight: normal !important;
}

.producto_esc__marca {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}

.producto_esc__desc,
.producto_esc__presentacion {
	font-size: 10px;
}

.producto_esc__desc {
	font-weight: 600;
}

.producto_esc__regular {
	font-size: 10px;
	font-weight: 600;
	margin-top: 10px;
}

.producto_esc__escalas {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
}

.producto_esc__apartir {
	color: #e3141b;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 2px;
}

.producto_esc__escala {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffe200;
	border-radius: 7px;
	padding: 5px 14px;
	max-width: 170px;
	box-sizing: border-box;
}

.producto_esc__cantidad {
	color: #e3141b;
	font-size: 12px;
	font-weight: 700;
}

.producto_esc__precio {
	color: #e3141b;
	font-family: 'Titan One' !important;
	font-size: 22px;
	line-height: 1;
}

.producto_esc__precio small {
	font-size: 13px;
}

.producto_esc__legal {
	margin-top: 10px;
	font-size: 8px;
}

.escalonado__vacio {
	text-align: center;
	padding: 30px 0;
	color: #444541;
}

@media (max-width: 767px) {
	.producto_esc {
		padding: 12px 12px 16px;
	}

	.producto_esc__imagen {
		height: 130px;
	}

	.producto_esc__escala {
		max-width: none;
		padding: 4px 8px;
	}

	.producto_esc__precio {
		font-size: 17px;
	}
}

/* Logo por defecto cuando el producto no tiene imagen */
.producto_esc__imagen img.producto_esc__sin_imagen {
	max-width: 70%;
	opacity: .9;
}
