.amper-customer-type-field {
	clear: both;
	margin-bottom: 24px !important;
}

.amper-customer-type-field > label:first-child {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 10px;
}

.amper-customer-type-field .woocommerce-input-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.amper-customer-type-field .woocommerce-input-wrapper input[type="radio"] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.amper-customer-type-field .woocommerce-input-wrapper label {
	align-items: center;
	background: #f5f6f7;
	border: 2px solid #d9dde1;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	margin: 0;
	min-height: 52px;
	padding: 10px 14px;
	text-align: center;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.amper-customer-type-field .woocommerce-input-wrapper input[type="radio"]:checked + label {
	background: #fff4ee;
	border-color: #f15a24;
	box-shadow: 0 0 0 1px #f15a24;
	color: #7d2609;
}

.amper-customer-type-field .woocommerce-input-wrapper input[type="radio"]:focus-visible + label {
	box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.28);
	outline: 2px solid transparent;
}

.amper-customer-type-field .woocommerce-input-wrapper label .required {
	display: none;
}

.amper-customer-type-field .description {
	color: #60666c;
	display: block;
	font-size: 13px;
	grid-column: 1 / -1;
	margin-top: 2px;
}

.amper-b2b-js body.amper-b2b-private .amper-company-field,
.amper-b2b-js body.amper-b2b-private [id$="_field"].amper-company-field,
.amper-b2b-js body.amper-b2b-private .amper-company-field[aria-hidden="true"] {
	display: none !important;
}

.amper-company-field[hidden] {
	display: none !important;
}

.amper-order-company-details {
	clear: both;
	margin-top: 28px;
}

@media (max-width: 520px) {
	.amper-customer-type-field .woocommerce-input-wrapper {
		gap: 8px;
	}

	.amper-customer-type-field .woocommerce-input-wrapper label {
		font-size: 14px;
		min-height: 48px;
		padding: 8px 10px;
	}

	#billing_registration_number_field,
	#billing_vat_number_field {
		clear: both;
		float: none;
		width: 100%;
	}

	.amper-company-field .optional {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amper-customer-type-field .woocommerce-input-wrapper label {
		transition: none;
	}
}
