.woocommerce-checkout form[name="checkout"] {
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.woocommerce-checkout .woocommerce-error {
    background-color: transparent;
}

.woocommerce-checkout #customer_details {
    width: 100%;
    max-width: calc(65% - 24px);
    margin-right: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    height: max-content;
}

.woocommerce-checkout .order-review-wrap {
    width: 100%;
    max-width: 35%;
}

.woocommerce-checkout .select2-container {
    z-index: 100;
}

.woocommerce-checkout .woocommerce-billing-fields h3 {
    position: relative;
}

.woocommerce-checkout form[name="checkout"] h3 {
    font-weight: 500;
    font-size: 16px;
    color: #000;
}

.woocommerce-checkout .woocommerce-account-fields p {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    color: rgb(0, 13, 27);
    margin-top: 24px;
}

.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 16px;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
    display: none;
}

.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    margin-top: 16px;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_city_label_field,
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_area_name_field,
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_warehouse_ref_field {
    position: absolute;
    left: 0;
    height: 0;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout #mrkv_ua_shipping_nova-global_address-shipping-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
    column-gap: 18px;
    margin-top: 18px;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-global_address-shipping-info p {
    margin-bottom: 0;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
p,
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta-shipping-info p,
.woocommerce-checkout #order_comments_field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 100%;
    margin-bottom: 0;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
p
span
strong {
    font-size: 14px;
    font-weight: 400;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
p
label,
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta-shipping-info p,
.woocommerce-checkout #order_comments_field,
.woocommerce-checkout #mrkv_ua_shipping_nova-global_address_fields label {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    color: rgb(0, 13, 27);
}

.woocommerce-checkout .woocommerce-input-wrapper .input-text,
.woocommerce-checkout
#mrkv_ua_shipping_nova-poshta-shipping-info
p
.woocommerce-input-wrapper
select
option {
    width: 100%;
    height: 46px;
    padding: 12px 16px;
    border-color: rgba(30, 33, 38, 0.2);
    border-radius: 6px;
    border-width: 2px;
}
.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
p
span {
    height: 46px;
    border-color: rgba(30, 33, 38, 0.2);
    border-width: 2px;
}

.woocommerce-checkout .wp-block-heading {
    font-size: 30px;
    letter-spacing: -0.96px;
    margin: 34px 0;
    font-weight: 700;
    line-height: 36px;
}

.woocommerce-checkout .woo-user-logged-status,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    background: rgb(237, 237, 237);
    border-radius: 8px;
    padding: 10px 12px;
    min-height: 56px;
    margin-bottom: 20px;
    gap: 8px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none;
}

.woocommerce-checkout .woo-user-logged-status a,
.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    font-weight: 500;
    text-decoration: underline;
    color: #242424;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
.validate-phone
label {
    position: relative;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
.validate-phone
label::after {
    color: #000;
    position: absolute;
    left: 0;
}

.woocommerce-checkout #billing_country_field label {
    position: relative;
}

.woocommerce-checkout #billing_country_field label::after {
    color: black;
    position: absolute;
    left: 0;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
.validate-email
label {
    position: relative;
}

.woocommerce-checkout
.woocommerce-billing-fields
.woocommerce-billing-fields__field-wrapper
.validate-email
label::after {
    position: absolute;
    left: 0;
    color: black;
}

.woocommerce-checkout #billing_city_field label {
    position: relative;
}

.woocommerce-checkout #billing_city_field label::after {
    color: black;
    position: absolute;
    left: 0;
}

.woocommerce-checkout #billing_address_1_field label {
    position: relative;
}

.woocommerce-checkout #billing_address_1_field label::after {
    color: black;
    position: absolute;
    left: 0;
}

.woocommerce-checkout #select2-billing_country-container {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
    display: flex;
    align-items: center;
}

.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    right: 12px;
}

.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
        top: 2px;
        width: 40px;
        height: 42px !important;
        background: #fff;
        background-image: url("/wp-content/themes/ft/assets/img/arrow-down.svg");
        background-repeat: no-repeat;
        background-position: center;
        right: 1px;
}

.woocommerce-checkout
.mrkv-ua-shipping-loading + .select2-container--default
.select2-selection--single
.select2-selection__arrow {
    background: transparent;
}

.woocommerce-checkout
.select2-container--default.select2-container--open
.select2-selection--single
.select2-selection__arrow {
    transform: rotate(180deg);
}

.woocommerce-checkout
.select2-container--default
.select2-selection--single
.select2-selection__arrow
* {
    visibility: hidden;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-poshta-shipping-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
    column-gap: 18px;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_city_label_field {
    height: 1px;
    grid-area: none;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_city_ref_field,
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_warehouse_number_field {
    grid-area: none;
}
.woocommerce-checkout #mrkv_ua_shipping_nova-poshta_warehouse_field {
    grid-column: 2;
    grid-row: 1;
}

.woocommerce-checkout #mrkv_ua_shipping_nova-poshta-shipping-info p span {
    height: 46px;
}

