.cart-view * {box-sizing: border-box;}

.cart-view h1 { margin: 12px 0 24px 0; }
.cart-view h3 { font-size: 24px; font-weight: 400; margin: 0 0 24px; }
.cart-view a:visited { color: #000; }

input { width: 100%; max-width: 445px; }

i { font-style: normal; }

.pricelist, #shipments, .cart-total, .coupon-block { margin-bottom: 50px; }

div fieldset {padding: 0; border: none; }
.pricelist { display: table; width: 100%; max-width: 825px; }

div .product-row > .product-col{ padding:16px 0; display:flex; }
.product-col.remove a, .vm2-add_quantity_cart, .coupon-form .details-button a { cursor: pointer; font-size: 17px; }
.product-col.remove a:hover { text-decoration: none; color: #0385b7;}
.product-col.remove a, .vm2-add_quantity_cart { color: #c4c4c4;}
.product-row .product-col.labnazev+.product-col { width: auto;padding:0 0 15px; }

.product-col .line-through { text-decoration: line-through; color: #888; font-size: 16px; display: block; padding-left: 10px; font-weight: normal; }
.product-row { display: table-row; position: relative; }
.product-row:nth-last-child(-n+2) .product-col { padding: 16px 10px 24px 0px; }
.product-row.pricelist-subtotal .product-col.center { padding: 16px 240px 24px 40%; }
.product-row .product-col.remove { display: block; position: absolute; right: 0; top: 16px; padding: 0; }
.product-row .product-col .inputbox { padding: 5px; max-width: 50px; height: 30px; display: inline-block; text-align: center; margin: 0; border-radius: 3px; border: none; }

.cart-view .cart-images {display: inline-block; width: 160px; height: 160px; margin-right: 10px; }
.cart-view .cart-images img { width:100%; height:100%; object-fit:contain; }

.cart-view .product-col .labnazev { display: flex; flex-direction: column;padding: 0 0 0 120px;align-items: flex-start;min-height: 100px;justify-content: flex-start;position: relative;margin: 0 0 20px; }
.cart-view .product-col .labnazev-wr { padding: 16px 0 60px 0;  }
.cart-view .product-col .labnazev-wr > a { color: #000; padding-left: 10px; transition: 0.3; display: inline-block; }
.cart-view .product-col .labnazev-wr a:hover { color: #0385b7; cursor: pointer; }

.product-field-type-B, .product-field-type-S, .product-field-type-I { padding-left: 0; }

.cart-view .vm-customfield-cart { padding-left: 10px; color: #939393; margin-top: 8px; }

.cart-view .labnazev-wr .product-col.center { position: absolute; bottom: 32px; padding-left: 10px; /*left: 176px;*/ max-width: 105px; }
div .update-units { display:flex; border: 1px solid #E1E1E1; border-radius: 5px; }
div .update-units input {width: 44px; height: 34px!important; border-radius: 4px; background: none !important; font-size: 14px; text-align: center; margin:0 5px; }
div .update-units a {padding: 0; width: 30px; height: 32px; border: 0; background: 0; display: flex; align-items: center; justify-content: center; color: #000; font-size: 20px; }
div .update-units a.count-plus { height: 34px; }

.cart-view .product-col.right { color: #000; font-size: 18px; font-weight: 700; position: absolute; width: max-content; right: 0; bottom: 16px; align-items: end; }

.cart-view #table_user {display: none;}

.pricelist-subtotal > div:empty { display: none; }
.pricelist-subtotal > div.center {border-top: 1px solid #E1E1E1; font-size:18px; font-weight:700;}
.cart-view  .pricelist-subtotal .product-col.right { bottom: 0; }

.coupon-form { display: flex; align-items: center; }
.coupon-form a:hover { text-decoration: none; }
.coupon-form #coupon_code { min-width: 220px; }
#coupon_code_txt { margin: 0 7px; }

.sp-metods input { display: none; }
.sp-checkers > label { padding:0 0 16px; display: flex; align-items: baseline; }
.sp-metods label:hover { cursor: pointer; color: #2aa8db; }
.sp-checkers label::before { content: ""; display: inline-block; position: relative; top: 2px; min-width: 13px; box-shadow: 0 0 0 1px #000; appearance: none; border-radius: 50%; width: 13px; height: 13px; min-height: 13px; margin-right: 20px; }
.sp-checkers input[type="radio"]:checked + label::before { border: 2px solid #fff; box-shadow: 0 0 0 2px #2aa8db; background: #2aa8db; max-width: 13px; width: 13px; height: 13px; min-height: 13px; min-width: 13px; }
.sp-checkers input[type="radio"]:checked + span { color: #2aa8db;}

.cart-total-wr { display: flex; justify-content: flex-end; font-size: 18px; font-weight: 700; }
.cart-total-wr .total-title { margin-right: 8px; }

#table_billto input::-webkit-input-placeholder, #table_billto input::-moz-placeholder { display: none; }
.validate { margin-bottom: 24px; }
.validate label, .delivery-fields label, .customer-comment label, #table_billto label { display: block; margin-bottom: 4px; /*color: #939393;*/ float: none !important; }
.validate input, .customer-comment textarea { width: 100% !important; border: 1px solid #E1E1E1; border-radius: 5px; height: 34px; padding: 8px; }
.customer-comment textarea { min-height: 100px; }
.validate .v-error { color: #E52600; font-size: 11px; margin-top: 4px; }

.user-details input[type="email"],
.user-details input[type="text"],
.validate input,
.customer-comment textarea { width: 100%; max-width: 50%; }

.checkout-button-top { text-align: left; border: none; }
.tos {margin: 16px 0 30px 0; display: flex; align-items: center; }
.tos input[type="checkbox"] { min-width: 14px; min-height: 14px; width: 14px; height: 14px; margin: 0 8px 3px 0; }
.tos a { color: #2aa8db; }


.cart-help { display: none; margin-top: 65px; }
.cart-help a{ color:#2aa8db; }
.cart-help a:hover {color: #0385b7; }
.cart-help-text{ margin:10px 0 0 0; }

.customer-comment {border: none; margin: 0; padding: 0;text-align: left;}

.billto-shipto {border: none;}

.sp-checkers > label,
.customer-comment label,
.tos label { font-weight: normal; }


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    .user-details input[type="email"], .user-details input[type="text"], .validate input, .customer-comment textarea { max-width: 70%; }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 576px) {
    .cart-view .cart-images { max-width: 120px; object-fit: contain; }
    .user-details input[type="email"], .user-details input[type="text"], .validate input, .customer-comment textarea { max-width: 100%; }
}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    div .product-row > .product-col { flex-direction: column; padding: 24px 0; margin-bottom: 20px; }
    .product-row .product-col.remove { display: flex; position: absolute; right: 0; top: 0; background: #fff; height: 30px; width: 30px; align-items: center; justify-content: center; padding: 0; }
    .product-row .product-col.remove:hover { color: #2aa8db; text-decoration: none; }
    .product-row:nth-last-child(-n+2) .product-col { padding: 16px 0 16px 0; }
    .product-row:last-child .product-col { margin-bottom: 0; }
    .product-row.pricelist-subtotal .product-col.center { padding: 16px; }

    .cart-view .cart-images { width: 100%; margin-right: 0; max-height: 330px; height: auto; min-width: 100%; text-align: center; }
    .cart-view .cart-images img { width: auto; max-height: 330px; }

    .cart-view .vm-customfield-cart { margin-top: 8px; }

    .cart-view .product-col .labnazev-wr { padding: 16px 0 0; }
    .cart-view .product-col .labnazev-wr > a { padding-left: 0; }
    .cart-view .vm-customfield-cart { padding-left: 0px; }
    .cart-view .labnazev-wr .product-col.center { position: inherit; padding: 24px 0 0 0; padding: 8px 0 0 0; }
    .product-row { display: block; position: relative; }
    .cart-view .product-col.right { bottom: 8px; padding-bottom: 5px;}
    .cart-view .pricelist-subtotal .product-col.right { bottom: 8px; padding-bottom: 8px;}

    .cart-total-wr { justify-content: flex-start; flex-wrap: wrap; }

    .checkout-button-top #vm-button-correct { width: 100%; }


}



/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}
