/*--------------------------------------------------------------------- File Name: style.css -----------------------------------------------------mostrar----------------*/


/*--------------------------------------------------------------------- import Fonts ---------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Raleway:100,400,600,700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,700i,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,800i&display=swap');

/*****---------------------------------------- 1) font-family: 'Rajdhani', sans-serif;
 2) font-family: 'Poppins', sans-serif;
 ----------------------------------------*****/


/*--------------------------------------------------------------------- import Files ---------------------------------------------------------------------*/

/*--------------------------------------------------------------------- skeleton ---------------------------------------------------------------------*/

* {
     box-sizing: border-box !important;
}

html {
     scroll-behavior: smooth;
}

body {
     color: #666666;
     font-size: 14px;
     font-family: 'Poppins', sans-serif;
     line-height: 1.6; /* Reducido de 1.80857 */
     font-weight: normal;
     background: #000000;
     /* fallback for old browsers */
     background: -webkit-linear-gradient(to right, #ffffff, #979797);
     /* Chrome 10-25, Safari 5.1-6 */
     background: linear-gradient(to right, #ffffff, #979797);
     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

a {
     color: #1f1f1f;
     text-decoration: none !important;
     outline: none !important;
     -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
     -ms-transition: all .3s ease-in-out;
     -o-transition: all .3s ease-in-out;
     transition: all .3s ease-in-out;
}

.glasses_box:hover{
     -webkit-transform: scale(1.07);
     -moz-transform: scale(1.07);
     -o-transform: scale(1.07);
     -ms-transform: scale(1.07);
     transform: scale(1.07);
}

/* --- Ajuste de Títulos con más presencia --- */
h1, h2, h3, h4, h5, h6,p {
    letter-spacing: -0.5px; /* Un poco más compacto se ve más moderno */
    position: relative;
    padding: 0 0 5px 0; /* Reducido de 15px a 5px para quitar espacio inferior */
    line-height: 1.1; /* Espaciado entre líneas más ajustado para títulos grandes */
    color: #0a0a0a; /* Un negro más sólido */
    margin: 0;
    font-family: 'Poppins', sans-serif; /* O la fuente que estés usando, asegúrate que sea gruesa */
    font-weight: 700; /* Les da peso y autoridad */
}

/* Tamaños específicos para aprovechar el espacio */
h1 { font-size: 3.0rem; } /* Reducido de 3.5rem */
h2 { font-size: 2.4rem; } /* Reducido de 2.8rem */
h3 { font-size: 2.0rem; }
h4 { font-size: 1.6rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }
p  { font-size: 0.95rem; }
/* Ajuste para pantallas pequeñas (Móviles) */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}
.titlepage p {
    font-size: 1.1rem; /* Párrafos un poco más grandes también */
    margin-top: 5px; /* Reducido de 10px */
}


/* --- Estilos para la Paginación ITR --- */

/* Contenedor general */
.pagination {
    gap: 3px; /* Reducido de 5px */
}

/* Estilo base de los botones */
.pagination .page-link {
    color: #5C489A !important; /* Texto morado */
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px !important; /* Bordes redondeados */
    padding: 5px 12px; /* Reducido de 8px 16px */
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

/* Estado Activo (La página donde estás) */
.pagination .page-item.active .page-link {
    background-color: #5C489A !important; /* Fondo morado */
    border-color: #5C489A !important;
    color: #fff !important; /* Texto blanco */
    box-shadow: 0 2px 5px rgba(190, 3, 252, 0.3); /* Sombra morada reducida */
}

/* Efecto al pasar el mouse (Hover) */
.pagination .page-link:hover {
    background-color: #f8e6ff !important; /* Morado muy tenue */
    color: #8e02bd !important;
    border-color: #5C489A !important;
    transform: translateY(-1px); /* Pequeño salto hacia arriba reducido */
}

/* Estado Desactivado (Anterior/Siguiente cuando no hay más) */
.pagination .page-item.disabled .page-link {
    color: #ccc !important;
    background-color: #fdfdfd;
    border-color: #eee;
    pointer-events: none; /* Evita que se pueda clickear */
}

.transition-icon {
    transition: transform 0.3s ease;
}

/* Opcional: para que el botón no tenga el subrayado azul de enlace */
.btn-link:focus, .btn-link:hover {
    text-decoration: none !important;
}


button:focus {
     outline: none;
}

ul,
li,
ol {
     margin: 0px;
     padding: 0px;
     list-style: none;
}

p {
     margin: 0px;
     font-weight: 500;
     font-size: 14px; /* Reducido de 15px */
     line-height: 20px; /* Reducido de 24px */
}

a {
     color: #222222;
     text-decoration: none;
     outline: none !important;
}

a,
.btn {
     text-decoration: none !important;
     outline: none !important;
     -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
     -ms-transition: all .3s ease-in-out;
     -o-transition: all .3s ease-in-out;
     transition: all .3s ease-in-out;
}
/* Cambia el color de fondo y el borde de los botones principales */
.btn-primary {
    background-color: #333 !important; /* Tu color morado */
    border-color: #333 !important;
}

/* Cambia el color cuando pasas el mouse por encima (un poco más oscuro) */
.btn-primary:hover {
    background-color: #5C489A !important;
    border-color: #5C489A !important;
}

/* Si también quieres cambiar el color de los precios que están en azul */
.text-primary {
    color: #5C489A !important;
}

img {
     max-width: 100%;
     height: auto;
}

 :focus {
     outline: 0;
}

.btn-custom {
     margin-top: 10px; /* Reducido de 20px */
     background-color: transparent !important;
     border: 2px solid #ddd;
     padding: 8px 25px; /* Reducido de 12px 40px */
     font-size: 15px;
}

.lead {
     font-size: 16px; /* Reducido de 18px */
     line-height: 24px; /* Reducido de 30px */
     color: #767676;
     margin: 0;
     padding: 0;
}

.form-control:focus {
     border-color: #ffffff !important;
     box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

.navbar-form input {
     border: none !important;
}

.search-toggle {
     background: none;
     border: none;
     color: white;
     font-size: 20px;
     cursor: pointer;
     margin-left: 5px; /* Reducido de 10px */
 }
 
 .search-form {
     display: none; /* Initially hidden */
     transition: max-height 0.3s ease-out; /* Transition for folding effect */
     overflow: hidden; /* Prevent overflow during animation */
 }
 
 .search-form.active {
     display: flex; /* Show when active */
     max-height: 40px; /* Adjust max-height for animation, reducido de 50px */
 }
 
 .search-input {
     padding: 6px 10px; /* Reducido de 10px */
     border: none;
     border-radius: 5px 0 0 5px; /* Rounded corners on the left */
     outline: none;
 }
 
 .search-button {
     padding: 6px 10px; /* Reducido de 10px */
     border: none;
     background-color: #575757;
     color: white;
     border-radius: 0 5px 5px 0; /* Rounded corners on the right */
     cursor: pointer;
     transition: background-color 0.3s;
 }
 
 .search-button:hover {
     background-color: #444;
 }

/* CONTENEDOR RESULTADOS */
.results {
    position: absolute;
    top: 50px; /* Reducido de 60px */
    width: 480px;
    background: #fff;
    border-radius: 10px; /* Reducido de 14px */
    box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* Sombra más ajustada */
    max-height: 350px; /* Reducido de 450px */
    overflow-y: auto;
    display: none;
    z-index: 9999;
    padding: 5px 0; /* Reducido de 10px 0 */
}

/* ITEM */
.search-item {
    display: flex;
    align-items: center;
    gap: 12px; /* Reducido de 18px */
    padding: 10px 15px; /* Reducido de 18px 22px */
    cursor: pointer;
    transition: all 0.25s ease;
}

.search-item:hover {
    background: #f8f9fa;
}

/* IMAGEN GRANDE */
.search-img {
    width: 65px; /* Reducido de 85px */
    height: 65px; /* Reducido de 85px */
    object-fit: cover;
    border-radius: 8px; /* Reducido de 12px */
    background: #f2f2f2;
    flex-shrink: 0;
}

/* CONTENEDOR TEXTO */
.search-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

/* NOMBRE PRODUCTO */
.search-info strong {
    font-size: 15px; /* Reducido de 17px */
    font-weight: 600;
    color: #222;
    margin-bottom: 3px; /* Reducido de 6px */
}



      /* Loader */
      .loader_bg {
         position: fixed;
         z-index: 999999;
         background: #000000;
         /* fallback for old browsers */
         background: -webkit-linear-gradient(to right, #ffffff, #979797);
         /* Chrome 10-25, Safari 5.1-6 */
         background: linear-gradient(to right, #ffffff, #979797);
         /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
         width: 100%;
         height: 100%;
         top: 0;
         left: 0;
         display: flex;
         align-items: center;
         justify-content: center;
      }
      .loader img {
         width: 120px;
         animation: spin 2s linear infinite;
      }
      @keyframes spin {
         0%   { transform: rotate(0deg); }
         100% { transform: rotate(360deg); }
      }



      /* Carrito */
      #listaCarrito li {
         display: flex;
         align-items: center;
         gap: 10px; /* Reducido de 15px */
         padding: 8px; /* Reducido de 10px */
         border-bottom: 1px solid #ddd;
      }
      #listaCarrito img { flex-shrink: 0; }
      #listaCarrito .flex-fill { font-size: 13px; line-height: 1.2; }
      #listaCarrito strong { font-size: 14px; color: #333; }
      #listaCarrito small { color: #666; display: block; margin-top: 1px; }
      #listaCarrito span { font-size: 13px; color: #d9534f; font-weight: bold; }

      /* Botón sin color */
      .btn-sin-color {
      background: transparent;
      padding: 5px 15px !important; /* Reducido de 7px 30px */
      display: inline;
      border-radius: 10px; /* Reducido de 15px */
      color: #000000ff !important;
      margin: 0 5px; /* Reducido de 10px */
      text-align: center;
      }
      .btn-sin-color:hover,
      .btn-sin-color:focus {
         background-color: #5C489A;
         outline: none;
      }
      /* Dentro de tu bloque <style> en el HTML */

.producto-card {
    border-radius: 15px !important; /* Reducido de 20px */
    overflow: hidden;               /* Para que la imagen no tape las esquinas */
    border: 1px solid #eee !important;
    transition: transform 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-3px); /* Reducido de -5px */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; /* Sombra más apretada */
}

/* Redondear la parte superior donde va la imagen */
.card-img-top {
    border-top-left-radius: 15px; /* Reducido de 20px */
    border-top-right-radius: 15px;
    background: #f9f9f9; /* Fondo ligero para resaltar el producto */
}

/* Redondear botones dentro de la tarjeta */
/* Botón flotante más moderno */
.btn-sin-color {
    background: #5C489A !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(190, 3, 252, 0.4); /* Sombra reducida */
    border: none;
    padding: 8px 15px !important; /* Reducido de 12px 20px */
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-sin-color:hover {
    transform: scale(1.05); /* Reducido de 1.1 */
    background: #a002d6 !important;
}

/* Badge del contador */
#contadorCarrito {
    background: white;
    color: #5C489A;
    border-radius: 50%;
    margin-left: 3px; /* Reducido de 5px */
}

/* Estilo para el mensaje de Nuevo Producto */
.badge-nuevo {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #5C489A; 
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none; /* Para que no interfiera con clics en la imagen */
}

/* Opcional: Si quieres que brille un poco */
.badge-nuevo {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Imagenes en el carrito */
#listaCarrito img {
    width: 50px; /* Reducido de 60px */
    height: 50px; /* Reducido de 60px */
    object-fit: cover;
    border: 1px solid #eee;
}

a img {
     width: 80px; /* Reducido de 100px */
     height: 80px; /* Reducido de 100px */
     border-radius: 10px; /* Reducido de 15px */
     object-fit: cover;   /* Evita que la imagen se deforme */
     margin: 5px auto;   /* Reducido de 10px */
}

/* FUERZA LA ANIMACIÓN DE BOOTSTRAP */
.collapse:not(.show) {
    display: none !important;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease !important;
    display: block !important;
}

/* Evita que el botón se quede con el borde azul de enfoque */
[data-target="#colVehiculos"]:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* INFO SECUNDARIA */
.search-info small {
    font-size: 12px; /* Reducido de 14px */
    color: #666;
    margin-bottom: 2px; /* Reducido de 4px */
}

/* PRECIO (si lo agregas) */
.search-price {
    font-size: 16px; /* Reducido de 18px */
    font-weight: bold;
    color: #111;
    margin-top: 3px; /* Reducido de 6px */
}

.navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    align-items: center !important;
}

.search-form {
    display: flex !important;
    margin: 0 5px; /* Reducido de 15px */
}

/* STOCK ETIQUETA */
.stock-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #1e7e34;
    font-size: 11px; /* Reducido de 12px */
    padding: 2px 6px; /* Reducido de 4px 8px */
    border-radius: 15px; /* Reducido de 20px */
    margin-top: 3px; /* Reducido de 5px */
}

/* SIN RESULTADO */
.no-result {
    padding: 15px; /* Reducido de 25px */
    text-align: center;
    color: #999;
}

.badge {
     font-weight: 500;
}

blockquote {
     margin: 10px 0 10px; /* Reducido de 20px */
     padding: 15px; /* Reducido de 30px */
}

button {
     border: 0;
     margin: 0;
     padding: 0;
     cursor: pointer;
}

.full {
     float: left;
     width: 100%;
}

.full {
     width: 100%;
     float: left;
     margin: 0;
     padding: 0;
}


/**-- heading section --**/


/*---------------------------- preloader area ----------------------------*/

.loader_bg {
     position: center;
     z-index: 9999999;
     background: #000000;
     /* fallback for old browsers */
     background: -webkit-linear-gradient(to right, #ffffff, #979797);
     /* Chrome 10-25, Safari 5.1-6 */
     background: linear-gradient(to right, #ffffff, #979797);
     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
     width: 100%;
     height: 100%;
}

.loader {
     height: 100%;
     width: 100%;
     position: 20px; /* Reducido de 40px */
     left: 0;
     top: 20px; /* Reducido de 40px */
     display: flex;
     justify-content: center;
     align-items: center;
}

.loader img {
     width:200px; /* Reducido de 300px */
}

/*-- header area --*/


/*--------------------------------------------------------------------- top banner area ---------------------------------------------------------------------*/

/* Ocultar ambas versiones por defecto */
.header-version {
    display: none !important;
}

/* La clase que JS usará para mostrar el header correcto */
.header-version.active-header {
    display: block !important;
}

/* Evitar que el header móvil tape el contenido */
@media (max-width: 991px) {
    body {
        padding-top: 60px; /* Reducido de 70px */
    }
}

/*--------------------------------------------------------------------- layout new css ---------------------------------------------------------------------*/


/*-- navigation--*/
.toast-custom {
    background-color: #5C489A; /* El color morado de tu marca */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-custom i {
    margin-right: 10px;
}
/*-- navigation--*/

/* CONTENEDOR GENERAL HEADER */
/* CONTENEDOR GENERAL HEADER */
.header {
     width: 100% !important;
     position: fixed !important;   
     top: 10px; /* Aumentado de 5px para que respire mejor al ser más grande */         
     left: 0;
     right: 0;
     z-index: 9999;
     display: flex !important;
     justify-content: center !important; 
     align-items: center;
     background: transparent !important;
     float: none !important;
}

/* Ajuste del tamaño de la cápsula interna */
.header .container {
    /* Aumentamos el padding interno para darle más altura y anchura */
    padding: 10px 30px !important; 
    
    /* Si quieres que se vea más alta, puedes jugar con la altura mínima */
    min-height: 70px; 
    
    width: auto !important;
    max-width: 95% !important; /* Permite que crezca un poco más hacia los lados */
    display: flex !important;
    justify-content: center !important;
    align-items: center; /* Centra verticalmente el contenido */
    margin: 0 !important;
    background: #fff !important; /* Asegúrate de que tenga fondo si es cápsula */
    border-radius: 50px; /* Mantiene la forma redondeada */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Opcional: le da más presencia */
}

/* IMPORTANTE: Ajustar el espacio del banner para que no se oculte bajo el header más grande */
.banner_main {
     padding-top: 140px;  /* Aumentado de 120px para compensar el nuevo tamaño */
}

/* Ajuste para móviles */
@media (max-width: 991px) {
    body {
        padding-top: 80px; /* Aumentado de 60px */
    }
}



/* LOGO */
.logo img {
    max-height: 40px; /* Reducido de 50px */

}


/* CENTRAR LA BARRA BLANCA */
.navbar-collapse {
    display: flex;
    justify-content: center !important;
}

/* BARRA BLANCA */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px; /* Reducido de 25px */
    background: transparent !important; /* Para que luzca bien dentro de la cápsula blanca */
    padding: 0;
    box-shadow: none;
}

.navigation.navbar {
     background: #ffffff !important;
     padding: 5px 20px !important; /* Reducido de 8px 35px */
     border-radius: 30px !important; /* Reducido de 50px */
     width: auto !important;         /* Evita que se estire al 100% */
     display: inline-flex !important; /* Se ajusta al contenido */
     align-items: center;
     gap: 15px; /* Reducido de 25px */
     box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra reducida */
     margin: 0 auto !important;      /* Refuerzo de centrado */
     float: none !important;
}

.navbar {
    background: transparent;
    position: relative;
    padding: 10px 0; /* Reducido de 20px 0 */
}

/* CONTENEDOR CENTRADO REAL */
.navbar .container {
    display: flex;
    justify-content: center; /* CENTRA horizontalmente */
}


/* Links principales */
.navigation.navbar-dark .navbar-nav .nav-link {
     color: #818181 !important;
     font-size: 15px; /* Reducido de 17px */
     font-weight: 600;
     background: transparent !important;
     padding: 5px 10px; /* Reducido de 8px 14px */
     border-radius: 15px; /* Reducido de 25px */
     transition: all 0.3s ease;
}

/* Hover elegante */
/* 1. Iluminación Morada para los enlaces del Header al pasar el mouse (Hover) */
/* --- Efecto de iluminación (Hover) para el menú del Header --- */

/* 1. Agregamos la transición al estado normal para que el apagado también sea suave */
.header .navbar-nav .nav-item .nav-link {
    transition: all 0.3s ease-in-out !important;
}

/* 2. Aplicamos el color y el brillo al pasar el mouse (hover) */
.header .navbar-nav .nav-item .nav-link:hover {
    color: #5C489A !important;
    text-shadow: 0 0 5px rgba(190, 3, 252, 0.5), 0 0 10px rgba(190, 3, 252, 0.3) !important; /* Brillo reducido */
}

/* 2. Iluminación y borde Morado para la Barra de Búsqueda al hacer clic o Hover */
#searchInput {
    transition: all 0.4s ease;
    border: 1px solid transparent !important; /* Mantenemos el borde invisible por defecto */
}

#searchInput:hover, 
#searchInput:focus {
    border: 1px solid #5C489A !important;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(190, 3, 252, 0.4) !important; /* Brillo exterior morado reducido */
    outline: none !important;
}
/* Contenedor del buscador */
.search-container {
    position: relative;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra reducida */
    z-index: 1000;
    max-height: 300px; /* Reducido de 400px */
    overflow-y: auto;
    margin-top: 3px; /* Reducido de 5px */
    display: none;
}

/* Items individuales */
.search-link {
    text-decoration: none !important;
    color: #333 !important;
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 8px; /* Reducido de 10px */
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-item:hover {
    background: #f8f0ff;
}

.search-img {
    width: 40px; /* Reducido de 50px */
    height: 40px; /* Reducido de 50px */
    object-fit: cover;
    border-radius: 4px;
    margin-right: 8px; /* Reducido de 12px */
}

.search-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-name {
    font-weight: 600;
    font-size: 13px; /* Reducido de 14px */
    line-height: 1.1; /* Reducido de 1.2 */
}

.search-vehicle {
    font-size: 10px; /* Reducido de 11px */
    color: #888;
}

.search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px; /* Reducido de 4px */
}

.search-price {
    color: #5C489A;
    font-weight: bold;
    font-size: 12px; /* Reducido de 13px */
}

.stock-badge {
    font-size: 9px; /* Reducido de 10px */
    background: #eee;
    padding: 2px 5px; /* Reducido de 2px 6px */
    border-radius: 8px; /* Reducido de 10px */
    color: #666;
}

.no-result {
    padding: 10px; /* Reducido de 15px */
    text-align: center;
    color: #999;
    font-size: 13px; /* Reducido de 14px */
}

/* 3. Opcional: Iluminación para los iconos de Usuario y Carrito */
.nav-item.login_btn a:hover {
    color: #5C489A !important;
    filter: drop-shadow(0 0 5px rgba(190, 3, 252, 0.6)); /* Brillo reducido */
}

/* 4. Asegurar que el botón del carrito tenga el mismo tono de iluminación */
#contadorCarrito {
    box-shadow: 0 0 5px rgba(190, 3, 252, 0.4); /* Brillo reducido */
}

