
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
    font-family: 'Montserrat', sans-serif;
}


.product-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
}


.product-card {
    color: #000;
    margin: 0.5rem;
    margin-bottom: 3rem ;
    width: 1fr;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.product-card:hover{
    text-decoration: none;
    color: #545454;
}



.card-img-home{
   
    width: 100%;
    height: 100%;

    object-fit: cover; /* Hace que la imagen cubra el contenedor sin distorsionar */
    display: block;
}



.img-card-container{
    width: 100%;
    aspect-ratio: 1/1;
}
    





.product-details {
    flex: 1;
    order: 2;
}

.product-title {
    font-weight: bold;
    font-size: 14px;
    color: #757575;
    margin-bottom: 0.4rem;
    margin-top: 0.4rem;
}


.product-fecha{
    font-weight: 400;
    font-size: 14px;
    color: #757575;
}

.product-location{
    font-size: 14px;
    color: #757575;
    display: flex;
    justify-content: flex-start;
    align-items: center;
   
    width: fit-content;
    border-radius: 3px;
    font-weight: 500;

}

.product-location svg{
    fill: #757575;
}

.product-price {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
    font-size: 21px;
    line-height: 21px;
    /* font-weight: 500; */
    margin-bottom: 0px;
    color: #545454;
}

.product-description {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-details p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.productcatalog-home{

    padding: 20px;
}


@media (max-width: 1023px) {
    .product-grid {

        grid-template-columns: 1fr 1fr;

    }
}


@media (max-width: 500px) {
    .product-grid {

        grid-template-columns: 1fr;

    }
}





.products-color-style{
    border-radius: 5px;
    margin-top: 2rem;
    padding-top: 1rem;
    background-color: #ffffff;
}