.woocommerce-checkout
#mrkv_ua_shipping_nova-poshta-shipping-info
#mrkv_ua_shipping_nova-poshta_warehouse_number_field,
.woocommerce-checkout
#mrkv_ua_shipping_nova-poshta-shipping-info
#mrkv_ua_shipping_nova-poshta_city_ref_field {
    display: none;
}

.woocommerce-checkout #order_comments_field label {
    position: relative;
}

.woocommerce-checkout #order_comments_field label::after {
    color: black;
    position: absolute;
    left: 0;
    width: 410px;
}

.woocommerce-checkout #select2-mrkv_ua_shipping_nova-poshta_city-container span,
.woocommerce-checkout
#select2-mrkv_ua_shipping_nova-poshta_warehouse-container
span {
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.woocommerce-checkout #order_comments {
    padding-top: 16px;
    font-size: 12px;
    resize: none;
}

/*.woocommerce-checkout*/
/*.woocommerce-billing-fields*/
/*.woocommerce-billing-fields__field-wrapper*/
/*#billing_state_field*/
/*label,*/
/*.woocommerce-checkout*/
/*.woocommerce-billing-fields*/
/*.woocommerce-billing-fields__field-wrapper*/
/*#billing_state_field*/
/*span {*/
/*    display: none;*/
/*}*/

.woocommerce-checkout #payment ul li div {
    display: none;
}

.woocommerce-checkout #order_review_heading {
    font-size: 20px;
}

.woocommerce-checkout .order-review-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    display: none;
}

.woocommerce-checkout .woocommerce button[type="submit"],
.woocommerce-checkout .woocommerce .wc-backward{
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    color: #fff;
    background: #171717;
    border: 1px solid #171717;
    transition: all 0.3s ease-out;
}

.woocommerce-checkout .woocommerce .wc-backward{
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 62px;
}

.woocommerce-checkout button[type="submit"]:hover,
.woocommerce-checkout .woocommerce .wc-backward:hover{
    background: #fff;
    color: #171717;
}