/* Link activo */
/* Link activo SIN fondo */
.navigation.navbar-dark .navbar-nav .active > .nav-link,
.navigation.navbar-dark .navbar-nav .nav-link.active {
     background: transparent !important;
     color: #5C489A !important;
}


/* Botón login */
.login_btn a {
     background: #81818100;
     padding: 10px 15px !important; /* Reducido de 15px 25px */
     border-radius: 0px;
     color: #818181 !important;
     font-weight: 600;
     transition: 0.3s ease;
     font-size: 18px; /* Reducido de 20px */
     
}

.login_btn a:hover {
     color: #9d02cc !important;
}

/* Buscador */

.search-container {
    position: relative;
    width: 350px; /* Reducido de 450px para compactar */
    margin: 0 5px; /* Reducido de 15px */
}

#searchInput {
    width: 100%;
    padding: 8px 14px; /* Reducido de 10px 18px */
    border-radius: 20px; /* Reducido de 25px */
    border: 1px solid #ccc;
    outline: none;
    transition: 0.3s;
}

#searchInput:focus {
    border-color: #5C489A;
    box-shadow: 0 0 8px rgba(190,3,252,0.2); /* Sombra reducida */
}

#searchResults, .results {
    display: none;
    position: absolute;
    top: 45px; /* Reducido de 55px */
    width: 100%;
    background: #ffffff;
    border-radius: 15px; /* Reducido de 20px */
    box-shadow: 0 10px 25px rgba(0,0,0,0.12); /* Sombra reducida */
    max-height: 380px; /* Reducido de 480px */
    overflow-y: auto;
    padding: 10px 0; /* Reducido de 15px 0 */
    z-index: 9999;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;      /* Reducido de 20px */
    padding: 12px 18px; /* Reducido de 20px 25px */
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-item:hover {
    background: #f9f4ff; /* Un toque de color de fondo al pasar el mouse */
}

