.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-noreviews, .woocommerce p.no-comments {
    margin-bottom: 1em;
}
.woocommerce-checkout .wc_payment_methods>li {
    background-color: #f5f5f5
}

.woocommerce-checkout .wc_payment_methods li>label {
    font-weight: 700;
    color: #6d6d6d;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 0
}

.woocommerce-checkout .wc_payment_methods li .payment_box {
    background-color: #fafafa
}

.woocommerce-checkout .wc_payment_methods li p {
    color: #6d6d6d
}

.woocommerce-checkout .wc_payment_methods li p a {
    font-weight: 600;
    color: red
}

.woocommerce-checkout .wc_payment_methods li.wc_payment_method>input[type=radio]:first-child {
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px,1px,1px,1px);
    position: absolute!important
}
 
.woocommerce-checkout .wc_payment_methods li.wc_payment_method input[type=radio]:first-child:checked+label:before {
    color: #1e73be !important
}

.woocommerce-checkout .entry-header h1,
.woocommerce-cart .entry-header h1  {
    font-weight: 700;
}
.woocommerce-checkout .site-main, 
.woocommerce-cart .site-main {
    margin-bottom: 0;
}

.woocommerce-cart a.remove:before {
    font-size: 24px;
    color: #d33 !important;
}

table.cart td.product-quantity .qty {
    text-align: left;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.shop_table.woocommerce-checkout-review-order-table .product-name,
.shop_table.woocommerce-checkout-review-order-table .product-total {
    text-transform: uppercase;
}

.cart_totals h2, 
.cross-sells h2 {
    font-weight: 700;
}
.cross-sells h2 {
    margin-top: 15px;
}
.cart_totals tbody td {
    background-color: transparent !important;
}

#order_review_heading,
.woocommerce-billing-fields h3 {
    font-weight: 600;
}

.woocommerce-checkout .wc_payment_methods li p a,
.shop_table a {
    font-weight: 600;
    color: red;
    text-decoration: none !important;
}
.woocommerce-cart .product-name a,
.woocommerce-checkout .product-name a {
    color: #6d6d6d !important;
    font-weight: 600;
    text-decoration: underline !important;
}
.woocommerce-checkout .product-name a {
    text-decoration: none !important;
}
.woocommerce-page  .custom-item-meta {
    font-size: 13px;
}
.woocommerce-page  .custom-item-meta dd,
.woocommerce-page  .custom-item-meta dt {
    display: inline-block;
}

.form-row label {
    font-weight: 600;
}
.woocommerce-cart .cart th {
    font-weight: 700;
    padding: 0.5em 1em;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart  .cart-empty.woocommerce-info {
    border-bottom: 3px solid #d33 !important;
    border-left: none !important;
    border-radius: 2px;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 9%) !important;
    -webkit-box-shadow: 0px 0px 30px rgb(0 0 0 / 9%) !important;
    color: #000 !important;
    padding: 10px 25px !important;
    display: block !important;
    width: 100%;
    background-color: #fff !important;
}
.woocommerce-cart  .cart-empty.woocommerce-info {
    border-left: .6180469716em solid rgba(0,0,0,.15) !important;
    border-bottom: 3px solid transparent !important;
    justify-content: start;
} 
.woocommerce-cart .woocommerce-message a{
    background-color: #d33;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    border: none;
    cursor: pointer;
    border: none;
}
.woocommerce-cart .woocommerce-message a.restore-item {
    background: none;
    color: #000;
    float: right;
    font-weight: 500;
    text-decoration: none;
    padding: 0;
}

.woocommerce-cart .woocommerce-message a:after {
    display: none !important;
}

.woocommerce-cart .shop_table td.actions a {
    color: #fff !important;
}

.woocommerce-cart .cart-subtotal th {
    font-weight: 700;
}
.woocommerce-cart td.actions {

    text-align: left !important;
}
.woocommerce-cart td.actions .button:not([value="Apply coupon"]){
    text-transform: uppercase;
    margin-left: 10px;
}
.woocommerce-cart td.actions  [value="Apply coupon"] {
    text-transform: uppercase;

}

.woocommerce-cart td.actions .button.checkout-button {
    width: 220px;
    float: right;
    border-radius: 30px;
    min-width: 150px;
    text-align: center;
}
.woocommerce-cart .shockerhitch-affirm-payment .checkout-button img {
    width: auto;
    max-width: 100%;
    height: 40px;
    display: block;
    margin: 0 auto;
}

.woocommerce-cart .shockerhitch-pay-later .title-lines {
    color: #1c1c1e;
    display: table;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.25;
    margin: 30px auto 15px;
    font-size: 18px;
}

.woocommerce-cart .shockerhitch-pay-later .title-lines:after,
.woocommerce-cart .shockerhitch-pay-later .title-lines:before {
    border-top: 1px solid #d5d5d5;
    content: "";
    display: table-cell;
    position: relative;
    top: .6em;
    width: 19%;
}

.woocommerce-cart .shockerhitch-pay-later .title-lines:before {
    right: 5%;
}

.woocommerce-cart .shockerhitch-pay-later .title-lines:after {
    left: 5%;
}

.woocommerce-cart a:focus,
.woocommerce-cart a.button:focus {
    outline: none !important;
}

.woocommerce-shipping-methods li label {
    color: red;
}
.woocommerce-cart .content-area .button:hover,
.woocommerce-cart .woocommerce-message .button.wc-forward:hover {
    background-color: #000 !important;
}

.woocommerce-cart .woocommerce-message a.button{
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 2;
    margin: 5px 0;
    display: inline-block;
    clear: both;
    float: none;
}

.woocommerce-cart .woocommerce-message {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-cart .woocommerce-message:before, .woocommerce-cart .woocommerce-message:after {
    display: none;
}


.woocommerce-checkout-review-order .mdsh-cart-collaterals   {
    margin-top: 20px;
}

 .mdsh-cart-collaterals table {
    table-layout: fixed;
}

 .mdsh-cart-collaterals table td {
    padding: 0 13px 0 0;
    vertical-align: middle;
}
.woocommerce-cart-form__cart-item.cart_item .variation dd,
.woocommerce-checkout-review-order-table .variation dd {
    margin-bottom: 0;
}
.woocommerce-cart-form__cart-item.cart_item .variation dt{
    font-size: 13px;
    vertical-align: top;
    color: #6d6d6d;
    font-weight: 700;
}
.woocommerce-cart-form__cart-item.cart_item .variation dt.variation-SKU {
    display: none;
}
dl.variation {
    margin: 2px 0;
}

td.product-price, td.product-subtotal {
    color: #000;
}
table.shop_table_responsive tr.woocommerce-cart-form__cart-item.cart_item td,
.woocommerce-checkout-review-order-table .variation dd {
    vertical-align: middle;
}
.shop_table td, .woocommerce-order-pay .shop_table th {
    padding: 16px 15px!important;
}

.woocommerce-cart-form table.woocommerce-cart-form__contents {
    margin-bottom: 0
}
.woocommerce-cart-form{margin-bottom:0}
table.shop_table_responsive tr td::before, table.shop_table_responsive tr td[data-title]::before { 
    float: left;color: #6d6d6d;
    font-weight: 700
}


.woocommerce .woocommerce-checkout .woocommerce-checkout-review-order .shop_table thead tr td, .woocommerce .woocommerce-checkout .woocommerce-checkout-review-order .shop_table thead tr th {
    padding: 5px 15px
}
.woocommerce .woocommerce-checkout #order_review.woocommerce-checkout-review-order .shop_table {
    margin-bottom: 25px
}
#payment .payment_methods > .wc_payment_method > label::before ,
#payment .payment_methods li.wc_payment_method > input[type=radio]:first-child:checked + label::before {
    font-family: FontAwesome !important;font-weight:normal;font-style:normal;text-decoration:inherit; font-size: 16px;
    }
