*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    
}

body{
    background-color: white;
}


.contenedor{
    width: 100%;
    padding-bottom: 0%;
    float: left;
    background-color: white;
}




.titulo-principal{
        width: 100%;
        margin-top: 5%;
        margin-bottom: 5%;
        float: left;
        font-size: 5vw;
        text-align: center;
    }
    


.portada{
    width: 100%;
    margin-top: 0%;
    padding: 0;
    float: left;
}
    .portada img{
        width: 100%;
        float: left;
    }


.aviso{
    height: 200px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    font-size: 1.2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: beige;
    
}    
    .aviso a{
        margin-left: 0.25%;
        color: brown;
    }
.aviso_entregas{
    width: 100%;
    margin-top: 15%;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    float: left;
    background-color: #01447e;
    text-align: center;    
}

    .aviso_entregas p{
        width: 100%;
        float: left;
        color: white;
        text-transform: uppercase;
        font-size: 2.5vw;
    }



.catalogo{
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
    float: left;   
    background-color: white;
    border-radius: 5px;
}
    .catalogo h2{
        width: 90%;
        margin-top: 5%;
        margin-top: 2.5%;
        margin-left: 5%;
        float: left;
        font-size: 3.8vw;
    }

    .catalogo h2 a{
        margin: 0;
        font-size: 3.8vw;
        float: none;
        color: dodgerblue;
    }

    .catalogo section{
        width: 100%;
        float: left;

    }
        .catalogo a{
            width: 45%;
            margin: 2.5%;
            float: left;
            text-decoration: none;
            color:black;
        }
        .catalogo a img{
            width: 100%;
            float: left;
        }
        .catalogo a h3{
            height: 30px;
            width: 100%;
            float: left;
            font-family: sans-serif;
            font-size: 3vw;
            text-align: center;
            overflow: hidden;
        }

        .catalogo a h4{
            width: 100%;
            margin-top: 5%;
            float: left;
            font-family: sans-serif;
            font-size: 3vw;
            text-align: center;
        }

.categorias{
    width: 100%;
    padding-top: 5%;
    padding-bottom: 5%;
    float: left;
    background-color:#01447e;

}

    .categorias section{
        width: 100%;
        float: left;

    }

    .categorias h2{
        width: 100%;
        text-align: center;
        color: white;
    }

    .categorias a{
        width: 40%;
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        float: left;
    }
    .categorias figure{
        width: 100%;
        float: left;
        position: relative;

    }

    .categorias img{
        width: 100%;
        float: left;
        z-index: 0;
    }
    .categorias a figcaption span{
        width: 50%;
        margin-top: 10%;
        margin-left: 25%;
        padding-top: 5%;
        padding-bottom: 5%;
        float: left;
        color: white;
        font-size: 3vw;
        text-align: center;
        color: white;
        border: solid white 1px;
        border-radius: 15px;
    }
    .categorias a figure h3{
        color: black;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        font-size: 5vw;
        text-transform: uppercase;
    }
    .categorias a:hover span{
        text-decoration: underline;
    }


.producto{
    width: 90%;
    margin-left: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
    float: left;
    background-color: white;
    border-radius: 5px;
}

    .producto h1{
        width: 100%;
        margin-top: 5%;
        float: left;
    }
    .producto h2{
        width: 100%;
        margin-top: 5%;
        margin-bottom: 5%;
        float: left;
        font-weight: 500;
    }
    .producto section{
        width:90%;
        margin-left: 5%;
        float: left;
    }

    .producto .boton{
        width: 100%;
        margin-top: 5%;
        margin-bottom: 5%;
        padding-top: 5%;
        padding-bottom: 5%;
        float: left;
        text-align: center;
        color: white;

        border-radius: 5px;
        background-color: dodgerblue;
        font-size: 3.5vw;
        text-decoration: none;
        text-transform: uppercase;
    }
    .producto a img{
        width: 100%;
        float: left;
    }


    .producto p{
        width: 100%;
        float: left;
    }
.formulario{
    width: 90%;
    margin-top: 5%;
    margin-left: 5%;
    padding-top: 2.5%;
    padding-bottom: 10%;
    float: left;
    background-color: white;
    border-radius: 15px;
}

    .formulario form{
        width: 90%;
        margin-left: 5%;
        float: left;
    }
    .formulario input{
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        padding-top: 5%;
        padding-bottom: 5%;
        float: left;
        border-radius: 5px;
        border: 1px solid gray;
    }
    .formulario textarea{
        min-height: 100px;
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        float: left;
        border-radius: 5px;
    }

    .formulario button{
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        padding-top: 5%;
        padding-bottom: 5%;
        float: left;
    }