.search-img {
    width: 65px;  /* Reducido de 90px */
    height: 65px; /* Reducido de 90px */
    object-fit: contain; /* Para que el repuesto se vea completo sin cortarse */
    border-radius: 8px; /* Reducido de 12px */
    background: #fff;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.search-info strong {
    font-size: 16px; /* Reducido de 18px */
    color: #1a1a1a;
    margin-bottom: 2px; /* Reducido de 5px */
    display: block;
}
.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f2f2f2;
}

.no-result {
    padding: 8px; /* Reducido de 10px */
    text-align: center;
    color: #999;
}

.search-form {
     display: flex;
     align-items: center;
     gap: 5px; /* Reducido de 8px */
}

.search-input {
    width: 100%;
    padding: 8px 18px; /* Reducido de 12px 25px */
    border-radius: 20px; /* Reducido de 30px */
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px; /* Reducido de 16px */
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #5C489A;
    box-shadow: 0 0 10px rgba(190, 3, 252, 0.15); /* Sombra reducida */
    width: 105%; /* Efecto de expansión reducido */
    transform: translateX(-2.5%); /* Centra la expansión */
}

.search-button {
     padding: 6px 14px; /* Reducido de 8px 18px */
     border-radius: 15px; /* Reducido de 20px */
     border: none;
     background: #5C489A;
     color: #ffffff;
     cursor: pointer;
     transition: 0.3s;
}

