@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Meow+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fredoka:wght@300..700&family=Meow+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* font-family: "Bebas Neue", sans-serif; */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body{
    font-family: "Poppins", sans-serif;
    background-color: #1f1f1f;
}

.container {
    padding-right: 200px;
    padding-left: 115px;
    background-color: #ffffff;
}


.navbar ul li a {
    color: #001942;
    text-decoration: none; /* Opcional: quita el subrayado */
}

/* Opcional: estilo cuando el cursor pasa sobre los enlaces */
.navbar ul li a:hover {
    color: #015077;
    text-decoration: underline;
}
/* Estilos para el ícono de usuario y dropdown */
.nav-item.dropdown {
    position: relative;
    list-style: none;
}

.user-icon {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.user-icon i {
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.user-icon:hover i {
    color: #007bff;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #007bff;
}

.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

/* Estilos para el carrito */
.navbar .nav-item.dropdown {
    position: relative;
    list-style: none;
}

#iconoCarrito {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #001942;
    text-decoration: none;
}

#iconoCarrito:hover {
    color: #015077;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 12px;
    margin-left: 5px;
}

/* Estilos para el dropdown del carrito */
#listaCarrito {
    width: 300px;
    padding: 15px;
    right: 0;
}

/* Estilos para el botón de logout */
.btn-logout {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 8px 20px;
    color: #333;
    cursor: pointer;
}

.btn-logout:hover {
    color: #007bff;
    background: #f8f9fa;
}

/* Ajustes para los íconos en los dropdowns */
.dropdown-menu i.mr-2 {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Estilos para el alert de mensajes */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px;
    border-radius: 4px;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s;
}

.alert-primary {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    background: transparent;
    border: 0;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.logo {
    font-size: 24px;
    color: #cf2d3a;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
   max-width: 500px;
   max-height: 70px;
}

.menu .navbar ul li{
    position: relative;
    float: left;
    

}

.menu .navbar ul li a{
    font-size: 18px;
   padding-top: 10px;
   padding-left: 30px;
   display: block;
   text-decoration: none;
   
   
}

#menu{
    display: none;
}

.menu-icono{
    width: 25px;
}

.menu label{
    cursor: pointer;
    display: none ;
}



.btn-1{
    display: inline-block;
    padding: 11px 25px;
    background-color: #001942;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    font-family: 'Bebas Neue', cursive;
    margin: 25px 0;
    border: 0;
}

.btn-n{
    display: inline-block;
    padding: 11px 25px;
    background-color: #001942;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    font-family: 'Bebas Neue', cursive;
  
    border: 0;
}

.btn-1:hover {
    background-color: #015077;
}

.header-dir{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 30px 80px 0px 80px;
}


.dir h3{
    font-size: 18px;
}

.dir p {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
}

