:root {
    --checkout-form-max-width: 1080px;
}

main {
    gap: 0;
}

.checkout-page.thankyoupage {
    margin-bottom: 80px;
}

.checkout-page {
    margin: var(--checkout-page-margin);
}
.checkout-page .checkout-head-title {

}
.checkout-page .checkout-head-title h1 {
    font-size: var(--checkout-h1-font-size);
    line-height: var(--checkout-h1-line-height);
}
.checkout-page .checkout-form-group-fields p.company-verification-msg.success{
    color: #00be00;
}
.checkout-page .checkout-form {
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
}
.checkout-page .checkout-head-title ~ .checkout-form {
    margin-top: var(--checkout-form-margin-top);
}
.checkout-page .checkout-form-step {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
    min-inline-size: auto;
    border-radius: 18px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: linear-gradient(108deg, rgba(255, 255, 255, 0.10) 0%, rgba(217, 217, 217, 0.04) 100%);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--selected{
    background-color: var(--gray-light-transparent-color);
    color: var(--color-1);
}
.checkout-page .checkout-form-step,
.checkout-page .checkout-form-group-fields {
    gap: var(--checkout-form-step-gap-v) var(--checkout-form-step-gap-h);
}
.checkout-page .checkout-form-step-title,
.checkout-page .checkout-form-group-fields p{
    font-size: var(--checkout-form-step-title-font-size);
    line-height: var(--checkout-form-step-title-line-height);
}
.checkout-page fieldset .field.half,
.checkout-page fieldset.show-additional-fields > .field.additional-half,
.checkout-page fieldset.show-ind-number:not(.show-additional-fields) > .field.ind-number-half,
.checkout-page fieldset.show-additional-fields.show-ind-number > .field.ind-number-additional-half {
    width: var(--checkout-form-step-field-half-width);
}
.checkout-page fieldset .field.third,
.checkout-page fieldset.show-additional-fields > .field.additional-third,
.checkout-page fieldset.show-ind-number:not(.show-additional-fields) > .field.ind-number-third,
.checkout-page fieldset.show-additional-fields.show-ind-number > .field.ind-number-additional-third {
    width: var(--checkout-form-step-field-third-width);
}
.checkout-page .field.invalid,
.checkout-page .field.invalid.warning,
.checkout-page .company-verification-msg.error {
    color: var(--color-16);
}
.checkout-page .field.warning {
    color: var(--color-17);
}
.checkout-page .checkout-form-step .field-title {
    font-size: 12px;
    line-height: 20px;
    padding-left: 16px;
}
.checkout-page .checkout-form-step .field:not(.invalid):not(.warning) .field-title {
    color: var(--color-18);
}
.checkout-page .checkout-form-step .field-input {
    padding: 9px 16px;
    border: 1px solid;
}
.checkout-page .checkout-form-step .field-input,
.checkout-page .checkout-form-step .select2-container--default .select2-selection--single {
    height: 40px;
    font-size: 16px;
    line-height: 26px;
    background-color: var(--color-3);
    border-radius: 30px;
    transition: border-color 0.2s ease-in-out;
}

.field .intl-tel-input {
    border-radius: 30px;
    height: 40px;
    cursor: pointer;
}
.field .intl-tel-input .flag-container {
    pointer-events: none;
}

.checkout-page .checkout-form-step .select2-container--default .select2-selection__arrow {
    top: -2px;
}

.field .intl-tel-input .flag-container .selected-flag {
    padding: 9px 0 9px 16px;
    border-radius: 30px 0 0 30px;
}

.field .intl-tel-input .flag-container .country-list {
    width: 120px;
}

.field .intl-tel-input .flag-container .iti-flag,
.field .intl-tel-input .selected-flag .iti-arrow {
    display: none;
}

.field .intl-tel-input .flag-container + input {
    height: 38px;
    padding-left: 2px !important;
}

#enable-prepaid-delivery-wrapper label.field {
    width: 100%;
}

