/* Resetting some default styles */

* {
    box-sizing: border-box;
}

body, ul, h2 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

nav {
    height: 90px;
    display: flex;
    padding: 26px;
    display: flex;
    align-items: center;
    flex-direction: row;
    background: #fcfcfc;
    border-bottom: 1px solid #dedede;
}

.nav_menu{
    color: #000000;
    margin-left: auto;
    cursor: pointer;
    display: none;

}

.nav_img{
    
    display:block;
    width: 30px;
    

}

.nav_close{
    display: var(--show, none);
}

.nav_items{
    list-style: none;
}

.nav_link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;

}

.nav_links{
    color: #002052;
    text-decoration: none;
    font-size: 1.1rem;

}

.nav_linksfooter{
    color: #fff;
}

.catalogo_logo{

    width: 200px;
    height: 120px;

}

.container {
    display: flex;
    overflow: scroll;
    height: calc(100dvh - 90px);
    

}


.sidebar {
    height: max-content;
    width: 250px;
    padding: 20px;
    background-color: #f4f4f4;
    
}

.sidebar h2 {
    max-width: 97px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    
}

.sidebar li {
    margin-bottom: 10px;
    
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    flex-grow: 1;
    background-color: #fff;
}

.product-card {
    display: flex;
    height: 410px;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #a8a8a8;
    background-color: #f9f9f9;
    justify-items: center;
    justify-content: center;
    align-items: center;

    

}

.cta{
    display: inline-block;
    background-color:#0088cf;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;

}

.checkbox{
    width: 20px;
    height: 20px;
}

.product-card img {
    justify-items: center;
    min-height: 218px;
    max-height: 218px;
    max-width: 218.10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    


}

.product-card .product-name {
    font-size: 2rem;
    margin: 10px 0;
    color: #002052;
    justify-items: center;

}

.product-card .product-price {
    color: #333;
    font-weight: bold;
}

.products-description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita a 3 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Añade los puntos suspensivos */
    line-height: 1.5; /* Ajusta el interlineado según necesites */
    max-height: 4.5em;
    font-size: 0.8em;
    color: #a8a8a8 !important;
}

.products-name {
    color: #002052 !important;
    font-size: 1.2em;
}

.footer{
    margin-top: 10%;
    background-color: #1D293f;
}

.footer_title{
    color: #fff;
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;

}

.footer_title, .footer_newsletter{
    color: #fff;

}

.footer_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.nav--footer{
    background-color: #1D293f;
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: flex;
} 

.nav_link--footer{
    display: flex;
    margin-top: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}


.footer_inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

/*.footer_input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius:  6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;

} */

.footer_submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #0088cf;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer_copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;

}

.footer_copyright{
    font-weight: 300;
    color: #fff;
}

.footer_icons{
    display: inline-flex;
    margin-bottom: 10px;

}

.footer_img{
    width: 30px;

}

.footer_paragraph{
    margin-top: 20px;
    margin-bottom: 20px;
    color: #fff;
}


.card-footer {
    width: 100%;
    display: flex;
    margin-top: 16px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.card-footer .card-primary-button,
.card-footer .card-secondary-button {
    height: 2em;
    margin: 0 3px;
    min-width: 80px;
    font-size: 0.8em;
    border-radius: 25px;
} 

.card-footer .card-primary-button {
    
    width: 50%;
    color: #ffffff;
    background: #5398c5;
}

.card-footer .card-secondary-button {
    
    background-color: #ffffff00;
    border: 1px solid #0088cf; 
    width: 50%;
    color: #0088cf;
}

.download{
    width: 24px;
    height: 24px;
    color: #0088cf;
    margin: 0%;
}



@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

@media (max-width: 450px){

    .nav_menu  {
        display: block;
        
    }

    .nav_link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav_link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;

    }

    .nav_close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .nav_links{
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
    
    }

    

}