@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,500&display=swap');
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "poppins";
    outline: none;
    border: none;
    color: var(--text-color);
}

:root {
    --bg-color: #fff;
    --text-color: #000;
    --main-color: #ffffff;
    --other-color: #ffc633;
    --sec-text-color: #616060;
    --h1-font: 6.6rem;
    --h2-font: 3.5rem;
    --p-font: 1.8rem;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

header {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem 10%;
    background: var(--bg-color);
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .1);
    z-index: 100;
}

header a {
    text-decoration: none;
}

.logo {
    font-size: 3.1rem;
    font-weight: 600;
    letter-spacing: .02rem;
}

.navbar a {
    display: inline-block;
    font-size: var(--p-font);
    margin-left: 1.8rem;
    background: transparent;
    font-weight: 500;
    border-bottom: 2px solid #fff;
    transition: .5s ease;
}

.navbar a:hover {
    color: var(--sec-text-color);
    border-bottom: 2px solid var(--text-color);
}

.activity {
    font-size: var(--p-font);
    display: flex;
    align-items: center;
}

.activity i {
    display: inline-block;
    margin: 0 1.5rem;
    cursor: pointer;
}

#menu {
    display: none;
}

section {
    padding: 10rem 9% 2rem;
}

.home {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background: url(homeimg.webp)no-repeat;
    background-color: var(--main-color);
    background-position: center;
    background-size: cover;
}

.text-content p {
    font-size: var(--p-font);
    color: var(--sec-text-color);
    letter-spacing: .2rem;
    text-transform: uppercase;
}

.text-content h1 {
    font-size: var(--h1-font);
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 0 #f0f0f0, -2px -2px 0 #f0f0f0;
}
.text-content h1 span {
    background: linear-gradient(90deg, #f0f0f0 40%, transparent 100%);
    padding: 5px 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}


.text-content .paragraph {
    font-size: 1.4rem;
    text-transform: none;
    font-weight: 400;
    margin: 2rem 0;
    letter-spacing: .02rem;
    line-height: 1.5;
    max-width: 65rem;
}

.btn {
    background: var(--text-color);
    color: #fff;
    padding: 1.4rem 4.2rem;
    border-radius: .5rem;
    font-size: var(--p-font);
    border: .2rem solid var(--text-color);
    letter-spacing: .1rem;
    cursor: pointer;
    font-weight: 500;
    transition: .5s ease;
}

.btn:hover{
    background: #f0f0f0;
    color: #000;
}

.brand {
    background: #000;
    padding: 2rem 9% 2rem;
}

.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand-content img {
    height: auto;
    width: 100%;
}

.title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 4rem;
}

.product {
    min-height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-sec {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.product-container img {
    padding: 2rem;
    height: 30rem;
    width: 100%;
    background: var(--main-color);
    border-radius: .5rem;
    cursor: pointer;
    object-fit: contain;
    cursor: pointer;
}

.prodcut-text h2 {
    font-size: 1.8rem;
    letter-spacing: .05rem;
}

.price-section {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    width: 100%;
}


.price-section span {
    font-weight: 500;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: .4s ease;
}

.price-section span:hover {
    border-bottom: 2px solid #000;
}

.price-section i {
    font-size: 2rem;
    margin-left: .5rem;
}

.viewBtn {
    margin-top: 5rem;
    border-radius: 10rem;
}

.viewBtn:hover{
    background: #fff;
}

.facility-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.facility-container {
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1rem rgba(32, 33, 36, .2);
    padding: 3rem 2rem 4rem;
    text-align: center;
    cursor: pointer;
    border-left: .3rem solid #000;
    transition: .5s ease;
    height: 25rem; /* Altura fija para todos los contenedores */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.facility-container:hover {
    scale: 1.03;
}

.facility-container img {
    max-width: 100%;
    max-height: 10rem; /* Ajusta la altura máxima de la imagen */
    object-fit: contain;
    margin-bottom: 1rem; /* Espacio entre la imagen y el texto */
}

.facility-container h2 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.facility-container p {
    font-size: 1.4rem;
    color: var(--sec-text-color);
    margin-top: auto; /* Mantener el texto hacia la parte inferior */
}

.footer {
    padding: 7rem 9% 2rem;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(1.8rem, auto));
}

.footer-box {
    display: flex;
    flex-direction: column;
}

.footer-box h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-media h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-box a {
    color: var(--sec-text-color);
    text-decoration: none;
    font-size: 1.4rem;
    margin-bottom: .8rem;
}

.social-media i {
    display: inline-flex;
    height: 4rem;
    width: 4rem;
    font-size: 1.8rem;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    border-radius: .5rem;
    border: .2rem solid #000;
    cursor: pointer;
    margin-right: 1rem;
    transition: .5s ease;
}

.social-media i:hover {
    color: #000;
    background: #fff;
}

@media(max-width:1400px) {
    


    .brand {
        padding: 2rem 9% 2rem;
    }

    .brand img {
        width: 100%;
        max-width: 100px;
        height: auto;
    }
}

@media(max-width:1000px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .product-sec {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:788px) {
    #menu {
        display: block;
    }
    .navbar{
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: 1px solid rgba(0,0,0,.1);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
        display: none;
    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        font-size: 2rem;
        margin: 3rem 0;
        display: block;
    }
    .product-sec{
        grid-template-columns: repeat(2,1fr);
    }
    .seller-row{
        grid-template-columns: repeat(2,1fr);
    }
    .footer{
        grid-template-columns: repeat(2,1fr);
    }
}
@media(max-width:450px){
    html{
        font-size: 50%;
    }
    .product-sec{
        grid-template-columns: repeat(1,1fr);
    }
    .seller-row{
        grid-template-columns: repeat(1,1fr);
    }
    .footer{
        grid-template-columns: repeat(1,1fr);
    }

}
.center-container {
    text-align: center;
    margin-top: 20px;
}

.center-container.btn {
    margin: 0 auto; 
}
.btn1 {
    background-color: #AB9453;
    color: white;
    border: 2px solid #AB9453;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.filter-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
    flex-wrap: wrap; /* Permite que los elementos se distribuyan en varias líneas si es necesario */
}




.filter-menu select,
.filter-menu input,
.filter-menu button {
    padding: 10px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    flex: 0 1 auto; /* Flex-grow: 1 (crece si hay espacio), flex-shrink: 1 (se reduce si es necesario), flex-basis: auto (tamaño base automático) */
}

.filter-menu input {
    flex: 0.5; /* Ocupa el espacio restante */
}


        .pagination {
            text-align: center;
            margin-top: 20px;
        }
        .pagination a {
            display: inline-block;
            padding: 8px 16px;
            margin: 0 4px;
            background: #f0f0f0;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
        }
        .pagination a.active {
            background: #333;
            color: #fff;
        }
        .pagination a:hover {
            background: #ddd;
        }
    .clear-search {
    cursor: pointer;
    margin-left: 10px;
    color: red;
    font-weight: bold;
    font-size: 1.2em;
}
#searchButton {
    padding: 10px 20px;
    font-size: 1.1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    margin-right: 10px;
}

#searchButton:hover {
    background-color: #ddd;
}