.checkout-page .checkout-form-footer-row:not(.checkout-form-footer-totals).js-novaposhta-delivery-price {
    width: auto;
    white-space: nowrap;
}

.checkout-page .checkout-form-step .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    border: 1px solid;
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection__rendered {
    height: 100%;
    width: 100%;
    padding: 10px 26px 10px 16px;
    color: var(--color-11);
    line-height: 18px;
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection__rendered {
    padding-right: 38px;
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection__arrow {
    height: calc(100% - 2px);
    width: 38px;
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection__arrow b {
    height: 8px;
    width: 12px;
    margin-left: -13px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
}
.checkout-page .checkout-form-step .select2-container--default:not(.select2-container--open) .select2-selection__arrow b {
    background-image: url(/img/redesign/icons/icon-arrow-down.svg);
}
.checkout-page .checkout-form-step .select2-container--default.select2-container--open .select2-selection__arrow b {
    background-image: url(/img/redesign/icons/icon-arrow-up.svg);
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection--single:not(.invalid),
.checkout-page .checkout-form-step .field:not(.invalid) .field-input {
    border-color: var(--color-12);
    outline: none;
}
.checkout-page .checkout-form-step .select2-container--default .select2-selection--single:hover:not(.invalid),
.checkout-page .checkout-form-step .field:hover:not(.invalid) .field-input {
    border-color: var(--color-15);
    outline: none;
}
.checkout-page .checkout-form-step .select2-container.select2-container--open .select2-selection--single:not(.invalid),
.checkout-page .checkout-form-step .field:not(.invalid) .field-input:focus {
    border-color: var(--color-11);
    outline: none;
}
.checkout-page .checkout-form-step .field.invalid .field-input {
    border-color: var(--color-16);
}
.checkout-page .checkout-form-step .field.warning .field-input {
    border-color: var(--color-17);
}
#ps-cart-form{
    display: none;
}
.checkout-page .field-tip,
.checkout-page .field-tip-custom {
    font-size: 12px;
    line-height: 24px;
    padding-left: 16px;
}
.checkout-page .field:not(.invalid) .field-tip,
.checkout-page .checkout-form-step .field:not(.invalid-min-length) .field-tip.min-length,
.checkout-page .checkout-form-step .field:not(.invalid-max-length) .field-tip.max-length,
.checkout-page .checkout-form-step .field:not(.invalid-letter-contain) .field-tip.letter-contain,
.checkout-page .checkout-form-step .field.invalid-min-length .field-tip.default,
.checkout-page .checkout-form-step .field.invalid-max-length .field-tip.default,
.checkout-page .checkout-form-step .field.invalid-letter-contain .field-tip.default,
.checkout-page fieldset:not(.show-additional-fields) > .additional-field {
    display: none;
}
.checkout-page .field:not(.warning) .field-tip-custom{
    display: none;
}
.checkout-page .checkout-form-step .pay-system-list,
#checkout-step-pay-system {
    gap: var(--checkout-pay-system-list-gap);
}
.checkout-page .checkout-form-step .field-pay-system-wrapper {
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.80);
    background: linear-gradient(108deg, rgba(255, 255, 255, 0.60) 0%, rgba(217, 217, 217, 0.24) 100%) padding-box;
    transition: border-color 0.2s ease-in-out;
}
.checkout-page .checkout-form-step input:not(:checked) ~ .field-pay-system-wrapper {
    cursor: pointer;
}
.checkout-page .checkout-form-step input:checked ~ .field-pay-system-wrapper {
    cursor: default;
}
.checkout-page .checkout-form-step .field-pay-system {
    gap: 12px;
    padding: 13px 16px;
    font-size: 16px;
    line-height: 24px;
}
.checkout-page .checkout-form-step .field-pay-system:before {
    flex: 0 0 auto;
    display: inline-block;
    height: 24px;
    width: 24px;
    background-image: url("/img/redesign/icons/icon-checkout-checkbox.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 0.2s ease-in-out;
    content: "";
}
.checkout-page .checkout-form-step .field-pay-system:not(:hover):before {
    opacity: 0.5;
}
.checkout-page .checkout-form-step .field-pay-system:hover:before,
.checkout-page .checkout-form-step input:checked ~ .field-pay-system-wrapper .field-pay-system:before {
    opacity: 1;
}
.checkout-page .checkout-form-step .field-pay-system:after {
    position: absolute;
    top: calc(50% - 6px);
    left: 22px;
    display: inline-block;
    height: 12px;
    width: 12px;
    background-color: var(--color-11);
    border-radius: 100%;
    transition: opacity 0.2s ease-in-out;
    content: "";
}
.checkout-page .checkout-form-step .field-pay-system:not(:hover):after {
    opacity: 0;
}
.checkout-page .checkout-form-step .field-pay-system:hover:after {
    opacity: 0.5;
}
.checkout-page .checkout-form-step .field-pay-system-details {
    padding: 16px;
    border-top: 1px solid var(--color-12);
}
.checkout-page .checkout-form-step input:not(:checked) ~ .field-pay-system-wrapper .field-pay-system-details,
.checkout-page .checkout-form-step .field-pay-system-details:not(.initialized) {
    display: none;
}
.checkout-page .checkout-form-step input:checked ~ .field-pay-system-wrapper .field-pay-system:after {
    opacity: 1;
}
.checkout-page .checkout-form-step .checkout-form-pay-system-logo {
    height: 24px;
    width: auto;
    transition: opacity 0.2s ease-in-out;
    display: none;
}
.checkout-page .checkout-form-step input:not(:checked) ~ .field-pay-system-wrapper .checkout-form-pay-system-logo {
    opacity: 0.5;
}
.checkout-page .checkout-form-step input:checked ~ .field-pay-system-wrapper .checkout-form-pay-system-logo {
    opacity: 1;
}
.checkout-page .checkout-form ~ .breadcrumbs-block {
    margin-top: var(--checkout-breadcrumbs-block-margin-top);
}
.checkout-page .field-checkbox {
    gap: 16px;
    color: var(--color-11);
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}
.checkout-page .field-checkbox:before {
    flex: 0 0 auto;
    display: inline-block;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 0.2s ease-in-out;
    content: "";
}
.checkout-page p.field-checkbox a {
    font-weight: var(--font-weight-regular);
    text-decoration: underline;
}
.checkout-page .field:not(.invalid) input:not(.reversed):not(:checked) ~ .field-checkbox:before,
.checkout-page .field:not(.invalid) input.reversed:checked ~ .field-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox.svg");
}
.checkout-page .field.invalid input:not(.reversed):not(:checked) ~ .field-checkbox:before,
.checkout-page .field.invalid input.reversed:checked ~ .field-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox-red.svg");
}
.checkout-page .field:not(.invalid) input:not(.reversed):checked ~ .field-checkbox:before,
.checkout-page .field:not(.invalid) input.reversed:not(:checked) ~ .field-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox-checked.svg");
}
.checkout-page .field.invalid input:not(.reversed):checked ~ .field-checkbox:before,
.checkout-page .field.invalid input.reversed:not(:checked) ~ .field-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox-red-checked.svg");
}
.checkout-page .checkout-form-group {
    margin-top: 8px;
}
.checkout-page .checkout-form-group-fields {
    padding-top: 8px;
}
.checkout-page .checkout-form-group:not(.active) .checkout-form-group-fields {
    display: none;
}
.checkout-page .checkout-form-footer {
    gap: 4px;
    padding: 22px;
    border: 1px solid var(--color-12);
}
.checkout-page .checkout-form-footer-row {
    color: var(--color-11);
}
.checkout-page .checkout-form-footer-row:not(.checkout-form-footer-totals) {
    font-size: 18px;
    line-height: 27px;
    width: 100%;
    font-weight: var(--font-weight-semilight);
}
.checkout-page .checkout-form-footer-row.with-top-divider {
    margin-top: 12px;
}

