.oferta-desktop,
.oferta-movil {
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0.7;
}

.azul {
    color: #0086ED;
}

.heading-xl, .heading-lg, h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, label {
    font-family: "ChanganFont", system-ui !important;
    font-optical-sizing: auto;
    font-weight: 500 !important;
    font-style: normal; 
    text-transform: none !important;
}

.tech-spec {
    font-family: "ChanganFont", system-ui !important;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body, p {
    font-family: "Noto Sans", system-ui;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-transform: none !important;
}

.btn {
    font-family: "Noto Sans", system-ui;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal; 
    font-size: 18px; 
    text-transform: none !important; 
    transition: all 250ms ease-in-out; 
    border-radius: 25px;
}

.text-cta, a {
    color: #004682;
}

a:hover, a:active, a:focus {
    color: #004682;
}

.bg-main {
    color: #fff;
    background-color: #004682;
}

.fila-hero {
    padding-top: 20px;
    padding-bottom: 20px;
}

.tech-spec {
    text-transform: uppercase !important;
}

@media (min-width: 993px) {
    .oferta-desktop {
        display: block !important;
        width:100vw;
        height: auto;
    }
    .oferta-movil {
        display: none !important;
        width:100vw;
        height: auto;
    }
}

@media (max-width: 992px) {
    .oferta-desktop {
        display: none !important;
        width:100vw;
        height: auto;
    }
    .oferta-movil {
        display: block !important;
        width:100vw;
        height: auto;
    }
}

img {
    widows: 100% !important;
}

.pd0{
    padding: 0px;
}

.btn {
    font-size: 12px !important;
}

.justify-center {
    display: flex;
    justify-content: center;
}

ul.list-unstyled.list-inline.text-center {
    margin: 0px;
}
                                
@media(min-width:769px) {
    .display-flex {
        display: flex;
    }
    .text {
        color: #fff;
    }
}

@media(max-width:768px) {
    .display-flex {
        display: block;
    }
    .text {
        z-index: 3;
        position: absolute;
        top: 0;
        width: 100%;
        padding-right: 80px;
        padding-left: 80px;
        padding-top: 80px;
        color: #fff;
    }
}

.row {
    margin: 0px !important;
}

@media (min-width: 551px){
    .car-width {
        width: 70%
    }
}

/*Inicia animacion hero*/
.hero-banner {
    width: 100%;
    height: auto;
    transform: scale(1.1);
    opacity: 0;
    animation: fadeInScale 1s ease-out forwards;
}

@keyframes fadeInScale {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/*Fin animacion hero*/

/*color selector*/
.color-selector-container {
    text-align: center;
}

.color-chips {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-bottom: 40px;
}

.color-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-chip:hover {
    transform: scale(1.1);
}

.selection-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #ee8e35;
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    transform: translate(-50%, -50%);
}

.car-image {
    width: 100%;
    height: auto;
}

@media (min-width: 551px){
    .car-image {
        width: 70%
    }
}  
/*fin color selector*/

.flex-center {
    display: flex;
}

.tech-spec {
    margin: 0px;
}

.tech-spec-sub {
    text-transform: uppercase !important;
    margin: 0;
}

.ts-container {
    display: flex;
    flex-wrap: wrap;
}

.ts-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.ts-icon {
    width: 50px;
    height: 50px; /* fuerza caja cuadrada */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* evita que se haga más pequeña */
}

.ts-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* evita deformación */
}

.ts-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-items: flex-start;
}

.ts-box {
    padding: 10px 0px 10px 0px;
    text-align: center;
}