.welcome{
   
    background-image: url(jpg/repuestos.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 20%;
} 


.welcome-2{
    width: 50%;
    padding: 150px 100px 150px 90px;
    
}
.welcome-2 h2{
    font-size: 90px;
    line-height: 100px;
    color: #001942;
    text-transform: uppercase;
    font-family: 'Bebas Neue', cursive;
    margin-bottom: 20px;
}

p{
    font-size: 20px;
    color: #AFAFAF;
    margin: 25px 0;
    text-align: justify;
    
}

.b1{
    color: #a01b1d;
    text-transform: uppercase;
}


.fondo {
    background-color: #001942;
    
}
.swiper-button-prev::after {
    font-size: 20px;
}
.swiper-button-next::after {
    font-size: 20px;
}
.swiper-button-prev{
    color: #ffffff;
}
.swiper-button-next {
    color: #ffffff;
}

.swiper-pagination-bullet {
    background-color:#ffffff;
    
}

.swiper-pagination-bullet-activate {
    background-color:#606060 ;
    
}


.slider{
    display: flex;
    align-items: center;
    margin: 10px;
}

.slider-txt{
    margin-left: 150px;
    width: 50%;
    padding-bottom: 40px;
    
}

.slider-txt h1{
    font-size: 90px;
    line-height: 100px;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 20px;
}



.slider-txt p {
    font-size: 18px;
    color: #ffffff;
    margin-right: 50px;
}

.botones{
    
    align-content: center;
   
    
}

.btn-1 {
    display: inline-block; /*toma lo que es el padding*/
    padding: 15px 40px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left:43%;
    border-radius: 50px;
    text-decoration: none;
    
}

/* .btn-1:hover {
    background-color: #bebebe;
} */

.slider-img{
    width: 50%;
    
}



.marcas {

    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-image: url(jpg/fondo_gris.jpg);
     background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.marcas h2 {
    font-size: 90px;
    color: #001942;
    text-transform: uppercase;
    font-family: 'Bebas Neue', cursive;
    margin-bottom: 40px;
}

.marcas-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fila-marcas {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.marca-item {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.marca-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Estilos para el nuevo footer */


.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #001942;
    color: white;
}

.footer-section {
    flex: 1;
    padding: 20px;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    
}
.footer-info h1{
    font-size: 65px;
    align-content: center;
}

.dir {
    padding: 30px;
    width: 220px;
    text-align: center;
}

.dir p{
    font-size: 15px;
}

.map-container {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-buttons {
    
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-map, .btn-contact {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-map {
    background-color: #4285F4;
    color: white;
    border: 2px solid #4285F4;
}



.btn-map:hover {
    background-color: transparent;
    color: #4285F4;
}



/* Estilos para los iconos sociales */
.iconos {
    display: flex;
    gap: 25px;
    /* Espacio entre iconos */
    margin-top: 10px;
    justify-content: center;
    
}

.iconos a {
    color: #ffffff;
    /* Color del icono */
    font-size: 30px;
    /* Iconos más grandes */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    /* Tamaño del círculo aumentado */
    height: 60px;
    border-radius: 50%;
    background: transparent;
    /* Fondo transparente */
    border: 2px solid #ffffff;
    /* Borde rojo (ajusta el color) */
    transition: all 0.3s ease;
}

.iconos a:hover {
    background-color: #999999;
    /* Color al pasar el mouse */
}

.linea {
    border-bottom: 2px solid #ffffff;
    /* 2px de grosor, estilo sólido, */
    width: 80%;
    /* Opcional: define el ancho de la línea */
    margin: 20px 0;
    /* Espacio arriba y abajo de la línea */
    align-content: center;
    margin-left: auto;
    margin-right: auto;
}



/* Ajustes para responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section, .footer-info {
        width: 100%;
    }
    
    .footer-buttons {
        flex-direction: column;
    }
}




/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .marcas h2 {
        font-size: 50px;
    }
    
    .fila-marcas {
        gap: 15px;
    }
    
    .marca-item {
        width: 120px;
        height: 80px;
        padding: 10px;
    }
}


table{
    margin: 50px 0;
    width: 100%;
    text-align: center;
    border-collapse: collapse;

}

tr{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid  #afafaf;
    margin-bottom: 20px;
}

th{
    color: #ffffff;
    padding-bottom: 15px;
}

td{
    color: #cf2d3a;
}


.personal{
    padding: 70px 0;
    text-align: center;
    background-image: url(jpg/fondo2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.personal-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.personal-group{
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 0 40px 0 90px; 
}

.personal-1{
    text-align: center;
}

.personal-1 img{
    width: 250px;
    height: 350px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.personal-1 h3{
    font-size: 22px;
}

.personal-1 p{
    padding: 0 50px;
}

.personal-1 a {
    color: #cf2d3a;
}

#pedido {
    display: flex;
    
    background-image: url(jpg/fondo3.jpg);
    padding: 40px;
   
}

.img_pedido{
    padding-left: 50px;
    width: 50%;
    align-items: center;
    height: 700px;

}

.maniqui {
    width: 700px;
    align-items: center;
}

.mrb {
    width: 500px;
 align-content: center;
}
.h2_pedido{
    font-size: 80px;

}

.img_pedido h4{
    font-size: 30px;
    text-align: center;
    color: #ffffff;
    
}
    .p_pedido{
        font-size: 12px;
        text-align: center;
        color: #b4272e;
        margin: 0;
    }



form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.campo-1 {
    margin-bottom: 15px;
}

.campo {
        margin: 5px;
        padding: 18px 15px;
        width: 220px;
        background-color: #0e0e0e;
        border: 1px solid #cf2d3a;
        outline: none;
        border-radius: 10px;
        color: #ffffff;
        font-size: 12px;
    }

textarea {
    width: 450px !important;
}



.derechos{
    text-align: center;
    font-size: 13px;
    margin-top: 0;
}



/* ==================== RESPONSIVE PARA MÓVILES ==================== */
@media (max-width: 768px) {
    /* Estilos generales */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    
    /* Header y navegación */
    .menu {
        padding: 15px;
        position: relative;
    }
    
    .logo {
        max-height: 50px;
        width: auto;
    }
    
    .menu label {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #001942;
        display: none;
        padding: 15px;
    }
    
    #menu:checked ~ .navbar {
        display: block;
    }
    
    .navbar ul {
        flex-direction: column;
    }
    
    .navbar ul li {
        width: 100%;
        float: none;
        margin: 5px 0;
    }
    
    .navbar ul li a {
        padding: 10px 15px;
        color: white;
        font-size: 16px;
    }
    
    /* Dropdown de usuario */
    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
    }
    
    .dropdown-menu a {
        color: white;
        padding: 8px 25px;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    #menu:checked ~ .navbar .dropdown-menu {
        display: block;
    }
    
    /* Sección de bienvenida */
    .welcome {
        height: auto;
        padding: 50px 0;
        background-position: center;
        background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), 
                url(jpg/fondo_gris.jpg) center top/cover no-repeat;
    }
    
    .welcome-2 {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }
    
    .welcome-2 h2 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .b1 {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center;
        font-weight: bold;
    }
    
    .btn-n {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    /* Slider de productos */
    .fondo {
        padding: 20px 0;
    }
    
    .slider {
        flex-direction: column;
    }
    
    .slider-txt {
        width: 100%;
        margin-left: 0;
        padding: 20px;
        order: 2;
    }
    
    .slider-txt h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 0;
    }
    
    .slider-txt p {
        font-size: 1rem;
        margin-right: 0;
    }
    
    .slider-img {
        width: 100%;
        order: 1;
        text-align: center;
    }
    
    .slider-img img {
        max-width: 80%;
        height: auto;
    }
    
    .botones {
        text-align: center;
        margin-top: 20px;
    }
    
    .btn-1 {
        margin-left: 0;
        padding: 12px 25px;
        font-size: 1rem;
        display: inline-block;
    }
    
    /* Sección de marcas */
    .marcas {
        padding: 30px 15px;
    }
    
    .marcas h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .fila-marcas {
        gap: 15px;
        justify-content: center;
    }
    
    .marca-item {
        width: calc(50% - 15px);
        height: 80px;
        padding: 10px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        padding: 30px 15px;
    }
    
    .footer-section {
        padding: 15px 0;
    }
    
    .footer-info h1 {
        font-size: 2rem;
    }
    
    .header-dir {
        flex-direction: column;
        margin: 0;
        gap: 15px;
    }
    
    .dir {
        width: 100%;
        padding: 10px 0;
    }
    
    .dir h3 {
        font-size: 1.2rem;
    }
    
    .dir p {
        font-size: 1rem;
    }
    
    .map-container {
        margin-top: 20px;
    }
    
    .footer-buttons {
        padding-left: 0;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn-map, .btn-contact {
        width: 100%;
        text-align: center;
    }
    
    .iconos {
        margin: 20px 0;
        
    }
    
    /* Ajustes para pantallas muy pequeñas */
    @media (max-width: 480px) {
        .welcome-2 h2 {
            font-size: 2rem;
        }
        
        .marcas h2 {
            font-size: 1.8rem;
        }
        
        .footer-info h1 {
            font-size: 1.8rem;
        }
        
        .marca-item {
            width: calc(50% - 10px);
            height: 70px;
        }
    }
}

/* Mejoras adicionales para móviles */
@media (max-width: 768px) {
    /* Mejorar la legibilidad del texto */
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Ajustar botones para touch */
    .btn-1, .btn-n, .btn-map, .btn-contact {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Optimizar imágenes */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Asegurar que los inputs sean legibles */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Mejorar el espacio entre elementos */
    section {
        padding: 30px 0 !important;
    }
    
    /* Ajustar el swiper */
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination {
        bottom: 10px !important;
    }
}

/* Correcciones específicas para iOS */
@supports (-webkit-touch-callout: none) {
    .dropdown-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
    }
}

