* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*scrollbar*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgb(46, 46, 46);
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgb(43, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(153, 0, 0);
}

body {
    background: rgb(17, 17, 17);
    color: white;
    font-family: 'Oswald', sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

p {
    font-size: 18px;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    margin: auto;
}

/*NAVIGATION */
.nav-main {
    background: none;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 40px 0px 20px 0px;
    width: 100%; /* Asegura que la barra tome todo el ancho de la página */
}/* 1. Contenedor principal de la barra */

/*navigation left*/
.nav-main ul{
    display: flex;   
}

.nav-main ul li {
    padding: 10px;
}

.nav-main ul li a {
    padding: 5px;
}

.nav-main ul a:hover {
    border-bottom: 2px solid red;
    color: red;
    transition: 0.5s ease;
}

.nav-main ul.nav-menu {
    flex: 1;
    margin-left: 0px;
}
.nav-main img {
    height: 80px;
}
.nav-main img:hover {
    cursor: pointer;
    opacity: 0.6;
    transition: 1.0s ease;
}
/* 2. La lista del menú */
.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1; /* ¡ESTA ES LA CLAVE! Obliga a la lista a estirarse hasta el borde derecho */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3. El empujador hacia la derecha */
.push-right {
    margin-left: auto !important; /* Fuerza la separación al extremo derecho */
}

/* 1. Contenedor principal de la derecha */
.nav-menu-right {
    display: flex;
    align-items: center; /* Centra los <li> verticalmente */
    gap: 20px;
    margin: 0; 
    padding: 0;
    height: 100%; /* Ayuda a tomar la altura completa de la barra */
}

/* 2. Contenedor individual (Elemento de la lista) */
.nav-menu-right li {
    display: flex;
    align-items: center; /* Asegura que el contenido interno también se centre */
    margin: 0; /* Elimina márgenes por defecto del navegador que empujan hacia arriba */
}

/* 3. El enlace de "Recuperar mis compras" */
.nav-menu-right li a {
    display: flex;
    align-items: center; /* Centra el texto en sí mismo */
    text-decoration: none !important; 
    color: #fff;
    margin: 0; /* Resetea cualquier margen residual */
    
    /* Si el tipo de letra tiene un interlineado extraño, un ajuste fino soluciona la alineación óptica: */
    /* padding-top: 2px; */ 
}

/* Efecto al pasar el mouse por "Recuperar mis compras" (opcional) */
.nav-menu-right li a:hover {
    color: #ff0000; /* Puedes cambiar esto al color rojo/naranja de tu marca */
}

/* Contenedor del buscador */
.search-form {
    display: flex;
    align-items: center;
    background-color: #222; /* Fondo oscuro que combina con tu navbar */
    border: 1px solid #444; /* Borde gris sutil */
    border-radius: 20px;       
    padding: 2px 15px;
    width: 250px; /* Ancho máximo fijo para que no ocupe toda la pantalla */
}

/* Campo de texto */
.search-input {
    border: none;
    background: transparent;
    outline: none;             
    color: #fff; /* Texto que escriba el usuario en color blanco */
    padding: 5px;
    font-size: 14px;
    width: 100%; /* Se adapta al ancho fijo del formulario */
}

/* Color del texto "Buscar en la tienda..." */
.search-input::placeholder {
    color: #999; 
}

/* Botón de la lupa */
.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999; /* Lupa en gris claro */
    font-size: 16px;
    padding: 0;
}

.search-btn:hover {
    color: #fff; /* La lupa se ilumina en blanco al pasar el mouse */
}


.menu-btn {
    position:absolute;
    cursor: pointer;
    top: 15px;
    right: 15px;
    z-index: 2;
    font-size: 1.5rem;
    display: none;
}

.menu-close {
    position:absolute;
    cursor: pointer;
    top: 15px;
    right: 15px;
    z-index: 2;
    font-size: 1.5rem;
    display:none;
}
/*SHOWCASE*/

