:root {
    --color-gray-10: #f7f7f7;
    --color-green-20: #9aca3c;
    --color-gray-100: #161616;
    --color-gray-90: #323232;
    --color-gray-51: #6b6b6b;
    --color-gray-50: #636363;
    --transition-duration: 250ms;
    --transition-timing-function: ease-in-out;
}

body.woocommerce-checkout {
    --the7-base-line-height: 1.4;
    --the7-input-height: 40px;
    --the7-input-color: #5a5a5a;
    --the7-input-border-color: #d7d7d7;
    --the7-input-bg-color: #ffffff;
    --the7-input-padding-inline: 16px;
    --the7-right-input-padding: 10px;
    --the7-divider-color: var(--color-gray-100);
}

body.woocommerce-checkout #page {
    overflow: initial;
}

body.woocommerce-checkout #main {
    padding-top: 112px !important;
}

@media (max-width: 767px) {
    body.woocommerce-checkout #main {
        padding-top: 48px !important;
    }
}

body.woocommerce-checkout #main > .wf-wrap {
    padding-inline: 24px;
}

body.woocommerce-checkout .wc-coupon-wrap {
    width: 100%;
    max-width: 500px;
}

@media (min-width: 768px) {
    body.woocommerce-checkout .wc-coupon-wrap {
        margin-bottom: 0;
    }
}

body.woocommerce-checkout .wc-coupon-wrap .woocommerce-message-text {
    text-align: center;
}

.woocommerce-checkout .checkout-page-title .step-cart .checkout-step::after {
    width: calc(50% - 40px);
}

.checkout-page-title .checkout-breadcrumbs {
    width: 100%;
    max-width: 1050px;
}

.checkout-page-title a {
    width: 50%;
    font-weight: 600;
    color: currentColor;
}

.checkout-page-title .checkout-counter {
    background-color: var(--the7-accent-color);
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .woocommerce-checkout .checkout-page-title .step-cart .checkout-step::after,
    .woocommerce-order-received
        .checkout-page-title
        .step-checkout
        .checkout-step::after {
        height: 14px;
    }

    .checkout-page-title .checkout-breadcrumbs {
        flex-direction: row;
        padding-inline: 20px;
    }

    .checkout-page-title a {
        font-size: 16px;
        flex-flow: column wrap;
        margin-bottom: 0;
    }

    .checkout-page-title a .checkout-name {
        order: 0;
    }

    .checkout-page-title a .checkout-step {
        flex: 1 0 auto;
        width: 100%;
    }

    .checkout-page-title a .checkout-step .checkout-counter {
        margin-top: 10px;
        margin-right: 0;
    }

    .woocommerce-checkout .checkout-page-title .step-cart .checkout-step::after,
    .woocommerce-order-received
        .checkout-page-title
        .step-checkout
        .checkout-step::after,
    .checkout-page-title a .checkout-step::before {
        height: 3px;
        top: 50%;
    }

    .woocommerce-checkout
        .checkout-page-title
        .step-cart
        .checkout-step::after {
        width: calc(50% - 35px);
    }

    .checkout-page-title .checkout-step::after,
    .checkout-page-title a .checkout-step::after {
        left: calc(50% + 40px);
    }

    .checkout-page-title .checkout-step::before,
    .checkout-page-title a .checkout-step::before {
        left: 0;
        width: calc(50% - 35px);
    }
}

@media screen and (max-width: 450px) {
    .checkout-page-title .checkout-counter {
        width: 32px;
        height: 32px;
    }
}

body.woocommerce-order-received
    .checkout-page-title
    .step-cart
    .checkout-step::after {
    background-color: rgba(51, 51, 51, 0.09);
}

body.woocommerce-order-received
    .checkout-page-title
    .step-complete
    .checkout-step::before {
    display: block;
}

.checkout__title {
    font-size: 20px;
    font-weight: 600;
}

.title-line {
    border-bottom: 1px solid var(--color-green-20);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.title-line:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .checkout__column--customer .checkout__title {
        margin-top: var(--column-box-padding);
    }
}

