.masonry img {
    width: 100%;
    padding: 10px 0;
}

.masonry-item {
    position: relative;
}

.order-quantity {
    position: absolute;
    bottom: 12px;
    height: 30px;
    left: 19%;
    width: 65%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}

.masonry {
    position: relative;
}

.order-sum {
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    padding: 4px 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background-color: rgba(0,0,0,0.7);
    z-index: 9;
}

.order-sum-maturanti {
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 75px;
    padding: 4px 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background-color: rgba(0,0,0,0.7);
    z-index: 9;
}

/********* LOADER **********/

.loader {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader > img {
    width: 30%;
}

.loader.hidden {
    animation: fadeOut 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (min-width: 576px) {
    .masonry {
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
    }

    .order-quantity {
        left: 14%;
        width: 72%;
    }

    .loader > img {
        width: 20%;
    }
}

@media (min-width: 768px) {
    .order-quantity {
        left: 20%;
        width: 55%;
    }

    .loader > img {
        width: 15%;
    }
}

@media (min-width: 992px) {
    .masonry {
        column-count: 3;
        -webkit-column-count: 3;
        -moz-column-count: 3;
    }

    .order-quantity {
        left: 14%;
        width: 72%;
    }

    .loader > img {
        width: 10%;
    }
}

@media (min-width: 1200px) {
    .order-quantity {
        left: 24%;
        width: 50%;
    }
}