hr {
    opacity: .1;
    margin: 20px 0px;
}

.body-head {
    position: relative;
    margin-bottom: 2rem;
}

.showcase {
    width: 100%;
    height: 550px;
    background: url('/img/chevy_baner-blur2.jpg') no-repeat center center/cover ;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 0px 0px 220px 0px;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: flex-end;
    background-attachment: fixed;
}


.showcase img:hover {
    opacity: .0;
}

.btn {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    border: 1px solid white;
    margin: 10px 0px;
}

.btn:hover {
    opacity: .7;
    color: red;
    border: 1px solid red;
    transition: 0.5s ease;
}

.showcase h2,
.showcase p {
    margin-bottom:  10px;
}

/*NEWS CARDS*/
.news-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
    margin: 10px 0px;

}

.news-cards img {
    width: 100%;
    transition: 0.5s ease-in-out;
    background-size: 100%;
    display: flex;
    justify-content: center;
    background:fixed;


}

.news-cards img:hover {
    transform: scale(1.5);
    cursor: pointer;
    box-shadow: 5px 5px 2px 1px rgba(0, 0, 0, 0.5);
    
}



.news-cards h3 {
    font-size:  20px;
    margin: 10px 0px;

}

.news-cards a {
    padding: 10px 0px;
    color: white;
    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
}

.news-cards a:hover {
    text-decoration: underline;
    color: red;
    transition: 0.5s ease;
}

/*CARDS BANNER ONE*/

.cards-banner-one {
    width: 100%;
    height: 350px;
    background: url('/img/206_baner-blur.jpg') no-repeat center center/cover;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

}

.cards-banner-rago {
    width: 100%;
    height: 350px;
    background: url('/img/rago-banner.jpg') no-repeat center center/cover;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-top: 20px;
}
.cards-banner-rago:hover {
    cursor: pointer;
}

.cards-banner-one .content {
    width: 40%;
    padding: 90px 0 0 30px;
    color: white;

}

.cards-banner-one p,
.cards-banner-one h2 {
    margin: 10px 0  20px;

}

/*BANNER TWO*/

.cards-banner-two {
    width: 100%;
    height: 350px;
    background: url('/img/brio_baner-blur.jpg') no-repeat center center/cover;
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background-attachment: fixed;
}

.cards-banner-two .content {
    width: 40%;
    padding: 90px 0 0 30px;
    color: white;

}

/*NOTICIAS DE INICIO*/

.noticias {
    display:flex;
    justify-content: flex-end;
}

.noticias-index img {
    display: flex;
    float: left;
    padding: 0px 50px 20px 0px;
    width: 70%;
    height: auto;
}

iframe {
    height:calc(100vh - 4px);
    width:calc(100vw - 4px);
    box-sizing: border-box;
    max-width: 96%;
    
  }

.noticias-index-2 img {
    display: flex;
    float: right;
    padding: 0px 0px 20px 50px;
    width: 70%;
    height: auto;
}

.noticias-index img:hover , .noticias-index-2 img:hover{
    cursor: pointer;
}

.videos {
    display: flex;
    max-width: 100%;
}


/*SOCIAL*/
.social {
    align-content:center;
    margin: 50px;

}