form.checkout {
    display: grid;
    --columns: 2;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: 60px;
    --columns-top-offset: 32px;
    --column-box-padding: 32px;
    font-size: 16px;
}

@media (max-width: 992px) {
    form.checkout {
        gap: 32px;
        --column-box-padding: 16px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    form.checkout {
        --columns: 1;
        /* gap: 0; */
    }
}

form.checkout > .woocommerce-NoticeGroup {
    grid-column: span var(--columns);
}

.checkout__column-box {
    position: sticky;
    top: 114px;
    border-radius: 12px;
    background-color: var(--color-gray-10);
    padding: var(--column-box-padding);
}

.checkout__column-box:has(.is-loading, .blockUI) {
    pointer-events: none;
    opacity: 0.6;
}

.checkout__column-box .blockUI {
    display: none !important;
}

@media (min-width: 769px) {
    .checkout__column {
        padding-top: var(--columns-top-offset);
    }
}

.checkout__column--order {
    color: var(--color-gray-100);
}

.checkout__column-info-text {
    color: var(--color-gray-100);
    margin-bottom: 52px;
}

.checkout__column-info-text b {
    font-weight: 600;
}

.checkout__column-info-text a {
    font-weight: 700;
}

.woocommerce-billing-fields > *,
.woocommerce-shipping-fields > * {
    display: grid;
    --columns: 2;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    --row-gap: 10px;
    gap: var(--row-gap) 30px;
}

form.woocommerce-checkout .form-row.form-row,
.woocommerce-checkout p#billing_phone_field,
.woocommerce-checkout p#billing_oneareacode_field {
    width: initial;
}

form.woocommerce-checkout .form-row.form-row {
    padding: 0;
    margin: 0;
}

form.woocommerce-checkout
    .form-row:not(#billing_first_name_field, #billing_last_name_field) {
    grid-column: span var(--columns);
}

body.woocommerce-checkout #customer_details label {
    font-size: inherit;
    font-weight: 600;
    text-transform: none;
}

body.woocommerce-checkout #customer_details label .required {
    color: currentColor;
}

#customer_details.loading-overlay::after {
    z-index: 500;
}

body.woocommerce-checkout input[name],
body.woocommerce-checkout textarea[name],
body.woocommerce-checkout select[name],
.select2-container .select2-selection--single,
.wc-stripe-elements-field {
    font-size: 11px;
    border-radius: 4px;
}

body.woocommerce-checkout input[name],
body.woocommerce-checkout textarea[name],
.wc-stripe-elements-field {
    padding-inline: var(--the7-input-padding-inline);
}

.wc-stripe-elements-field {
    display: flex;
    align-items: center;
    height: var(--the7-input-height);
    border-color: var(--the7-input-border-color);
    box-sizing: border-box;
}

.wc-stripe-elements-field > * {
    flex: 1;
}

body.woocommerce-checkout textarea[name] {
    padding-block: var(--the7-input-padding-inline);
}

body.woocommerce-checkout select:not(.elementor-field) {
    --the7-input-color: #888;
    background-size: 4px 4px, 5px 5px, 1.1em 1.1em;
}

body.woocommerce-checkout input[type='checkbox'],
body.woocommerce-checkout input[type='radio'] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border-color: var(--the7-input-border-color);
}

.woocommerce-checkout #billing_email {
    background-color: var(--the7-input-bg-color);
}

body.woocommerce-checkout input[name]:focus,
body.woocommerce-checkout textarea[name]:focus,
body.woocommerce-checkout select[name]:focus,
.select2-container .select2-selection--single:focus-visible {
    border-color: var(--color-gray-100);
}

body.woocommerce-checkout select[name]:focus {
    box-shadow: none;
}

.select2-container:focus-visible,
.select2-container .select2-selection--single:focus-visible {
    outline: 0;
}