.checkout-page .checkout-form-footer-checkbox .field-checkbox {
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--font-weight-semilight);
}

.checkout-page .checkout-form-footer-row.checkout-form-footer-totals {
    font-size: 30px;
    line-height: 38px;
    width: 100%;
    font-weight: var(--font-weight-bold);
}
.checkout-page .checkout-form-footer-row.zero-value > *:not(.zero-value-active),
.checkout-page .checkout-form-footer-row.company-vat-free > *:not(.company-vat-free-active),
.checkout-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .zero-value-active,
.checkout-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .company-vat-free-active,
.js-cart-page .checkout-form-footer-row.zero-value > *:not(.zero-value-active),
.js-cart-page .checkout-form-footer-row.company-vat-free > *:not(.company-vat-free-active),
.js-cart-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .zero-value-active,
.js-cart-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .company-vat-free-active{
    display: none;
}
.js-cart-page .checkout-form-footer-row.zero-value > *:not(.zero-value-active),
.js-cart-page .checkout-form-footer-row.company-vat-free > *:not(.company-vat-free-active),
.js-cart-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .zero-value-active,
.js-cart-page .checkout-form-footer-row:not(.zero-value):not(.company-vat-free) .company-vat-free-active{
    font-size: 16px;
    line-height: 26px;
}
.checkout-page .checkout-form-submit-btn {
    margin-top: 12px;
    text-transform: none;
}
.checkout-page .checkout-form-footer-checkbox {
    margin-top: 12px;
}
.checkout-page .checkout-form-group-fields .checkout-info-text {
    color: var(--color-14);
    font-size: 14px;
    line-height: 22px;
}

