.fccc-checkout-field__description {
    color: #697386;
    font-size: 13px;
    line-height: 1.45;
    margin: 6px 0 0;
}

.fccc-checkout-field__choices {
    display: grid;
    gap: 10px;
}

.fccc-checkout-field__choice {
    align-items: start;
    background: #ffffff;
    border: 1px solid #d8dee9;
    border-radius: 8px;
    color: var(--fct-checkout-primary-text-color, #2f3448);
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    line-height: 1.45;
    min-height: 52px;
    padding: 13px 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.fccc-checkout-field__choice input {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px !important;
    margin: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    width: 1px !important;
}

.fccc-checkout-field__choice:has(input:checked) {
    background: color-mix(in srgb, var(--primary) 7%, #ffffff);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.fccc-checkout-field__choice:hover {
    border-color: var(--primary);
}

.fccc-checkout-field__choice:hover span::before {
    border-color: var(--primary);
}

.fccc-checkout-field__choice:has(input:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent);
}

.fccc-checkout-field__choice span {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: 20px minmax(0, 1fr);
    min-width: 0;
    position: relative;
}

.fccc-checkout-field__choice span::before {
    background: #ffffff;
    border: 2px solid #9aa4b2;
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    height: 20px;
    margin-top: 3px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 20px;
}

.fccc-checkout-field__choice span::after {
    background: var(--primary);
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 5px;
    position: absolute;
    top: 8px;
    transform: scale(0);
    transition: transform 140ms ease;
    width: 10px;
}

.fccc-checkout-field__choice input:checked + span::before {
    border-color: var(--primary);
}

.fccc-checkout-field__choice input:checked + span::after {
    transform: scale(1);
}

.fccc-checkout-field--radio {
    border: 0 !important;
    margin: 0;
    min-width: 0;
    padding: 0 !important;
}

.fccc-checkout-field--radio .fct_input_label_radio {
    color: var(--fct-checkout-primary-text-color, #2f3448);
    display: block;
    float: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
    padding: 0;
    width: auto;
}

.fccc-checkout-field__error.show_error {
    display: block;
}

body.fccc-checkout--show-labels .fct_checkout .fct_input_wrapper {
    display: grid;
    gap: 7px;
}

body.fccc-checkout--show-labels .fct_checkout .fct_form_sub_section_wrapper {
    display: grid;
    gap: 14px;
}

body.fccc-checkout--show-labels .fct_checkout .fct_input_wrapper .fct_input_label {
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: var(--fct-checkout-primary-text-color, #2f3448);
}

body.fccc-checkout--show-labels .fct_checkout .fct_input_wrapper .fct_input_label:not(:has(input)) {
    cursor: default;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group {
    display: grid;
    gap: 14px;
    overflow: visible;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper {
    margin: 0;
    overflow: visible;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper {
    border: 0 !important;
    display: grid !important;
    gap: 14px !important;
    overflow: visible;
    width: 100%;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_form_sub_section_wrapper.fct_2_columns,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_form_sub_section_wrapper.fct_checkout_city_postcode {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper {
    display: grid;
    gap: 7px;
    margin: 0;
    min-width: 0;
    overflow: visible;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper input:not([type="checkbox"]):not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper .fct-custom-searchable-select-container .select-input,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper input:not([type="checkbox"]):not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper .fct-custom-searchable-select-container .select-input,
body.fccc-checkout--normalize-fields .fct_checkout .fccc-checkout-field input:not([type="checkbox"]):not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fccc-checkout-field select,
body.fccc-checkout--normalize-fields .fct_checkout .fccc-checkout-field textarea {
    border-width: 1px !important;
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    min-height: 44px;
}

body.fccc-checkout--normalize-fields .fct_checkout #billing_country_wrapper .fct-custom-searchable-select,
body.fccc-checkout--normalize-fields .fct_checkout #shipping_country_wrapper .fct-custom-searchable-select,
body.fccc-checkout--normalize-fields .fct_checkout #billing_country_wrapper .fct-custom-searchable-select-container,
body.fccc-checkout--normalize-fields .fct_checkout #shipping_country_wrapper .fct-custom-searchable-select-container,
body.fccc-checkout--normalize-fields .fct_checkout #billing_country_wrapper .fct-custom-searchable-select-container .select-input,
body.fccc-checkout--normalize-fields .fct_checkout #shipping_country_wrapper .fct-custom-searchable-select-container .select-input,
body.fccc-checkout--normalize-fields .fct_checkout #billing_country_wrapper .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout #shipping_country_wrapper .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout #billing_country_wrapper select,
body.fccc-checkout--normalize-fields .fct_checkout #shipping_country_wrapper select {
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout .fct-custom-searchable-select,
body.fccc-checkout--normalize-fields .fct_checkout .fct-custom-searchable-select-container {
    border-radius: 8px !important;
    min-height: 44px;
    overflow: visible !important;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct-nice-select.open,
body.fccc-checkout--normalize-fields .fct_checkout .fct-custom-searchable-select-container.open {
    z-index: 20;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct-nice-select .list,
body.fccc-checkout--normalize-fields .fct_checkout .fct-nice-select .fct-nice-select-dropdown,
body.fccc-checkout--normalize-fields .fct_checkout .fct-custom-searchable-select-container .select-dropdown {
    border-radius: 8px;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper input:not([type="radio"]):focus,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper select:focus,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper textarea:focus,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper input:not([type="radio"]):focus,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper select:focus,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper textarea:focus {
    border-width: 1px !important;
}

body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:first-child input:not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:first-child select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:first-child textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:first-child .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:last-child input:not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:last-child select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:last-child textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_input_wrapper:last-child .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:first-child input:not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:first-child select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:first-child textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:first-child .fct-nice-select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:last-child input:not([type="radio"]),
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:last-child select,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:last-child textarea,
body.fccc-checkout--normalize-fields .fct_checkout .fct_form_sub_section_wrapper > .fct_input_wrapper:last-child .fct-nice-select {
    border-radius: 8px !important;
}

@media (max-width: 640px) {
    body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_form_sub_section_wrapper.fct_2_columns,
    body.fccc-checkout--normalize-fields .fct_checkout .fct_checkout_input_group > .fct_form_sub_section_wrapper.fct_checkout_city_postcode {
        grid-template-columns: 1fr !important;
    }

    .fccc-checkout-field__choice {
        padding: 12px;
    }
}
