
#shop {
    
}

#shop [class*="block-grid-"] {
    display: flex;
    flex-wrap: wrap;
}

#shop [class*="block-grid-"] li {
    display: flex;
}

#shop .btn {
    border-radius:0;
}

#shop-checkout-content .btn:hover {
    color: #FFF !important;
}

#shop-checkout-content .btn.btn-return:hover {
    color: #000 !important;
}

#shop .btn.btn-enable {
    display: block;
    border-color: #666 !important;
    color: #FFF !important;
    background: #666 !important;
    cursor: not-allowed;
}

#shop .table + p,
#shop .table-responsive + p {
    margin-top:15px;
}

#shop #shop-menu {
    border-bottom:1px solid #efefef;
    margin-bottom:15px;
}

#shop #shop-content {
    
}

/* Products */

#shop .shop-product {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    overflow: auto;
}

#shop .shop-product .shop-product-image {
    margin-bottom:8px;
}

#shop .shop-product .shop-product-image a {
    display:block;
}

#shop .shop-product .shop-product-caption {
    padding: 0 20px;
    min-height:80px;
}

#shop .shop-product .shop-product-caption .shop-product-title {
    font-weight: bold;
}

#shop .shop-product .shop-product-caption .shop-product-title a {
    color: #23a1d1;
}

#shop .shop-product .shop-product-caption .shop-product-price {
    margin-top:15px;
    color: #444;
    font-size:16px;
}

#shop .shop-product .button-group {
    width: 100%;
    border-top: 1px solid #ddd;
    background-color: #eee;
    overflow: auto;
    padding:5px;
}

#shop .shop-product .button-group .btn {
    border-radius:0;
}

#shop .shop-product .button-group .btn.btn-add, #shop .shop-product .button-group .btn.btn-enable {
    width: calc(100% - 49px);
}

#shop .shop-product .button-group .btn.btn-see {
    width: 44px;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width:768px) {
    #shop .shop-product .shop-product-image {
        margin-bottom:15px;
    }
}

/* Product */
#shop-product h2 {
    text-align:left;
}

#shop-product #product-images {
    
}

#shop-product #product-images li.product-image {
    float:left;
    max-width:78px;
}

#shop-product #product-images li.product-image:first-child {
    float:none;
    margin-left:0;
    width:auto;
    max-width:100%;
}

#shop-product #product-images li.product-image + .product-image + .product-image {
    margin-left:15px;
}

#shop-product #product-images li.product-image > a {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.428571429;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

#shop-product #product-title {
    margin:20px 0 10px 0;
    font-size:33px;
    color:#444;
}

#shop-product p {
    color:#666;
    font-size:12px;line-height:1.3;
}

#shop-product .btn {
    border-radius:0;
}

#shop-product #product-price {
    font-size:27px;
    margin:20px 0 10px 0;
    font-weight:600;
}

/* Cart */
#shop #shop-cart .input-group input[type=number], #shop #shop-cart .input-group-btn .btn {
    height: 35px;
}

#shop #shop-cart .input-group-btn .btn {
    border:0;
}

@media (max-width: 767px) {
    #shop #shop-cart .input-group input[type=number] {
        padding: 0;
        width: 25px;
        text-align: center;
    }

    #shop #shop-cart #shop-cart-block-btn a {
        border: none;
        width: 100%;
    }
}

/* shop-checkout */
#shop-checkout .btn-payment {
    border: 2px solid #4cae4c !important;
    margin-bottom: 10px;
}

#shop-checkout .btn-payment:hover {
    color: #4cae4c !important;
}
