.gallery-btns {
    margin: auto;
    background: rgb(130, 60, 242);
    background: radial-gradient(circle, rgba(130, 60, 242, 1) 0%, rgba(87, 19, 196, 1) 100%);
    border-radius: 50px;
    padding: 10px 30px;
    display: inline-block;
    width: auto;
    margin-top: 20px;
    text-align: center;
}

.filter-button {
    font-size: 16px;
    border: none;
    color: white;
    outline: none;
    text-align: center;
    background-color: transparent;
    font-family: IRANSans;
    margin: 0 10px;
    transition: all .25s ease-in-out;

}

.filter-button:hover {
    color: #d8c40d;

}

.filter-button.active {
    color: #d8c40d;
}

.gallery-box {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    grid-gap: 20px;
    margin-top: 20px;
}

.img-responsive {
    width: 100%;
    object-fit: scale-down;
    background-color: #823CF2;
}

.gallery_product {
    width: calc((100% - 60px)/4);
    position: relative;
    overflow: hidden;

}

@media (max-width: 680px) {
    .gallery_product {
        width: 100% !important;

    }
}

@media (max-width: 990px) {
    .gallery-box {
        justify-content: center;
    }

    .gallery_product {
        width: calc((100% - 60px)/2);

    }
}

.gallery_product:hover>div {
    top: 0;
}

.gallery_product>div {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: -100%;
    right: 0;
    transition: all .25s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery_product>div>button {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background-color: white;
    border: none;
    outline: none;
    transition: all .25s ease-in-out;

}

.gallery_product>div>span {
    color: white;
    margin-top: 10px;
}

.gallery_product>div>button:hover {
    border: 1px solid #823CF2;
    box-shadow: 0px 0px 10px 0px #823CF2;
    -webkit-box-shadow: 0px 0px 10px 0px #823CF2;
    -moz-box-shadow: 0px 0px 10px 0px #823CF2;

}

.gallery_product>div>button>img {
    width: 30px;

}

.pop-gl {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 1001;
    flex-direction: column;
    padding: 40px 0;
}

.pop-gl>img {
    object-fit: scale-down;
    max-width: 100%;
}

.pop-gl>span {
    color: white;
}

.pop-gl.show {
    display: flex;
}

.pop-gl>button {
    outline: none;
    border: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    position: absolute;
    top: 50%;
}

#gl-prev {
    left: 10px;
}

#gl-next {
    right: 10px;
}

#gl-close {
    left: 10px;
    top: 20px;
    transform: rotate(45deg);
    background-color: white;
    border: 1px solid #823CF2;
    box-shadow: 0px 0px 10px 0px #823CF2;
    -webkit-box-shadow: 0px 0px 10px 0px #823CF2;
    -moz-box-shadow: 0px 0px 10px 0px #823CF2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gl-close:hover {
    background-color: rgba(255, 255, 255, .8);
}

#gl-close>img {
    width: 16px;
    transform: rotate(-45deg);
}