.select2-container .select2-selection--single {
    height: var(--the7-input-height);
    border-color: var(--the7-input-border-color);
    transition: border-color 300ms ease;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: var(--the7-input-padding-inline);
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    right: var(--the7-input-padding-inline);
}

.the7-woo-select2-dropdown .select2-search--dropdown {
    padding-bottom: 10px;
}

[id*='city_field'] {
    order: 100;
}

.woocommerce-checkout p#billing_company_other_field {
    margin-top: calc(var(--row-gap) * -0.5);
}

.checkout__minicart.checkout__minicart {
    display: flex;
    flex-direction: column;
    --gap: 16px;
    gap: var(--gap);
    font-weight: 600;
    margin-left: 0;
}

.woocommerce-checkout-review-order .checkout__minicart .product-name,
.woocommerce-checkout-review-order .checkout__minicart .product-name a,
.woocommerce-checkout-review-order .checkout__minicart .product-total,
.woocommerce-checkout-review-order
    .checkout__minicart
    .bundled_table_item
    .product-total,
.woocommerce-checkout-review-order
    .checkout__minicart
    .woocommerce-Price-amount,
.woocommerce-checkout-review-order .checkout__minicart th {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.22;
    color: inherit;
}

.checkout__column--order table {
    margin: 0;
}

.checkout__column--order .woocommerce-Price-amount,
.checkout__column--order .order-total .amount,
.checkout__column--order th {
    font-size: inherit;
}

.checkout__column--order .order-total {
    font-weight: 800;
}

.checkout__column--order .order-total > *,
.checkout__column--order .order-total strong,
.checkout__column--order .order-total .amount {
    font-weight: inherit;
}

.checkout__column--order .cart-subtotal .amount {
    font-weight: initial !important;
}

.checkout__column--order .cart-subtotal .amount * {
    font-weight: inherit !important;
}

.woocommerce-checkout-review-order .checkout__minicart .product-name a {
    transition: color var(--transition-duration)
        var(--transition-timing-function);
}

.woocommerce-checkout-review-order .checkout__minicart .product-name a:hover {
    color: var(--color-green-20);
}

.woocommerce-checkout-review-order .checkout__minicart .product-total,
.woocommerce-checkout-review-order
    .checkout__minicart
    .bundled_table_item
    .product-total {
    font-weight: 800;
    text-align: right;
}

.checkout__minicart-item {
    --image-width: 54px;
    --image-margin: 24px;
}

@media (max-width: 992px) {
    .checkout__minicart-item {
        --image-width: 40px;
        --image-margin: 16px;
    }
}

ul.cart_list li.checkout__minicart-item,
ul.product_list_widget li.checkout__minicart-item {
    padding: 0;
}

ul.product_list_widget li.checkout__minicart-item + .checkout__minicart-item {
    padding-top: var(--gap);
}

.checkout__minicart-item + .checkout__minicart-item {
    border-top: 1px solid var(--color-gray-50);
}

.checkout__minicart .bundle_table_item .variation {
    display: none;
}

.checkout__minicart-item table,
.checkout__minicart-item th,
.checkout__minicart-item td {
    border: 0;
}

.checkout__minicart-item th,
.checkout__minicart-item td {
    vertical-align: top;
}

.checkout__column--order .cart-subtotal th,
.checkout__column--order .order-total th,
.checkout__column--order tfoot th {
    color: currentColor;
}

.checkout__column--order .cart-subtotal td:last-child,
.checkout__column--order .order-total td:last-child,
.checkout__column--order tfoot td:last-child {
    text-align: right;
}

.checkout__column--order td:first-child,
.checkout__column--order th:first-child {
    padding-left: 0;
}

.checkout__column--order td:last-child {
    padding-right: 0;
}

.checkout__minicart-item tr:first-child td {
    padding-block: 0;
}

.checkout__minicart-item tr:first-child ~ tr td {
    padding-top: 16px;
    padding-bottom: 0;
}

.woocommerce-checkout-review-order
    .checkout__minicart
    .bundled_table_item
    .product-name,
