/*BOX STYLING*/
.products-container{
    display: flex;
    flex-wrap: wrap;
}
.product-listing{
    width: calc(25vw - 25px - 20px);
    max-width: 305px;
    margin: 0 20px -10px 0;
}
.products-grid:not(.grid-3) .product-listing:nth-of-type(4n){
    margin-right: 0;
}

.product-listing .clickable-zone{
    display: flex;
    height: calc(100% - 34px);
}
.clickableproduct{
    border-radius: 16px;
    background-color: #ffffff;
    padding: 16px 20px 45px 20px;
    transition-duration: .3s;
    width: 100%;
}
.clickableproduct:hover{
    box-shadow: 0 5px 20px #cccccc;
}
.clickableproduct h6{
    color: #292626;
    text-decoration: underline rgba(0, 162, 151, 0);
    transition-duration: .3s;
}
.clickableproduct:hover h6{
    color: #00a297;
    transition-duration: .3s;
    text-decoration: underline rgba(0, 162, 151, 1);
}
.productimage{
    height: calc(15vw - 15px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px 16px 0 0;
    margin: 0 0 40px 0;
}
.productimage.bckg-1{
    height: calc(15vw + 1px);
    margin: -16px -20px 40px -20px;
    background-size: cover;
}
/*BUTTON STYLING*/
.btn-download{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -40px 20px 50px 20px;
}
.btn-download:hover{
    text-decoration: none;
}
.btn-download span{
    text-transform: uppercase;
    color: #6F6D6D;
    font-size: 12px;
    margin: auto 0 auto 15px;
    transition-duration: .3s;
}
.btn-download:hover span{
    color: #00A297;
}
.btn-download path{
    fill: #6F6D6D;
    transition-duration: .3s;
}
.btn-download:hover path{
    fill: #00A297;
}

/*carrousel*/
.carrousel{
    display: inline-flex;
    flex-wrap: nowrap;
    transition-duration: .5s;
    margin-left: 0;
}
.carrousel.moving{
    transition-duration: 0s;
}
.carrousel .product-listing{
    margin: 0 20px 0 0;
}
.carrousel-buttons{
    display: flex;
    justify-content: flex-end;
}
.carrousel-buttons .button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #292626;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    border: none;
    cursor: pointer;
}
.carrousel-buttons .button-left{
    padding-right: 9px;
}
.carrousel-buttons .button-right{
    padding-left: 9px;
    margin-left: 15px;
}
.carrousel-buttons .inactive{
    background-color: #C9C9C9;
    cursor: default;
}
.products-under{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}
.products-under .page-counter{
    color: #575656;
    font-size: 16px;
}

/*3-wide listings*/
.grid-3 .product-listing{
    width: calc(33vw - 31px - 20px);
    max-width: 413px;
}
.products-grid.grid-3 .grid .product-listing:nth-of-type(3n){
    margin-right: 0;
}
/* 1 or 3 wide in responsive */
@media only screen and (max-width: 1200px) {
    .wrapper .products-grid .grid .product-listing,
    .wrapper .products-carrousel .carrousel .product-listing{
        width: calc(33.33vw - 16px - 13.33px);
        margin: 0 20px -10px 0;
    }
    .product-listing .productimage{
        height: calc(25vw + 10px);
    }
    .wrapper .products-grid .product-listing:nth-of-type(3n){
        margin-right: 0;
    }
    .product-images .products-container .image-listing{
        width: calc(50vw - 125px);
    }
    .product-images .product-image-thumbs .image-listing{
        width: calc(15vw - 51.7px);
        height: calc(15vw - 51.7px);
    }
}
@media only screen and (max-width: 600px) {
    .wrapper .products-grid .grid .product-listing,
    .wrapper .products-carrousel .carrousel .product-listing{
        width: calc(100vw - 48px);
        max-width: 100vw;
    }
    .product-listing .productimage{
        height: calc(50vw + 10px);
    }
    .product-images .products-container .image-listing{
        width: calc(100vw - 125px);
        height: calc(50vw - 40px);
    }
    .product-images .product-image-thumbs .image-listing{
        width: calc(29vw - 51.7px);
        height: calc(29vw - 51.7px);
    }
}