.dsgc-form {
	display: grid;
	gap: 1.25rem;
	max-width: 32rem;
}

.dsgc-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.dsgc-form fieldset[hidden] {
	display: none;
}

.dsgc-form legend,
.dsgc-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
}

.dsgc-form .dsgc-field {
	margin: 0;
}

.dsgc-form .dsgc-address {
	display: grid;
	gap: 1rem;
}

.dsgc-form input[type="text"],
.dsgc-form input[type="email"],
.dsgc-form input[type="number"],
.dsgc-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
}

.dsgc-form .quantity input.qty {
	width: 5rem;
	padding: 0.6rem 0.5rem;
}

.dsgc-form .dsgc-hint {
	display: block;
	margin-top: 0.3rem;
	opacity: 0.7;
	font-size: 0.85em;
}

.dsgc-form abbr.required {
	text-decoration: none;
	color: #b00;
}

.dsgc-type__option {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-weight: 400 !important;
	cursor: pointer;
}

.dsgc-type__option + .dsgc-type__option {
	margin-top: 0.5rem;
}

.dsgc-type__option:has( input:checked ) {
	border-color: currentColor;
	box-shadow: inset 0 0 0 1px currentColor;
}

.dsgc-type__label {
	font-weight: 600;
}

.dsgc-type__fee {
	margin-left: auto;
	font-size: 0.9em;
	opacity: 0.8;
}

.dsgc-row {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1rem;
}

@media ( max-width: 480px ) {
	.dsgc-row {
		grid-template-columns: 1fr;
	}
}

.dsgc-summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-top: 1rem;
	border-top: 1px solid #ddd;
	font-size: 1.15em;
}
