/* Lengva Product Options. Buttons, fabric squares, cards and folded lists use the theme's styles
   (.chip, .swatch, .fold); here only the group layout, notes and errors. */
.lpo {
	margin: 0 0 0.5rem;
}

.lpo .field {
	margin: 0 0 1.1rem;
}

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

.lpo legend {
	display: block;
	margin: 0 0 0.35rem;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 650;
}

.lpo legend .chosen {
	color: var(--c-muted, #6b6b6b);
	font-weight: 400;
}

.lpo [hidden] {
	display: none !important;
}

.lpo .chip__label {
	display: block;
}

.lpo .field-note {
	margin: 0.4rem 0 0;
	color: var(--c-muted, #6b6b6b);
	font-size: 0.85rem;
}

.lpo .field-error {
	margin: 0.4rem 0 0;
	color: var(--c-sale, #b42318);
	font-size: 0.875rem;
	font-weight: 600;
}

.lpo .has-error legend {
	color: var(--c-sale, #b42318);
}

.lpo .has-error .swatches,
.lpo .has-error .chips:not([hidden]) {
	padding: 4px;
	border-radius: var(--radius-sm, 6px);
	box-shadow: 0 0 0 1px var(--c-sale, #b42318);
}

.lpo-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin: 0.6rem 0 0;
	padding-top: 0.6rem;
	border-top: 1px solid var(--c-border, #e5e2dc);
	font-weight: 600;
}

.lpo-total[hidden] {
	display: none;
}

.lpo-total strong {
	font-size: 1.15rem;
}