.whatsapp{
    width: 90%;
    margin-top: 5%;
    margin-left: 5%;
    float: left;
    background-color: white;
    border-radius: 10px;
}

    .whatsapp h2{
        width: 100%;
        margin-top: 5%;
        float: left;
        text-align: center;
        font-size: 4.5vw;
    }

    .whatsapp a{
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        margin-bottom: 5%;
        padding-top: 5%;
        padding-bottom: 5%;
        float: left;
        color: white;
        text-align: center;
        text-decoration: none;
        background-color: green;
        border-radius: 10px;
    }
    .formulario a:hover{
        background-color: darkgreen;
    }

.direccion{
    width: 100%;
    margin-top: 0%;
    padding-top: 5%;
    padding-bottom: 5%;
    float: left;
    bottom: 0;
    background-color: black;
    color: white;

}
    .direccion p{
        width: 90%;
        margin-left: 5%;
        float: left;
        text-align: center;
        font-size: 3vw;
        color: darkgray;
        font-weight: 500;
    }

.redes-sociales{
    width: 90%;
    margin-top: 5%;
    margin-left: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
    float: left;
    background-color: white;
    border-radius: 5px;
}

    .redes-sociales h2{
        width: 90%;
        margin-left: 5%;
        float: left;
    }
    .redes-sociales section{
        width: 90%;
        margin-top: 2.5%;
        margin-left: 5%;
        float: left;
    }
    .redes-sociales a{
        width: 15%;
        margin-right: 5%;
        float: left;
    }
    .redes-sociales a img{
        width: 100%;
        float: left;
    }

    .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;
        user-select: none;
        -webkit-user-select: none;
      }
      
      /* 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);
      }
      
      /* 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;
      }


.personalizado{
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        padding-top:2.5%;
        padding-bottom: 15%;
        float: left;
        background-color: white;
        border-radius: 5px;
    }
        .personalizado h2{
            width:90%;
            margin-top: 5%;
            margin-left: 5%;
            float: left;
            text-align: center;
            font-size: 5vw;
        }
        .personalizado p{
            width: 90%;
            margin-top: 1.5%;
            margin-left: 5%;
            float: left;
            text-align: center;
            font-size: 4.5vw;
        }

        .personalizado a {
            width: 90%; /* Ajusta el ancho al contenido */
            margin-top: 5%;
            margin-left: 5%;
            padding-top: 2.5%;
            padding-bottom: 2.5%;
            display: inline-flex;
            align-items: center;
            background-color: green; /* Color de WhatsApp */
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-family: monospace;
    
          }
            .personalizado a:hover{
                background-color: darkgreen;        
            }
          
        .personalizado a img {
            width: 10%; /* Ajusta el tamaño del logo */
            margin-right: 0%;
            margin-left: 20%;
          }
          
          .personalizado a span {
            width: 50%; /* Ajusta el tamaño del texto */
            margin-left: 0%;
            float: left;
            text-align: center;
            font-weight: bold;
            font-size: 3.5vw;
          }
    


    
    .exito{
        width: 90%;
        margin-top: 5%;
        margin-left: 5%;
        padding-top: 1.5%;
        padding-bottom: 4.5%;
        float: left;
        background-color: white;
        border-radius: 5px;
    
    
    }
        .exito h1{
            width: 90%;
            margin-top: 5%;
            margin-left: 5%;
            float: left;
            font-size: 4.5vw;
            text-align: center;
        }
    
        .exito img{
            width: 20%;
            margin-top: 2.5%;
            margin-bottom: 2.5%;
            margin-left: 40%;
        }
    
        .exito p{
            width: 90%;
            margin-top: 1.5%;
            margin-bottom: 1.5%;
            margin-left: 5%;
            float: left;
            text-align: center;
            font-size: 3.5vw;
        }
        .exito a{
            width: 50%;
            margin-top: 2.5%;
            margin-left: 25%;
            padding-top: 3.5%;
            padding-bottom: 3.5%;
            float: left;
            background-color: dodgerblue;
            text-align: center;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 3.5vw;
        }
    
        .exito form{
            width: 90%;
            margin-left: 5%;
            float: left;
        }
    
        .exito form input{
            height: 40px;
            width: 90%;
            margin-top: 5%;
            margin-left: 5%;
            padding-left: 5%;
            float: left;
            border-radius: 5px;
            border: 1px solid gray;
        }
        .exito form textarea{
            min-height: 100px;
            width: 90%;
            margin-top: 1.5%;
            margin-left: 5%;
            padding-top: 1.5%;
            padding-left: 5%;
            float: left;
            border-radius: 5px;
            border: 1px solid gray;
            resize: none;
        }
        .exito button{
            width: 60%;
            margin-top: 5%;
            margin-bottom: 5%;
            margin-left: 20%;
            padding-top: 5%;
            padding-bottom: 5%;
            float: left;
            border-radius: 5px;
            border: none;
            background-color: dodgerblue;
            color: white;
        }

        .breadcrumb {
            width: 90%;
            margin-top: 20%;
            margin-bottom: 5%;
            margin-left: 5%;
            float: left;
            list-style: none;
            background-color: white;
            border-radius: 5px;
          }
          
            /* Display list items side by side */
            .breadcrumb li {

                margin-left: 2.5%;
                padding-top: 1.5%;
                padding-bottom: 1.5%;
                float: left;
                display: inline;
                font-size: 12px;
            }
            
            /* Add a slash symbol (/) before/behind each list item */
            .breadcrumb li+li:before {
                padding: 4px;
                color: black;
                content: "/";
            }
            
            /* Add a color to all links inside the list */
            .breadcrumb li a {
                color: #0275d8;
                text-decoration: none;
            }
            
            /* Add a color on mouse-over */
            .breadcrumb li a:hover {
                color: #01447e;
                text-decoration: underline;
            }