#payment .payment_methods > .wc_payment_method > label::before {
    content: "\f10c" !important;
}
#payment .payment_methods li.wc_payment_method > input[type=radio]:first-child:checked + label::before {
    content: "\f192" !important;
}
p#wc-stripe-payment-request-button-separator + .angelleye-proceed-to-checkout-button-separator {
    display: none;
}
.woocommerce-checkout #payment .place-order .button{
    font-size: 1.41575em;
    width: 100%;
    white-space: pre-wrap;
    padding: 8px 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.woocommerce-cart .wc-proceed-to-checkout div#ppc-button{font-size:0;margin-bottom:16px;}
.mobile_checkout_button + #wc-stripe-payment-request-wrapper {
    padding-top: 0 !important;
}
table.shop_table_responsive.woocommerce-cart-form__contents tr td{
    background: #fff !important
}
.mdsh-cart-collaterals tr td img {
    max-height: 100px;
}
@media screen and (max-width: 991px) {
    .woocommerce-cart-form table.cart td.actions .coupon {
        width:100%
    }

    .woocommerce-cart-form table.cart td.actions .coupon input[name=coupon_code] {
        width: calc(100% - 160px);
        float: left;
        margin: 0 0 .53em!important
    }

    .woocommerce-cart-form table.cart td.actions .coupon button[name=apply_coupon] {
        float: left;
        min-height: 44px;
        margin: 0 0 .7em!important
    }

    .woocommerce-cart-form .md-save-cart-button {
        margin-left: 0 !important
    }

    .woocommerce-cart .security-images.cart {
        text-align: center
    }

    .woocommerce-cart .security-images.cart .button-ssl img {
        display: inline-block;
        margin: 0 20px!important
    }

    .woocommerce-cart a.checkout-button.button.alt.wc-forward {
        background-color: #0194ca;
        color: #fff;
        -webkit-box-shadow: none;
        box-shadow: none;
        font-weight: 700;
        border-radius: 4px;
        text-transform: uppercase;
        font-family: Roboto,sans-serif;
        font-size: 20px;
        padding: 10px 55px;
        border: 1px solid transparent
    }

    .woocommerce-cart a.checkout-button.button.alt.wc-forward:after {
        display: none
    }

    .woocommerce-cart a.checkout-button.button.alt.wc-forward:before {
        content: '\f023';
        font-family: FontAwesome;
        padding-right: 5px
    }

    .woocommerce-cart a.checkout-button.button.alt.wc-forward:focus,.woocommerce-cart a.checkout-button.button.alt.wc-forward:hover {
        background-color: #0194ca;
        color: #fff;
        border-color: #d5d5d5
    }

    .woocommerce-cart .mdsh-cart-collaterals .wc-proceed-to-checkout div#pay_with_amazon {
        margin: 0 auto 20px
    }

    .mdrsh-custom {
        opacity: 1
    }

    .mdrsh-custom strong {
        color: #1c1c1e;
        font-weight: 700;
        font-size: 18px;
        font-family: Roboto,sans-serif
    }
}
@media screen and (min-width: 768px) {
    .md-modal-content:not(.is-image) {
        max-height:calc(100vh - 40px);
        width: 640px;
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
        min-width: 624px
    }

    .md-columns:not(.is-desktop) {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex
    }

    table th {
        background-color: #f8f8f8;
        font-weight: 700
    }

    table.shop_table_responsive thead {
        display: table-header-group
    }

    table.shop_table_responsive tbody th {
        display: table-cell
    }

    table.shop_table_responsive tr td,table.shop_table_responsive tr th {
        text-align: left
    }

    table.shop_table_responsive tr td {
        display: table-cell
    }

    table.shop_table_responsive tr td::before {
        display: none
    }

    table.cart td,table.cart th {
        padding: 1.618em
    }

    table.cart th {
        text-transform: uppercase;
        vertical-align: middle
    }

    table.cart .qty {
        padding: .875em;
        max-width: 3.632em
    }

    table.cart td.product-remove {
        display: table-cell;
        padding: 1.618em;
        border: 0
    }

    table.cart td.product-remove a.remove {
        float: none;
        position: relative;
        top: auto;
        right: auto
    }

    table.cart .product-quantity .minus,table.cart .product-quantity .plus {
        display: inline-block
    }

    table.cart .quantity .qty {
        padding: .6180469716em
    }

    table.cart td.actions {
        text-align: right
    }

    table.cart td.actions label {
        display: none
    }

    table.cart td.actions .coupon {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        display: inline-block;
        float: left
    }

    table.cart td.actions input {
        display: inline-block;
        width: auto;
        margin: 0
    }

    .mdsh-cart-collaterals:after,.mdsh-cart-collaterals:before {
        content: "";
        display: table
    }

    .mdsh-cart-collaterals:after {
        clear: both
    }

    .mdsh-cart-collaterals h2 {
        font-size: 1.618em;
        font-weight: 700
    }

    .mdsh-cart-collaterals .cross-sells {
        width: 41.1764705882%;
        float: left;
        margin-right: 5.8823529412%
    }

    .mdsh-cart-collaterals .cross-sells ul.products li.product {
        width: 42.8571428571%;
        float: left;
        margin-right: 14.2857142857%
    }

    .mdsh-cart-collaterals .cross-sells ul.products li.product:nth-child(2n) {
        margin-right: 0!important
    }

    .mdsh-cart-collaterals .cart_totals,.mdsh-cart-collaterals .shipping_calculator {
        width: 52.9411764706%;
        float: right;
        margin-right: 0;
        margin: 0;
        clear: right
    }

    .mdsh-cart-collaterals .cart_totals small.includes_tax {
        display: block
    }

    .mdsh-cart-collaterals .shipping_calculator {
        clear: right
    }

    #ship-to-different-address {
        position: relative
    }

    #ship-to-different-address label {
        font-weight: 300
    }

    #ship-to-different-address .woocommerce-form__input-checkbox {
        position: absolute;
        top: 50%;
        right: 0;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin-right: 0
    }
    .col2-set {
        width: 52.9411764706%;
        float: left;
        margin-right: 5.8823529412%
    }

    .col2-set .form-row-first {
        margin-right: 3.8%;
        width: 48.1%
    }

    .col2-set .form-row-last {
        margin-right: 0;
        width: 48.1%
    }

    .col2-set .form-row-first {
        width: 33.3333333333%;
        float: left;
        margin-right: 11.1111111111%
    }

    .col2-set .form-row-last {
        width: 55.5555555556%;
        float: right;
        margin-right: 0
    }

    .col2-set .col-1,.col2-set .col-2 {
        margin-bottom: 1.618em
    }

    .col2-set .woocommerce-billing-fields:after,.col2-set .woocommerce-billing-fields:before {
        content: "";
        display: table
    }

    .col2-set .woocommerce-billing-fields:after {
        clear: both
    }

    .form-row-first {
        width: 47.0588235294%;
        float: left;
        margin-right: 5.8823529412%;
        clear: both
    }

    .form-row-last {
        width: 47.0588235294%;
        float: right;
        margin-right: 0
    }
    .woocommerce-cart .hentry, .woocommerce-checkout .hentry{
        margin-bottom: 0;
    }
    .woocommerce-cart.storefront-full-width-content .content-area,
    .woocommerce-checkout.storefront-full-width-content .content-area{
        margin-bottom: 10px;
    }
    .woocommerce-page .custom-item-meta dd{
        margin-bottom: 0;
    }
    
}