.woocommerce-checkout-review-order
    .checkout__minicart
    .bundled_table_item
    .product-total {
    font-weight: 400;
}

.checkout__minicart-item tr:first-child {
    color: var(--color-gray-100);
}

.checkout__minicart-item tr:not(:first-child) {
    color: var(--color-gray-51);
}

.product_list_widget.checkout__minicart img {
    width: var(--image-width);
    border-radius: 7px;
    margin-right: var(--image-margin);
    margin-bottom: 0;
}

.checkout__minicart .bundled_table_item .bundled_table_item_indent {
    padding-left: 0;
}

.checkout__minicart .bundled_table_item:not(:first-child) td:first-child {
    padding-left: calc(var(--image-width) + var(--image-margin));
}

.checkout__minicart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

* + .checkout__minicart-item-footer {
    margin-top: 48px;
}

@media (max-width: 600px) {
    * + .checkout__minicart-item-footer {
        margin-top: 24px;
    }
}

table:has(tr:only-child) + .checkout__minicart-item-footer {
    margin-top: 24px;
}

.checkout__minicart .remove_from_cart_button {
    display: inline-flex;
    margin-inline: calc(var(--image-width) / 3);
    transition: color var(--transition-duration)
        var(--transition-timing-function);
}

.checkout__minicart .remove_from_cart_button [fill]:not([fill='none']) {
    fill: currentColor;
}

.checkout__minicart .remove_from_cart_button:hover {
    color: var(--color-green-20);
}

.woocommerce-mini-cart.checkout__minicart .quantity,
.woocommerce-mini-cart.checkout__minicart .quantity .qty {
    margin: 0;
}

.woocommerce-mini-cart.checkout__minicart .quantity {
    display: flex;
    height: 28px;
    font-weight: 800;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    color: var(--color-gray-100);
}

.checkout__minicart .quantity .minus,
.checkout__minicart .quantity .plus {
    font-size: inherit;
    font-weight: inherit;
    border: 0;
    color: inherit;
}

.checkout__minicart .quantity .qty {
    min-height: initial;
    width: 40px;
    font-size: inherit;
    font-weight: inherit;
    text-align: center;
    -moz-appearance: textfield;
    border: 0;
    color: inherit;
    padding: 0;
}

.checkout__minicart .quantity .qty::-webkit-outer-spin-button,
.checkout__minicart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.checkout__review-order tr:first-child th,
.checkout__review-order tr:first-child td {
    padding-top: 48px;
}

.checkout__review-order .order-total th,
.checkout__review-order .order-total td {
    --cell-padding-block: 10px;
    padding-block: var(--cell-padding-block);
}

.checkout__review-order .tax-rate th,
.checkout__review-order .tax-rate td {
    --cell-padding-bottom: 18px;
    padding-bottom: var(--cell-padding-bottom);
}

@media screen and (max-width: 990px) {
    .checkout__review-order .tax-rate th,
    .checkout__review-order .tax-rate td {
        --cell-padding-bottom: 10px;
    }
}

.checkout__review-order .cart-subtotal.recurring-total th,
.checkout__review-order .cart-subtotal.recurring-total td {
    --cell-padding-top: 18px;
    padding-top: var(--cell-padding-top);
}

@media screen and (max-width: 990px) {
    .checkout__review-order .cart-subtotal.recurring-total th,
    .checkout__review-order .cart-subtotal.recurring-total td {
        --cell-padding-top: 12px;
    }
}

.checkout__column--order .cart-subtotal + tr th,
.checkout__column--order .cart-subtotal + tr td,
.checkout__column--order .cart-discount + tr th,
.checkout__column--order .cart-discount + tr td {
    border-top-color: transparent !important;
}

.checkout__column--order .recurring-totals th {
    font-weight: 600;
    padding-top: 32px;
}

