#popup-wrapper {
    background: #fff;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    min-height: 100px;
    position: relative;
}
#popup-wrapper .popup-heading {
    font-size: 16px;
    font-family: bender-bold;
    text-transform: uppercase;
    text-align: left;
    color: #1c1c1c;
    padding: 0 25px 0 25px;
    position: relative;
    min-height: 52px;
    line-height: 52px;
    overflow: hidden;
}
#popup-wrapper .mfp-close {
    background: url(/catalog/view/theme/default/image/close-popup.png) no-repeat;
    width: 27px;
    height: 27px;
    display: block;
    font-size: 0;
    position: absolute;
    top: 15px;
    right: 15px;
}
#popup-wrapper .mfp-close:hover {
    opacity: 0.8;
}
#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 {
    border: 2px solid #3297ca;
    font-family: ClearSans-Bold;
    font-size: 16px;
    text-transform: uppercase;
    height: 50px;
    line-height: 26px;
    color: #000;
    padding: 0 25px;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
    background: #FFFFFF;
    border-radius: 5px;
    outline: none;
    text-align: center;
}
#popup-wrapper .popup-footer button:hover {
    text-decoration: underline;
}
#popup-wrapper .popup-footer a {
    float: right;
    background-color: #ff5722;
    color: #fff;
    font-family: ClearSans-Bold;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    cursor: pointer;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
}
#popup-wrapper .popup-footer a:hover {
    background-color: #5ec2f4;
}
#popup-wrapper .popup-center {
    background: #fff;
    padding: 10px 10px 0 10px;
}
#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:last-child td {
	border-bottom: none;
}
.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: 80px;
    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: 350px;
    font-size: 12px;
    color: #000;
}
.table-products-cart tr td.name a {
	font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    line-height: 1.4;
    color: #000;
    font-family: ClearSans-Bold;
}
.table-products-cart tr td.name a:hover, .table-products-cart tr td.name a:active, .table-products-cart tr td.name a:focus {
    color: #fbb41b;
    text-decoration: none;
}
#popup-cart-inner .text-danger {color: red;font-family: 'ClearSans-bold';}
#popup-cart-inner .all-total {
	padding-right: 15px;
	margin: 10px 0 20px;
}
#popup-cart-inner .discount-text {
	float: left;
	padding-left: 15px;
    margin: 10px 0 20px;
    line-height: 28px;
    font-size: 16px;
font-family: bender-bold;
    max-width: calc(100% - 220px);
}
.table-products-cart tr td.qt {
    max-width: 130px;
    padding-top: 17px;
    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: 20px;
    color: #000;
    font-family: bender-bold;
    bottom: 0px;
    min-width: 120px;
}
.table-products-cart tr td.totals > .one {
	font-size: 14px;
    font-family: Bender-Italic;
}
.table-products-cart .number {
    border: 1px solid #c5cdd8;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.table-products-cart .frame-change-count {
    width: 100px;
}
.table-products-cart .btn-plus button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    line-height: 5px;
    text-align: center;
}
.table-products-cart .btn-minus button {
    width: 30px;
    height: 30px;
    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: 40px;
    height: 30px;
    position: absolute;
    left: 30px;
    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 {position: absolute;z-index:9;}
.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 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: #000;
    line-height: 1.4;
    font-size: 14px;
    font-family: ClearSans-Bold;
    text-decoration: none;
    text-transform: uppercase;
}
.mobile-products-cart .qt {
    padding-top: 10px;
    min-width: 30px;
    text-align: center;
}
.mobile-products-cart .totals {
    padding-top: 10px;
    font-size: 16px;
    color: #000;
    font-family: bender-bold;
}
.all-total {
    float:right;
}
.all-total .totals-left {
    min-width: 100px; 
    float:left;
    line-height: 38px;
    font-size: 14px;
}
.all-total .totals-right {
    float:right; 
    margin-left: 20px; 
    text-align: right;
    color: #000;
    font-size: 20px;
    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: 100px;
}
.mobile-products-cart .btn-plus button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-block;
    background: #f2f6f9;
    border: 0;
    outline: none;
    line-height: 5px;
    text-align: center;
}
.mobile-products-cart .btn-minus button {
    width: 30px;
    height: 30px;
    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: 40px;
    height: 30px;
    position: absolute;
    left: 30px;
    top: 0;
    outline: none;
    font-size: 18px;
    text-align: center;
}
.popup_shipping_prod {
	border: 1px solid #E9E9E8;
    padding: 10px 15px;
    margin: 0 0 10px;
}
.popup_shipping_prod .heading {
	margin-top: 0;
	color: #339936;
}
.popup_shipping_prod .shipping_prod_text {
	color: #000;
}
.popup_shipping_prod .shipping_prod_name {
	font-size: 16px;
}
.popup_shipping_prod .shipping_prod_price {
	font-size: 16px;
    color: #000;
    font-family: bender-bold;
}
.popup_shipping_prod .shipping_prod_btn {
	border: 0;
    border-radius: 5px;
    font-family: ClearSans-Bold;
    text-transform: uppercase;
    color: #fff;
    padding: 0 11px 2px;
    background-color: #47b74b;
    width: 100px;
    height: 22px;
    text-align: center;
    font-size: 12px;
}
.popup_shipping_prod .incart {
	font-family: ClearSans-Bold;
    text-transform: uppercase;
    color: #ff5722;
    padding: 0 11px 2px;
    width: 100px;
    height: 22px;
    text-align: center;
    font-size: 12px;
}
.popup_shipping_prod .sp_wrap {
	font-size: 0;
	margin-top: 10px;
}
.popup_shipping_prod .sp_img {
	display: inline-block;
    width: 70px;
}
.popup_shipping_prod .sp_name {
	display: inline-block;
    width: calc(100% - 270px);
}
.popup_shipping_prod .sp_price {
	display: inline-block;
    width: 100px;
}
.popup_shipping_prod .sp_btn {
	display: inline-block;
    width: 100px;
}


@media (min-width: 320px) and (max-width: 532px) {
    #popup-wrapper .popup-heading {
        font-size: 14px;
    }
  
    #popup-wrapper .popup-footer button {
        width: 100%;
        height: 50px;
    }
    #popup-wrapper .popup-footer a {
        width: 100%;
        height: 50px;
        line-height: 50px;
        margin-top: 5px;
    }
    .mobile-products-cart {
        display: block;
    }
    .special-cart-popup {
        display: none;
    }
    #popup-wrapper .popup-footer {padding: 17px 10px;}
    #popup-cart-inner .all-total, #popup-cart-inner .discount-text {float:none;}
    #popup-cart-inner .discount-text {max-width: 100%;}
    #popup-cart-inner .all-total .totals-left {text-align:left;}
    .popup_shipping_prod .sp_img {
    	display: block;
    	float: left;
    }
    .popup_shipping_prod .sp_name {
    	display: block;
    	float: right;
    	width: calc(100% - 70px);
    	line-height: 12px;
    }
    .popup_shipping_prod .shipping_prod_name {
    	font-size: 14px;
    }
    .popup_shipping_prod .sp_price {
    	display: block;
    	float: left;
    	width: auto;
    }
    .popup_shipping_prod .sp_btn {
    	display: block;
    	float: right;
    }
}
@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;
    }
}