.woocommerce-checkout .woocommerce-address-fields .entity-type-control .woocommerce-input-wrapper label,.woocommerce-checkout .woocommerce-billing-fields .entity-type-control .woocommerce-input-wrapper label,.woocommerce-edit-address .woocommerce-address-fields .entity-type-control .woocommerce-input-wrapper label,.woocommerce-edit-address .woocommerce-billing-fields .entity-type-control .woocommerce-input-wrapper label{display:inline-block;margin-right:10px}.woocommerce-checkout .woocommerce-address-fields .entity-type-control .woocommerce-input-wrapper .description,.woocommerce-checkout .woocommerce-billing-fields .entity-type-control .woocommerce-input-wrapper .description,.woocommerce-edit-address .woocommerce-address-fields .entity-type-control .woocommerce-input-wrapper .description,.woocommerce-edit-address .woocommerce-billing-fields .entity-type-control .woocommerce-input-wrapper .description{display:block!important}.woocommerce-checkout .woocommerce-address-fields .entity-type-toggle,.woocommerce-checkout .woocommerce-billing-fields .entity-type-toggle,.woocommerce-edit-address .woocommerce-address-fields .entity-type-toggle,.woocommerce-edit-address .woocommerce-billing-fields .entity-type-toggle{display:none!important}.woocommerce-checkout .woocommerce-address-fields .entity-type-toggle.shown,.woocommerce-checkout .woocommerce-billing-fields .entity-type-toggle.shown,.woocommerce-edit-address .woocommerce-address-fields .entity-type-toggle.shown,.woocommerce-edit-address .woocommerce-billing-fields .entity-type-toggle.shown{display:block!important}.wcsrb-payment-slip{background-color:#fff;max-width:1024px;padding:20px 0;width:100%}.wcsrb-payment-slip.classic{border:2px solid #000}.wcsrb-payment-slip.classic .slip-section,.wcsrb-payment-slip.classic .slip-section.last{padding:0 10px}.wcsrb-payment-slip.classic .block-content{border:1px solid #000}.wcsrb-payment-slip.modern .block-info .block-label{font-size:11px;text-transform:uppercase;white-space:nowrap}.wcsrb-payment-slip.modern .block-content{background-color:#f1f1f1;border:1px solid #f0f0f0}.wcsrb-payment-slip td,.wcsrb-payment-slip tr{border:0;margin:0;padding:0}.wcsrb-payment-slip .slip-section{padding:0 10px 0 0;vertical-align:top;width:5ch}.wcsrb-payment-slip .slip-section.last{padding:0 0 0 10px;width:50%}.wcsrb-payment-slip .spacer{width:30px}.wcsrb-payment-slip tr:not(.top) .block-info{padding-top:10px}.wcsrb-payment-slip .block-info{padding-left:5px;vertical-align:bottom}.wcsrb-payment-slip .block-info .block-label{color:#000!important;font-size:13px;font-weight:400}.wcsrb-payment-slip .block-info.code,.wcsrb-payment-slip .block-info.currency{width:20%}.wcsrb-payment-slip .block-content{color:#000;font-weight:700;padding:5px;vertical-align:middle}.wcsrb-payment-slip .block-content.large{line-height:1.3}.wcsrb-payment-slip .qr-code-wrap{width:40%}.wcsrb-payment-slip .qr-code-desc{padding-left:20px;vertical-align:middle}.woocommerce-account .wcsrb-payment-slip,.woocommerce-email .wcsrb-payment-slip{margin:0 0 20px;padding:0}.woocommerce-account .wcsrb-payment-slip .qr-code-wrap,.woocommerce-email .wcsrb-payment-slip .qr-code-wrap{width:50%}.woocommerce-email .wcsrb-payment-slip{font-size:13px!important}.woocommerce-email .wcsrb-payment-slip .slip-section{padding:0 5px 0 0!important;width:40%}.woocommerce-email .wcsrb-payment-slip .slip-section .slip-section-inner{border-spacing:0;margin:0!important;width:100%}.woocommerce-email .wcsrb-payment-slip .slip-section.last{padding:0 0 0 5px!important;width:60%}.woocommerce-email .wcsrb-payment-slip .block-info{padding:5px 0 0!important}.woocommerce-email .wcsrb-payment-slip .block-content.large{height:auto!important}.woocommerce-email .wcsrb-payment-slip .spacer{padding:0!important;width:5px}.woocommerce-order-ips-qr-code table.qr-code .qr-code-desc,.woocommerce-order-ips-qr-code table.qr-code .qr-code-wrap{border-bottom:none;padding:0;vertical-align:top}.woocommerce-order-ips-qr-code table.qr-code .qr-code-wrap{padding-right:10px;width:40%}.woocommerce-order-ips-qr-code table.qr-code .qr-code-desc{padding-left:10px;width:60%}
/* Use the selected buyer type on first paint, including when checkout scripts are delayed. */
:is(.woocommerce-checkout, .woocommerce-edit-address) :is(.woocommerce-billing-fields, .woocommerce-address-fields):has(
    input[name="billing_type"][value="person"]:checked,
    input[type="hidden"][name="billing_type"][data-default="person"]
) :is(.entity-type-toggle, #billing_company_field, #billing_mb_field, #billing_pib_field) {
    display: none !important;
}

/* A saved or forced company in Serbia can also be rendered without the shown class. */
:is(.woocommerce-billing-fields, .woocommerce-address-fields):has(
    select[name="billing_country"] option[value="RS"]:checked,
    input[name="billing_country"][value="RS"]
):has(
    input[name="billing_type"][value="company"]:checked,
    input[type="hidden"][name="billing_type"][data-default="company"]
) .entity-type-toggle {
    display: block !important;
}