.woocommerce-checkout #payment .place-order {
    padding: 24px 0 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot {
    width: 100%;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot tr {
    width: 100%;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.cart-subtotal {
    /*display:none;*/
    width: 100%;
    height: 56px;
    position: relative;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.cart-subtotal
th {
    display: flex;
    align-items: center;
    font-size: 14px;
    position: relative;
    font-weight: 400;
    white-space: nowrap;
    width: 130px;
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.cart-subtotal
th::after {
    color: black;
    position: absolute;
    left: 0;
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.cart-subtotal
td {
    text-align: right;
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals {
    border-bottom: 1px solid rgb(221, 221, 221);
    width: 100%;
}

.woocommerce-checkout .woo-payment-title {
    border-top: 1px solid rgb(221, 221, 221);
}

.woocommerce-checkout .woo-payment-title h3 {
    font-family: "Mariupol", sans-serif;
    margin-top: 24px;
}

.woocommerce-checkout #billing_address_2_field .screen-reader-text {
    overflow: auto;
    width: 100%;
    height: 12px;
    clip-path: none;
    clip: auto;
    position: relative !important;
    margin: 0;
}

.woocommerce-checkout #billing_address_2_field .screen-reader-text::after {
    position: absolute;
    left: 0;
    color: black;
}

.woocommerce-checkout .product-total {
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: 0;
}

.woocommerce-checkout .product-name {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0;
}

.woocommerce-checkout .woocommerce-Price-currencySymbol {
    position: relative;
}

.woocommerce-checkout .woocommerce-Price-currencySymbol::after {
    color: black;
    position: absolute;
    left: 4px;
}

.woocommerce-checkout #order_review .shop_table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.woocommerce-checkout #order_review .shop_table tr {
    width: 100%;
}

.woocommerce-checkout #order_review .shop_table thead {
    display: none;
}

.woocommerce-checkout #order_review .shop_table tbody tr.card_item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.woocommerce-checkout #order_review .shop_table tbody tr td.product-name img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    object-position: center;
    margin-right: 12px;
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
th {
    margin: 20px 0;
    /*top: -5px;*/
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
ul {
    margin: 18px 0;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
input[type="radio"] {
    position: relative;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #d5d6de;
    border-radius: 50%;
    margin-right: 8px;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
label {
    cursor: pointer;
    display: block;
    position: relative;
    top: 2px;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
input[type="radio"]:after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: #fff;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
input[type="radio"]:checked {
    background: #121212;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
ul
li {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    color: #1c1c1c;
}

.woocommerce-checkout .woocommerce-Price-amount {
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: rgba(0, 0, 0, 0.85);
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
th {
    position: relative;
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    width: 30%;
    /*top: -8px;*/
}

.woocommerce-checkout #order_review {
    position: relative;
}

.woocommerce-checkout #order_review tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-checkout #order_review tbody tr .product-name {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 70%;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.woocommerce-shipping-totals
td {
    width: 70%;
    text-align: right;
}

.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.order-total
th {
    text-align: left;
    position: relative;
    height: 56px;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 500;
    width: 50%;
    margin-top: 18px;
    display: flex;
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.order-total
th::after {
    color: black;
    position: absolute;
    left: 0;
    width: 200%;
}
.woocommerce-checkout
.woocommerce-checkout-review-order
table
tfoot
.order-total
td {
    text-align: right;
    font-size: 18px;
    height: 56px;
    padding: 20px 0 20px 0;
    line-height: 20px;
    width: 50%;
    letter-spacing: 0;
}

.woocommerce-checkout #shipping_method {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: max-content;
    margin-left: auto;
    text-align: left;
}

.woocommerce-checkout .order-review-wrap {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    height: max-content;
}

.woocommerce-checkout #payment ul li label {
    background: white;
}

.woocommerce-checkout .checkout-inline-error-message {
    font-size: 12px;
    color: #dd0000;
}

.woocommerce-checkout input:-webkit-autofill,
.woocommerce-checkout input:-webkit-autofill:hover,
.woocommerce-checkout input:-webkit-autofill:focus,
.woocommerce-checkout input:-webkit-autofill:active {
    background: transparent !important;
    -webkit-text-fill-color: #0d0d0d !important;
    color: #0d0d0d !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text {
    box-shadow: none;
    border: 1px solid #dd0000;
    outline: none;
}

.woocommerce-checkout .form-row.woocommerce-validated input.input-text {
    box-shadow: none;
}

.woocommerce-checkout
.woocommerce-NoticeGroup-checkout
+ .woo-notice-required-fields {
    display: inline-block;
}

.woocommerce-checkout form[name="checkout"] .woocommerce-error {
    display: none;
}

.woocommerce-checkout .woo-notice-required-fields {
    display: none;
    font-size: 18px;
    width: 100%;
    color: #dd0000;
}

.woocommerce-checkout #payment .payment_box {
    display: none !important;
}

.woocommerce-checkout #payment {
    margin: 12px 0 0;
}

.woocommerce-checkout
#payment
.payment_methods
li.woocommerce-PaymentMethod
> input[type="radio"]:first-child,
.woocommerce-checkout
#payment
.payment_methods
li.wc_payment_method
> input[type="radio"]:first-child {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    position: absolute;
    width: 1px;
    overflow-wrap: normal !important;
    border-width: 0;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    margin: -1px;
    overflow: hidden;
    padding: 0;
}

.woocommerce-checkout
#payment
.payment_methods
> .woocommerce-PaymentMethod
> label::before,
.woocommerce-checkout
#payment
.payment_methods
> .wc_payment_method
> label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    margin: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d5d6de;
}

.woocommerce-checkout #payment .payment_methods > li:not(.woocommerce-notice) {
    background-color: #f5f5f5;
}

.woocommerce-checkout #payment .payment_methods li {
    position: relative;
    cursor: pointer;
}

.woocommerce-checkout #payment .payment_methods li label {
    padding: 12px 12px 12px 30px;
    cursor: pointer;
}

.woocommerce-checkout #payment .payment_methods li img {
    float: right;
    border: 0;
    padding: 0;
    max-height: 1.618em;
}

.woocommerce-checkout .do-not-call-checkbox p{
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #1A1A1F;
    margin-top: -16px;
}

.woocommerce-checkout .do-not-call-checkbox label{
    cursor: pointer;
}

.woocommerce-checkout
#payment
.payment_methods
li.woocommerce-PaymentMethod
> input[type="radio"]:first-child:checked
+ label::after,
.woocommerce-checkout
#payment
.payment_methods
li.wc_payment_method
> input[type="radio"]:first-child:checked
+ label::after {
    content: "";
    left: 6px;
    top: 14px;
    position: absolute;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.woocommerce-checkout
#payment
.payment_methods
li.woocommerce-PaymentMethod
> input[type="radio"]:first-child:checked
+ label::before,
.woocommerce-checkout
#payment
.payment_methods
li.wc_payment_method
> input[type="radio"]:first-child:checked
+ label::before {
    background: #121212;
}

.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected]{
    background: #bf2c2a;
    padding: 10px 6px;
}

#billing_email-description{
    position: relative;
    display: inline-block !important;
    font-size: 12px;
    line-height: 16px;
    color: #DD0000;
    white-space: nowrap;
    top: -3px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-subtotal{
    display: none;
}