#popup-wrapper {
    background: #fff;
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    min-height: 100px;
    position: relative;
}
#popup-wrapper .popup-heading {
    text-align: left;
    background-color: #f2f6f9;
    color: #1c1c1c;
    font-size: 21px;
    border-bottom: 1px solid #dfe4eb;
    padding: 0 25px 0 25px;
    position: relative;
    min-height: 52px;
    line-height: 52px;
    overflow: hidden;
}
#popup-wrapper .mfp-close {
    text-indent: -9999px;
    width: 60px;
    height: 52px;
    background: #fff url(close.png) no-repeat;
    right: 0;
    top: 0;
    position: absolute;
    z-index: 2;
    cursor: pointer !important;
    outline: none;
    border: 0;
}
#popup-wrapper .mfp-close:hover {
    background-position: 0 -60px;
}
#popup-wrapper .popup-footer {
    padding: 17px 25px 17px 25px;
    border-top: 1px solid #dfe4eb;
    background-color: #f2f6f9;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}
#popup-wrapper .popup-footer button {
    height: 32px;
    line-height: 30px;
    color: #000;
    padding: 0 25px;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
    border: 1px solid #c5cdd8;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    background: #f2f6f9;
    border-radius: 2px;
    outline: none;
    text-align: center;
}
#popup-wrapper .popup-footer button:hover {
    box-shadow: 0 0px 1px rgba(0, 0, 0, .1);
}
#popup-wrapper .popup-footer a {
    float: right;
    border: 1px solid #f06b10;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #ff8001;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    height: 33px;
    line-height: 33px;
    padding: 0 30px;
    cursor: pointer;
    display: inline-block;
    border-radius: 2px;
    text-align: center;
}
#popup-wrapper .popup-footer a:hover {
    background: #ff9601;
}
#popup-wrapper .popup-center {
    background: #fff;
    padding: 10px 25px 0 25px;
}
#popup-wrapper .popup-center.empty-cart {
    padding: 25px;
}
.table-totals-cart {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    width: 100%;
    margin: 15px 0;
}
.table-totals-cart tr td:last-child {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    line-height: 34px;
    padding-left: 15px;
}
.table-products-cart {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    width: 100%;
}
.table-products-cart tr td {
    border-bottom: 1px dashed #dfe4eb;
    padding-top: 13px;
    padding-bottom: 13px;
    vertical-align: top;
}
.table-products-cart tr td.remove {
    vertical-align: top;
    min-width: 40px;
}
.table-products-cart tr td.remove button {
    width: 20px;
    height: 20px;
    background: url(remove.png) no-repeat;
    border: 0;
    box-shadow: 0;
    outline: none;
    margin-right: 10px;
}
.table-products-cart tr td.remove button:hover {
    background-position: 0 -20px;
}
.table-products-cart tr td.image {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    vertical-align: top;
}
.table-products-cart tr td.image img {
    border: 0;
    padding: 4px;
}
.table-products-cart tr td.name {
    padding-right: 20px;
    padding-left: 15px;
    width: 450px;
    font-size: 12px;
    color: #000;
}
.table-products-cart tr td.name a {
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    color: #487ebb;
    line-height: 1.4;
    font-size: 12px;
}
.table-products-cart tr td.qt {
    max-width: 130px;
    padding-top: 23px;
    min-width: 30px;
    text-align: center;
}
.table-products-cart tr td.totals {
    padding-top: 23px;
    padding-left: 20px;
    padding-right: 0;
    text-align: right;
    font-size: 12px;
    color: #000;
}
.table-products-cart .number {
    border: 1px solid #c5cdd8;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.table-products-cart .frame-change-count {
    width: 128px;
}
.table-products-cart .btn-plus button {
    width: 38px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    line-height: 5px;
    text-align: center;
}
.table-products-cart .btn-minus button {
    width: 38px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    text-align: center;
    line-height: 0;
}
.table-products-cart .btn-minus button span {
    width: 14px;
    height: 2px;
    background: #f2f6f9 url(plus-minus.png) no-repeat;
    background-position: -20px 0px;
    display: inline-block;
}
.table-products-cart .btn-plus button span {
    width: 14px;
    height: 14px;
    background: #f2f6f9 url(plus-minus.png) no-repeat;
    background-position: 0 0px;
    display: inline-block;
}
.table-products-cart .btn-plus {
    float: right;
}
.table-products-cart .btn-minus {
    float: left;
}
.table-products-cart input.plus-minus {
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid #c5cdd8;
    border-right: 1px solid #c5cdd8;
    background: #fff;
    width: 52px;
    height: 40px;
    position: absolute;
    left: 38px;
    top: 0;
    outline: none;
    font-size: 18px;
    text-align: center;
}
.masked {
    position: absolute;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background: #eee;
    opacity: 0.4;
    left: 0;
    top: 0;
}
.masked_loading {
    background: url(ring-alt.svg) no-repeat center center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10001;
    top: 0;
    left: 0;
}
.mobile-products-cart {
    display: none;
    position: relative;
}
.mobile-products-cart > div {
    width: 100%;
    position: relative;
    text-align: center;
    border-bottom: 1px dashed #dfe4eb;
    padding-top: 13px;
    padding-bottom: 13px;
    display: inline-block;
}
.mobile-products-cart .remove button {
    width: 20px;
    height: 20px;
    background: url(remove.png) no-repeat;
    border: 0;
    box-shadow: 0;
    outline: none;
}
.mobile-products-cart .remove button:hover {
    background-position: 0 -20px;
}
.mobile-products-cart .image {
    height: 100px;
}
.mobile-products-cart .image img {
    border: 0;
    padding: 4px;
}
.mobile-products-cart .name {
    font-size: 12px;
    color: #000;
}
.mobile-products-cart .name a {
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    color: #487ebb;
    line-height: 1.4;
    font-size: 12px;
}
.mobile-products-cart .qt {
    padding-top: 10px;
    min-width: 30px;
    text-align: center;
}
.mobile-products-cart .totals {
    padding-top: 10px;
    font-size: 20px;
    color: #000;
}
.all-total {
    float:right;
}
.all-total .totals-left {
    min-width: 100px; 
    float:left; 
    text-align: right;
    line-height: 38px;
    font-size: 14px;
}
.all-total .totals-right {
    float:right; 
    margin-left: 10px; 
    text-align: right;
    color: #000;
    font-size: 16px;
    line-height: 36px;
    font-weight: bold;
}
.all-total .clear-total {
    clear: both;   
}  
.mobile-products-cart .number {
    border: 1px solid #c5cdd8;
    display: inline-block;
    position: relative;
}
.mobile-products-cart .frame-change-count {
    width: 128px;
}
.mobile-products-cart .btn-plus button {
    width: 38px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    line-height: 5px;
    text-align: center;
}
.mobile-products-cart .btn-minus button {
    width: 38px;
    height: 40px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    text-align: center;
    line-height: 0;
}
.mobile-products-cart .btn-minus button span {
    width: 14px;
    height: 2px;
    background: #f2f6f9 url(plus-minus.png) no-repeat;
    background-position: -20px 0px;
    display: inline-block;
}
.mobile-products-cart .btn-plus button span {
    width: 14px;
    height: 14px;
    background: #f2f6f9 url(plus-minus.png) no-repeat;
    background-position: 0 0px;
    display: inline-block;
}
.mobile-products-cart .btn-plus {
    float: right;
}
.mobile-products-cart .btn-minus {
    float: left;
}
  

.mobile-products-cart input.plus-minus {
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid #c5cdd8;
    border-right: 1px solid #c5cdd8;
    background: #fff;
    width: 52px;
    height: 40px;
    position: absolute;
    left: 38px;
    top: 0;
    outline: none;
    font-size: 18px;
    text-align: center;
}
@media (min-width: 320px) and (max-width: 532px) {
    #popup-wrapper .popup-heading {
        font-size: 14px;
    }
  
    #popup-wrapper .popup-footer button {
        width: 100%;
    }
    #popup-wrapper .popup-footer a {
        width: 100%;
        margin-top: 5px;
    }
    .mobile-products-cart {
        display: block;
    }
    .table-products-cart {
        display: none;
    }

}
@media (min-width: 533px) and (max-width: 603px) {
    .btn-minus button {
        width: 25px;
        height: 27px;
    }
    .btn-plus button {
        width: 25px;
        height: 27px;
    }
    .frame-change-count {
        width: 78px;
    }
    input.plus-minus {
        width: 28px;
        height: 27px;
        left: 25px;
    }
    .table-products-cart tr td.name {
        width: auto;
    }
}