body.woocommerce-checkout {
    background-color: #f6f6f6;
}

body:not(.woocommerce-cart-items-toggled) .show-less-items,
body:not(.woocommerce-cart-items-toggled) .cart_item_hidden,
body.woocommerce-cart-items-toggled .show-more-items {
    display: none;
}

body:not(.woocommerce-cart-items-toggled) .cart_item_fadeout td {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%);
}

p.form-row.validate-required.woocommerce-invalid.woocommerce-invalid-required-field label,
p.form-row.validate-required.woocommerce-invalid.woocommerce-invalid-required-field label a {
    color: var(--bde-woo-notices__error-link-text);
}

.checkout-inline-error-message {
    font-size: 12px;
    line-height: 130%;
    margin: 5px 0 0 0;
    color: var(--bde-woo-notices__error-link-text);
}

.bde-checkout-builder .woocommerce-checkout .col2-set,
.breakdance-woocommerce .woocommerce-checkout .col2-set,
.bde-checkout-builder .woocommerce-checkout .bde-order-review-column,
.breakdance-woocommerce .woocommerce-checkout .bde-order-review-column {
    width: var(--bde-woo-responsive__width, calc(50% - var(--bde-woo-base-extra-large-gaps) / 2)) !important;
}

div#customer_details {
    gap: 20px;
}

/* Checkout Coupon */
/* Only enable the last two styles when WooCommerce coupons are active */

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: none !important;
    padding: 0 !important;
    color: #212121 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info:before,
.woocommerce-form-coupon-toggle .woocommerce-info a:after {
    display: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #212121 !important;
    text-transform: none !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

form#woocommerce-checkout-form-coupon {
    margin-top: 20px;
}

.bde-woopagecheckout>.woocommerce {
    gap: 0 !important;
}

.bde-checkout-builder .woocommerce-checkout,
.breakdance-woocommerce .woocommerce-checkout {
    margin-top: 40px;
}

.bde-checkout-builder .woocommerce-form-coupon .input-text,
.breakdance-woocommerce .woocommerce-form-coupon .input-text {
    height: auto !important;
}

span#coupon-error-notice {
    color: var(--bde-woo-notices__error-link-text);
    font-size: 14px;
}

/* Headings */

.woocommerce-checkout h3 {
    text-transform: none !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    letter-spacing: 0 !important;
    line-height: 130% !important;
}

h3.checkout-subheader {
    padding: var(--bde-woo-base-medium-gaps) var(--bde-woo-base-medium-gaps) !important;
    border-bottom: solid 1px var(--bde-woo-wrappers__border-color);
}

/* Review Order */

table.woocommerce-checkout-review-order-table h3.checkout-subheader {
    border: none;
}

table.shop_table.woocommerce-checkout-review-order-table thead {
    background: white !important;
}

table.shop_table.woocommerce-checkout-review-order-table tr.cart_item {
    border-bottom: dashed 1px #e2e2e2 !important;
}

.product-name-wrapper {
    display: flex;
    gap: 10px;
}

.product-name-wrapper img {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border: solid 1px #e2e2e2;
    border-radius: 4px;
    padding: 2px;
}

.product-name-wrapper .product-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 130%;
}

.product-name-wrapper span.product-sku {
    font-size: 12px;
    opacity: .5;
}

.product-data dl.variation {
    margin: 5px 0 0 0 !important;
    font-size: 10px !important;
    line-height: 130% !important;
    column-gap: 5px !important;
    row-gap: 0 !important;
}

.product-data dl.variation dt,
.product-data dl.variation dd {
    font-size: 10px !important;
    line-height: 130%;
}

.product-data dl.variation dd p {
    font-size: 10px !important;
    line-height: 130% !important;
}

td.product-total {
    text-align: right;
}

td.product-total span bdi {
    font-size: 13px;
    line-height: 130%;
    font-weight: 600;
}

tr.cart_item_show_more {
    text-align: center;
}

tr.cart_item_show_more button {
    background: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: solid 1px #e2e2e2;
    padding: 6px 12px;
}

tr.cart_item_show_more button:hover {
    border-color: #bcbcbc;
}

table.shop_table.woocommerce-checkout-review-order-table {
    box-shadow: var(--bde-woo-wrappers__shadow);
}

