/* Casa Fuegia - Promociones en cuotas */

.cf-cuotas [hidden] {
	display: none !important;
}

.cf-cuotas {
	margin: 0 0 16px;
	background: #fff;
	color: #4d4d4d;
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
}

.cf-cuotas__titulo {
	padding: 7px 12px;
	background: #cccccc;
	color: #3d3d3d;
	font-size: 15px;
	font-weight: 600;
}

.cf-cuotas__planes {
	padding: 6px 12px 8px;
}

.cf-cuotas__plan {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 14px;
	min-height: 32px;
	padding: 2px 0;
}

.cf-cuotas__texto {
	font-size: 14px;
}

.cf-cuotas__texto strong {
	color: #333;
	font-weight: 700;
}

.cf-cuotas .cf-cuotas__sin-interes {
	color: #3c9b35;
}

.cf-cuotas__monto {
	margin-left: 2px;
	color: #444;
	font-size: 16px;
	white-space: nowrap;
}

.cf-cuotas__local {
	display: inline-block;
	margin-left: 6px;
	padding: 0 5px;
	background: #ececec;
	border-radius: 3px;
	color: #666;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 16px;
	text-transform: uppercase;
	vertical-align: 1px;
	white-space: nowrap;
}

.cf-cuotas__logos {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}

.cf-cuotas img.cf-cuotas__logo {
	display: block;
	width: auto;
	max-width: none;
	height: 22px;
	margin: 0;
}

.cf-cuotas img.cf-cuotas__logo--visa {
	height: 12px;
}

.cf-cuotas img.cf-cuotas__logo--mastercard {
	height: 25px;
}

/* Logos recortados de los banners: alturas elegidas para que pesen parecido. */
.cf-cuotas img.cf-cuotas__logo--fueguina {
	height: 26px;
}

.cf-cuotas img.cf-cuotas__logo--bna {
	height: 17px;
}

.cf-cuotas img.cf-cuotas__logo--hipotecario {
	height: 22px;
}

.cf-cuotas img.cf-cuotas__logo--naranja,
.cf-cuotas img.cf-cuotas__logo--macro {
	height: 15px;
}

.cf-cuotas__pie {
	padding-top: 10px;
	border-top: 1px solid #ddd;
}

.cf-cuotas .cf-cuotas__boton {
	margin: 0;
	padding: 7px 24px;
	background: #fff;
	border: 1px solid #d6d6d6;
	border-radius: 5px;
	color: #4d4d4d;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}

.cf-cuotas .cf-cuotas__boton:hover,
.cf-cuotas .cf-cuotas__boton:focus-visible {
	background: #f3f3f3;
	border-color: #bdbdbd;
}

/* "display: table" lo deja en su propia línea sin que el clic ocupe todo el ancho. */
.cf-cuotas .cf-cuotas__enlace {
	display: table;
	margin: 6px 0 0;
	color: #666;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cf-cuotas .cf-cuotas__enlace:hover,
.cf-cuotas .cf-cuotas__enlace:focus-visible {
	color: #333;
}

/* Calculadora */

html.cf-cuotas-abierto {
	overflow: hidden;
}

.cf-cuotas__modal {
	width: min(480px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #4d4d4d;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
	overflow: auto;
}

.cf-cuotas__modal::backdrop {
	background: rgba(0, 0, 0, .45);
}

.cf-cuotas__modal-cabecera {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 14px;
	background: #cccccc;
}

.cf-cuotas__modal-titulo {
	color: #3d3d3d;
	font-size: 16px;
	font-weight: 600;
}

.cf-cuotas .cf-cuotas__cerrar {
	margin: 0;
	padding: 0 4px;
	background: none;
	border: 0;
	color: #3d3d3d;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.cf-cuotas__modal-cuerpo {
	padding: 12px 14px;
}

.cf-cuotas__resumen {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ddd;
}

.cf-cuotas__cantidad,
.cf-cuotas__contado {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	font-size: 13px;
}

.cf-cuotas .cf-cuotas__cantidad input {
	width: 70px;
	padding: 4px 8px;
	background: #fff;
	border: 1px solid #d6d6d6;
	border-radius: 4px;
	color: #333;
	font-size: 14px;
}

.cf-cuotas__contado {
	text-align: right;
}

.cf-cuotas__contado strong {
	color: #333;
	font-size: 18px;
}

.cf-cuotas__grupo {
	padding: 10px 0 8px;
	border-bottom: 1px solid #ddd;
}

.cf-cuotas__grupo-cabecera {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.cf-cuotas__grupo-cabecera .cf-cuotas__local {
	margin-left: 0;
}

.cf-cuotas__grupo-detalle {
	margin-top: 4px;
	color: #666;
	font-size: 13px;
}

.cf-cuotas__opcion {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 14px;
	padding-top: 6px;
}

.cf-cuotas__dia {
	margin-left: 4px;
	color: #888;
	font-size: 12px;
}

.cf-cuotas__opcion-montos {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}

.cf-cuotas__opcion-cuota {
	color: #333;
	font-size: 17px;
	white-space: nowrap;
}

.cf-cuotas__opcion-total {
	color: #777;
	font-size: 12px;
}

.cf-cuotas__nota {
	margin-top: 10px;
	color: #888;
	font-size: 12px;
}

@media (max-width: 480px) {
	.cf-cuotas__plan {
		gap: 2px 10px;
		padding: 4px 0;
	}

	.cf-cuotas .cf-cuotas__boton {
		width: 100%;
	}

	.cf-cuotas .cf-cuotas__enlace {
		margin: 8px auto 0;
	}

	/* Con menos de 16px, iOS hace zoom al tocar el campo. */
	.cf-cuotas .cf-cuotas__cantidad input {
		font-size: 16px;
	}

	.cf-cuotas__opcion {
		flex-direction: column;
		align-items: flex-start;
	}

	.cf-cuotas__opcion-montos {
		align-items: flex-start;
		text-align: left;
	}
}
