.checkout_coupon {
    .form-row {
        display: inline-block;
        float: none;
        width: auto;
        // vertical-align: middle;
        padding-#{$right}: 0
    }
    #coupon_code {
        padding: 3px 13px;
    }
    [name="apply_coupon"] {
        padding: 9.25px 18px;
    }
    .coupon-error-notice {
        display: block;
    }
}

form.checkout_coupon {
    padding-bottom: 5px;
}

.woocommerce-form-coupon-toggle,
.woocommerce-form-login-toggle {
    font-weight: 500;
    letter-spacing: -.025em;
}

.form-row.terms {
    position: relative;
    margin-top: 15px;
    .input-checkbox {
        position: absolute;
        #{$left}: 0;
        top: 2px;
    }
    label.checkbox {
        margin-#{$left}: 20px;
        display: block;
    }
}

.payment_methods {
    margin: 15px 0 10px;
    padding: 0;
    list-style: none;

    li {
        padding-bottom: 10px;
    }

    p {
        margin-bottom: .5rem
    }

    .porto-control-label {
        font-size: 14px;
        font-weight: 400;
        display: inline;
    }
    .payment_method_paypal {
        .about_paypal {
            display: inline-block;
            // margin-#{$left}: 10px;
        }
        img {
            max-width: 170px;
            margin-left: .4rem;
            margin-right: .4rem;
        }
        @media #{$screen-medium} {
            .input-radio {
                vertical-align: top;
            }
            // img,
            // .about_paypal {
            //     display: block;
            //     margin: 0;
            // }
        }
        @media #{$screen-small} {
            img {
                max-width: 150px;
            }
        }
    }
}

.woocommerce-page {
    .woocommerce {
        header {
            margin-top: 32px;
        }
        .featured-box {
            header {
                margin-top: 20px;
            }
        }
    }
}

.checkout-v2 .card-header {
    line-height: 40px;
}

/*.place-order{
	img{
		margin-#{$left}: 5px;
		display: none;
	}
}*/
form.woocommerce-checkout {
    h3 {
        margin-bottom: 13px;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -.01em;
        line-height: 32px;
    }
}

.woocommerce-checkout .select2-container {
    height: 50px;
    .select2-selection--single {
        height: 50px;
        border-color: var(--porto-input-bc);
    }
}
.woocommerce-cart .select2-container {
    height: 38px;
    .select2-selection--single {
        height: 38px;
        border-color: var(--porto-input-bc);
    }
}
.woocommerce-cart .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 18px;
}
.woocommerce-checkout,
.woocommerce-cart {
    .select2-container {
        font-size: 0.85rem;
    }
    .select2-dropdown {
        border-color: var(--porto-input-bc);
    }
    .select2-container--default .select2-search--dropdown .select2-search__field {
        border-color: var(--porto-gray-2);
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding: 10px 12px;
        color: var(--porto-body-color);
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 50%;
        transform: translateY(-50%);
    }
    .screen-reader-text {
        clip: rect(1px,1px,1px,1px);
        height: 1px;
        overflow: hidden;
        position: absolute!important;
        width: 1px;
        word-wrap: normal!important;
    }
    textarea::placeholder {
        font-size: 12px;
    }
    .shipping_address {
        margin-top: 1rem;
    }
    .select2-selection__arrow b {
        display: none;
    }
    .select2-selection__arrow:before {
        content: "\e81c";
        font-family: 'porto';
        font-size: 1rem;
        line-height: 26px;
    }
}

.woocommerce-checkout {
    input[type="text"], input[type="email"],input[type="tel"], input[type="password"] {
        line-height: 30px;
    }
    label {
        margin-bottom: 3px;
        font-weight: 500;
        letter-spacing: -0.01em;
    }

    > .row > wc-order-attribution-inputs {
        padding: 0;
    }
}

#order_comments {
    min-height: 125px;
}


.woocommerce-privacy-policy-text p {
    font-size: 12px; line-height: 23px; color: #8a8b8e;
}

.checkout-order-review {
    .featured-boxes {
        padding: 22px 32px;
    }
    .woocommerce-privacy-policy-text p {
        padding: 0 8px;
        font-size: 13px;
    }
    .shop_table tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .shop_table td {
        padding: 12px 10px; 
        &:only-child {
            flex: 1;
        }
    }
    .shop_table .product-thumbnail img {
        max-width: 60px;
    }
    .product-checkout-wrap {
        display: flex;
    }
    .product-thumbnail {
        margin-#{$right}: 15px;
    }
    dl.variation {
        font-size: 9px;
        line-height: 1.34em;
        letter-spacing: 0.005em;
        color: var(--porto-heading-color);
    }
    .quantity >* {
        border-color: #dae2e6;
    }
    .product-name {
        font-size: 14px;
        line-height: 1.5em;
        font-weight: 500;
        letter-spacing: -0.001em;
        color: var(--porto-heading-color);
        padding-#{$right}: 30px;
        position: relative;
        text-align: start;
        a.remove-product {
            line-height: 19px;
            top: 0 !important;
            right: 0 !important;
            box-shadow: none;
            border: 1px solid var(--porto-gray-2);
        }
    }
    
    tbody .amount,
    .cart-subtotal {
        font-size: 16px;
        letter-spacing: -0.01em;
    }
    .product-total {
        position: relative;
        vertical-align: bottom;
        line-height: 36px;
    }
    .product-content {
        flex: 1;    
    }
    .product-price {
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    dt {
        margin: 0;
    }
}
@media (max-width: 575px) {
    .checkout-order-review {
        .featured-boxes {
            padding: 22px 16px;
        }
        .product-thumbnail {
            margin-#{$right}: 10px;
        }
        .product-price {
            flex-direction: column;
            align-items: flex-start;
        }
    }

}
.woocommerce-shipping-totals td {
    padding: 25px 10px;
}

/*
 * Germanized for WooCommerce
 * @since 6.8.0
 */
 .woocommerce-checkout .shop_table .button {
    color: #fff;
 }