@media (min-width: 1200px) {
    .fila-hero {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1199px) {
    .fila-hero {
        display: block;
    }
}

@media (min-width: 993px) {
    .ts-box {
        flex: 1 1 25%;
    }
    .tech-spec {
        font-size: 15px;
    }
    .tech-spec-sub {
        font-size: 14px;
    }
    .pad-sides {
        padding-right: 5rem;
        padding-left: 5rem;
    }
}

@media (max-width: 992px) {
    .ts-box {
        flex: 1 1 50%;
    }
    .fila-hero {
        display: block;
    }
    .ts-container {
        max-width: 500px;
    }
    .tech-spec {
        font-size: 11px;
        text-align: center;
    }
    .tech-spec-sub {
        text-transform: uppercase !important;
        font-size: 10px;
        text-align: center;
    }
    .ts-item {
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }
    .ts-text {
        flex-direction: none;
        align-items: none;
    }
}

@media (min-width: 551px) {
    .ts-text {
        justify-content: center;
    }
}

@media (max-width: 550px) {
    .ts-box {
        flex: 1 1 50%;
    }
    .ts-text {
        justify-content: center;
    }
}

@media (max-width: 340px) {
    .ts-box {
        flex: 1 1 50%;
    }
}

/*INICIO inventory form*/
.text-large {
    font-size: 20px;
}

.blank-vert {
    margin-top: 100px;
    margin-bottom: 100px;
}

.blank-top {
    margin-top: 100px;
}

.blank-bottom {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .blank-vert {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .blank-top {
        margin-top: 80px;
    }
    .blank-bottom {
        margin-top: 80px;
    }
}

.imagen-form {
    background: url('../assets/modelos/models/inventory-form/cotiza-form-bg.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.imagen-form-container {
    display: flex;
    width: 60%;
    max-width: 1200px;
    margin: 0 auto;
}

.imagen-form-text {
    width: 50%;
}

.imagen-form-modelo {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
}

@media (max-width: 1200px) {
    .imagen-form {
        align-items: first baseline;
        padding: 50px 20px 20px 20px;
    }
}

@media (max-width: 992px) {
    .imagen-form-container {
        width: 90%;
    }
    .imagen-form-text {
        width: 40%;
    }
    .imagen-form-modelo {
        position: absolute;
        width: 80%;
        padding-top: 50px;
        bottom: -40px;
    }
    .imagen-form-modelo > img {
        float: right;
    }
}

@media (max-width: 768px) {
    .imagen-form-container {
        width: 90%;
        flex-direction: column;
        align-items: flex-start;
    }
    .imagen-form-text {
        width: 100%;
    }
    .imagen-form-modelo {
        width: 100%;
        position: relative;
        bottom: -100px;
        margin-top: -100px;
    }
    .imagen-form {
        height: auto;
        padding-bottom: 80px;
    }
}
/*FIN Inventory form*/

/* inicio nuevos estilos bloque specs */
.spec-section-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.spec-col {
    width: 50%;
    box-sizing: border-box;
    position: relative; /* Necesario para posicionar las flechas */
}

.spec-lists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.spec-lists-container>ul {
    width: 45%;
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 992px) {
    .spec-section-row {
        flex-direction: column;
    }

    .spec-col {
        width: 100%;
    }
}

.spec-title {
    font-size: 42px;
    font-weight: bold !important;
    margin-bottom: 15px;
}

.spec-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.spec-list {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.spec-legal {
    font-size: 15px;
    margin-top: 30px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .spec-title {
        font-size: 32px;
    }

    .spec-subtitle {
        font-size: 16px;
    }

    .spec-list {
        font-size: 14px;
    }

    .spec-legal {
        font-size: 13px;
    }

    .spec-lists-container>ul {
        width: 100%;
    }
}

/* alertas texto rojo */
.invalid {
    border: 1px solid red !important;
}

.label-error {
    color: red;
}

ul.grade-features-list {
    font-size: 16px;
    margin-right: 10px;
}

.texto-azul.flex-linea {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004682;
    padding-left: 30px;
}

h3.precio {
    padding-left: 30px;
    font-size: 36px;
}

h5 {
    font-size: 28px;
}

.img-logo {
    max-width: 20%;
    height: auto;
}

h3.changan-regular {
    margin-top: 10px;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .container {
        width: 90%;
        padding-right: 0;
        padding-left: 0;
    }
    .texto-azul.flex-linea {
        padding-left: 5px;
    }
    h3.precio {
        padding-left: 10px;
        font-size: 32px;
    }
    h5 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    h3.precio {
        font-size: 36px;
    }
    h5 {
        font-size: 32px;
    }
    .container {
        width: 80%;
    }
    .img-logo {
        max-width: 40%;
        height: auto;
    }
    hr {
        display: none;
    }
}

@media (max-width: 550px) {
    h5 {
        font-size: 26px;
    }
    h3.precio {
        font-size: 30px;
    }
    ul.grade-features-list {
        font-size: 15px;
    }
}

/* Ensure consistent alternating layout */
@media (min-width: 993px) {
    .spec-section-row.reverse {
        flex-direction: row-reverse;
    }
}

@media (max-width: 992px) {
    .spec-section-row,
    .spec-section-row.reverse {
        flex-direction: column;
    }
    .spec-col {
        width: 100%;
    }
}

.carousel-cell {
    width: 100%;
    height: auto;
}
.carousel-cell img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20%;
    z-index: 10;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.carousel-control-prev {
    left: 0;
    justify-content: flex-start;
}

.carousel-control-next {
    right: 0;
    justify-content: flex-end;
}

.carousel-control-prev i,
.carousel-control-next i {
    color: #FFFFFF;
    font-size: 20px !important;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0px 0px 8px rgba(0,0,0,0.5);
    padding: 0 40px;
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
    color: #EE8E35;
}

.contenedor-media {
    height: 70vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-media img,
.contenedor-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .contenedor-media {
        height: auto; 
    }
    .contenedor-media img,
    .contenedor-media video {
        height: auto; 
        position: static; 
    }
}