* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}



.input-group i {
    transition: color 0.3s ease;
}


header {
    width: 100%;
    height: 70px;
    display: flex;
    background-color: whitesmoke;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;

    .logo {
        display: flex;
        height: 100%;
        align-items: center;
        margin-left: 20px;
        gap: 20px;

        .logo_text {
            h5 {
                color: #002f75;
                font-family: fantasy;
            }
        }

        .img_logo {
            img {
                width: 50px;
                height: 50px;
            }
        }
    }

    .hidenMenu {
        width: 189px;
        display: none;

        .list {
            div {
                a {
                    text-decoration: none;
                    color: white;
                }
            }
        }
    }

    .nav {
        display: flex;
        align-items: center;
        margin-right: 25px;
        gap: 15px;
        width: 80%;
        justify-content: end;

        .burgerButton {
            display: none;
        }

        .nav_navegar {
            display: flex;
            gap: 5px;
            justify-content: center;


            div {
                display: flex;
                width: 90px;
                height: 36.50px;
                border-radius: 5.50px;
                justify-content: center;


                a {
                    text-decoration: none;
                    color: black;
                    transition: 0.5s;
                    height: 100%;
                    width: 100%;
                    border-radius: 5.50px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                a:hover, a.active {
                    background-color: cornflowerblue;
                    transition: 1s;
                    color: white;
                }
            }

        }

        .idioma {
            img {
                width: 35px;
                height: 25px;
            }
        }

        .vehiculo {
            width: 190px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;

            .menu_opcion {
                display: flex;
                width: 100%;
                justify-content: center;
                align-items: center;
                transition: all 1s;
                text-align: center;
                height: 100%;

                .opcion {
                    margin-top: 30px;
                    display: none;
                    text-align: center;
                    width: 100%;
                    height: 100%;

                    .cars {
                        text-decoration: none;
                        display: flex;
                        width: 100%;
                        gap: 20px;
                        justify-content: center;
                        align-items: center;
                        height: 100%;
                        position: relative;
                        bottom: 15px;

                        div {
                            width: 100%;
                            height: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            text-align: center;

                            a {
                                text-decoration: none;
                                color: black;
                                width: 100%;
                                height: 100%;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                transition: 0.5s;

                            }

                            a:hover {
                                background-color: white;
                                transition: 0.5s;
                                color: burlywood;
                                border-radius: 5px;
                            }
                        }
                    }
                }
            }

            .menu_opcion:hover {
                background-color: burlywood;
                transition: 1s;
                border-radius: 5px;
            }
        }
    }
}
/* buscador y modal */

    /* banner principal */
    .baner_carrusel {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

/* Ciclo automático del fondo */
.baner_carrusel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: cambioFondo 18s infinite;
  z-index: -1;
}

/* Animación de cambio de imagen */
@keyframes cambioFondo {
  0%, 33.3% {
    background-image: url('../../img/index/turismo-hotel vistamar.jpg');
  }
  33.4%, 66.6% {
    background-image: url('../../img/index/coriscoturismo.JPG');/*../../img/index/puntambondaturismo.jpeg*/
  }
  66.7%, 100% {
    background-image: url('../../img/index/turismo-granndjibloho.jpg');
  }
}

.baner_principal {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: rgba(0, 0, 0, 0.4); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  gap: 30px;
  padding: 20px;
}

.baner_principal h1 {
  font-size: 4rem;
  margin-top: 25px;
}
/* Banner RESPONSIVE DESIGN === */

/* Tablets (pantallas medianas) */
@media (max-width: 992px) {
  .baner_carrusel {
    height: 400px;
  }

  .baner_principal h1 {
    font-size: 3rem;
  }

  .baner_principal {
    gap: 20px;
    padding: 15px;
  }
}

/* Móviles (pantallas pequeñas) */
@media (max-width: 768px) {
  .baner_carrusel {
    height: auto;
  }

  .baner_principal h1 {
    font-size: 2.2rem;
    margin-top: 10px;
  }

  .baner_principal {
    padding: 10px;
    gap: 15px;
  }

  .baner_principal .buscador {
    flex-direction: column;
    width: 90%;
  }

  .baner_principal .botones-menu {
    flex-direction: column;
    gap: 10px;
  }

  .baner_principal .boton-menu {
    width: 100%;
    font-size: 0.9rem;
  }
}

/* Pantallas muy pequeñas (teléfonos antiguos o reducidos) */
@media (max-width: 480px) {
  .baner_carrusel {
    height: auto;
  }

  .baner_principal h1 {
    font-size: 1.8rem;
  }

  .baner_principal {
    gap: 10px;
  }
}

  /*Buscador*/
    .buscador {
    position: relative;
    width: 100vh;
    margin-top: 40px;
    }

    .buscador input[type="text"] {
    width: 100%;
    padding: 15px 45px 15px 30px;
    border: 1px solid #ccc;
    border-radius: 50px;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, border-color 0.3s;
    font-size: 1.8rem;
    background: #fff;
    }

    .buscador input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
    }

    .buscador svg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 30px;
    fill: #007bff;
    color: #007bff;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));
    margin-right: 30px;
    pointer-events: none; /* para que no interfiera con el input */
    } 

   /* botones del menu(banner)  */
  .botones-menu {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .boton-menu {
    background: none;
    border: none;
    padding: 10px;
    font-size: 26px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
    color: white;
    font-weight: bold;
  }
  .boton-menu:hover {
    border-bottom: 2px solid #fff;
  }
  .boton-menu.activo {
    border-bottom: 2px solid #fff;
  }
/* === Buscador y botones Responsive Design === */

/* Tablets */
@media (max-width: 992px) {
  .buscador {
    width: 80vw; /* más flexible */
    margin-top: 30px;
  }

  .buscador input[type="text"] {
    padding: 12px 40px 12px 25px;
    font-size: 1.5rem;
  }

  .buscador svg {
    width: 30px;
    height: 25px;
    margin-right: 20px;
  }

  .botones-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .boton-menu {
    font-size: 22px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .buscador {
    width: 90vw;
    margin-top: 25px;
  }

  .buscador input[type="text"] {
    font-size: 1.2rem;
    padding: 12px 40px 12px 20px;
  }

  .buscador svg {
    width: 26px;
    height: 22px;
    margin-right: 15px;
  }

  .botones-menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .boton-menu {
    font-size: 20px;
    padding: 8px;
    border-bottom: none;
    border: 1px solid white;
    border-radius: 8px;
  }

  .boton-menu.activo {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .buscador {
    width: 95vw;
    margin-top: 20px;
  }

  .buscador input[type="text"] {
    font-size: 1rem;
    padding: 10px 38px 10px 18px;
  }

  .buscador svg {
    width: 22px;
    height: 20px;
    margin-right: 12px;
  }

  .boton-menu {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }
}

  /*secciones de las cajas con modales*/
  .textoPrincipal{
    margin-top: 60px;
    margin-bottom: 20px;
  }
  .seccion-contenido {
    display: none;
  }
  .seccion-contenido.activa {
    display: block;
  }
  .contenedor-cajas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 50px 100px 0px 100px; 
  }
  .caja {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background: #fff;
    /* padding: 50px 50px 0px 50px; */
  }
  .caja img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  .caja .contenido {
    padding: 15px;
  }
  .caja h4 {
    margin: 0 0 10px;
  }
  .caja p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
  }
  .caja button {
    background-color: cornflowerblue;/*#0077cc*/
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }
  /* === Cajas principales Responsive Design === */

/* Tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .contenedor-cajas {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 60px 0px 60px;
    gap: 20px;
  }

  .caja img {
    height: 140px;
  }
}

/* Móviles grandes y pantallas pequeñas */
@media (max-width: 768px) {
  .textoPrincipal {
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: center;
  }

  .contenedor-cajas {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 30px 0px 30px;
    gap: 16px;
  }

  .caja img {
    height: 130px;
  }

  .caja .contenido {
    padding: 12px;
  }

  .caja h4 {
    font-size: 18px;
  }

  .caja p {
    font-size: 13px;
  }

  .caja button {
    font-size: 13px;
    padding: 7px 10px;
  }
}

/* Móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
  .contenedor-cajas {
    padding: 20px;
    gap: 14px;
  }

  .caja img {
    height: 120px;
  }

  .caja h4 {
    font-size: 16px;
  }

  .caja p {
    font-size: 12px;
  }

  .caja button {
    font-size: 12px;
    padding: 6px 9px;
  }
}

  /* lo que debes probar */
  .lo-que-debes-probar {
  padding: 30px 20px;
  background-color: #fafafa;
  border-radius: 10px;
  margin-top: 40px;
  width: auto;
  padding: 50px 100px 50px 100px; 
}
.lo-que-debes-probar h2 {
  font-size: 44px;
  margin-bottom: 10px;
  color: #222;
}
.lo-que-debes-probar p {
  color: #555;
  margin-bottom: 25px;
  font-size: 2rem;
}
.galeria-platos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  
}
.plato {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  /* transition: transform 0.2s ease, box-shadow 0.2s ease;  padding: 50px 50px 0px 50px; */
}
.plato:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.plato img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.plato h3 {
  font-size: 18px;
  margin: 10px 15px 5px;
}
.plato p {
  font-size: 14px;
  color: #666;
  margin: 0 15px 15px;
}
/* ===Lo que debes probar Responsive Design === */