.breakdance-woocommerce .woocommerce-checkout-review-order-table tbody tr td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.woocommerce-checkout-review-order-table tbody {
    box-shadow: inset var(--bde-woo-tables__border-color) var(--bde-woo-tables__border-width, 1px) 0 0 0, inset var(--bde-woo-tables__border-color) 0 var(--bde-woo-tables__border-width, 1px) 0 0, inset var(--bde-woo-tables__border-color) var(--bde-woo-tables__border-width-negative, -1px) 0 0 0 !important;
    border-radius: 0 !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot {
    background-color: white;
    box-shadow: inset var(--bde-woo-tables__border-color) 0 0 0 var(--bde-woo-tables__border-width, 1px);
    border-radius: 0 0 4px 4px !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr td {
    font-size: 13px !important;
    line-height: 130% !important;
    font-weight: 600 !important;
    border-bottom: none !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr.shipping th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.shipping td {
    padding-top: 0;
    padding-bottom: 0;
}


table.shop_table.woocommerce-checkout-review-order-table tfoot tr td {
    text-align: right !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.shipping {
    border-bottom: none !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total {
    border-top: none !important;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding-top: var(--bde-woo-base-medium-gaps);
}

table.shop_table.woocommerce-checkout-review-order-table tfoot tr.tax-rate th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.tax-rate td,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding-bottom: var(--bde-woo-base-medium-gaps);
}

/* Shipping */

.shipping-method-review-inner {
    font-size: 0;
}

ul.woocommerce-shipping-methods {
    font-size: 16px;
    padding: 0px 20px 20px 20px !important;
}

ul.woocommerce-shipping-methods li input {
    display: none;
}

ul.woocommerce-shipping-methods li label:before {
    content: "";
    border: solid 1px #D9D9D9;
    border-radius: 100px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    margin-right: 8px;
}

ul.woocommerce-shipping-methods li input[type="hidden"]+label:before,
ul.woocommerce-shipping-methods li input:checked+label:before {
    border: solid 6px #252525;
}

ul.woocommerce-shipping-methods li label {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 15px 12px;
    border-radius: 4px;
    border: solid 1px #D9D9D9;
    transition: .1s ease;
}

ul.woocommerce-shipping-methods li label:hover,
ul.woocommerce-shipping-methods li label:hover::before {
    border-color: #bcbcbc;
}

ul.woocommerce-shipping-methods li input[type="hidden"]+label,
ul.woocommerce-shipping-methods li input:checked+label {
    border-color: #212121;
}

ul.woocommerce-shipping-methods li label .shipping-method-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
}

.shipping-method-review {
    background-color: var(--bde-woo-wrappers__background-color);
    border-radius: var(--bde-woo-wrappers__border-radius);
    border: var(--bde-woo-wrappers__border-width) solid var(--bde-woo-wrappers__border-color);
    box-shadow: var(--bde-woo-wrappers__shadow);
}

#ship-to-different-address span {
    font-weight: 500 !important;
    font-size: 18px !important;
}

/* Payments */

div#payment {
    padding: 0 !important;
}

div#payment .form-row.place-order {
    padding: 0 20px 20px 20px;
}

button#place_order {
    text-transform: none !important;
}

button#place_order:after {
    display: none !important;
}

ul.wc_payment_methods.payment_methods.methods {
    padding: 15px 20px;
}

ul.wc_payment_methods.payment_methods.methods li input {
    display: none;
}

.wc_payment_method label {
    border: solid 1px #D9D9D9;
    border-radius: 4px;
    padding: 15px 12px;
    transition: .1s ease;
    width: 100%;
    display: flex;
}

.wc_payment_method label:before {
    content: "";
    border: solid 1px #D9D9D9;
    border-radius: 100px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    margin-right: 8px;
}

.wc_payment_method label:hover,
.wc_payment_method label:hover::before {
    border-color: #bcbcbc;
}

.wc_payment_method input[type="hidden"]+label,
.wc_payment_method input[type="hidden"]+label:before,
.wc_payment_method input:checked+label,
.wc_payment_method input:checked+label:before {
    border-color: #252525;
}

.wc_payment_method input[type="hidden"]+label:before,
.wc_payment_method input:checked+label:before {
    border-width: 6px;
}

.payment_box {
    line-height: 150%;
    font-size: 13px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    opacity: .7;
}

.woocommerce-terms-and-conditions-wrapper abbr.required {
    display: none !important;
}

span.woocommerce-terms-and-conditions-checkbox-text {
    line-height: 150%;
}

span.woocommerce-terms-and-conditions-checkbox-text:after {
    content: "*";
    margin-left: 5px;
    color: #CE4737;
}

.woocommerce-terms-and-conditions {
    border: solid 1px #e2e2e2;
    border-radius: 4px;
    padding: 15px;
    background: #f7f7f7;
}

/* Order Received */

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: white;
    color: #252525;
    font-weight: 600;
    font-size: 20px !important;
    margin: 0;
    border-radius: var(--bde-woo-wrappers__border-radius);
    border: var(--bde-woo-wrappers__border-width) solid var(--bde-woo-wrappers__border-color);
    box-shadow: var(--bde-woo-wrappers__shadow);
}

h2.woocommerce-order-details__title {
    text-transform: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 130% !important;
    margin-top: 20px !important;
}

th.woocommerce-table__product-table.product-total {
    text-align: right !important;
}

.woocommerce-table--order-details .product-name a {
    font-size: 14px;
    line-height: 130%;
}

.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.woocommerce-table--order-details tfoot td {
    text-align: right !important;
}

.woocommerce-table--order-details tfoot tr:last-child {
    border-top: none !important;
}

.woocommerce-customer-details h2.woocommerce-column__title {
    text-transform: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

section.woocommerce-customer-details {
    margin-top: 20px;
}

tr.woocommerce-table__line-item.order_item td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.woocommerce-columns--addresses .woocommerce-column {
    gap: 10px !important;
}

@media (max-width:767px) {

    p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received,
    ul.woocommerce-order-overview {
        padding: 15px !important;
    }

    ul.woocommerce-order-overview li {
        font-size: 12px !important;
    }

    ul.woocommerce-order-overview li strong {
        font-size: 14px;
    }

    section.woocommerce-columns.addresses {
        flex-direction: column !important;
    }

    section.woocommerce-customer-details {
        padding: 25px 15px !important;
    }

    .woocommerce-column {
        gap: 10px !important;
    }

    .woocommerce-table--order-details tfoot tr th,
    .woocommerce-table--order-details tfoot tr td {
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 14px !important;
    }

    .woocommerce-customer-details address {
        font-size: 14px !important;
    }
}

/* WooCommerce Messages */

ul.woocommerce-error li a {
    text-transform: none !important;
    font-size: 14px;
    line-height: 130%;
}

.woocommerce-error li:before {
    display: none;
}