@media (min-width: 992px) {
    form.woocommerce-checkout {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
    }

    #customer_details {
        width: 65%;
        float: left;
        display: flex;
        flex-direction: column;
        padding: 30px;
    }

    #customer_details .col-1,
    #customer_details .col-2 {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout-review-order-wrap {
        width: 31%;
        float: right;
        clear: none;
        padding: 30px;
    }

    #order_review_heading {
        display: none;
    }

    .woocommerce-NoticeGroup-checkout {
        flex-basis: 100%;
        width: 100%;
    }

    .checkout-place-order-wrapper {
        width: 65%;
        flex-basis: 65%;
        order: 3;
        margin-top: 0;
    }
}

.shipping input[type="radio"],
.wc_payment_methods input[type="radio"],
.checkout-shipping-methods input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.shipping input[type="radio"] + label::before,
.wc_payment_methods input[type="radio"] + label::before,
.checkout-shipping-methods input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid #e2e2e2;
    background: #f2f2f2;
    border-radius: 50%;
    margin-right: 11px;
    transition: all 0.3s;
    vertical-align: middle;
}

.shipping input[type="radio"]:checked + label::before,
.wc_payment_methods input[type="radio"]:checked + label::before,
.checkout-shipping-methods input[type="radio"]:checked + label::before {
    background: #000000;
    border-color: #000000;
}

.shipping label,
.wc_payment_methods label,
.checkout-shipping-methods label {
    cursor: pointer;
    display: inline-block;
}

.checkout-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.checkout-section-title:first-child {
    margin-top: 0;
}

.checkout-products-list .cart_item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.checkout-products-list .cart_item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-products-list .cart_item .product-name {
    display: flex;
    width: 100%;
}

.checkout-products-list table{
    border: 0;
}

.checkout-products-list table td, .checkout-products-list table th{
    border: 0;
}

.checkout-products-list .cart_item .product-total {
    display: none;
}

.checkout-products-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.checkout-products-list .review-wrap {
    display: grid;
}

.checkout-products-list .rv-titel {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    margin-right: 0;
}

.checkout-products-list .product-quantity {
    color: #666;
    font-weight: normal;
}

.checkout-products-list .total-price {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
}

.checkout-shipping-methods ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-shipping-methods li:hover {
    border-color: #999;
}

.checkout-section-title-main {
    font-family: 'Maison Neue';
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 2px;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 49px;
}

.checkout-payment-methods .wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-payment-methods .wc_payment_method {
    margin: 10px 0;
}

.checkout-payment-methods .payment_box p{
    margin-bottom: 0;
}

.checkout-payment-methods .payment_box {
    margin-top: 10px;
    padding: 10px;
    background: white;
    border-left: 3px solid #ddd;
}

.checkout-payment-methods label img {
    max-height: 30px;
    vertical-align: middle;
    margin-left: 5px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
}

.totals-row.total-row {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 18px;
}

.totals-label {
    color: #666;
}

.totals-value {
    font-weight: 600;
}

.checkout-place-order-wrapper #place_order {
    margin-top: 0;
}

.checkout-place-order-wrapper #place_order:hover {
    background: #dc3545;
}

.checkout .col2-set:not(.woocommerce-Addresses){
    margin-bottom: 0;
}

.checkout-place-order-wrapper .woocommerce-terms-and-conditions-wrapper {
    margin-top: 0;
}

.checkout-place-order-wrapper .woocommerce-privacy-policy-text {
    margin-bottom: 15px;
    font-size: 13px;
}

.checkout-place-order-wrapper .woocommerce-privacy-policy-text p{
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .checkout-right-column {
        margin-top: 30px;
    }
    
    .checkout-place-order-wrapper .woocommerce-terms-and-conditions-wrapper {
        margin-top: 50px;
    }

    .woocommerce-checkout-review-order-wrap{
        margin-top: 2em;
    }
}

@media (min-width: 992px) {
    .woocommerce-cart-form {
        width: 65%;
        float: left;
        padding-right: 15px;
    }

    .cart-collaterals {
        width: 35%;
        float: right;
        padding-left: 15px;
    }

    .woocommerce-cart-form table.cart {
        width: 100%;
        table-layout: auto;
        font-size: 13px;
    }

    .woocommerce-cart-form table.cart th,
    .woocommerce-cart-form table.cart td {
        padding: 10px 5px;
        vertical-align: middle;
    }

    .woocommerce-cart-form table.cart .product-thumbnail {
        width: 80px;
    }

    .product-quantity .quantity .control{
        width: 100%;
    }

    .wc-proceed-to-checkout .checkout-button{
        margin-right: 0;
        width: 100%;
        min-width: 100%;
    }
    
    .cart-collaterals .cart_totals{
        padding: 30px;
    }
    
    .cart-collaterals .cart_totals .shop_table{
        width: 100%;
    }

    body .woocommerce table.shop_table .product-thumbnail{
        padding-left: 15px;
    }

    body .woocommerce table.shop_table tr td.product-remove{
        padding-right: 0;
    }

    .woocommerce-cart-form .product-quantity .quantity {
        margin: 0 auto;
    }

    .woocommerce-cart-form .product-quantity .control {
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }

    .woocommerce-cart-form .product-quantity .btn-number {
        width: 20px;
        height: 20px;
        font-size: 11px;
        padding: 0;
        line-height: 1;
    }

    .woocommerce-cart-form .product-quantity .input-qty {
        width: 35px !important;
        height: 20px;
        font-size: 12px;
        text-align: center;
        padding: 0 2px;
        border: 1px solid #ddd;
    }

    .woocommerce-cart-form .product-quantity .quantity > text {
        display: none;
    }

    .wc-proceed-to-checkout{
        width: 100%;
    }


}

@media (max-width: 991px) {
    .woocommerce-cart-form,
    .cart-collaterals {
        width: 100%;
        float: none;
        padding: 0;
    }

    .cart-collaterals {
        margin-top: 30px;
    }
}