.km-bestellformular {
	max-width: 42rem;
}

.km-bestellformular form {
	display: grid;
	gap: 1rem;
}

.km-field-row {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.km-bestellformular p {
	margin: 0;
}

.km-bestellformular label {
	display: block;
	font-weight: 600;
	margin-bottom: .35rem;
}

.km-bestellformular input,
.km-bestellformular select,
.km-bestellformular textarea {
	box-sizing: border-box;
	font: inherit;
	max-width: 100%;
	padding: .65rem .75rem;
	width: 100%;
}

.km-product-row select,
.km-product-row input {
	height: 2.75rem;
}

.km-bestellformular button {
	cursor: pointer;
	font: inherit;
	justify-self: end;
	padding: .7rem 1.2rem;
}

.km-total {
	display: grid !important;
	font-weight: 700;
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.km-price-breakdown {
	display: grid;
	gap: .35rem;
}

.km-price-breakdown p {
	display: grid;
	gap: .35rem;
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.km-price-breakdown p span {
	text-align: right;
}

.km-price-breakdown .km-currency {
	min-width: 2.5rem;
	text-align: left;
}

.km-tax-note {
	font-size: .9em;
	opacity: .8;
}

.km-agb-checkbox {
	font-size: .9em;
	margin-bottom: 1rem;
}

.km-agb-checkbox label {
	display: flex;
	gap: .5rem;
	align-items: flex-start;
}

.km-agb-checkbox input[type="checkbox"] {
	width: auto;
	margin-top: .25rem;
	flex-shrink: 0;
}

.km-notice {
	border-left: 4px solid;
	margin-bottom: 1rem;
	padding: .8rem 1rem;
}

.km-success { border-color: #218739; }
.km-error { border-color: #b32d2e; }

@media (max-width: 42rem) {
	.km-field-row {
		grid-template-columns: 1fr;
	}

	.km-bestellformular button {
		width: 100%;
	}
}
