/** CHECKOUT **/
:root {
    --checkout-color: #f37a1f;
}

/* Notifications */
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    flex-wrap: wrap;
    width: 100%;
}

/* Content */
.adinvest-checkout--content-box.checkout-billing-shipping__container {
    width: calc(100% - 655px);
    margin-right: 190px;
}

@media (max-width: 1024px) {
    .adinvest-checkout--content-box.checkout-billing-shipping__container {
        width: 100%;
        margin-right: 0;
    }
}

.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing {
    margin-bottom: 60px;
}

.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields h3,
.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields h3 {
    padding-bottom: 0;
    font-size: 18px !important;
    text-transform: uppercase;
    border-bottom: none;
}

.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper label,
.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields__field-wrapper label {
    font-size: 14px;
}

.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper input,
.adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-shipping .woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper input,
.adinvest-checkout--content-box.checkout-billing-shipping__container .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper .select2-selection__rendered,
.adinvest-checkout--content-box.checkout-billing-shipping__container .woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper .select2-selection__rendered {
    height: 36px;
    font-size: 14px;
    line-height: 36px;
}

@media (max-width: 480px) {
    .adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper #billing_first_name_field,
    .adinvest-checkout--content-box.checkout-billing-shipping__container .checkout-billing .woocommerce-billing-fields__field-wrapper #billing_last_name_field {
        float: none;
        width: 100%;
    }
}

.select2-container--default .select2-selection--single {
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37px;
}

/* ORDER Review */
.adinvest-checkout--content-box.checkout-order-review__container {
    max-width: 465px;
    width: 100%;
    padding-top: 24px;
}

@media (max-width: 1024px) {
    .adinvest-checkout--content-box.checkout-order-review__container {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }
}

.adinvest-checkout--content-box.checkout-order-review__container div.woocommerce-checkout-review-order {
    display: block !important;
    padding: 32px 20px;
    margin-left: auto;
    margin-right: 0;
    background-color: #f7f7f7;
}

.adinvest-checkout--order-review__table .table-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #e1e1e1;
}

.adinvest-checkout--order-review__table .table-header .title {
    width: 50%;
    margin-top: 0;
    margin-bottom: 0;
}

.adinvest-checkout--order-review__table .table-header .title.column-product-subtotal {
    text-align: right;
}

@media (max-width: 480px) {
    .adinvest-checkout--order-review__table .table-header .title.column-product-subtotal {
        display: none;
    }
}

.adinvest-checkout--order-review__table .table-body {
    padding-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e1e1e1;
}

.adinvest-checkout--order-review__table .table-body .cart_item {
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .adinvest-checkout--order-review__table .table-body .cart_item {
        position: relative;
        padding-bottom: 12px;
    }
}

.adinvest-checkout--order-review__table .table-body .cart_item .product-name,
.adinvest-checkout--order-review__table .table-body .cart_item .product-total {
    width: 100%;
    font-size: 14px;
    font-weight: 600;
}

.adinvest-checkout--order-review__table .table-body .cart_item .product-name {
    max-width: 260px;
}

.adinvest-checkout--order-review__table .table-body .cart_item .product-name dl.variation {
    font-size: 10px;
    font-weight: normal;
}

.adinvest-checkout--order-review__table .table-body .cart_item .product-total {
    max-width: calc(100% - 260px);
    text-align: right;
}

@media (max-width: 480px) {
    .adinvest-checkout--order-review__table .table-body .cart_item .product-name {
        max-width: 100%;
    }

    .adinvest-checkout--order-review__table .table-body .cart_item .product-name::after {
        display: block;
        content: '';
        width: 24px;
        height: 1px;
        margin-top: 4px;
        margin-bottom: 4px;
        border-bottom: 1px dashed #999;
    }

    .adinvest-checkout--order-review__table .table-body .cart_item .product-total {
        max-width: 100%;
        text-align: left;
    }
}

.adinvest-checkout--order-review__table .table-footer {
    padding-top: 18px;
}

.adinvest-checkout--order-review__table .table-footer .cart-subtotal,
.adinvest-checkout--order-review__table .table-footer .woocommerce-shipping-totals.shipping {
    margin-bottom: 28px;
}

.adinvest-checkout--order-review__table .table-footer .content-inner .content-inner__title,
.adinvest-checkout--order-review__table .woocommerce-shipping-totals .shipping-totals__title {
    max-width: 144px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.adinvest-checkout--order-review__table .table-footer .content-inner .content-inner__body,
.adinvest-checkout--order-review__table .woocommerce-shipping-totals .shipping-totals__body {
    max-width: calc(100% - 144px);
    width: 100%;
}

@media (max-width: 480px) {
    .adinvest-checkout--order-review__table .table-footer .content-inner .content-inner__title,
    .adinvest-checkout--order-review__table .woocommerce-shipping-totals .shipping-totals__title {
        margin-bottom: 12px;
    }

    .adinvest-checkout--order-review__table .table-footer .content-inner .content-inner__body,
    .adinvest-checkout--order-review__table .woocommerce-shipping-totals .shipping-totals__body {
        max-width: 100%;
    }
}

.adinvest-checkout--order-review__table .table-footer .content-inner p.content-inner__body,
.adinvest-checkout--order-review__table .woocommerce-shipping-totals p.shipping-totals__body {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: bold;
}

.adinvest-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods {
    text-align: left;
}

form.adinvest-checkout--form__container .adinvest-checkout--content-box ul li input[type="radio"],
.adinvest-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li input {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    padding: 8px;
    margin-top: 0;
    margin-right: 4px;
    margin-left: 0;
    background-color: #fff;
    border: 2px solid var(--checkout-color);
    border-radius: 100%;
}

form.adinvest-checkout--form__container .adinvest-checkout--content-box ul li input[type="radio"]::after,
.adinvest-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li input::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    transform: translate(-50%, -50%);
}

form.adinvest-checkout--form__container .adinvest-checkout--content-box ul li input[type="radio"]:checked::after,
.adinvest-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li input:checked::after {
    background-color: var(--checkout-color);
}

.adinvest-checkout--order-review__table .woocommerce-shipping-totals #shipping_method.woocommerce-shipping-methods li label {
    font-size: 16px;
    font-weight: bold;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment ul.wc_payment_methods {
    margin-bottom: 40px;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment li.wc_payment_method {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 0;
    border-bottom: 1px solid #e1e1e1;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment li.wc_payment_method label {
    font-size: 16px;
    font-weight: bold;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment li.wc_payment_method .payment_box {
    padding-bottom: 0;
    font-size: 12px;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment li.wc_payment_method .payment_box p {
    margin-bottom: 0;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text,
.adinvest-checkout--content-box .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
.adinvest-checkout--content-box .woocommerce-checkout-payment .adinvest-checkout--gdpr-privacy__wrapper .woocommerce-input-wrapper {
    font-size: 12px;
    font-weight: normal;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment .adinvest-checkout--gdpr-privacy__wrapper {
    margin-bottom: 40px;
}

.adinvest-checkout--content-box .woocommerce-checkout-payment button#place_order.adinvest-checkout--btn--place-order[type="submit"] {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}
