/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



#billing_customer_type_field .caf-customer-type-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 15px 0 !important;
}

#billing_customer_type_field .caf-customer-type-option {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
}

#billing_customer_type_field .caf-customer-type-option input[type="radio"] {
    flex: 0 0 auto;
    height: 20px !important;
    margin: 0 !important;
}

#billing_customer_type_field .caf-customer-type-option label {
    display: inline;
    min-width: 0;
    margin: 10px 0 0 0;
    cursor: pointer;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
}

#billing_customer_type_field .optional,
#billing_customer_type_field .optional-text {
    display: none !important;
}

#billing_customer_type_field .required {
    display: none !important;
}

#billing_company_name_field,
#billing_vat_number_field {
    display: none;
}

.caf-option .optional,
.caf-option .optional-text {
    display: none !important;
}

.caf-option label {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.caf-option-content {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.caf-option-image {
    height: 26px;
}

.caf-option-icon {
    width: 30px;
    height: 30px;
    font-size: 30px;
    line-height: 30px;
}

.caf-inline-error {
    color: #d63638;
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
    white-space: pre-line;
    width: 100%;
}

.woocommerce .form-row .caf-inline-error {
    flex-basis: 100%;
    order: 5;
}

.caf-phone-focus-hint {
    display: none;
    width: 100%;
    margin: 0 0 6px;
    color: #217a36;
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce .form-row .caf-phone-focus-hint {
    flex-basis: 100%;
    order: -1;
}

#billing_phone_field:has(#billing_phone:focus) .caf-phone-focus-hint {
    display: block;
}

.caf-phone-advisory,
.caf-email-advisory {
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border-left: 4px solid #dba617;
    border-radius: 2px;
    background: #fff8e5;
    color: #4f3f16;
    font-size: 13px;
    line-height: 1.45;
}

.woocommerce .form-row .caf-phone-advisory,
.woocommerce .form-row .caf-email-advisory {
    flex-basis: 100%;
    order: 6;
}

.caf-phone-advisory__message,
.caf-email-advisory__message {
    margin: 0;
}

.caf-phone-advisory__actions,
.caf-email-advisory__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    margin-top: 7px;
}

.caf-phone-advisory__action,
.caf-email-advisory__action {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #7a5200;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.caf-phone-advisory__action:hover,
.caf-phone-advisory__action:focus,
.caf-phone-advisory__action:active,
.caf-email-advisory__action:hover,
.caf-email-advisory__action:focus,
.caf-email-advisory__action:active {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #513600;
}

.caf-phone-advisory__action:focus-visible,
.caf-email-advisory__action:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.caf-phone-advisory__action--keep,
.caf-email-advisory__action--keep {
    color: inherit;
    font-weight: 600;
}

.select2-container--open {
    z-index: 9999;
}

.payment_box.caf-cod-min-error,
.caf-cod-min-inline.caf-cod-min-error,
.wc-block-components-radio-control__description.caf-cod-min-error {
    border-left: 4px solid #d63638;
    background: rgba(214, 54, 56, 0.06);
    padding: 10px 12px;
    margin-top: 8px;
}

.caf-cod-min-error-text,
.payment_box.caf-cod-min-error p {
    color: #d63638;
    font-weight: 700;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    flex: 0 0 auto;
    margin: 0 10px 0 0;
    align-self: center;
    position: relative;
    bottom: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.woocommerce-checkout #payment .caf-payment-method-icon {
    order: 1;
    flex: 0 0 auto;
    width: auto;
    height: auto;
}

.woocommerce-checkout #payment .caf-payment-method-title-text {
    order: 2;
    min-width: 0;
}

.woocommerce-checkout #payment .caf-payment-method-extra {
    order: 3;
    margin-left: auto;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > .payment_box {
    flex: 0 0 100%;
    margin-top: 10px;
}
