#products {
    padding-top: 30px;
    background-image: url(../../images/illustrations/bg-products.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

#products article {
    max-width: 0;
    position: absolute;
    border-radius: 5px;
    background-color: #fff;
    z-index: 0;
    box-shadow: 0px 4px 30px -10px rgba(0, 0, 0, 0.25);
    margin: 0;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

#products article::before {
    content: "";
    position: absolute;
    bottom: -3%;
    left: -2.5%;
    width: 105%;
    height: 0;
    background: linear-gradient(180deg, rgba(196, 196, 196, 0) 0%, #004A84 100%);
    border-radius: 5px;
    z-index: -1;
    transition: all 1s ease;
}

#products article.show {
    max-width: 30%;
    width: 30%;
    position: relative;
    margin: 2rem 0 2rem 2rem;
    height: max-content;
    max-height: max-content;
    opacity: 1;
}

#products article.show::before {
    height: 70%;
}

#products article main {
    background-color: #fff;
    padding: 30px 15px;
    border-radius: 0px 0px 5px 5px;
}

#products article footer {
    padding: 15px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#products article footer a {
    height: 40px;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 15px;
    border-radius: 20px;
    color: #fff;
}

#products article header {
    position: relative;
    height: 300px;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#products article header img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

#products article footer h5 {
    line-height: 0;
    padding: 0;
    margin: 0;
}

#products article header small {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: var(--border-radius-default);
}

#products article strong {
    color: var(--color-primary);
}

#products .col-lg-12 {
    display: flex;
    flex-wrap: wrap;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

#load-more{
    display: block;
    margin: auto ;
    position: absolute;
    bottom: 0;
    transform: translate(50%, 0);
    right: 50%;
    order: 12;
}
.button-load-more-arrow{
    display: none
}
.spinner-grow{
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}
@media(max-width: 991px) {
    #products {
        background-image: none;
        padding-bottom: 0;
    }
    #products .col-lg-12 {
        flex-wrap: nowrap;
        overflow: auto;
        padding: 0;
        padding-bottom: 0;
    }
    #products article {
        min-width: 80%;
    }
    #products article footer {
        flex-direction: column;
        align-items: baseline;
        grid-gap: 1rem;
    }
    #products article footer a {
        width: 100%;
    }
    #products article header {
        height: 200px
    }
    #products article header img {
        height: 200px;
        width: 200px;
    }
    #products article main {
        padding: 15px;
    }
    #load-more{
        position: static;
        transform: translate(0, 0);
        margin: auto 25px;
    }
    .spinner-grow{
        margin-top: 5rem !important;
        margin-bottom: 5rem !important;
        margin-right: auto !important;
    }
    .button-load-more-text{
        display: none
    }
    .button-load-more-arrow{
        display: block
    }
}