@media screen and (max-width: 767px) {
    .woocommerce-cart .woocommerce .mdsh-cart-collaterals,.woocommerce-cart .woocommerce .cart_totals {
        width:100%!important;
        margin-bottom: 10px
    }

    .mdsh-cart-collaterals h2 {
        font-weight: 700
    }

    
        .woocommerce-cart h1.entry-title{font-size: 28px;text-align: center;margin-top: 15px;}


    .woocommerce-checkout #order_review_heading,.woocommerce-checkout .col2-set,.woocommerce-checkout .woocommerce-checkout-review-order {
        width: 100%;
        float: none;
        margin: 0
    }

    .woocommerce-checkout .form-row {
        margin-right: 0
    }

    .woocommerce-checkout .woocommerce-shipping-fields h3#ship-to-different-address {
        font-weight: 600
    }

    .woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name {
        max-width: 250px
    }

    .shop_table.cart td.product-remove {
        border-top: 0
    }

    .shop_table.cart tr {
        margin-bottom: 20px;
        display: block
    }

    .shop_table.cart tr td:before {
        color: #6d6d6d;
        font-family: Exo,sans-serif
    }

    table.shop_table_responsive tr td.product-thumbnail {
        text-align: center
    }

    table.cart td.product-remove a.remove {
        right: 0
    }
    .mdsh-cart-collaterals table,
    .mdsh-cart-collaterals table tbody,
    .mdsh-cart-collaterals table tr,
    .mdsh-cart-collaterals table tr td{
        display: block;text-align: center;
    }
    .mdsh-cart-collaterals table tr  img{margin: 0 auto;}
    .woocommerce-cart .hentry, .woocommerce-checkout .hentry{
        margin-bottom: 0;
    }
    body.woocommerce-cart .mdsh-cart-collaterals table {
        margin-bottom: 50px !important;
    }
}

@media screen and (max-width: 768px) and (min-width: 768px) {

    body.woocommerce-cart.woocommerce-cart .cart_totals{
        float: right !important;
        width: 49% !important;
        padding: 1% !important;
    }
    .woocommerce-cart .mdsh-cart-collaterals {
        float: left !important;
        width: 49% !important;
        padding: 1% !important;
    }
}
@media screen and (max-width: 567px) {
    .woocommerce-cart-form .checkout-button {
        width:auto
    }
}

@media screen and (max-width: 480px) {
    .woocommerce-cart td.actions .button.checkout-button {
        width:100%;
        margin-left: 0;
        text-align: center;
        border-radius: 30px
    }

    .woocommerce-cart-form table.cart td.actions .coupon input[name=coupon_code] {
        width: calc(100% - 142px)
    }

    .woocommerce-cart-form table.cart td.actions .coupon button[name=apply_coupon] {
        padding: .6180469716em 1.01575em
    }

    .woocommerce-cart .security-images.cart .powered-by-stripe {
        width: 100%
    }

    .woocommerce-cart .security-images.cart .button-ssl {
        width: 100%
    }

    .woocommerce-cart-form button[name=update_cart] {
        float: right
    }
}