.checkout-page .checkout-form-step .select2-container.field.half,
.checkout-page .checkout-form-step .select2-container.field.third {
    display: flex;
    width: 100% !important;
}
.checkout-page .checkout-form-step .select2-container .selection {
    width: 100%;
}

.empty-cart-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 40px 0px;
    gap: 24px;
}

.empty-cart-icon {
    width: 240px;
}

.empty-cart-wrapper .cart-empty-cart-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.empty-cart-wrapper .cart-empty-cart-subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

div#general-cart-error-msg {
    color: var(--color-16);
    font-size: 16px;
}

.vat-id-field-group .vat-id-validation-in-progress-wrapper{
    gap: 10px;
    display: none;
    justify-content: start;
    align-items: center;
    color: var(--default-text-color);
    font-family: var(--body-font-family);
    font-size: 12px;
    font-weight: var(--font-weight-semilight);
    line-height: 16px;
}

.checkout-page .checkout-form-step, .checkout-page .checkout-form-group-fields.company-details-fields.inprogress {
    gap: var(--checkout-form-step-gap-v) var(--checkout-form-step-gap-h);
}

.checkout-page .checkout-form-group-fields.company-details-fields.inprogress .company-details-header{
    margin-bottom: var(--checkout-form-step-gap-v);
}
.checkout-page .checkout-form-group-fields.company-details-fields.inprogress .company-verification-msg{
    margin-top: var(--checkout-form-step-gap-v);
}

@keyframes vat-progressbar {
    0%   {left:-4px}
    100% {left:calc(100% + 4px)}
}

.vat-id-field-group .vat-id-validation-progressbar{
    display: flex;
    width: 48px;
    height: 8px;
    border-radius: 4px;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: rgba(15,15,15,0.2);
}

.company-details-fields.inprogress .vat-id-field-group .vat-id-validation-in-progress-wrapper{
    display: flex;
}