.search-button:hover {
     background: #9d02cc;
}

.btn-deta{
     color: #212529;
}

.btn-deta a:hover{
     color: #212529;
}

.sea_icon a {
     color: #8c8c8c !important;
}


.logo {
     padding-top: 5px; /* Reducido de 14px */
}


/** banner section **/

.banner_main {
     background: #f5f6f600;
     padding: 120px 0px 40px 0px; /* Reducido significativamente de 198px 0px 90px 0px */
}

.text-bg {
     text-align: center;
}

.text-bg h1 {
     color: #070404;
     font-size: 45px; /* Reducido de 60px */
     line-height: 55px; /* Reducido de 76px */
     padding-bottom: 20px; /* Reducido de 45px */
     font-weight: bold;
     text-transform: uppercase;
}

.text-bg .read_more {
     border: #1a1a1a solid 2px;
     color: #1a1a1a !important;
     font-weight: 500;
     display: block;
     margin: 0 auto;
     margin-top: 20px; /* Reducido de 44px */
}

#banner1 .carousel-caption {
     position: inherit;
     padding: 0;
}

#banner1 .carousel-indicators {
     display: none;
}

#banner1 .carousel-control-prev,
#banner1 .carousel-control-next {
     width: 45px; /* Reducido de 62px */
     height: 45px; /* Reducido de 60px */
     background: transparent;
     border: #1a1a1a solid 2px;
     opacity: 1;
     font-size: 22px; /* Reducido de 30px */
     color: #131215;
     border-radius: 50%; /* Redondeo perfecto */
     top: 45%; /* Ajustado */
}

