.db-product-composer-form {
	display: grid;
	gap: 24px;
}

.db-product-composer-base-price {
	align-items: baseline;
	display: flex;
	gap: 8px;
	margin: 0;
}

.db-product-composer-base-price-label,
.db-product-composer-base-price-value {
	display: inline-block;
}

.db-product-composer-groups {
	display: grid;
	gap: 28px;
}

.db-product-composer-group {
	border: 0;
	margin: 0;
	padding: 0;
}

.db-product-composer-group-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.db-product-composer-group-description {
	margin: 0 0 14px;
}

.db-product-composer-products {
	display: grid;
	gap: 10px;
}

.db-product-composer-product {
	align-items: center;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.db-product-composer-product-selected {
	border-color: currentColor;
	box-shadow: 0 0 0 1px currentColor;
}

.db-product-composer-product-unavailable {
	opacity: 0.55;
}

.db-product-composer-selection {
	height: 20px;
	margin: 0;
	width: 20px;
}

.db-product-composer-select-card-input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.db-product-composer-product-content {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin: 0;
}

.db-product-composer-product-image-wrap {
	flex: 0 0 72px;
}

.db-product-composer-product-image {
	display: block;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.db-product-composer-product-info {
	display: grid;
	gap: 4px;
}

.db-product-composer-product-name,
.db-product-composer-product-price {
	display: block;
}

.db-product-composer-product-price del {
	opacity: 0.6;
}

.db-product-composer-product-price ins {
	background: transparent;
	text-decoration: none;
}

.db-product-composer-quantity-wrap {
	display: grid;
	gap: 4px;
	justify-items: end;
}

.db-product-composer-quantity-label {
	font-size: 0.85rem;
	margin: 0;
}

.db-product-composer-quantity {
	box-sizing: border-box;
	max-width: 80px;
	text-align: center;
}

.db-product-composer-group-error {
	color: #b32d2e;
	font-size: 0.9rem;
	margin: 8px 0 0;
}

.db-product-composer-empty {
	margin: 0;
}

.db-product-composer-submit {
	justify-self: start;
}

.db-product-composer-total-quantity {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr 4fr 1fr;
	justify-items: center;
}

.db-product-composer-total-quantity-minus,
.db-product-composer-total-quantity-plus,
.db-product-composer-total-quantity-input {
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: inherit;
	margin: 0;
}

.db-product-composer-total-quantity-minus,
.db-product-composer-total-quantity-plus {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	line-height: 0px;
	padding: 0 0 6px;
}

.db-product-composer-total-quantity-minus:disabled,
.db-product-composer-total-quantity-plus:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.db-product-composer-total-quantity-input {
	-moz-appearance: textfield;
	appearance: textfield;
	min-width: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

.db-product-composer-total-quantity-input::-webkit-inner-spin-button,
.db-product-composer-total-quantity-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.db-product-composer-quantity-icon {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

@media screen and (max-width: 600px) {
	.db-product-composer-product {
		align-items: start;
		grid-template-columns: auto minmax(0, 1fr);
	}

	.db-product-composer-quantity-wrap {
		grid-column: 2;
		justify-items: start;
	}
}