.social p {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.links a{
    margin: 0px 30px;
    
    

}

.links a :hover {
    color: red;
    transition: 0.5s ease;
    
}

.links a i {
    font-size: 3rem;

}

/*FOOTER LINKS*/

.footer-links {
    background-color: rgb(27, 27, 27);
    color: rgb(116, 116, 116);
    font-size: 14px;
    padding: 35px 0px;
    display: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}

.footer-container ul {
    margin: 0 auto;
}

.footer-container ul li {
    line-height: 2.8;

}

.footer {
    background-color: rgb(24, 24, 24);
    color: rgb(65, 47, 47);
    font-size: 16px;
    text-align: center;
    padding-bottom: 20px;
}


/*STORE BRANDS*/
.news-brands {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 25px;
    margin: 10px 0px;

}

.news-brands img {
    width: 100%;
    max-width: 150px;
    transition: 1.5s ease;
}

.news-brands img:hover {
    transform: scale(1.5);
    cursor: pointer;
}

.news-brands h3 {
    font-size:  20px;
    margin: 10px 0px;

}

.news-brands a {
    padding: 10px 0px;
    color: white;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
}

.news-brands a:hover {
    text-decoration: underline;
    color: red;
    transition: 0.5s ease;
}

/*STORE CARS*/
.cars {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin: 10px 0px;

}

.cars img {
    width: auto;
    max-height: 200px;
    transition: 1.5s ease;
}

.cars img:hover {
    transform: scale(1.5);
    cursor: pointer;
    box-shadow: 5px 5px 2px 1px rgba(0, 0, 0, 0.5);
}

.cars a {
    padding: 10px 0;
    color: white;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
}

.cars a:hover {
    text-decoration: underline;
    color: red;
    transition: 0.5s ease;
}

/*BTN BUY*/

.btn-buy {
    cursor: pointer;
    display: block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    color: white;
    font-size: 25px;
    border: 1px solid white;
    margin: 20px 20px;

}

.btn-buy:hover {
    opacity: .7;
    color: red;
    border: 1px solid red;
    transition: 0.5s ease;
}

/* BTN ADJUNTAR */
.btn-adjuntar {
    cursor: pointer;
    display: block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    color: white;
    font-size: 25px;
    border: 1px solid white;
    margin: 20px 20px;

}

.btn-adjuntar:hover {
    opacity: .7;
    color: red;
    border: 1px solid red;
    transition: 0.5s ease;
}

/*STORE CAR SINGLE*/
.car-galery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 10px 0px;

}

.car-one {
    width: 100%;
    max-width: 600px;
    transition: 1.5s ease;
}

.description-car {
    font-size: 1.2rem;
    text-align: center;

}

/*CAROUSEL*/
* {
    box-sizing: border-box;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
      color: red;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 0.5s;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
    transition: .75s ease-in-out;
  }
.img-weare {
    float: left;
    width: auto;
    height: 250px;
    padding-right: 40px;

}

form {
    width: 550px;
    margin: auto;
    padding: 20px 20px;
    box-sizing: border-box;
}

.h2contact {
    text-align: center;
    margin: 0;
    font-size: 30px;
    margin-bottom: 20px;
}


input, textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 7px;
    box-sizing: border-box;
    font-size: 15px;
    background-color: rgb(17, 17, 17);
    color: #f2f2f2;
}

textarea {
    min-height: 200px;
    max-height: 200px;
    min-width: 100%;
    max-width: 100%;
}

#button {
    cursor: pointer;
    align-items: center;
    display: block;
    border: 0;
    font-weight: bold;
    background-color: rgb(17, 17, 17);
    color: rgb(82, 82, 82); 
    font-size: 20px;
    border: 1px solid rgb(80, 80, 80);
    
    margin: 10px 0px;
}

#button:hover {
    opacity: .7;
    color: red;
    border: 1px solid red;
    transition: 0.5s ease;
}

/* Preguntas frecuentes */
#Uno,#Dos,#Tres {
    display: none;
    }

.preguntas-frecuentes {
    display: block;
    align-items: center;
    text-align: center;
    max-width: 80%;
    margin: auto;
}

.preguntas-frecuentes h1 {
    color: rgb(156, 0, 0);
}

.preguntas-frecuentes a:hover {
    color: red;
    transition: 0.5s ease-in-out;
    
}

.preguntas:hover {
    cursor: pointer;
    
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*btn ir arriba*/
#button-up {
    width: 60px;
    height: 60px;
    background-color: rgb(153, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px; 
    cursor: pointer;  
    border: 4px solid transparent; 
    transition: all 300ms ease;
    transform: scale(0);
}

#button-up:hover {
    transform: scale(1.1);
    border-color: rgba(0, 0, 0, 0.3);
    
}

