:root {
            --yamaha-red: #e60012;
            --yamaha-dark: #1a1a1a;
            --yamaha-gray: #2d2d2d;
        }

@charset "UTF-8";

.tituloFinYamaha {
	color: #f93c20;

}

/* .cuotas {
	color: #1e3abc;
} */

.btn-calcular {
	border-top-left-radius: 0px !important;
	border-top-right-radius: 20px !important;
	border-bottom-right-radius: 20px !important;
	border-bottom-left-radius: 0px !important;
	height: 40px !important;
	background: #1e3abc !important;
	padding: 0px 0px !important;
	min-width: 80px;
	color: white;
	border: 0px;
	margin-left: 4px;
}

.entrada-input {
	height: 40px;
	border-top-left-radius: 20px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 20px;
	padding-left: 15px;
	border: 1px solid #00000061;
	min-width: 150px;
}

.btn-calcular:hover {
	background: #c8c8c8 !important;
	transition: all .4s !important;

}

.textoInfo {
	font-size: 15px;

}

.calcular-entrada {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.aplicar-credito-container{
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-aplicar-credito {
	background: #FF2626;
	color: #ffffff;
	border: none;
	border-radius: 14px;
	padding: 1rem 1.5rem;
	font-size: inherit;
	cursor: pointer;
}

.btn-aplicar-credito:hover {
	background: #c8c8c8;
	border-color: #0062cc;
}


.financiamiento-container {
	display: block;
	background-color: #EDDFCA;
	border-radius: 0 14px 14px 14px;
	padding: 15px;
	width: 100%;
}

.financiamiento-main {
	padding-top: 15px;
}

.financiamiento-main::before {
	content: "Crédito Directo";
	position: relative;
	left: 0;
	/* position: absolute; */
	background-color: #EDDFCA;
	/* margin-top:40px; */
	max-width: 300px;
	padding: 10px;
	color: black;
	font-weight: bold;
	border-radius: 14px 14px 0 0;
}
.financiamiento-yamaha-table{
	margin-bottom: 10px;
	/* color: black; */
}


.financiamiento-yamaha-table thead tr th{
	text-align: center;
}

.financiamiento-yamaha-table tr:last-child{

	border-bottom: 1px solid #F9C270;
}

.financiamiento-yamaha-table tr {
	border-top: 1px solid #F9C270;
}


.precio-cuotas-yamaha {
	list-style: none;
	padding: 10px;
	margin: 0;
}

.precio-cuotas-yamaha li .sub-month {
	font-size: 12px;
}

/* .precio-cuotas-yamaha li:first-child {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 2px;
} */

.precio-cuotas-yamaha li:first-child label {
	font-size: 18px;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

.precio-cuotas-yamaha li:last-child {
	font-size: 14px;
	color: #000;
}

.precio-cuotas-yamaha li:last-child b {
	font-weight: normal;
}

.beneficiosYamaha {
	/* background-color: #caa772; */
	/* padding: 10px; */
	border-radius: 9px;
	margin-bottom: 10px;

	p {
		line-height: 1.1;
		padding: 0;
		margin: 0;
	}

	.quote-includes span {
		display: inline-block;
		background-color: red;
		color: white;
		font-weight: bold;
		padding: 3px 5px;
		border-radius: 9px;
	}
}

.entrada-minima{
	font-weight: bold;
	color: #000
}





/* POPUP */
.yamaha-plus-logo {
	width: 200px;
}

.demo-header {
	text-align: center;
	color: white;
	margin-bottom: 40px;
	padding: 30px 0;
}

.demo-header h1 {
	font-weight: 900;
	font-size: 2.5rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	margin-bottom: 15px;
}

.demo-header p {
	font-size: 1.1rem;
	opacity: 0.95;
}

.btn-yamaha {
	background: linear-gradient(135deg, var(--yamaha-red) 0%, #c40010 100%);
	color: white;
	border: none;
	padding: 15px 50px;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 8px 20px rgba(230, 0, 18, 0.4);
	transition: all 0.3s ease;
}

.btn-yamaha:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(230, 0, 18, 0.6);
	color: white;
}

/* Modal customizado */
.modal-content {
	border: none;
	border-radius: 15px;
	overflow: hidden;
}

.modal-header-yamaha {
	background: linear-gradient(135deg, var(--yamaha-dark) 0%, var(--yamaha-gray) 100%);
	color: white;
	padding: 20px 25px;
	border: none;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-header-yamaha::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(230, 0, 18, 0.15) 0%, transparent 70%);
	animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.5;
	}

	50% {
		transform: scale(1.1);
		opacity: 0.8;
	}
}

.modal-header-yamaha .btn-close {
	cursor: pointer;
	position: relative;
	z-index: 10;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.modal-header-yamaha .btn-close:hover {
	#opacity: 1;
	transform: rotate(90deg);
}

.yamaha-logo-text {
	font-size: 1.8rem;
	font-weight: 900;
	color: white;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
	margin: 0;
	position: relative;
	z-index: 1;

}

.yamaha-plus-badge {
	background-color: var(--yamaha-red);
	color: white;
	padding: 3px 15px;
	border-radius: 15px;
	font-size: 0.7rem;
	font-weight: bold;
	letter-spacing: 3px;
	display: inline-block;
	margin-top: 5px;
}

.modal-subtitle {
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 10px;
	letter-spacing: 0.5px;
	position: relative;
	z-index: 1;
}

.modal-body-yamaha {
	padding: 25px 20px;
	max-height: 50vh;
	overflow-y: auto;
	background-image: url('https://eljuri.store/modules/creditodirectoyamaha/views/img/bg_yamaha_plus2.jpeg');
	background-size: cover;
	background-position: top right;
	background-repeat: no-repeat;
	background-color: white;
}

/* Scrollbar personalizada */
.modal-body-yamaha::-webkit-scrollbar {
	width: 8px;
}

.modal-body-yamaha::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.modal-body-yamaha::-webkit-scrollbar-thumb {
	background: var(--yamaha-red);
	border-radius: 4px;
}

.modal-body-yamaha::-webkit-scrollbar-thumb:hover {
	background: #c40010;
}

.modal-body-yamaha .section-title {
	background: linear-gradient(135deg, var(--yamaha-red) 0%, #c40010 100%);
	color: white !important;
	padding: 12px 20px;
	margin: 0 0 25px 0;
	border-radius: 8px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.1rem;
	box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.section-title i {
	margin-right: 10px;
}

.section-title::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.section-title:hover::before {
	left: 100%;
}

/* Lista de beneficios */
.benefit-item {
	padding: 10px;
	margin-bottom: 10px;
	border-left: 4px solid transparent;
	transition: all 0.3s ease;
	border-radius: 5px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.benefit-item:hover {
	border-left-color: var(--yamaha-red);
	background-color: rgba(230, 0, 18, 0.05);
	transform: translateX(5px);
}

.benefit-item i {
	color: var(--yamaha-red);
	font-size: 1.5rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.benefit-title {
	font-weight: bold;
	color: var(--yamaha-dark);
	font-size: 1rem;
	margin-bottom: 5px;
}

.benefit-description {
	color: #666;
	font-size: 0.9rem;
	font-style: italic;
	margin: 0;
}

.badge-credit {
	background-color: #ffc107;
	color: #000;
	font-size: 0.7rem;
	font-weight: bold;
	padding: 3px 10px;
	border-radius: 15px;
	margin-left: 10px;
}

/* Tarjetas de descuento */
.discount-card {
	background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
	border: 2px solid #e0e0e0;
	border-left: 5px solid var(--yamaha-red);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.discount-card:hover {
	transform: translateY(-10px) scale(1.05);
	box-shadow: 0 10px 30px rgba(230, 0, 18, 0.3);
	border-left-width: 8px;
}

.discount-percent {
	font-size: 3rem;
	font-weight: 900;
	color: var(--yamaha-red);
	margin-bottom: 10px;
}

.discount-text {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--yamaha-dark);
	line-height: 1.4;
}

/* Deducibles */
.deductible-item {
	padding: 12px 15px;
	margin-bottom: 10px;
	border-left: 3px solid var(--yamaha-red);
	background-color: #f8f9fa;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.deductible-item:hover {
	background-color: #e9ecef;
	transform: translateX(5px);
}

.deductible-item i {
	color: var(--yamaha-red);
	margin-right: 10px;
}

.deductible-value {
	color: var(--yamaha-red);
	font-weight: bold;
	font-size: 1.1rem;
}

/* Alertas personalizadas */
.alert-competition {
	background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
	border-left: 5px solid #ffc107;
	color: #856404;
	padding: 15px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.alert-competition strong {
	color: #f57c00;
	font-size: 1.1rem;
}

.alert-exclusions {
	background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
	border-left: 5px solid var(--yamaha-red);
	color: #721c24;
	padding: 15px;
	border-radius: 8px;
}

.exclusion-item {
	padding: 8px 0 8px 30px;
	position: relative;
}

.exclusion-item::before {
	content: "✗";
	position: absolute;
	left: 0;
	color: var(--yamaha-red);
	font-weight: bold;
	font-size: 1.2rem;
}

/* Footer del modal */
.modal-footer-yamaha {
	background: linear-gradient(135deg, var(--yamaha-dark) 0%, var(--yamaha-gray) 100%);
	color: white;
	padding: 25px;
	text-align: center;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.contact-info {
	font-size: 0.9rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-number {
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--yamaha-red) !important;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
}

.contact-number:hover {
	color: #ff1a2e;
	transform: scale(1.1);
	text-shadow: 0 0 15px rgba(230, 0, 18, 0.6);
}

.footer-note {
	font-size: 0.75rem;
	opacity: 0.8;
	margin-top: 10px;
	margin-bottom: 0;
}

/* Botón Aplicar a Crédito */
.btn-apply-credit {
	background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
	color: #000;
	border: none;
	padding: 15px 40px;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 400px;
}

.btn-apply-credit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transition: left 0.5s ease;
}

.btn-apply-credit:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 12px 35px rgba(255, 193, 7, 0.7);
	color: #000;
}

.btn-apply-credit:hover::before {
	left: 100%;
}

.btn-apply-credit:active {
	transform: translateY(-2px) scale(1.02);
}

/* Animaciones */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-section {
	animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (min-width: 768px) {
	.financiamiento-container{
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 450px
	}

	.financiamiento-yamaha-table{
		width: 80%;
	}

	.financiamiento-yamaha-table thead tr th{
		text-align: left;
	}

	.credito-table-container{
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.demo-header h1 {
		font-size: 1.8rem;
	}

	.yamaha-logo-text {
		font-size: 2rem;
	}

	.modal-subtitle {
		font-size: 1rem;
	}

	.modal-body-yamaha {
		padding: 30px 35px;
	}

	.section-title {
		font-size: 1.1rem;
		padding: 12px 20px;
	}

	.discount-percent {
		font-size: 2.5rem;
	}

	.contact-number {
		font-size: 1.5rem;
	}
}


.ycontainer{
	display: none;
	position: fixed;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	z-index: 140;
	padding: 20px;
}

.ycontainer .ypopup{
	max-width: 900px;
	width: 100%;
	max-height: 95vh;
	overflow-y: auto;
	background-color: white;
	border-radius: 15px;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}


#activar{
	font-weight: bold;
	color: #000;
	text-decoration: underline;
}

.btn-messenger{
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #0276EA;
	color: #fff;
	gap:10px;
	padding: 10px 20px;
	border-radius: 14px;
	border:none;
}