#banner1 .carousel-control-prev:hover,
#banner1 .carousel-control-next:hover,
#banner1 .carousel-control-prev:focus,
#banner1 .carousel-control-next:focus {
     background: transparent;
     border: #5C489A solid 2px;
     color: #ffffff;
}

#banner1 a.carousel-control-prev {
     position: absolute;
     left: 15px; /* Reducido de 20px */
     bottom: 10px;
}

#banner1 a.carousel-control-next {
     position: absolute;
     right: 15px; /* Reducido de 20px */
     bottom: 10px;
}


/** end banner section **/

.titlepage h2 {
     font-size: 28px; /* Reducido de 35px */
     color: #000000;
     line-height: 35px; /* Reducido de 45px */
     font-weight: bold;
     padding: 0;
}

.d_flex {
     display: flex;
     align-items: center;
     flex-wrap: wrap;
}

.read_more {
     font-size: 15px; /* Reducido de 17px */
     background-color: transparent;
     border: #ffffff solid 2px;
     color: #ffffff;
     padding: 10px 0px; /* Reducido de 15px 0px */
     width: 100%;
     max-width: 180px; /* Reducido de 222px */
     text-align: center;
     display: inline-block;
     transition: ease-in all 0.5s;
     font-weight: 500;
     border-radius: 30px; /* Reducido de 40px */
}