.notification {
    position: fixed;
    bottom: 20px; /* Cambia la notificación a la parte inferior */
    right: 20px;
    background-color: #4BB543;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 9999; /* Asegúrate de que tenga prioridad sobre otros elementos */
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px); /* Aparece desde abajo */
}

.notification.visible {
    opacity: 1;
    transform: translateY(0);
}

.notification.hidden {
    opacity: 0;
    transform: translateY(20px);
}
a {
    margin-right: 15px; /* Espacio entre los enlaces/botones */
    text-decoration: none; /* Elimina el subrayado del enlace */
}

a:last-child {
    margin-right: 0; 
}

.btn1:hover {
    background-color: white; /* Cambia a blanco al pasar el mouse */
    color: #AB9453; /* Texto dorado */
    border-color: #AB9453; /* Mantiene el borde dorado */
}

#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}
#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}

#product1 .pro:hover{
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des{
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des span {
    color: #606063;
    font-size: 12px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    
}

#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: #088178;
}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
@media (max-width: 768px) {
    #product1 .pro {
        width: 48%; /* Hacer que las tarjetas de producto ocupen casi la mitad de la pantalla */
        margin: 10px 1%; /* Agregar algo de margen entre las tarjetas */
    }
}
@media (max-width: 480px) {
    #product1 .pro {
        width: 100%; /* Ocupa todo el ancho en pantallas muy pequeñas */
        margin: 10px 0; /* Reducir el margen lateral */
    }
}
@media (max-width: 768px) {
    .btn1 {
        padding: 10px 15px;
        font-size: 16px;
    }
}
.modal {
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
        }
        .modal-content {
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .modal-content h2 {
            font-size: 24px;
            margin-bottom: 15px;
        }
        .modal-content p {
            font-size: 16px;
            margin-bottom: 20px;
        }
        .modal-content button {
            background-color: #AB9453;
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
        }
        .modal-content button:hover {
            background-color: #8c7a47;
        }
        .contact-info {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .contact-box {
            text-align: center;
            padding: 20px;
            width: 250px;
            margin: 10px;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }
        
        .contact-box i {
            font-size: 3em;
            color: #333;
            margin-bottom: 10px;
        }
        
        .contact-box h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
        }
        
        .contact-box p {
            font-size: 1.2em;
            color: #666;
        }
        .about-us {
            max-width: 800px;
            margin: auto;
            padding: 20px;
            margin-top: 80px; /* Añadir margen superior para evitar que el navbar tape el contenido */
            background-color: #fff; /* Fondo blanco para destacar el contenido */
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
            border-radius: 8px; /* Bordes redondeados */
        }
        
        .about-us .about-us-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .about-us .about-us-header img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
        }
        
        .about-us h1 {
            font-size: 2.5em;
            margin-bottom: 20px;
            text-align: center; /* Centrar título */
        }
        
        .about-us-content {
            text-align: left; /* Alinear contenido a la izquierda */
        }
        
        .about-us h2 {
            font-size: 2em;
            margin-top: 20px;
        }
        
        .about-us p, .about-us ul {
            font-size: 1.2em;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .about-us ul {
            padding-left: 20px;
        }
        
        .about-us ul li {
            margin-bottom: 10px;
        }
        @media (max-width: 600px) {
            .about-us {
                padding: 10px;
            }
        
            .about-us h1 {
                font-size: 2em;
            }
        
            .about-us h2 {
                font-size: 1.8em;
            }
        
            .about-us p, .about-us ul {
                font-size: 1.1em;
            }
        }
        .product-container {
            border: 2px solid transparent; /* Inicialmente sin borde visible */
            border-radius: 10px; /* Bordes redondeados */
            padding: 10px; /* Espaciado interno */
            box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); /* Sombra ligera inicial */
        }
        
        .product-container:hover {
            border: 2px solid #AB9453; /* Borde color dorado */
            border-radius: 15px; /* Redondeado más notorio */
            box-shadow: 0px 0px 10px rgba(171, 148, 83, 0.5); /* Aumenta la sombra con tono dorado */
            transform: scale(1.05); /* Efecto de leve agrandamiento */
        }