/* ========================================
   TIENDA DEL MECÁNICO - COTIZADOR
   MOBILE FIRST
   ======================================== */


/* ========================================
   CONTENEDOR GENERAL
   ======================================== */

.tdm-cotizador {

    width: 100%;
    max-width: 100%;

    margin: 0 auto;
    padding: 10px;

    box-sizing: border-box;

}


/* ========================================
   TARJETA
   ======================================== */

.tdm-tarjeta {

    width: 100%;

    padding: 0;

    background: transparent;

    box-sizing: border-box;

}


/* ========================================
   PROGRESO
   ======================================== */

.tdm-progreso {

    display: none;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    width: 100%;

    margin-bottom: 22px;

}


/* MOSTRAR DESPUÉS DE LA PATENTE */

.tdm-progreso-visible {

    display: grid;

}


/* ========================================
   TEXTO DE CADA PASO
   ======================================== */

.tdm-progreso-paso {

    position: relative;

    padding-bottom: 8px;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 1px;

    text-align: center;

    color: #666666;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;

}


/* ========================================
   PASO COMPLETADO
   ======================================== */

.tdm-progreso-paso-completado {

    color: #a5a5a5;

}


/* ========================================
   PASO ACTIVO
   ======================================== */

.tdm-progreso-paso-activo {

    color: #ffffff;

}


/* PEQUEÑA LÍNEA ROJA */

.tdm-progreso-paso-activo::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 34px;
    height: 2px;

    transform: translateX(-50%);

    border-radius: 2px;

    background: #a30013;

}


/* ========================================
   CONTENEDOR DE PANTALLAS

   IMPORTANTE:
   Mantiene estable el espacio del cotizador.
   ======================================== */

.tdm-pantallas {

    position: relative;

    width: 100%;

    min-height: 0;

    overflow: hidden;

    transition: height 0.3s ease;

}


/* ========================================
   CADA PANTALLA
   ======================================== */

.tdm-pantalla {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: auto;

    padding-right: 2px;

    overflow-y: visible;
    overflow-x: hidden;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateX(28px);

    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;

    box-sizing: border-box;

}


/* ========================================
   PANTALLA ACTIVA
   ======================================== */

.tdm-pantalla-activa {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateX(0);

}


/* ========================================
   BUSCADOR PATENTE
   ======================================== */

.tdm-buscador-fila {

    display: flex;

    flex-direction: column;

    width: 100%;

    gap: 12px;

}


/* ========================================
   CAMPO PATENTE
   ======================================== */

.tdm-patente {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 58px;

    padding: 0 16px;

    background: rgba(17, 17, 17, 0.75);

    backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);

    border: 2px solid #a30013;

    border-radius: 14px;

    box-sizing: border-box;

}


/* ========================================
   ICONO AUTO
   ======================================== */

.tdm-patente-icono {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-right: 14px;

    flex-shrink: 0;

}


.tdm-patente-icono-svg {

    display: block;

    width: 36px;
    height: 36px;

}


/* ========================================
   INPUT PATENTE
   ======================================== */

.tdm-patente-input {

    width: 100% !important;

    min-width: 0;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 0 !important;

    outline: none !important;
    box-shadow: none !important;

    background: transparent !important;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

    font-family: "Montserrat", sans-serif !important;

    font-size: 16px !important;

    font-weight: 400;

    line-height: 1.4;

    text-transform: uppercase;

    appearance: none;

}


.tdm-patente-input::placeholder {

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

    opacity: 0.5;

}


.tdm-patente-input:focus {

    background: transparent !important;

    border: none !important;

    outline: none !important;

    box-shadow: none !important;

}


/* ========================================
   BOTÓN BUSCAR
   ======================================== */

.tdm-boton-buscar {

    display: flex !important;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 56px;

    margin: 0;

    padding: 12px 20px;

    border: 2px solid #a30013 !important;

    border-radius: 14px;

    background: #a30013 !important;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

    font-family: "Montserrat", sans-serif;

    font-size: 16px;

    font-weight: 400;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        transform 0.15s ease;

}


.tdm-boton-icono-svg {

    display: block;

    width: 21px;
    height: 21px;

    flex-shrink: 0;

}