.vat-id-field-group .vat-id-validation-progressbar-progress{
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: rgb(15,15,15);
    position: absolute;
    left: -4px;
    top: 0;
    animation-name: vat-progressbar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.select2-container .select2-dropdown {
    margin-top: 4px;
    background-color: var(--color-3);
    border: none;
    border-radius: 2px;
    box-shadow: 0 2px 40px 0 #5E5E5E33;
}
.select2-container .select2-dropdown .select2-search {
    position: relative;
    padding: 16px 16px 8px;
}
.select2-container .select2-dropdown .select2-search:after {
    position: absolute;
    top: 16px;
    right: 20px;
    height: 48px;
    width: 40px;
    background-image: url("/img/redesign/icons/icon-search.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    pointer-events: none;
    content: "";
}
.select2-container .select2-dropdown .select2-search__field {
    padding: 12px 40px 12px 14px;
    color: #3E3E3E;
    font-size: 16px;
    line-height: 22px;
    border-color: #3E3E3E;
    border-radius: 30px;
}
.select2-container .select2-dropdown .select2-results > .select2-results__options {
    max-height: 230px;
    scrollbar-width: thin;
    scrollbar-color: #CCD3D9 transparent;
}
.select2-container .select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}
.select2-container .select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-track,
.select2-container .select2-dropdown .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #CCD3D9;
}
.select2-container .select2-dropdown .select2-results .select2-results__option {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 767px) {
    :root {
        --checkout-page-margin: 33px 0 0;
        --checkout-form-margin-top: 24px;
        --checkout-h1-font-size: 18px;
        --checkout-h1-line-height: 28px;
        --checkout-breadcrumbs-block-margin-top: 40px;
        --checkout-form-step-title-font-size: 16px;
        --checkout-form-step-title-line-height: 24px;
        --checkout-form-step-gap-v: 12px;
        --checkout-form-step-gap-h: 12px;
        --checkout-form-step-field-half-width: 100%;
        --checkout-form-step-field-third-width: 100%;
        --checkout-pay-system-list-gap: 16px;
        --main-gap: 0;
    }

    .checkout-page .checkout-form-step .checkout-form-pay-system-logo {
        max-width: 60px;
    }

    .checkout-page .checkout-form {
        gap: 24px;
    }
}
@media (max-width: 1023px) and (min-width: 768px) {
    :root {
        --checkout-page-margin: 33px 0 0;
        --checkout-form-margin-top: 24px;
        --checkout-h1-font-size: 20px;
        --checkout-h1-line-height: 30px;
        --checkout-breadcrumbs-block-margin-top: 40px;
        --checkout-form-step-title-font-size: 18px;
        --checkout-form-step-title-line-height: 26px;
        --checkout-form-step-gap-v: 16px;
        --checkout-form-step-gap-h: 20px;
        --checkout-pay-system-list-gap: 16px;
        --main-gap: 0;
    }
}
@media (max-width: 1439px) and (min-width: 1024px) {
    :root {
        --checkout-page-margin: 33px 0 0;
        --checkout-form-margin-top: 40px;
        --checkout-h1-font-size: 32px;
        --checkout-h1-line-height: 40px;
        --checkout-breadcrumbs-block-margin-top: 60px;
        --checkout-form-step-title-font-size: 24px;
        --checkout-form-step-title-line-height: 32px;
        --checkout-form-step-gap-v: 16px;
        --checkout-form-step-gap-h: 24px;
        --checkout-pay-system-list-gap: 16px;
    }
}
@media (min-width: 1440px) {
    :root {
        --checkout-page-margin: 61px 0 0;
        --checkout-form-margin-top: 40px;
        --checkout-h1-font-size: 32px;
        --checkout-h1-line-height: 40px;
        --checkout-breadcrumbs-block-margin-top: 60px;
        --checkout-form-step-title-font-size: 24px;
        --checkout-form-step-title-line-height: 32px;
        --checkout-form-step-gap-v: 16px;
        --checkout-form-step-gap-h: 24px;
        --checkout-pay-system-list-gap: 16px;
    }
}
@media (min-width: 768px) {
    :root {
        --checkout-form-step-field-half-width: calc(50% - var(--checkout-form-step-gap-h) / 2);
        --checkout-form-step-field-third-width: calc(100% / 3 - var(--checkout-form-step-gap-h) / 1.5);
    }
}
@media (max-width: 768px) {
    .empty-cart-wrapper {
        gap: 16px;
    }
}