.articulo{
    width: 90%;
    margin-left: 5%;
    float: left;
    background-color: white;
    border-radius: 10px;
}

    .articulo p{
        width: 90%;
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        float: left;
    }


.preguntas{
    width: 90%;
    margin-top: 5%;
    margin-bottom: 5%;
    margin-left: 5%;
    float: left;
    background-color: white;
    border-radius: 10px;
            
    }
            
    .preguntas h2{
        width: 70%;
        margin-top: 2.5%;
        margin-bottom: 2.5%;
        margin-left: 15%;
        float: left;
        text-align: center;
        font-size: 5vw;
        }
            
    .preguntas details{
        width: 100%;
        float: left;
        }
    .preguntas summary{
        float: left;
        padding: 2.5%;
        }

    .preguntas p{
        width: 90%;
        margin-left: 5%;
        margin-bottom: 2.5%;
        float: left;
        }

.logo{
    width: 0%;
    margin: 0%;
    float: left;
    visibility: collapse;
}

    .logo img{
        width: 0%;
        margin: 0;
        float: left;
        visibility: collapse;
    }

    .nav-web{
        height: 0px;
        width: 0%;
        margin-top: 0;
        padding: 0%;
        visibility: collapse;
        float: none;
    
    }
    
        .nav-web a{
            width: 0%;
            margin-top: 0;
            padding: 0;
            visibility: collapse;
            font-size: 0;
            float: none;
    
            
        }
    

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
          
          .sidenav a {
            padding: 8px 8px 8px 32px;
            text-decoration: none;
            font-size: 25px;
            color: #818181;
            display: block;
            transition: 0.3s;
          }
          
          .sidenav a:hover {
            color: #f1f1f1;
          }
          
          .sidenav .closebtn {
            position: absolute;
            top: 0;
            right: 25px;
            font-size: 36px;
            margin-left: 50px;
          }
          
          #main {
            transition: margin-left .5s;
          }
.boton-nav{
    width: 100%;
    background-color: white;
    position: fixed;
    z-index: 999;
    font-size:30px;
    cursor:pointer;

}
    .boton-nav span{
        width: 10%;
        padding: 2.5%;
        float: left;
        text-align: center;

    }
    .boton-nav img{
        width: 10%;
        margin-top: 2.5%;
        margin-right: 2.5%;
        float: right;
    }

.paginacion {
        width: 90%;
        margin-left: 5%;
        margin-bottom: 5%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
.paginacion a {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
}
    
    .paginacion a:hover {
        color: black;
        background-color: #f0f0f0;
    }
    .paginacion .activo{
        color: white;
        background-color: dodgerblue;
    }        


    /* Estilos para el contenedor de la búsqueda (móvil primero) */
.search-container {
    display: flex;
    flex-direction: column; /* Apilado por defecto en móvil */
    gap: 10px; /* Espacio entre input y botón */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 90%; /* Ancho máximo en móvil */
    margin: 0 auto 20px auto; /* Centrar y margen inferior */
    position: relative;
    z-index: 2;
}

#searchInput {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

#searchInput:focus {
    border-color: #007bff;
}

#searchButton {
    width: 100%;
    padding: 12px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchButton:hover {
    background-color: #0056b3;
}

.search-results-area {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0; /* Cambiado a 0, el padding se agregará solo cuando haya contenido */
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* --- ¡IMPORTANTE! Ocultar por defecto --- */
    display: none; /* Asegura que no se vea el "rectángulo blanco" vacío */
    /* ------------------------------------- */
}

/* Estilo para los resultados cuando están visibles (controlado por JS) */
.search-results-area.active {
    display: block; /* O display: flex; si planeas usar flexbox dentro de searchResultsArea */
    padding: 15px; /* Restaura el padding solo cuando está activo */
}


.search-results-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-area li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.search-results-area li:last-child {
    border-bottom: none;
}

.search-results-area a {
    text-decoration: none;
    color: #007bff;
    font-size: 1rem;
    display: block;
}

.search-results-area a:hover {
    color: #0056b3;
    text-decoration: underline;
}