.products-container
{
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(12rem , 1fr));
    gap: 1rem;
}

.product
{
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.product-stock {
    background-color: var(--error-color);
    position: absolute;
    bottom: -7rem;
    padding: 1rem;
    font-size: .75rem;
    right: 2rem;
    left: 2rem;
    text-align: center;
    border-radius: 99999px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.product:hover .product-stock {
    bottom: 1rem;
    opacity: 1;
    visibility: visible;
}

.product img
{
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: .5rem;
    position: relative;
}

.product-price
{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: .25rem;
    font-weight: bold;
    margin-top: 1rem;
}



.product-title
{
    margin-top: .5rem;
}