.woocommerce-checkout {
    #primary {
        width: 100%;
    }
    #customer_details {
        p.form-row-first,
        p.form-row-last {
            width: 50%;
            float: left;
        }
        p.form-row-first {
            padding-right: 15px;
        }
        p.form-row-last {
            padding-left: 15px;
        }
        .form-row {
            label {
                display: block;
                font-weight: bold;
                margin-bottom: 7px;
            }
            input.input-text {
                height: 45px;
                line-height: 45px;
                border-radius: 5px;
                padding-left: 10px;
                padding-right: 10px;
                width: 100%;
            }
            textarea.input-text {
                padding-left: 10px;
                padding-right: 10px;
            }
            .select2-container {
                line-height: 45px;
                height: 45px;
                .select2-selection--single {
                    height: 45px;
                    padding-top: 7px;
                    border-color: #cccccc;
                    .select2-selection__arrow {
                        top: 8px;
                    }
                }
            }
        }
    }
}

.checkout_coupon {
    .form-row {
        display: inline-block;
    }
    .input-text {
        border-color: transparent;
        border-bottom-color: #ccc;
        margin-right: 15px;
        font-size: 16px;
        &:focus {
            outline: 0;
        }
    }
}

.shop_table.woocommerce-checkout-review-order-table {
    .cart-subtotal,
    .order-total {
        .amount {
            font-weight: bold;
            font-size: 1.5em;
        }
    }
    .product-total,
    .cart-subtotal td,
    .order-total td,
    .shipping td {
        text-align: right;
    }
}

.wc_payment_methods {
    padding-left: 0;
    list-style-type: none;
    .payment_method_paypal {
        img {
            display: block;
        }
    }
}

.woocommerce-checkout-review-order-table {
    .cart_item {
        .product-name {
            .nbd-cart-upload-file {
                margin-bottom: 10px;
                margin-top: 10px;
                a {
                    display: inline-block;
                    padding: 0 5px;
                }
            }
        }
    }
}

.woocommerce-checkout {
    .woocommerce {
        .nb-checkout-row {
            form.checkout {
                .form-row {
                    .select2-container--default {
                        .select2-selection--single {
                            border-radius: 5px;
                            padding-left: 10px;
                            .select2-selection__rendered {
                                line-height: 30px;
                            }
                            .select2-selection__arrow {
                                height: 30px;
                            }
                        }
                    }
                }
            }
            #payment {
                ul.wc_payment_methods {
                    li.wc_payment_method {
                        input.input-radio[name=payment_method] {
                            &+label:before {
                                box-shadow: 0 0 0 2px #666;
                                background: #666 !important;
                            }
                        }
                    }
                }
            }
        }
        .product-quantity {
            .quantity {
                .qty{
                    border-top-right-radius: 0;
                    border-bottom-right-radius: 0;
                }
                .qty-buttons {
                    border-radius: 0px 3px 3px 0px;
                }
            }
        }
    }
}

.page-template-nb-checkout {
    .woocommerce-additional-fields {
        #order_comments {
            border-radius: 5px;
        }
    }
    #order_review {
        .place-order {
            .bt-5 {
                height: 50px;
                border-radius: 5px;
                border: none;
            }
        }
    }
    #nb-checkout-cart {
        .shop_table {
            .nbt-ou-fast {
                button {
                    height: 30px;
                    line-height: 23px;
                }
            }
        }
    }
    .entry-content {
        .woocommerce {
            margin-top: 30px;
            margin-bottom: 90px;
        }
    }
}

.nb-woocommerce-checkout {
    @include media-breakpoint-down(sm) {
        #nb-checkout-cart {
            td.product-price:before {
                content: '';
            }
            td.product-quantity:before {
                content: '';
            }
            td.product-subtotal:before {
                content: '';
            }
        }
    }
}

.nbt-faqs-container {
    ul {
        .nbt-faq-title {
            padding-right: 25px;
        }
    }
}

/*checkout*/

form.woocommerce-checkout {
    h3 {
        font-weight: 400;
    }
    #customer_details {
        .form-row {
            label {
                font-weight: 400;
            }
            input.input-text,
            textarea {
                border: none;
                background-color: #f4f4f4;
                padding-left: 15px;
            }
            textarea {
                min-height: 150px;
            }
            span {
                .select2-selection {
                    border: none;
                    background-color: #f4f4f4;
                    .select2-selection__rendered {
                        padding-left: 15px;
                    }
                }
            }
        }
    }
    #order_review {
        table.shop_table {
            background-color: #f4f4f4;
            padding: 15px;
            display: block;
            thead,
            tbody,
            tfoot{
                display: table;
                width:100%;
            }
            tr.cart_item {
                .product-name {
                    padding-bottom: 0;
                }
                .product-total {
                    span {
                        font-weight: 600;
                    }
                }
                .nbd-cart-upload-file {
                    p {
                        color: #999999;
                    }
                    a {
                        padding: 5px 20px;
                        text-transform: capitalize;
                        white-space: nowrap;
                        @media (max-width: 320px) {
                            padding: 5px 10px;
                        }
                    }
                    &:not(:last-of-type)[id] {
                        border-bottom: 1px dashed #ccc;
                        padding-bottom: 25px;
                        margin-bottom: 20px;
                    }
                }
            }
            tr.cart-subtotal,tr.order-total{
                td{
                    text-align:right;
                }
            }
            tfoot {
                ul {
                    padding-left: 0;
                    list-style-type: none;
                    ;
                }
            }
        }
        #payment {
            input[type="submit"] {
                text-transform: capitalize;
                font-size: 18px;
            }
        }
    }
}

form.checkout_coupon {
    input[type="text"] {
        border: none;
        background-color: #f4f4f4;
        padding-left: 15px;
    }
    input[type="submit"] {
        text-transform: capitalize;
        font-size: 18px;
    }
}