.jsgrid {
    overflow-y: hidden !important;
}

.jsgrid .jsgrid-table {
    width: 100%;
}

.jsgrid .jsgrid-grid-body {
    overflow-y: hidden;
}

.quantity-input {
    width: 100%;
    display: inline-block;
    padding: 5px;
}

.jsgrid .jsgrid-cell {
    padding: 5px;
}

.jsgrid .add-to-cart-button {
    width: 80%;
    display: inline-block;
    font-size: 14px;
}

img.complete-gif,
.loading-gif {
    float: right;
    margin-top: 10px;
    z-index: 9;
    position: relative;
    width: 25px !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
    .jsgrid .add-to-cart-button {
        width: 75%;
        font-size: 12px;
        padding: 10px;
    }
}


@media only screen and (max-width: 638px) {
    .jsgrid .add-to-cart-button {
        width: 65%;
        font-size: 11px;
        padding: 4px;
    }
}