/* Pantallas medianas (Tablets) */
@media (max-width: 1024px) {
  .lo-que-debes-probar {
    padding: 40px 60px;
  }

  .lo-que-debes-probar h2 {
    font-size: 36px;
  }

  .lo-que-debes-probar p {
    font-size: 1.6rem;
  }

  .plato h3 {
    font-size: 17px;
  }

  .plato p {
    font-size: 13px;
  }

  .plato img {
    height: 130px;
  }
}

/* Móviles grandes y pequeños */
@media (max-width: 768px) {
  .lo-que-debes-probar {
    padding: 30px 30px;
    text-align: center;
  }

  .lo-que-debes-probar h2 {
    font-size: 30px;
  }

  .lo-que-debes-probar p {
    font-size: 1.4rem;
  }

  .plato h3 {
    font-size: 16px;
  }

  .plato p {
    font-size: 13px;
  }

  .plato img {
    height: 120px;
  }
}

/* Móviles muy pequeños (menos de 480px) */
@media (max-width: 480px) {
  .lo-que-debes-probar {
    padding: 20px;
  }

  .lo-que-debes-probar h2 {
    font-size: 26px;
  }

  .lo-que-debes-probar p {
    font-size: 1.2rem;
  }

  .plato h3 {
    font-size: 15px;
  }

  .plato p {
    font-size: 12px;
  }

  .plato img {
    height: 110px;
  }
}
/* fin lo que debes probar */