.woocommerce-cart .sh-dealer-user-inactive ul.retail-customer-ship-class li:not(.custom-shipping-7), .woocommerce-checkout .sh-dealer-user-inactive ul.retail-customer-ship-class li:not(.custom-shipping-7){ display: none; }
.woocommerce-cart .sh-dealer-user-inactive ul.retail-customer-ship-class li a.show-additional-shipping, .woocommerce-checkout .sh-dealer-user-inactive ul.retail-customer-ship-class li a.show-additional-shipping{padding-left: 5px;font-size: 12px;color: #0000fe;text-decoration: underline !important;}
.woocommerce-cart .sh-dealer-user-inactive ul:not(.retail-customer-ship-class) li a.show-additional-shipping, .woocommerce-checkout .sh-dealer-user-inactive ul:not(.retail-customer-ship-class) li a.show-additional-shipping{display: none;}

.woocommerce-cart .md-cart-mail-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.woocommerce-cart .md-cart-mail-wrapper .woocommerce-cart-form {
	    width: 67%;
}
.woocommerce-cart .md-cart-mail-wrapper .cart-collaterals {
	 width: 30%;
     border: 1px solid #ddd;
}
.woocommerce-cart .md-cart-mail-wrapper .cart-collaterals .cart_totals {
	 width: 100% !important;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section {
	text-align: center;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .row {
	display: flex;
	flex-wrap: wrap;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .row .col-4 {
	width: 33.333%;
	padding: 10px;
	text-align: center;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .services-content{ position: relative;}
.woocommerce-cart .md-cart-mail-wrapper .services-section .services-content:before{
    content: "";
    height: 40px;
    display: block;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-size: contain;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .shockerhitch-free-shipping:before{background-image: url(/wp-content/uploads/sites/2/2021/12/free-shipping.png)}
.woocommerce-cart .md-cart-mail-wrapper .services-section .shockerhitch-arthur-nd:before{background-image: url(/wp-content/uploads/sites/2/2021/12/made-in-usa.png);}
.woocommerce-cart .md-cart-mail-wrapper .services-section .shockerhitch-guarantee:before{background-image: url(/wp-content/uploads/sites/2/2021/12/shocker-guarantee.png);}

.md-cart-mail-wrapper .woocommerce-cart-form table.woocommerce-cart-form__contents {
    margin-bottom: 0;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section {
    text-align: center;
    border: 1px solid #ddd;
    padding-top: 10px;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section h2{ font-size: 22px; font-weight: 700;}
.woocommerce-cart .md-cart-mail-wrapper .services-section h2 a{color: #333333;font-weight: 700;}
.woocommerce-cart .md-cart-mail-wrapper .services-section .services-content{ font-size: 14px;}
.woocommerce-cart .md-cart-mail-wrapper .mdsh-cart-collaterals{ width: 100%;}
.woocommerce-cart .md-cart-mail-wrapper .mdsh-cart-collaterals img{margin: 0 auto;}
.storefront-full-width-content.woocommerce-cart .entry-header{ text-align: left;}
.storefront-full-width-content.woocommerce-cart .entry-header .entry-title{ font-size: 24px; margin: 10px 0;}
.woocommerce-cart .md-cart-mail-wrapper .cart_totals th{ color: #000;}
.woocommerce-cart .md-cart-mail-wrapper .cart_totals .order-total td{ color: #000;}
.woocommerce-cart .md-cart-mail-wrapper .cart_totals th, .woocommerce-cart .md-cart-mail-wrapper .cart_totals td{padding-top: 5px !important; padding-bottom: 5px !important;}
.woocommerce-cart .md-cart-mail-wrapper .cart-collaterals #wc-stripe-payment-request-button-separator{margin-top: 10px !important;margin-bottom: 10px;}
.custom-item-meta dd.variation-shipping .rp_estimated_date{font-size: 13px;}
.woocommerce-checkout .custom-item-meta dd.variation-shipping .rp_estimated_date{font-size: 18px; margin-bottom: 10px;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .custom-item-meta dt.variation-shipping{font-size: 18px;line-height: 21px;font-weight: 700;color: #000;padding: 0px 0 5px 0px;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .custom-item-meta dd.variation-shipping{font-size: 18px;line-height: 21px;font-weight: 500;color: #6d6d6d;text-transform: none;}
.woocommerce-cart td.actions .button.checkout-button {
    display: none;
}
.woocommerce-cart .woocommerce-cart-form .cart_item dt {
    color: #000;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .services-content {
    display: inline-block;
    padding-left: 65px;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section .services-content h3 {
    font-weight: 400;
}
.woocommerce-cart .need-section.show-in-mobile {
    display: none;
}
.woocommerce-cart .md-cart-mail-wrapper ul#shipping_method, .woocommerce-cart .md-cart-mail-wrapper .woocommerce-shipping-destination{margin-bottom: 10px;}
.woocommerce-order-received .woocommerce-order-details ul.wc-item-meta{margin-bottom: 0;}
.woocommerce-order-received .woocommerce-order-details .custom_estimated_date b{font-size: 14px;font-weight: 600;}
.woocommerce-order-received .woocommerce-order-details .custom_estimated_date .rp_estimated_date{display: inline-block;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .variation{margin:5px 0 0 !important;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .variation .custom-item-meta dd, .woocommerce-checkout .custom-item-meta dd.variation-shipping .rp_estimated_date{font-size: 14px !important;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .custom-item-meta dd.variation-SKU{ font-size: 12px !important;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .custom-item-meta dt.variation-SKU{padding: 5px 0 5px !important; font-size: 16px !important;}
.woocommerce-cart .services-section h2 a.live-chat{
    background-color: #dd3333;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 20px;
    display: none;
}
.woocommerce-cart .services-section h2 a.live-chat:hover{ background-color: #000;}
.woocommerce-cart.livechat-availability .services-section h2 a.live-chat{display: inline-block;}
.woocommerce-cart .services-section h2 .live-chat-separator{display: none;}
.woocommerce-cart.livechat-availability .services-section h2 .live-chat-separator{ display: inline-block; margin-left: 10px; margin-right: 10px;}

.shop_table.woocommerce-checkout-review-order-table .product-name{ width: 50% }
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name a{font-size: 16px !important;}
.woocommerce-checkout #order_review .right-side-checkout .shop_table tbody tr.cart_item td.product-name .variation .custom-item-meta dt{ font-size: 16px !important; }
.woocommerce-cart .woocommerce-cart-form dl.variation{ margin: 0px 0; }
.woocommerce-cart .md-cart-mail-wrapper .cart-collaterals .cross-sells{ display: none; }
.woocommerce-cart .cart-collaterals .cart_totals h2{background-color: #f8f8f8;margin-bottom: 0;padding: 10px;text-align: center;text-align: center;font-size: 24px;}
@media screen and (max-width: 1024px) {
    .woocommerce-cart .md-cart-mail-wrapper .woocommerce-cart-form {
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .cart-collaterals {
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .woocommerce-cart-form .services-section, .woocommerce-cart .md-cart-mail-wrapper .mdsh-cart-collaterals{
        display: none;
    }
    .woocommerce-cart .need-section.show-in-mobile, .woocommerce-cart .need-section.show-in-mobile .mdsh-cart-collaterals {
        display: block;
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section, .woocommerce-cart .md-cart-mail-wrapper .mdsh-cart-collaterals{
        margin-top: 20px;
        padding: 15px;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section .row .col-4 {
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section .services-content{
        padding-left: 0;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section .services-content:before{
        content: "";
        height: 40px;
        display: inline-block;
        background-repeat: no-repeat;
        position: inherit;
        top: 0;
        left: 0;
        right: 0;
        background-size: 40px 40px;
        vertical-align: middle;
        width: 40px;
        margin-right: 10px;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section .services-content h3{
        vertical-align: middle;
        display: inline-block;
    }
    .woocommerce-cart .md-cart-mail-wrapper .woocommerce-cart-form {
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .cart-collaterals {
        width: 100%;
    }
    .woocommerce-cart .md-cart-mail-wrapper .services-section .row .col-4 {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .woocommerce-cart .cart_totals h2{ text-align: center;}
    .woocommerce-cart.woocommerce-page .custom-item-meta dd{margin-bottom: 0;}
}

.woocommerce-checkout.mdsh-dealer-user ul.payment_methods .payment_method_net_30_days_gateway .payment_box, .woocommerce-checkout.mdsh-dealer-user ul.payment_methods .payment_method_net_10_days_gateway .payment_box, .woocommerce-checkout.mdsh-dealer-user ul.payment_methods .payment_method_dur_gateway .payment_box, .woocommerce-checkout.mdsh-dealer-user ul.payment_methods .payment_method_net_2_10_30_days_gateway .payment_box{display: none !important;}

/* 27-06-2025 css start */


.woocommerce-cart.mdsh-custom-header .storefront-breadcrumb, .woocommerce-checkout.mdsh-custom-header .storefront-breadcrumb {
    padding-top: 105px;
}
.logged-in.woocommerce-cart.mdsh-custom-header .storefront-breadcrumb, .logged-in.woocommerce-checkout.mdsh-custom-header .storefront-breadcrumb {
    padding-top:65px;
}
.woocommerce-cart.mdsh-custom-header header#masthead .storefront-primary-navigation .site-branding,.woocommerce-checkout.mdsh-custom-header header#masthead .storefront-primary-navigation .site-branding {
  margin: 30px 0 0 0;
}
.woocommerce-cart .site-main header.entry-header, .woocommerce-checkout .site-main header.entry-header  {
    display: flex;
    justify-content: space-between;
    padding: 20px 0!important;

}
 .woocommerce-checkout header.entry-header {
    text-transform: uppercase;
 }
.woocommerce-checkout #woocommerce-main-notices-wrapper .woocommerce-form-login-toggle {
    padding-right: 0;
}
 .woocommerce-checkout #woocommerce-main-notices-wrapper .wc-amazon-checkout-message {
    padding-left: 0;
}
.woocommerce-checkout .wc-amazon-checkout-message .woocommerce-info {
    display: flex !important;
    flex-direction: row-reverse;
}
.woocommerce-checkout .woocommerce-info div#pay_with_amazon  {
    margin: 0 0 0 20px;
}
.woocommerce-cart .mdsh-cart-checkout-utils, .woocommerce-checkout .mdsh-cart-checkout-utils {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 20px;
    align-items: center;
}
.woocommerce-cart .mdsh-cart-checkout-utils li a, .woocommerce-checkout .mdsh-cart-checkout-utils li a {
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.woocommerce-cart .mdsh-cart-checkout-utils li a.live-chat{
    text-transform: uppercase;
}
.woocommerce-cart .mdsh-cart-checkout-utils li a.live-chat > span, .woocommerce-checkout .mdsh-cart-checkout-utils li a.live-chat > span  {
    background-image: url(../images/livechat-latest.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 5px;
}
.woocommerce-cart .mdsh-cart-checkout-utils li a.phone-number > span, .woocommerce-checkout .mdsh-cart-checkout-utils li a.phone-number > span {
    background-image: url(../images/phone.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 17px;
    height: 17px;
    margin-right: 5px;
}
.woocommerce-cart .site-header-cart .cart-contents:after,.woocommerce-checkout .site-header-cart .cart-contents:after {
    content: "";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "\f291";
    height: 1em;
    float: right;
    line-height: 1.618;
}
.woocommerce-cart .site-header-cart .cart-contents .amount, .woocommerce-checkout .site-header-cart .cart-contents .amount {
    display: none;
}
.woocommerce-cart .site-header-cart .cart-contents, .woocommerce-checkout .site-header-cart .cart-contents {
    padding: 0;
    position: relative;
}
.woocommerce-cart .site-header-cart .cart-contents::after,.woocommerce-checkout .site-header-cart .cart-contents::after {
    height: inherit;
}
.woocommerce-cart .site-header-cart .cart-contents .count, .woocommerce-checkout .site-header-cart .cart-contents .count {
    position: absolute;
    opacity: 1;
    font-weight: 600;
    color: #fff;
    top: -7px;
    right: -5px;
    background: #dd3333;
    border-radius: 50%;
    width:16px;
    height:16px;
    line-height: 1;
    font-size: 10px;
    display:flex;
    align-items:center;
    justify-content:center
}
.woocommerce-cart.woocommerce-page td.actions {
    text-align: right !important;
}
.woocommerce-cart .mdsh-cart-collaterals ul  {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 0px 10px;
}
.woocommerce-cart .mdsh-cart-collaterals ul li svg {
    width: 45px;
   
}
.woocommerce-cart .mdsh-cart-collaterals ul li.paypal svg, .woocommerce-cart .mdsh-cart-collaterals ul li.amazon-pay svg  {
    width: 60px;
   
}
.woocommerce-cart .cart_totals .coupon label  {
    display: none;
}
.woocommerce-cart .site-footer#colophon, .woocommerce-checkout .site-footer#colophon {
    padding: 40px 0;
}
.woocommerce-cart .md-cart-mail-wrapper .services-section {
    margin-bottom: 10px;
}
.woocommerce-cart .cart_totals .coupon{
    margin: 0 auto;
    max-width: 350px;
}
.woocommerce-cart .cart_totals .coupon .input-text {
    width: calc(100% - 143px);
}
.woocommerce-cart .entry-header + .page {
   padding-top: 0 !important;
}
.woocommerce-cart #colophon.site-footer .site-info, .woocommerce-checkout #colophon.site-footer .site-info {
    padding:0;
    margin-bottom: 20px;
}
.woocommerce-checkout header.entry-header h1.entry-title {
    text-transform: capitalize !important;
}
.woocommerce-checkout #payment button#place_order:before {
    content: '';
    background: url(../images/icons8-lock-120.webp) 0 0 / 100% no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -5px;
}
.woocommerce-cart #mdsh-dealer-user-search-wrapper, .woocommerce-checkout #mdsh-dealer-user-search-wrapper {
    display: none;
}

@media only screen and (max-width: 991px) {
   .woocommerce-cart.mdsh-custom-header .storefront-breadcrumb, .woocommerce-checkout.mdsh-custom-header .storefront-breadcrumb {
    padding-top: 105px;
    }
} 
@media only screen and (max-width: 767px) {
    .woocommerce-cart.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full,.woocommerce-checkout.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full {
        justify-content: center;
    }
    .woocommerce-cart.mdsh-custom-header header#masthead .storefront-primary-navigation .site-branding, .woocommerce-checkout.mdsh-custom-header header#masthead .storefront-primary-navigation .site-branding {
        margin-top: 0;
    }
    .woocommerce-cart .storefront-breadcrumb .col-full, .woocommerce-checkout .storefront-breadcrumb .col-full {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    .woocommerce-cart header.entry-header, .woocommerce-checkout header.entry-header  {
        justify-content: center;
    }
    .woocommerce-cart .mdsh-cart-checkout-utils, .woocommerce-checkout .mdsh-cart-checkout-utils {
        gap: 10px;
    }
    .woocommerce-checkout .wc-amazon-checkout-message .woocommerce-info {
        flex-direction: column;
        /* align-items: center; */
    }
    .woocommerce-cart .site-main header.entry-header, .woocommerce-checkout .site-main header.entry-header {
        justify-content: center !important;
    }
    .woocommerce-cart #colophon.site-footer .site-info, .woocommerce-checkout #colophon.site-footer .site-info {
        font-size: 20px;
    }
    .woocommerce-checkout #woocommerce-main-notices-wrapper .wc-amazon-checkout-message {
        padding-left: 15px;
        display: none !important;
    }
    .woocommerce-checkout #woocommerce-main-notices-wrapper .woocommerce-form-login-toggle {
        padding-right: 15px;
    }
     .woocommerce-checkout .content-area main article {
        padding-top: 0 !important;
    }
}
@media only screen and (max-width: 480px) {
  .woocommerce-cart .woocommerce-cart-form button[name=update_cart] {
    float: inherit;
}
}

/* Mobile-only cart: Order summary + express checkout at top
 * (markup is PHP-gated to mobile; rendered outside .md-cart-mail-wrapper flex) */
.mdsh-cart-express-top {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	max-width: 100%;
}

.mdsh-cart-products-header {
	display: none;
}

.mdsh-cart-order-summary-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-left: none;
	border-right: none;
	color: #dd3333;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	text-align: left;
}

.mdsh-cart-order-summary-toggle:hover,
.mdsh-cart-order-summary-toggle:focus {
	color: #dd3333;
	text-decoration: none !important;
    background-color: transparent !important;
    border-color: #e5e5e5 !important;
}
#ppcp-recaptcha-v2-container{
    margin: 0 !important;
}

.mdsh-cart-order-summary-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.mdsh-cart-order-summary-chevron {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid #dd3333;
	border-bottom: 2px solid #dd3333;
	transform: rotate(45deg);
	margin-top: -4px;
}

.mdsh-cart-order-summary-total {
	color: #111;
	font-weight: 700;
	font-size: 16px;
}

.mdsh-cart-order-summary-total .includes_tax,
.mdsh-cart-order-summary-total small {
	display: none;
}

.mdsh-cart-express-checkout {
	padding: 0;
	background: #fff;
}

.mdsh-cart-express-heading {
	margin: 0 0 14px;
	text-align: center;
	color: #9a9a9a;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
}

/* Uniform express buttons: full width, stacked, centered. */
.mdsh-cart-express-buttons {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	text-align: center;
}

.mdsh-cart-express-buttons #wc-stripe-payment-request-button{
    width: 100% !important;
}

.mdsh-cart-express-buttons > .ppc-button-wrapper,
.mdsh-cart-express-buttons > #pay_with_amazon,
.mdsh-cart-express-buttons > .shockerhitch-pay-later,
.mdsh-cart-express-buttons > .woocommerce-pay-buttons,
.mdsh-cart-express-buttons > #wc-stripe-payment-request-wrapper,
.mdsh-cart-express-buttons > .shockerhitch-affirm-payment {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 auto 10px !important;
	float: none !important;
	box-sizing: border-box;
	padding: 0 !important;
}

/* Stripe ECE: outer spacing only — leave child/iframe layout to the plugin. */
.mdsh-cart-express-buttons > #wc-stripe-express-checkout-element {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto 10px !important;
	float: none !important;
	clear: both;
	padding: 0 !important;
	box-sizing: border-box;
	overflow: visible !important;
}

/* PayPal — full-width stacked funding buttons (PayPal / Venmo / Pay Later). */
.mdsh-cart-express-buttons .ppc-button-wrapper,
.mdsh-cart-express-buttons #ppc-button,
.mdsh-cart-express-buttons #ppc-button-ppcp-gateway {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
	line-height: 0;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.mdsh-cart-express-buttons #ppc-button-ppcp-gateway > div,
.mdsh-cart-express-buttons #ppc-button > div,
.mdsh-cart-express-buttons .paypal-buttons {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	box-sizing: border-box;
}

.mdsh-cart-express-buttons #ppc-button-ppcp-gateway > div[class^="item-"],
.mdsh-cart-express-buttons #ppc-button > div[class^="item-"] {
	margin-top: 10px !important;
}

.mdsh-cart-express-buttons #ppc-button-ppcp-gateway > div[class^="item-"]:first-child,
.mdsh-cart-express-buttons #ppc-button > div[class^="item-"]:first-child {
	margin-top: 0 !important;
}

/* Affirm wrapper */
.mdsh-cart-express-buttons .shockerhitch-pay-later,
.mdsh-cart-express-buttons .shockerhitch-affirm-payment {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.mdsh-cart-express-buttons .wc-amazon-payments-advanced-separator,
.mdsh-cart-express-buttons #wc-stripe-express-checkout-button-separator,
.mdsh-cart-express-buttons #wc-stripe-payment-request-button-separator {
	display: none !important;
}

/* Hide Pay Later messaging on cart express (button stack only) */
.mdsh-cart-express-top:not(.mdsh-checkout-express-top) .ppcp-messages {
	display: none !important;
}

.mdsh-cart-express-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 6px;
	color: #9a9a9a;
	font-size: 13px;
	text-align: center;
}

.mdsh-cart-express-separator::before,
.mdsh-cart-express-separator::after {
	content: "";
	flex: 1;
	border-top: 1px solid #e5e5e5;
}

.mdsh-cart-express-separator span {
	white-space: nowrap;
}

.mdsh-cart-products-title {
	margin: 0;
	padding: 14px 4px 12px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	line-height: 1.3;
}

#md-cart-mail-wrapper,
.md-cart-mail-wrapper,
#mdsh-cart-products-header,
.mdsh-cart-products-header {
	scroll-margin-top: 80px;
}

/* Checkout express strip: no order-summary toggle; sit above returning customer */
.mdsh-checkout-express-top .mdsh-cart-order-summary-toggle {
	display: none !important;
}

.woocommerce-checkout .mdsh-checkout-express-top {
	margin-bottom: 8px;
}

/* Checkout express strip (mobile and desktop): six buttons, two per row,
 * 44px tall, 6px corners, 8px gap, equal widths. Missing slots close up. */
.mdsh-checkout-express-top .mdsh-express-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 8px;
	width: 100%;
}

.mdsh-checkout-express-top .mdsh-express-slot {
	position: relative;
	min-width: 0;
	height: 44px;
	border-radius: 6px;
	overflow: hidden;
	line-height: 0;
}

.mdsh-checkout-express-top .mdsh-express-slot[hidden] {
	display: none !important;
}

/* Skeleton placeholders while the buttons load: each cell shows a grey
 * shimmer; the real buttons render underneath and the grid is revealed in one
 * go by checkout-express.js. */
.mdsh-checkout-express-top .mdsh-express-grid.is-loading .mdsh-express-slot > * {
	visibility: hidden;
}

.mdsh-checkout-express-top .mdsh-express-grid.is-loading .mdsh-express-slot::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 44px;
	border-radius: 6px;
	background: linear-gradient(90deg, #ececec 25%, #f6f6f6 37%, #ececec 63%);
	background-size: 400% 100%;
	animation: mdsh-express-shimmer 1.4s ease-in-out infinite;
	pointer-events: none;
}

@keyframes mdsh-express-shimmer {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0 50%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdsh-checkout-express-top .mdsh-express-grid.is-loading .mdsh-express-slot::after {
		animation: none;
	}
}

.mdsh-checkout-express-top .mdsh-express-slot .paypal-buttons {
	width: 100% !important;
	height: 44px;
	margin: 0 !important;
}

/* Amazon Pay adds its own "Pay over time ... with Affirm" line under the
 * button for carts of $50+ (driven by the cart amount, no opt-out). Let this
 * cell grow so the button keeps its full height and the line sits below it. */
.mdsh-checkout-express-top .mdsh-express-slot--amazon {
	height: auto;
	min-height: 44px;
	overflow: visible;
	border-radius: 0;
}

/* Amazon's script splits the container's height between the button and that
 * line (~18px), so the container needs 44 + 18 for a 44px button. */
.mdsh-checkout-express-top .mdsh-express-slot #pay_with_amazon {
	width: 100% !important;
	height: 62px;
	margin: 0 !important;
}

/* Stripe ECE in the wallet slot: the plugin shows / hides the element itself
 * (checkout-express.js hides the slot with it); drop the plugin's top margin. */
.woocommerce-checkout .mdsh-checkout-express-top #wc-stripe-express-checkout-element,
.woocommerce-checkout .mdsh-checkout-express-top #wc-stripe-payment-request-wrapper {
	width: 100% !important;
	margin: 0 !important;
}

.woocommerce-checkout .mdsh-checkout-express-top #wc-stripe-express-checkout-button-separator,
.woocommerce-checkout .mdsh-checkout-express-top #wc-stripe-payment-request-button-separator {
	display: none !important;
}

/* Affirm: the theme's own button, Affirm blue with the white logo. */
.mdsh-checkout-express-top .mdsh-express-affirm {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	background: #4a4af4;
	cursor: pointer;
	box-sizing: border-box;
}

.mdsh-checkout-express-top .mdsh-express-affirm:hover,
.mdsh-checkout-express-top .mdsh-express-affirm:focus {
	background: #3434d6;
}

.mdsh-checkout-express-top .mdsh-express-affirm:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.mdsh-checkout-express-top .mdsh-express-affirm::before,
.mdsh-checkout-express-top .mdsh-express-affirm::after {
	display: none !important;
	content: none !important;
}

.mdsh-checkout-express-top .mdsh-express-affirm img {
	display: block;
	width: auto;
	height: 22px;
	max-width: 100%;
}

.mdsh-checkout-express-top .mdsh-express-error {
	margin: 10px 0 0;
	color: #dd3333;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.mdsh-checkout-express-top .mdsh-express-error[hidden] {
	display: none;
}

/* Shown between PayPal approval and the order-received page. */
.mdsh-express-placing {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
}

.mdsh-express-placing span {
	padding: 16px 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	color: #111;
	font-size: 15px;
	font-weight: 600;
}

/* Strip carries its own PayPal / Affirm buttons; keep plugin wrappers out of it. */
.woocommerce-checkout .mdsh-checkout-express-top .ppc-button-wrapper,
.woocommerce-checkout .mdsh-checkout-express-top #ppc-button-ppcp-gateway,
.woocommerce-checkout .mdsh-checkout-express-top #ppc-button-ppcp-card-button-gateway,
.woocommerce-checkout .mdsh-checkout-express-top .ppcp-messages,
.woocommerce-checkout .mdsh-checkout-express-top .shockerhitch-affirm-payment,
.woocommerce-checkout .mdsh-checkout-express-top .shockerhitch-pay-later {
	display: none !important;
}

/* Hide leftover Stripe ECE / PRB inside the checkout form only — keep the top strip */
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element,
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-button-separator,
.woocommerce-checkout form.checkout > #wc-stripe-payment-request-wrapper,
.woocommerce-checkout form.checkout > #wc-stripe-payment-request-button-separator {
	display: none !important;
}

@media screen and (max-width: 767px) {
	.mdsh-cart-express-top {
		width: calc(100% + 30px);
	}

	.mdsh-cart-products-header {
		display: block;
	}
}

@media screen and (min-width: 768px) {
	/* Cart strip stays mobile-only; the checkout strip shows on desktop too. */
	.mdsh-cart-express-top:not(.mdsh-checkout-express-top),
	.mdsh-cart-products-header {
		display: none !important;
	}

	.woocommerce-checkout .mdsh-checkout-express-top {
		max-width: 600px;
		margin: 0 auto 16px;
	}
}

/* Affirm express button — match other ECE button height */
.woocommerce-cart .shockerhitch-affirm-payment {
	width: 100%;
}

.woocommerce-cart .shockerhitch-affirm-payment .checkout-button::before,
.woocommerce-cart .shockerhitch-affirm-payment .checkout-button::after,
.woocommerce-cart .mdsh-affirm-checkout-button::before,
.woocommerce-cart .mdsh-affirm-checkout-button::after {
	display: none !important;
	content: none !important;
}

.shockerhitch-pay-later .shockerhitch-affirm-payment .checkout-button img{
    display: inline-block !important;
}

/* Mobile cart item: image left of name/attrs; hide "Product:" label;
 * center Update / Save cart with equal spacing */
@media screen and (max-width: 767px) {
	.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item.cart_item {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		position: relative;
		padding: 14px 12px 4px;
		margin-bottom: 6px;
		box-sizing: border-box;
		column-gap: 12px;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove {
		position: absolute;
		top: 8px;
		right: 8px;
		z-index: 2;
		width: auto;
		padding: 0 !important;
		margin: 0;
		border: 0;
		clear: none;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail {
		flex: 0 0 80px;
		width: 80px;
		max-width: 80px;
		clear: none;
		text-align: left !important;
		padding: 20px 0 10px !important;
		border: 0;
		order: 1;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail a,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img {
		display: block;
		width: 80px;
		max-width: 100%;
		height: auto;
		margin: 0;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name {
		flex: 1 1 calc(100% - 100px);
		min-width: 0;
		clear: none;
		text-align: left !important;
		padding: 0 28px 10px 0 !important;
		border: 0;
		order: 2;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name[data-title]::before {
		content: none !important;
		display: none !important;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal {
		flex: 1 1 100%;
		order: 3;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100% !important;
		max-width: 100% !important;
		clear: none !important;
		float: none !important;
		text-align: right !important;
		padding: 6px 0 !important;
		margin: 0 !important;
		box-sizing: border-box;
	}

	/* Label left, value right (match screenshot) */
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price[data-title]::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity[data-title]::before,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal[data-title]::before {
		content: attr(data-title) ": " !important;
		float: none !important;
		display: block !important;
		flex: 0 0 auto;
		position: static !important;
		clear: none !important;
		font-weight: 700 !important;
		color: #6d6d6d !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !important;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price::after,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity::after,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal::after {
		content: none !important;
		display: none !important;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price .amount,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-price .woocommerce-Price-amount,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal .amount,
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal .woocommerce-Price-amount {
		float: none !important;
		display: block !important;
		margin: 0 0 0 auto !important;
		text-align: right !important;
		color: #000;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity .quantity {
		float: none !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: flex-end;
		width: auto !important;
		max-width: none !important;
		margin: 0 0 0 auto !important;
		text-align: right !important;
	}

	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-quantity .quantity .qty {
		float: none !important;
		text-align: center !important;
		margin: 0 !important;
	}

	.woocommerce-cart table.shop_table.cart td.actions {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 12px;
		text-align: center !important;
		clear: both;
		padding-top: 0px !important;
		padding-bottom: 8px !important;
		margin-top: 0;
	}

	.woocommerce-cart table.shop_table.cart td.actions .button:not([value="Apply coupon"]),
	.woocommerce-cart table.shop_table.cart td.actions .md-save-cart-button,
	.woocommerce-cart-form button[name="update_cart"] {
		float: none !important;
		margin: 0 !important;
	}
    .mdsh-cart-express-checkout{
        padding-right: 0 !important;
    }
    .mdsh-cart-express-separator {
        margin-top: 0 !important;
    }
    .mdsh-cart-express-top {
        margin-bottom: 0 !important;
    }
    .mdsh-cart-products-title{
        padding-top: 0 !important;
    }
    .woocommerce-checkout header.entry-header{
        display: none !important;
    }
    .woocommerce-checkout .wc-amazon-checkout-message {
        display: none !important;
    }
}

/* Checkout and Order received: one-row header like the storefront cart
 * (logo left, LiveChat and phone right, labels from 768px up).
 * Body class is only added on those pages: mdsh_checkout_one_row_header_body_class(). */
.mdsh-checkout-one-row-header.mdsh-custom-header header#masthead.site-header {
    position: relative !important; /* style.css fixes the masthead from 768px with !important */
    top: auto;
    margin: 0;
    padding: 0 !important; /* style.css pads the masthead up to 768px with !important */
    background: #fff;
    border-bottom: 1px solid #e7e8ea;
}
.mdsh-checkout-one-row-header #masthead .storefront-primary-navigation {
    padding: 0;
    background: #fff;
}
.mdsh-checkout-one-row-header.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full::before,
.mdsh-checkout-one-row-header.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full::after {
    display: none;
}
.mdsh-checkout-one-row-header.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 16px;
}
.mdsh-checkout-one-row-header.mdsh-custom-header header#masthead .storefront-primary-navigation .site-branding {
    display: block;
    order: 0;
    float: none;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}
.mdsh-checkout-one-row-header #masthead .site-branding .custom-logo-link {
    margin: 0;
}
.mdsh-checkout-one-row-header #masthead .site-branding .custom-logo {
    display: block;
    width: auto;
    max-width: none;
    height: 50px;
}
.mdsh-checkout-one-row-header #masthead .mobile-search-bar,
.mdsh-checkout-one-row-header #masthead .mdsh-mobile-header-utils {
    display: none !important;
}
.mdsh-checkout-one-row-header .mdsh-checkout-header-utils {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mdsh-checkout-one-row-header .mdsh-checkout-header-utils li {
    margin: 0;
    padding: 0;
}
.mdsh-checkout-one-row-header .mdsh-checkout-header-utils li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #17181c;
    text-decoration: none;
}
.mdsh-checkout-one-row-header .mdsh-checkout-header-utils li a > span {
    flex-shrink: 0;
    margin: 0;
}
.mdsh-checkout-one-row-header .mdsh-checkout-header-utils .mdsh-util-label {
    display: none;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #17181c;
}
.mdsh-checkout-one-row-header.woocommerce-checkout.mdsh-custom-header .storefront-breadcrumb {
    padding-top: 16px;
}
.mdsh-checkout-one-row-header.mdsh-custom-header .storefront-breadcrumb .woocommerce-breadcrumb {
    margin-left: auto;
    text-align: right;
}
/* Checkout (desktop): title left, "Back to cart" right on one row (page.php). */
.mdsh-checkout-one-row-header.woocommerce-checkout .site-main header.entry-header {
    align-items: center;
}
.mdsh-checkout-one-row-header .site-main header.entry-header a.mdsh-back-to-cart {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #727272;
    text-decoration: underline;
    text-transform: none;
}
/* Checkout only (not Order received): no top padding on the page article (style.css sets 30px). */
body.page-template-default.mdsh-checkout-one-row-header:not(.woocommerce-order-received) #content .content-area main article {
    padding-top: 0;
}
.mdsh-checkout-one-row-header.woocommerce-checkout .site-main header.entry-header h1.entry-title {
    text-transform: uppercase !important; /* overrides the capitalize !important above */
}
.mdsh-checkout-one-row-header.mdsh-custom-header .woocommerce-breadcrumb a.mdsh-back-to-cart {
    display: inline-block;
    min-width: 0;
    min-height: 0;
    font-size: 14px;
    line-height: 1.4;
}
.mdsh-checkout-one-row-header.mdsh-custom-header .woocommerce-breadcrumb a.mdsh-back-to-cart::before {
    content: none;
    display: none;
}
@media screen and (min-width: 768px) {
    .mdsh-checkout-one-row-header.mdsh-custom-header header#masthead .storefront-primary-navigation .col-full {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .mdsh-checkout-one-row-header #masthead .site-branding .custom-logo {
        height: 53px;
    }
    .mdsh-checkout-one-row-header .mdsh-checkout-header-utils {
        gap: 20px;
    }
    .mdsh-checkout-one-row-header .mdsh-checkout-header-utils .mdsh-util-label {
        display: inline;
    }
}