/*button whatsapp*/
.button-whatsapp {
    width: 60px;
    height: 60px;
    background-color:rgb(0, 185, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    position: fixed;
    bottom: 50px;
    right: 50px; 
    cursor: pointer;  
    border: 4px solid transparent; 
    transition: all 300ms ease;
    transform: scale(1);
}

.button-whatsapp:hover {
    transform: scale(1.2);
    border-color: rgba(0,0,0,0.1);
}

.h1-error {
    font-size: 100px;
    text-align: center;
}

.p-error {
    font-size:large;
    text-align: center;
}

/* NOTICIAS */

.grilla-ft {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.first {
    float: none;
    width: 100%;
    padding-right: 0;
    padding-bottom: 10px;
}

.second {
    float: left;
    width: 50%;
    
}

.item {
    position: relative;
    overflow: hidden;
}

.item-md {
    margin-bottom: 10px;
}

.item-heading {
    font-size: 30px;
}

.image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #ccc;
    min-height: 430px;
    transition: all .5s;
}

.image-link:hover {
    transform: scale(1.1);
}

.image-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0.62) 50%, rgba(0,0,0,0.88) 100%);
    opacity: .90;
}

.caption {
    max-width: 100%;
    position: absolute;
    padding: 16px 16px;
    bottom: 0px;
    display: block;
    pointer-events: none;
    margin: 20px;
}

.caption-sm {
    max-width: initial;
    
}

.caption-price {
    top: -0%;
    color: rgb(255, 255, 255);
    right:0%;
    margin:auto;
    z-index: 9;
    background: linear-gradient(207deg, rgba(150, 0, 0, 0.671), rgba(255,0,0,0) 40.71%),
            linear-gradient(230deg, rgba(0, 0, 255, 0), rgba(0,0,255,0) 90.71%);
}



/* POPUP INDEX */

.rpm-popup {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background-color:rgba(51, 0, 0, 0.192);
}

.rpm-popup h1 {
    display:flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.rpm-popup p {
    text-align: center;
    padding: 10px;
    font-size: 22px;
    align-items: center;
    justify-content: center;
}

.rpm-popup-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    max-width: 950px;
    transform: scale(0.6);
    opacity: 0;
    transition: .3s ease all;
    border: 3px solid #ffffffa6;
    background-color:rgba(0, 0, 0, 0.85);
    position: relative;
    top: 20%;
    margin-left: auto;
    margin-right: auto;
}
.rpm-popup-wrap.show {
    transform: scale(1);
    opacity: 1;

}
.rpm-popup .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    margin: auto;
    margin-bottom: 10px;
    opacity: 0.8;
    display: flex;
    justify-content: center;

  }

  .show {
    display: block;
  }

  .rpm-popup .close {
    background-color: rgb(165, 0, 0);
  }

  .btn-admin {
    background-color: rgb(105, 0, 0);
    color: black;
    border-color:rgba(0, 0, 0, 0);
  }