.read_more:hover {
     background: #5C489A;
     color: #fff !important;
     transition: ease-in all 0.5s;
}


/** about section **/

/* Reduce el espacio entre secciones (About, Clients, etc) */
.about, .clients, .contact {
    padding-top: 20px !important; /* Reducido de 40px */
    padding-bottom: 20px !important; /* Reducido de 40px */
}

/* Títulos de sección más compactos */
.titlepage {
    margin-bottom: 15px; /* Reducido de 25px */
}

.titlepage h1, .titlepage h2 {
    margin-bottom: 2px; /* Reducido de 5px */
    line-height: 1.2;
}

.titlepage h4 {
    margin-top: 5px; /* Reducido de 10px */
    font-size: 0.95rem; /* Reducido de 1rem */
    color: #666;
}

.about .about_img {
     margin-left: -20px; /* Reducido de -40px */
}

.about .titlepage::before {
     position: absolute;
     content: "";
     width: 180px; /* Reducido de 220px */
     height: 300px; /* Reducido de 411px */
     background-repeat: no-repeat;
     top: -15px; /* Reducido de -27px */
     z-index: -1;
}

.about .about_img figure {
     margin: 0;
}

.about .titlepage {

     padding: 20px 20px; /* Reducido de 40px 40px */
     z-index: 10018;
     background: #ffffff00;
     margin-right: 20px; /* Reducido de 40px */
     border-collapse: separate;
     border-spacing: 15px 10px; /* Reducido de 30px 15px */
     margin: 10px; /* Reducido de 20px */
     border-radius: 2px;
}

.titlepage1222{


     padding: 20px 20px; /* Reducido de 40px 40px */

     background: #00000000;
     background-color: #ffffff00;
     color: #ffffff;
     margin-right: 10px; /* Reducido de 20px */
     font-size: 24px; /* Reducido de 30px */

}

.about .titlepage p {
     color: #ffffff;
     font-size: 15px; /* Reducido de 17px */
     line-height: 25px; /* Reducido de 35px */
     font-weight: 400;
     padding-top: 10px; /* Reducido de 20px */
}

.about .read_more {
     border: #1a1a1a solid 2px;
     color: #1a1a1a;
     font-weight: 500;
     margin-top: 20px; /* Reducido de 44px */
}


/** end about section **/
/* Mejora de la sección de vehículos en el modal */
#vehiculoLista {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-top: 10px;
}

#vehiculoLista li:hover {
    background-color: #f8f9fa !important;
    color: #5C489A; /* Color corporativo */
}

/* Asegurar que las imágenes del modal no se deformen */
#modalImagen {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 300px;
}
/** Our  Glasses section **/

.glasses {
     background: #ffffff;
     margin-top: 50px; /* Reducido de 100px */
     color: #000000;
}


.glasses .titlepage {
     text-align: center;
     padding-bottom: 25px; /* Reducido de 50px */
     line-height: 30px;
}

.glasses .titlepage p {
     font-size: 18px; /* Reducido de 20px */
     line-height: 26px; /* Reducido de 30px */
     font-weight: 400;
     padding-top: 5px; /* Reducido de 10px */
}

.blu {
     color: #ffffff;
     text-transform: initial;
}

.glasses .glasses_box {
     margin: 50px auto; /* Reducido de 200px (eso era gigante) */
     text-align: center;
     border: #000000 solid 1px;
     /* CAMBIA ESTO */
     border-radius: 30px; /* Reducido de 50px */
     padding: 60px 0px 20px 0px; /* Reducido drásticamente de 120px 0px 30px 0px */
     margin-bottom: 25px; /* Reducido de 50px */
     margin-top: 10px; /* Reducido de 20px */
     background-color: #ffffff !important; /* Asegúrate que el fondo sea blanco */
     font-size: 15px; /* Reducido de 16px */
     overflow: hidden; /* Esto evita que el contenido sobresalga de las esquinas */
}


.glasses .glasses_box figure {
     margin: 0px;
}

.glasses .glasses_box h3 {
     color: #100d0d;
     font-size: 20px; /* Reducido de 22px */
     line-height: 20px;
     padding: 30px 0px 5px 0px; /* Reducido de 70px 0px 9px 0px */
}


.glasses .glasses_box p {
     color: #000000;
     font-size: 16px; /* Reducido de 18px */
     line-height: 22px; /* Reducido de 28px */
     font-weight: 400;
     
}

.glasses .read_more {
     border: #1a1a1a solid 2px;
     font-weight: 500;
     display: block;
     margin: 0 auto;
     margin-top: 20px; /* Reducido de 44px */
}


/** end Our  Glasses section **/


/** Our shop section **/

.shop {
     margin-top: 40px; /* Reducido de 90px */
     background: #fefdf900;
     border-top: #f2f1ed00 solid 1px;
     border-bottom: #f2f1ed00 solid 1px;
}