@media screen and (max-width: 990px) {
    #page .woocommerce-checkout-review-order-table.checkout__review-order td {
        display: table-cell;
        border-top: 1px solid var(--the7-divider-color);
    }

    #page
        .woocommerce-checkout-review-order-table.checkout__review-order
        tr:first-child
        td {
        padding-top: 48px;
    }

    #page .checkout__column--order .cart-subtotal + tr th,
    #page .checkout__column--order .cart-subtotal + tr td {
        border-top-color: transparent;
    }

    #page .checkout__review-order .order-total th,
    #page .checkout__review-order .order-total td {
        padding-block: var(--cell-padding-block);
    }

    #page .checkout__review-order .tax-rate th,
    #page .checkout__review-order .tax-rate td {
        padding-bottom: var(--cell-padding-bottom);
    }

    #page .checkout__review-order .cart-subtotal.recurring-total th,
    #page .checkout__review-order .cart-subtotal.recurring-total td {
        padding-top: var(--cell-padding-top);
    }
}

@media screen and (max-width: 640px) {
    .checkout__review-order.shop_table {
        display: table;
    }

    .shop_table tbody {
        display: table-column-group;
    }

    .shop_table tfoot {
        display: table-footer-group;
    }

    .checkout__review-order.shop_table tr {
        display: table-row;
    }
}

.checkout__column--order * + .woocommerce-checkout-payment {
    margin-top: 44px;
}

#payment .payment_box,
.payment_methods label {
    font-size: inherit;
    color: inherit;
}

body.woocommerce-checkout .checkout__column--order #payment ul label {
    font-weight: 600;
}

.payment_method_stripe p {
    font-size: 88%;
}

.content .checkout__column--order .payment_methods {
    margin-bottom: 20px;
}

form.woocommerce-checkout .payment_method_stripe .form-row + .form-row {
    margin-top: 4px;
}

body.woocommerce-checkout #payment .terms label * {
    text-transform: none;
    font-weight: 600;
    color: var(--color-gray-50);
}

body.woocommerce-checkout #payment .terms label * a {
    font-weight: 700;
    color: var(--color-gray-90);
}

.terms #terms {
    margin-top: 0.2em;
    margin-right: 10px;
}

.checkout__column--order * + [name='woocommerce_checkout_place_order'] {
    margin-top: 22px;
}

body #place_order {
    font-size: 93.75%;
    font-weight: 800;
    border-radius: 6px;
    color: #000000;
    padding: 10px 8px;
}

body #place_order * {
    color: inherit;
}

body #place_order:hover {
    background: #8db93c;
}

* + .content-contacts {
    margin-top: 68px;
}

.content-contacts__title {
    font-weight: 600;
}

* + .content-contacts__text {
    margin-top: 16px;
}

.content-contacts__text {
    line-height: 1.222;
    color: #000000;
}

.content-contacts__text p {
    margin-bottom: 0;
}

.content-contacts__text * + p {
    margin-top: 16px;
}

* + .content-contacts__list,
.content * + .content-contacts__list {
    margin-top: 28px;
}

.list-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 100px;
    list-style: none;
    padding: 0;
}

@media (max-width: 600px) {
    .list-contacts {
        column-gap: 68px;
    }
}

.list-contacts,
.content .list-contacts {
    list-style: none;
    margin-left: 0;
    margin-bottom: 0;
}

.list-contacts__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.list-contacts__figure {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--color-green-20);
}

.list-contacts__figure svg {
    width: 100%;
    max-width: 60%;
    height: auto;
}

.list-contacts__figure [fill]:not([fill='none']) {
    fill: #ffffff;
}

.list-contacts__figure [stroke]:not([stroke='none']) {
    stroke: #ffffff;
}

.list-contacts__link {
    white-space: nowrap;
    text-decoration: none;
    color: #000000;
    transition: color var(--transition-duration)
        var(--transition-timing-function);
}

.list-contacts__link:hover {
    color: var(--color-green-20);
}

.checkout-inline-error-message {
    font-size: 80%;
    color: #f55b5f;
    margin-block: 4px 0;
}