.tdm-boton-texto {

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


.tdm-boton-buscar:active {

    background: #85000f !important;

    transform: scale(0.98);

}


/* ========================================
   MENSAJES
   ======================================== */

.tdm-mensaje {

    margin-top: 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    line-height: 1.4;

    text-align: center;

}


.tdm-mensaje-error {

    color: #ff6673 !important;

}


/* ========================================
   TEXTO INFERIOR
   ======================================== */

.tdm-ejemplo {

    margin-top: 10px;
    margin-bottom: 0;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    line-height: 1.5;

    color: #e2e2e2 !important;

}


.tdm-ejemplo strong {

    color: #ffffff !important;

}


/* ========================================
   BOTÓN VOLVER
   ======================================== */

.tdm-boton-volver {

    display: block;

    width: fit-content;

    margin: 4px 0 20px 0;

    padding: 0;

    border: none !important;

    background: transparent !important;

    color: #e2e2e2 !important;

    -webkit-text-fill-color: #e2e2e2 !important;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

}


/* ========================================
   VEHÍCULO ENCONTRADO
   ======================================== */

.tdm-vehiculo-demo-etiqueta {

    display: block;

    margin-bottom: 8px;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.5px;

    color: #88909b;

}


.tdm-vehiculo-demo-titulo {

    margin: 0 0 18px 0;

    font-family: "Montserrat", sans-serif;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 500;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


/* ========================================
   DATOS DEL VEHÍCULO
   ======================================== */

.tdm-vehiculo-demo-datos {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

}


.tdm-vehiculo-dato {

    min-height: 78px;

    padding: 14px;

    background: #f7f7f8;

    border: 1px solid #e2e4e7;

    border-radius: 12px;

    box-sizing: border-box;

}


.tdm-vehiculo-dato span {

    display: block;

    margin-bottom: 7px;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    font-weight: 400;

    color: #88909b !important;

}


.tdm-vehiculo-dato strong {

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 600;

    color: #111111 !important;

}


.tdm-vehiculo-vin {

    font-size: 12px !important;

    overflow-wrap: anywhere;

}


/* ========================================
   REPUESTOS
   ======================================== */

.tdm-repuestos {

    margin-top: 24px;

}


.tdm-repuestos-titulo {

    margin: 0 0 14px 0;

    font-family: "Montserrat", sans-serif;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 500;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


.tdm-repuestos-opciones {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

}


.tdm-repuesto-boton {

    min-height: 56px;

    padding: 10px;

    background: #ffffff !important;

    border: 1px solid #e2e4e7 !important;

    border-radius: 12px;

    color: #202124 !important;

    -webkit-text-fill-color: #202124 !important;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 500;

    cursor: pointer;

    box-sizing: border-box;

}


.tdm-repuesto-boton.activo {

    background: #a30013 !important;

    border-color: #a30013 !important;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


/* ========================================
   CONTACTO
   ======================================== */

.tdm-contacto-titulo {

    margin: 0 0 20px 0;

    font-family: "Montserrat", sans-serif;

    font-size: 20px;

    font-weight: 500;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


.tdm-contacto-campo {

    width: 100%;

    margin-bottom: 14px;

}


.tdm-contacto-label {

    display: block;

    margin-bottom: 7px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 500;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


.tdm-contacto-opcional {

    color: #aeb4bc !important;

    -webkit-text-fill-color: #aeb4bc !important;

    font-weight: 400;

}


/* ========================================
   INPUTS CONTACTO
   ======================================== */

.tdm-contacto-input,
.tdm-contacto-textarea {

    width: 100% !important;

    margin: 0 !important;

    padding: 13px 14px !important;

    border: 1px solid #dfe2e6 !important;

    border-radius: 10px !important;

    outline: none !important;

    box-shadow: none !important;

    background: #ffffff !important;

    color: #111111 !important;

    -webkit-text-fill-color: #111111 !important;

    font-family: "Montserrat", sans-serif !important;

    font-size: 16px !important;

    box-sizing: border-box;

}


.tdm-contacto-input {

    min-height: 50px;

}


.tdm-contacto-textarea {

    min-height: 100px;

    line-height: 1.5;

    resize: vertical;

}


.tdm-contacto-input:focus,
.tdm-contacto-textarea:focus {

    border-color: #a30013 !important;

    box-shadow: 0 0 0 1px #a30013 !important;

}


/* ========================================
   BOTÓN COTIZAR
   ======================================== */

.tdm-enviar-cotizacion {

    display: flex !important;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 56px;

    margin-top: 8px;

    padding: 12px 20px;

    border: 2px solid #a30013 !important;

    border-radius: 14px;

    background: #a30013 !important;

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

    font-family: "Montserrat", sans-serif;

    font-size: 16px;

    font-weight: 400;

    cursor: pointer;

    box-sizing: border-box;

}


.tdm-enviar-cotizacion:active {

    background: #85000f !important;

    transform: scale(0.98);

}


/* ========================================
   MENSAJES CONTACTO
   ======================================== */

.tdm-contacto-mensaje {

    margin-top: 12px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    text-align: center;

}


.tdm-contacto-mensaje-error {

    color: #ff6673 !important;

}


.tdm-contacto-mensaje-exito {

    color: #55c989 !important;

}


/* ========================================
   OCULTAR ELEMENTOS
   ======================================== */

.tdm-oculto {

    display: none !important;

}