.shop .shop_img figure {
     margin: 0;
     padding-top: 15px; /* Reducido de 35px */
     padding-left: 10px; /* Reducido de 20px */
     background: #fefdf900;
}

.shop .shop_img figure img {
     width: 100%;
     background: #fefdf900;
}

.padding_right0 {
     padding-right: 0;
     background: #fefdf900;
}

.shop .max_width {
     text-align: left;
     background: #ffffff00;
     height: 100%;
     padding-top: 40px; /* Reducido de 86px */
     padding-left: 20px; /* Reducido de 50px */
     padding-bottom: 40px; /* Reducido de 90px */
     display: flex;
     flex-wrap: wrap;
}

.shop .titlepage {
     max-width: 612px;
     width: 100%;
     float: left;
     background: #fefdf900;
}

.shop .titlepage h2 {
     color: #ffffff00;
     border-bottom: #fff solid 1px;
     padding-bottom: 5px; /* Reducido de 10px */
     float: left;
     clear: both;
}

.shop .titlepage p {
     color: #fff;
     font-size: 15px; /* Reducido de 17px */
     line-height: 25px; /* Reducido de 30px */
     padding: 20px 0px 40px 0; /* Reducido de 40px 0px 80px 0 */
     width: 100%;
     display: inline-block;
}

.shop .titlepage .read_more {
     color: #fff !important
}


/** end Our shop section **/


/** clients section **/

.clients {
     padding: 40px 0 30px 0; /* Reducido de 90px 0 70px 0 */
     top: 50px; /* Reducido de 120px */

}

.clients .titlepage {
     text-align: center;
     padding-bottom: 20px; /* Reducido de 40px */
}

.clients .titlepage p {
     color: #2a2a2c;
     font-size: 15px; /* Reducido de 17px */
     line-height: 25px; /* Reducido de 35px */
     padding-top: 5px; /* Reducido de 10px */
}

.clients_box h3 {
     color: #2a2a2c;
     font-size: 22px; /* Reducido de 26px */
     line-height: 26px; /* Reducido de 30px */
     padding-top: 5px; /* Reducido de 15px */
     font-weight: 600;
}

.clients_box p {
     color: #2a2a2c;
     font-size: 15px; /* Reducido de 17px */
     line-height: 25px; /* Reducido de 30px */
}

.clients_Carousel .carousel-caption {
     position: inherit;
     padding: 0;
}

.clients_box {
     border: #606060 solid 1px;
     padding: 20px 15px 20px 0px; /* Reducido de 40px 32px 40px 0px */
     float: left;
     text-align: left;
     margin-left: 40px; /* Reducido de 89px */
}

.clients_box figure {
     margin: 10px; /* Reducido de 25px */
     float: left;
     margin-left: -80px; /* Ajustado proporcionalmente */
     padding-right: 15px; /* Reducido de 30px */
}

#myCarousel .carousel-indicators {
     bottom: -30px; /* Reducido de -70px */
}

#myCarousel .carousel-indicators li {
     width: 15px; /* Reducido de 20px */
     height: 15px; /* Reducido de 20px */
     border-radius: 15px;
     background: #111;
}

#myCarousel .carousel-indicators .active {
     background: #8c8a8a;
}

#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
     display: none;
}


/** end clients section **/


/** contact section **/

.contact {
     margin-top: 80px; /* Reducido de 200px */
     bottom: 80px; /* Reducido de 200px */
}

.contact .main_form h3 {
     color: #4b4b4c;
     font-size: 24px; /* Reducido de 27px */
     line-height: 26px; /* Reducido de 30px */
     text-align: center;
     display: block;
     font-weight: 600;
     padding: 0;
     border-color: #000000;
     
}

#map {
     height: 100%;
     min-height: 400px; /* Reducido de 600px */
     padding-left: 300px; /* Reducido de 560px */
     padding-top: 35px; /* Reducido de 65px */
}

.map-responsive{

     overflow:hidden;
 
     padding-bottom:50%; /* Reducido de 65% */
 
     position:relative;
 
     height:0;
 
 }
 
 .map-responsive iframe{
 
     left: 400px; /* Ajustado de 575px */
 
     top:50px; /* Ajustado de 100px */
 
     height:350px; /* Reducido de 450px */
 
     width:350px; /* Reducido de 450px */
 
     position:absolute;
 
 }

.main_form {
     position: absolute;
     z-index: 999;
     background: #fefdf900;
     padding: 20px 25px; /* Reducido de 40px 50px */
     margin-top: 40px; /* Reducido de 107px */
     background: #00000000;
}

.main_form .contactus {
     border-bottom: #111111 solid 1px;
     margin-bottom: 15px; /* Reducido de 25px */
     width: 100%;
     height: 45px; /* Reducido de 57px */
     background: #00000000;
     color: #4b4b4c;
     font-size: 16px; /* Reducido de 18px */
     font-weight: normal;
     border-top: inherit;
     border-left: inherit;
     border-right: inherit;
}

.main_form .contactusmess {
     border-bottom: #111111 solid 1px;
     margin-bottom: 15px; /* Reducido de 25px */
     width: 100%;
     padding-top: 20px; /* Reducido de 40px */
     padding-bottom: 10px; /* Reducido de 14px */
     background: #00000000;
     color: #4b4b4c;
     font-size: 16px; /* Reducido de 18px */
     font-weight: normal;
     border-top: inherit;
     border-left: inherit;
     border-right: inherit;
}

