/**
 * Customer type toggle — matches unified commerce UI
 */

.km-customer-type {
	margin-bottom: 1.25rem !important;
}

.km-customer-type > label {
	display: block;
	font-family: var(--km-font-display, "Arbutus Slab", serif) !important;
	font-weight: 400 !important;
	margin-bottom: 0.5rem;
	color: var(--km-primary, #ab0059) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 1.1rem !important;
}

.km-customer-type .woocommerce-input-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.km-customer-type input[type="radio"] {
	margin-right: 0.35rem;
	accent-color: var(--km-primary, #ab0059);
}

.km-customer-type .woocommerce-input-wrapper label {
	display: inline-flex;
	align-items: center;
	font-family: var(--km-font-ui, Montserrat, sans-serif) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	color: var(--km-text, #222) !important;
}

body.woocommerce-checkout:not(.km-checkout-wholesale) .km-legal-field.km-is-hidden,
body.woocommerce-account .km-legal-field.km-is-hidden {
	display: none !important;
}

/* Hide WooCommerce "(optional)" / "(nav obligāts)" on company fields */
.km-legal-field label .optional,
.km-legal-field .optional {
	display: none !important;
}

body.km-checkout-wholesale .km-customer-type {
	display: none !important;
}