/*REACTIVE QUERIES*/
@media (max-width: 700px){

    .menu-btn {
        display:block;
        z-index:101;
    }
    .menu-close {
        display: block;
    }

    .nav-main ul.nav-menu{
        display:block;
        position: absolute;
        top: 0%;
        left: 0%;
        background-color: rgba(0, 0, 0, 0.95);
        height: 100%;
        transform: translateX(-400px);
        transition: transform .5s ease-in-out;
        padding: 30px;
        z-index: 100;
    }

    .nav-main ul.nav-menu.show {
        transform: translateX(-20px) ;
    }

    .nav-main ul.nav-menu li {
        padding: 20px;
        font-size: 14px;
    }

    .nav-main ul.nav-menu-rigth {
        margin-right: 50px;
    }

    .news-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase {
        background-attachment: scroll;
        padding: 0px 50px 190px 50px;
    }

    .cards-banner-one,
    .cards-banner-two  {
        background-attachment: scroll;
    }

    .cards-banner-one .content,
    .cards-banner-two .content {
        width: 80%;
    }

    .noticias-index img {
        width: 100%;
        display: block;
        float: none;
        padding: 20px 0px 20px 0px;
        margin-top: 50px;
    }
    .noticias-index-2 img {
        width: 100%;
        display: block;
        float: none;
        padding: 20px 0px 20px 0px;
        margin-top: 50px;
    }

    .footer-links,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
        /*STORE BRANDS*/
    .news-brands {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px;
        margin: 10px 0px;

    }
    .cars {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 10px 0px;

    }
    .cars img {
        width: auto;
        max-height: 150px;
        transition: 1.5s ease;
    }
    form {
        width: auto;
    }

}





@media(max-width: 500px){
    .menu-btn {
        display:block;
        z-index:101;
    }
    .menu-close {
        display: block;
    }

    .nav-main ul.nav-menu{
        display:block;
        position: absolute;
        top: 0%;
        left: 0%;
        background-color: rgba(0, 0, 0, 0.85);
        height: 100%;
        transform: translateX(-400px);
        transition: transform .5s ease-in-out;
        padding: 30px;
        z-index: 100;
    }

    .nav-main ul.nav-menu.show {
        transform: translateX(x) ;
        
    }

    .nav-main ul.nav-menu li {
        padding: 20px;
        font-size: 14px;
    }



    .nav-main ul.nav-menu-rigth {
        margin-right: 50px;
    }

    .news-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    
    body {
        height: auto;
    }
    p {
        font-size: 25px;
    }
    .showcase {
        height: 300px;
        padding: 0px 25px 100px 25px;
    }
    .showcase h2 {
        text-align:center;
    }

    .showcase p{
        text-align:center;
        display: none;
    }
    
    .news-cards {
        grid-template-columns: 1fr;
    }
    .news-brands {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin: 10px 0px;

    }
    .news-cards {
        gap: 50px;
    }
    .cars {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 10px 0px;

    }
    .cards-banner-one {
        margin: 150px 0 0;
    }
    .cards-banner-two {
        margin: 150px 0 0;
    }

    #button-up {
        bottom: 30px;
        right: 30px;
    }
    .button-whatsapp {
        bottom: 30px;
        right: 30px;
    }
    .second {
        float: none;
        width: 100%;
    }
    /* carousel reactive */
    .prev, .next,.text {font-size: 11px}

    /* popup index */
    .rpm-popup-wrap {
    width: 90%;
    top: 10%;
    }
    
}

/* 1. Por defecto (en PC), ocultamos los elementos que pusimos dentro del menú izquierdo */
.mobile-only {
    display: none !important;
}

/* --- COMPORTAMIENTO BASE Y ESCRITORIO --- */

/* Aseguramos que el menú ocupe el espacio restante al lado del logo */
.nav-menu {
    display: flex;
    align-items: center;
    width: 100%; 
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Alineación interna de los nuevos elementos */
.nav-item-flex {
    display: flex;
    align-items: center;
}

/* El truco de Flexbox: Empuja este elemento y los que le siguen a la derecha */
.push-right {
    margin-left: auto; 
}
/* --- ADAPTACIÓN PARA MÓVILES --- */
@media screen and (max-width: 768px) {
    
    .nav-menu {
        flex-direction: column; /* Apila los enlaces verticalmente */
        width: 100%;
    }

    /* Apagamos el empuje hacia la derecha porque ahora están apilados */
    .push-right {
        margin-left: 0;
        margin-top: 15px; /* Le da un poco de separación visual de los enlaces de arriba */
    }

    /* Ajuste para que el buscador se vea bien en el celular */
    .nav-item-flex .search-form {
        width: 90%;
        margin: 10px auto;
    }
}