.send_btn {
     background: #5C489A;
     font-weight: 600;
     font-size: 16px; /* Reducido de 18px */
     width: 100%;
     color: #fff;
     height: 40px; /* Reducido de 50px */
     border-radius: 20px; /* Reducido de 30px */
     margin-top: 10px; /* Reducido de 20px */
     transition: ease-in all 0.5s;
     text-transform: uppercase;
}

.send_btn:hover {
     background: #4b4b4c;
     transition: ease-in all 0.5s;
}

#request *::placeholder {
     color: #4b4b4c;
     opacity: 1;
}


/** end contact section **/


/** footer **/

/* 1. Quitar los recuadros negros de los inputs del formulario y buscador */
input, 
.form-control, 
.form-control:focus, 
#searchInput, 
#searchInput:focus {
    border: none !important;      /* Elimina el borde */
    outline: none !important;     /* Elimina la línea de enfoque negra/azul */
    box-shadow: none !important;  /* Elimina la sombra que a veces parece una línea */
}

/* 2. Quitar la línea negra horizontal del footer que se ve en la imagen */
/* Estilos del Footer Original ITR */
/* Eliminamos bordes y líneas de toda la estructura del footer */
/* --- Ajuste Footer ITR --- */

/* --- Ajuste Footer ITR --- */
.main-footer {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;

}

.footer-dark-bar {
    background-color: #292929 !important;
    padding: 20px 0; /* Reducido de 40px 0 */
    width: 100%;
    border: none !important; 
}

.footer-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Reducido de 40px */
}

.footer-link {
    text-align: center;
    text-decoration: none !important;
    color: white !important;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #5C489A !important;
    transform: translateY(-3px); /* Reducido de -5px */
}

.footer-link i {
    font-size: 24px; /* Reducido de 30px */
    display: block;
    margin-bottom: 5px; /* Reducido de 12px */
}

.copy-area {
    padding: 10px 0; /* Reducido de 25px 0 */
    background: transparent;
    border: none !important;
}

.copy-text {
    text-align: center;
    font-size: 12px; /* Reducido de 13px */
    color: #333;
    font-weight: 600;
    margin: 0;
}
/* 3. Ajuste para los inputs del login (basado en tu imagen) */
.login_btn input {
    border: none !important;
    background: transparent; /* Si quieres que se integren al fondo gris */
}

/* 4. Quitar bordes de las cajas de marcas si aún persisten */

ul.location_icon {
     text-align: center;
     color: #ffffff;
     top: 10px; /* Reducido de 20px */
     height: 20px; /* Reducido de 30px */
}

ul.location_icon li {
     display: inline-block;
     font-size: 15px; /* Reducido de 17px */
     line-height: 20px;
     color: #fff;
     text-align: center;
     padding: 0px 0px 0px 15px; /* Reducido de 30px */
}

ul.location_icon li a:hover{
     color:#5C489A;
}

ul.location_icon li a {
     font-size: 30px; /* Reducido de 40px */
     color: #ffffff;
     line-height: 20px; /* Reducido de 30px */
     display: block;
}

.copyright {
     margin-top: 40px; /* Reducido de 80px */
     top: 20px; /* Reducido de 50px */
     padding-bottom: 20px; /* Reducido de 40px */
     height: auto; /* Ajustado para que fluya natural */
     background: #000000;
     /* fallback for old browsers */
     background: -webkit-linear-gradient(to right, #ffffff, #3c3c3c);
     /* Chrome 10-25, Safari 5.1-6 */
     background: linear-gradient(to right, #ffffff, #3c3c3c);
     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
     /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.copyright p {
     color: #292929;
     font-size: 14px; /* Reducido de 15px */
     line-height: 20px; /* Reducido de 30px */
     text-align: center;
     padding-top: 5px; /* Reducido de 10px */
     font-weight: normal;
}

.copyright a {
     color: #292929;
}

.copyright a:hover {
     color: #5C489A;
}

/** end footer **/
/* --- ESTILOS GENERALES PARA VISTAS DE USUARIO --- */

:root {
    --primary-purple: #5C489A;
    --light-purple: #f4f2fa;
    --success-green: #28a745;
    --danger-red: #dc3545;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Títulos con Iconos */
h3 i {
    margin-right: 10px;
    color: var(--primary-purple);
}

/* --- TARJETAS (CARDS) --- */
.card.border-0.shadow-sm {
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efecto Hover en Lista de Deseos */
.row .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(92, 72, 154, 0.15) !important;
}

/* --- TABLAS (HISTORIAL) --- */
.table thead th {
    background-color: var(--light-purple);
    border-bottom: 2px solid #e1dee9;
    color: var(--primary-purple);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
}

/* --- BOTONES PERSONALIZADOS --- */
.btn-sm {
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-weight: 500;
}

.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    color: white;
}

/* --- BADGES (ESTADOS) --- */
.badge.p-2 {
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
    color: var(--success-green) !important;
    border: 1px solid var(--success-green);
}

/* --- MODALES --- */
.modal-content {
    border: none;
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid #eee;
    border-radius: 20px 20px 0 0;
}

.modal-header .close {
    outline: none;
}

/* --- ICONOS DE PRODUCTO (Motos/Repuestos) --- */
.fa-motorcycle.fa-4x {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.card:hover .fa-motorcycle.fa-4x {
    color: var(--primary-purple);
}

/* --- RESPONSIVE --- */
@media (max-width: 576px) {
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .btn-sm {
        width: 100%;
        margin-bottom: 5px;
    }
}