/*carusel destinos destacados*/
  /* Caja de título y descripción      */
.destinos-header {
  /* max-width: 1000px; */
  margin: auto;
  /* padding-bottom: 50px; */
  /* text-align: center; */
  margin-top: 40px;
  width: 100%;
  height: 40vh;
  background-color: white;
  
  padding: 0px 100px 0px 100px; 
}
.destinos-header h2 {
  font-size:44px; /* 4.2rem*/
  color: black;/*333*/
  margin-bottom: 10px;
}
.destinos-header p {
  font-size: 2rem;
  color:#555;
  line-height: 1.6;
  max-width: 100%;
  margin: auto;
}
    .carousel-container {
      position: relative;
      max-width: 1500px;
      margin: auto;
      overflow: hidden;
      margin-top:10px;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.4s ease;
    }

    .card {
      min-width: 250px;
      max-width: 250px;
      background: white;
      border-radius: 15px;
      margin: 0 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      text-align: center;
      flex-shrink: 0;  border: none !important;
      
    }

    .card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .card h3 {
      padding: 15px;
      font-size: 1.1rem;
      color: #333;
    }

    .carousel-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }

    .carousel-buttons button {
      padding: 20px ;
      background-color:0;
      color: black;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: bold;
      width: 20px;
      height: 20px;
      cursor: pointer;
      transition: background 0.3s ease;
        display:  flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-buttons button:hover {
        background-color:cornflowerblue ; /*274ecf */
        color: white;
    }

    @media (max-width: 600px) {
      .card {
        min-width: 200px;
        max-width: 200px;
      }
      
    }
/* ===== Responsive Design para carrusel de destinos ===== */

/* Tablets y pantallas medianas (≤1024px) */
@media (max-width: 1024px) {
  .destinos-header {
    padding: 0 60px;
    height: auto;
    text-align: center;
  }

  .destinos-header h2 {
    font-size: 36px;
  }

  .destinos-header p {
    font-size: 1.6rem;
  }

  .card {
    min-width: 220px;
    max-width: 220px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card img {
    height: 150px;
  }
}

/* Móviles grandes (≤768px) */
@media (max-width: 768px) {
  .destinos-header {
    padding: 0 30px;
    height: auto;
    text-align: center;
  }

  .destinos-header h2 {
    font-size: 30px;
  }

  .destinos-header p {
    font-size: 1.4rem;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .card {
    min-width: 200px;
    max-width: 200px;
    margin: 0 8px;
  }

  .card img {
    height: 140px;
  }

  .carousel-buttons {
    margin-top: 15px;
  }

  .carousel-buttons button {
    width: 40px;
    height: 40px;
  }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
  .destinos-header {
    padding: 40px 40px;
  }

  .destinos-header h2 {
    font-size: 26px;
  }

  .destinos-header p {
    font-size: 1.2rem;
  }

  .card {
    min-width: 180px;
    max-width: 180px;
    margin: 0 6px;
  }

  .card img {
    height: 130px;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .carousel-buttons button {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/*FOOTER*/

footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: #83b4ff;
    margin-bottom: 15px;
    font-size: 18px;


}

.footer-column p,
.footer-column li,
.footer-column a,
.footer-bottom {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column {
    img {
        width: 50%;
        height: 50%;
    }
}

.footer-column a:hover {
    color: #ffd700;
}

.language-select {
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
}

@media (max-width: 600px) {
    .footer-column {
        text-align: center;
    }
}
/*RESPONSIVE*/



@media screen and (max-width: 740px) {
    header {

        .logo {
            display: flex;
            height: 100%;
            align-items: center;
            margin-left: 20px;
            gap: 10px;

            .logo_text {
                h5 {
                    color: #002f75;
                    font-family: fantasy;
                    font-size: 13px;
                }
            }
        }


        transition: all 0.5s;

        .hidenMenu.mostrar {
            display: block;
        }

        .nav {
            position: relative;
            align-self: flex-start;
            top: 12.5px;

            .nav_navegar {
                display: none;
            }

            .vehiculo {
                display: none;
            }

            .burgerButton {
                display: block;
                cursor: pointer;
            }
        }
    }

    header.openMenu {
        height: 250px;
        background-color: rgba(255, 255, 255, 0.662);
        transition: all 1s;
        .logo {
            display: block;
        }

        .list {
            div {
                h5 {
                    color: #002f75;
                    font-family: fantasy;
                    font-size: 13px;
                }

                a {
                    text-decoration: none;
                    color: #002f75;
                    font-size: 13px;
                }
            }
        }

    }

    body {
        .slider {

            .formDIreccion {
                width: 90%;
                height: 300px;

                form {
                    width: 95%;
                    display: flex;
                    flex-direction: column;
                    gap: 5px;

                    .sugerencias {
                        width: 95%;
                    }

                    .btn_submit {
                        button {
                            width: 100%;
                            height: 40px;
                            border-radius: 5px;
                            font-weight: bold;
                            transition: 0.5;
                        }
                    }
                }
            }
        }

        main {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;

            .info {
                display: flex;
                flex-direction: column;
                gap: 15px;
                height: 100%;
                width: 90%;

                .tab {
                    width: 100%;
                    height: 100%;
                    border: solid grey 1.5px;
                    border-top: none;
                    border-left: none;
                    border-right: none;
                    display: flex;
                    align-items: center;
                    flex-direction: column;

                    h5 {
                        color: rgb(0, 0, 0);

                        i {
                            color: rgb(255, 43, 43);
                        }
                    }

                    p {
                        small {
                            font-size: 11px;
                            color: grey;
                        }
                    }
                }
            }

            .personal {
                padding: 10px;

                .cart {
                    display: block;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    gap: 30px;

                    .img {
                        width: 100%;
                        height: 300px;
                    }

                    .text {
                        width: 100%;
                        height: 70%;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        h4 {
                            display: none;
                        }
                    }
                }


            }

            .sobreNosotros {
                width: 90%;
                height: 700px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                border-radius: 20px;

                .img {
                    width: 100%;
                    height: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;

                    img {
                        width: 130px;
                        height: 75%;
                        border-radius: 20px;
                        background-color: white;
                        transition: 1s;
                    }

                    img:hover {
                        background-color: rgb(100, 149, 237, 0.50);
                        transition: 1s;
                        border-radius: 20px;
                        filter: hue-rotate(10deg);
                    }
                }

                .text {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;
                    gap: 10px;

                    h1 {
                        color: cadetblue;
                        font-size: 20px;
                        font-weight: bold;
                    }

                    p {
                        color: grey;
                        font-size: 12px;
                        text-align: center;
                        width: 80%;

                        small {
                            font-size: 11px;
                            color: grey;
                        }
                    }

                }
            }

            .rutasFrecuentes {
                width: 100%;
                height: 400px;
                display: flex;
                gap: 10px;
                justify-content: center;
                flex-direction: column;

                .rutas {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    height: 100%;

                    .ruta {
                        width: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        .direcciones {
                            width: 100%;
                        }
                    }

                    .ruta:hover {
                        width: 100%;
                        height: 100px;
                        background-color: cadetblue;

                        .direcciones {
                            div {
                                h5 {
                                    color: white;
                                }
                            }
                        }
                    }
                }
            }

            .rutasPopulares {
                width: 100%;
                height: 1500px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;

                .carts {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;
                    background-color: white;
                    gap: 100px;

                    .cart {
                        width: 100%;
                        height: 100%;
                    }
                }
            }

            .smsSeguridad {
                width: 100%;
                height: 500px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;

                .sms {
                    width: 100%;
                    height: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;
                    text-align: center;
                    gap: 15px;

                    h1 {
                        color: cadetblue;
                        font-size: 20px;
                        font-weight: bold;
                    }
                }

                .img_sms {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;

                    .img {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        flex-direction: column;
                        gap: 40px;
                        transition: 5s;

                        h5 {
                            font: 1em sans-serif;
                            color: aliceblue;
                        }
                    }
                }
            }

        }

    }

}

@media screen and (max-width: 500px) {
    header {
        .logo {
            margin-left: 10px;
        }
    }

    body {
        .slider {
            .formDIreccion {
                width: 95%;
            }
        }

        main {
            .personal {
                height: 700px;
            }
        }
    }
}

@media screen and (max-width: 400px) {
    header {
        .logo {
            margin-left: 5px;
        }
    }

    body {
        .slider {
            .formDIreccion {
                width: 98%;
            }
        }

        main {
            .personal {
                height: 400px;

                .cart {
                    display: block;

                    .img {
                        width: 100%;
                        height: 50%;
                    }

                    .text {
                        width: 100%;
                        height: 40%;
                    }
                }
            }
        }
    }
}