/* Estilos generales */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0px;
    padding: 0px;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #007bff;
    font-weight: normal;
}

a:hover {
    color: #0056b3;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    color: #333333;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Header */
.header-main {
    background-color: white;
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-main .logo img {
    height: 50px;
}

.header-main nav {
    margin-left: auto;
}

.header-main nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: none; /* Menú oculto por defecto */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: white;
    padding: 10px;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-main nav ul.active {
    display: flex; /* Mostrar menú cuando está activo */
}

.header-main nav ul li {
    text-align: right;
}

.header-main nav ul li a {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
}

.header-main nav ul li a:hover {
    color: #E89A00;
}

/* Menú hamburguesa */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #E89A00;
    margin: 4px 0px;
    transition: 0.4s;
}

/* Contenedor para el logo y el menú */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0px 20px;
    max-width:100%!important;
}

/* Imagen debajo del header */
.header-image {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Título debajo de la imagen */
.main-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 20px;
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Subtítulo */
.sub-title {
    font-size: 24px;
    font-weight: bold;
    color: #E89A00;
    text-align: left;
    margin: 32px 20px 15px 20px;
}

/* Descripción del producto */
main {
    padding: 0px 20px;
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Formulario de contacto */
.form-container {
    padding: 32px 40px;
    padding-left: 2% !important;
    padding-right: 2% !important;
}

/* Preguntas frecuentes */
.faq-section {
    padding: 0px 20px;
}

.faq-section h3 {
    color: #E89A00;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

.faq-answer {
    margin-bottom: 16px;
}

/* Titulo Buscador */
.search-title {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin: 0px 20px 15px 0px;
}

/* Buscador */
.search-section {
    padding: 32px;
    background-color: #000000;
}

/* Imagen sobre footer */
.footer-image {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.footer-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background-color: #000000;
    padding: 20px 0px;
    width: 100%;
}

footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espacio entre los elementos */
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
}

footer p, footer a {
    margin: 0px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: #E89A00!important; /* Naranja de hover */
}

/* Estilos para móviles */
@media (max-width: 768px) {
    footer div {
        flex-direction: column; /* Apila los elementos verticalmente en móviles */
        text-align: center;
        gap: 10px;
    }
}

/* Título Buscador */
.search-title {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin: 0px 32px 15px 0px;
    color: #ffffff !important;
}

/* Buscador */
.search-section {
    padding: 32px;
    background-color: #f3f3f3 !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
}

/* Estilos para cajas de input y combo-box */
.custom-input, .custom-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
}

.custom-input:focus, .custom-select:focus {
    border-color: #fac11c;
    outline: none;
    box-shadow: 0 0 5px rgba(250, 193, 28, 0.5);
}

.custom-select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* Estilos para el botón "Cargar más" */
.load-more {
    background-color: #007bff!important;
    color: #ffffff!important;
    text-transform: uppercase;
    max-width: 200px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-weight: bolder!important;
    margin-top: 20px;
    margin-left: 0px; /* Alinear a la izquierda */
    display: none; /* Ocultar por defecto */
}

.load-more:hover {
    background-color: #0056b3;
    font-weight: bolder!important;
    
}

/* Estilos para el combo-box y la caja de input en desktop y mobile */
.custom-search-section {
    padding: 0px 10%;
}

.search-title-catalogo h2 {
    color: #007bff!important; /* Color del título "Catálogo de Productos" */
    font-weight: bolder!important;
}

.custom-search-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bolder;
    border-radius: 0px !important;
}

@media (max-width: 768px) {
    .custom-search-section {
        padding: 0px 10px;
    }

    .custom-select, .custom-input {
        width: 100%;
        margin-bottom: 20px;
        border-radius: 0px !important;
    }
}

@media (min-width: 769px) {
    .custom-select, .custom-input {
        display: inline-block;
        width: calc(50% - 10px);
        margin-right: 20px;
    }

    .custom-select:last-child, .custom-input:last-child {
        margin-right: 0px;
    }
}

/* Estilos para los títulos de los resultados y los márgenes entre marcas */
.marca-title {
    font-size: 24px;
    font-weight: bolder!important;
    color: #007bff!important; /* Color de los títulos de las marcas */
    margin-top: 32px;
}

.marca-title ~ div a {
    color: #007bff!important; /* Color de los enlaces de los resultados */
    text-decoration: none;
}

.marca-title ~ div a:hover {
    color: #0056b3!important; /* Color más oscuro al pasar el mouse */
}

/* Boton VER TODO */
.ver-todo {
    background-color: #007bff!important;
    color: #ffffff!important;
    text-transform: uppercase;
    max-width: 200px;
    padding: 6px 30px!important;
    border: none;
    cursor: pointer;
    font-weight: bolder!important;
    margin-top: 6px;
    margin-left: 0px; /* Alinear a la izquierda */
    }
    
.ver-todo:hover {
    background-color: #0056b3!important;
    color: #ffffff!important;
    text-transform: uppercase;
    max-width: 200px;
    padding: 6px 30px!important;
    border: none;
    cursor: pointer;
    font-weight: bolder!important;
    margin-top: 6px;
    margin-left: 0px; /* Alinear a la izquierda */
    }