.mbx-preorder { margin: 1.5em 0; line-height: 1.4; }
.mbx-preorder *, .mbx-preorder *::before, .mbx-preorder *::after { box-sizing: border-box; }

.mbx-step { margin: 0 0 1.75em; }
.mbx-title { display: flex; align-items: baseline; gap: .6em; margin: 0 0 .75em; font-size: 1.1em; }
.mbx-tag { font-size: .65em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.mbx-muted { opacity: .7; }

.mbx-hubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6em; }

.mbx-hub,
.mbx-opt,
.mbx-qty button {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	min-height: 0;
	margin: 0;
	border: 1px solid rgba(128, 128, 128, .4);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.mbx-hub {
	display: flex;
	flex-direction: column;
	gap: .2em;
	width: 100%;
	text-align: left;
	padding: .75em .9em;
}
.mbx-hub-name { font-weight: 600; }
.mbx-hub-desc { font-size: .85em; opacity: .7; }
.mbx-hub-price { font-size: .9em; opacity: .85; }

.mbx-options { margin-top: 1em; }
.mbx-group { margin: 0 0 1em; }
.mbx-group-label { display: flex; gap: .5em; margin: 0 0 .45em; font-size: .75em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mbx-group-label strong { letter-spacing: normal; text-transform: none; font-size: 1.1em; }
.mbx-opts { display: flex; flex-wrap: wrap; gap: .5em; }
.mbx-opt { display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em; font-size: .95em; }
.mbx-dot { width: 1em; height: 1em; flex: none; border-radius: 50%; border: 1px solid rgba(128, 128, 128, .5); }

.mbx-hub:hover, .mbx-opt:hover, .mbx-qty button:hover { border-color: rgba(128, 128, 128, .9); }
.mbx-hub.is-selected, .mbx-opt.is-selected {
	border-color: currentColor;
	box-shadow: 0 0 0 1px currentColor;
	background: rgba(128, 128, 128, .12);
}
.mbx-hub:focus-visible, .mbx-opt:focus-visible, .mbx-qty button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.mbx-summary { padding-top: 1.25em; border-top: 1px solid rgba(128, 128, 128, .3); }
.mbx-lines { list-style: none; margin: 0 0 .9em; padding: 0; font-size: .95em; }
.mbx-lines li { display: flex; justify-content: space-between; gap: 1em; padding: .25em 0; }
.mbx-line-price { white-space: nowrap; opacity: .85; }
.mbx-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 1em; font-size: 1.15em; }

.mbx-actions { display: flex; align-items: center; gap: .9em; flex-wrap: wrap; }
.mbx-qty { display: inline-flex; align-items: center; gap: .5em; }
.mbx-qty button { width: 2.4em; height: 2.4em; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1em; }
.mbx-qty-val { min-width: 1.8em; text-align: center; font-weight: 600; }
.mbx-submit { flex: 1 1 200px; }
.mbx-submit[disabled] { opacity: .5; cursor: not-allowed; }

.mbx-hint { margin: .75em 0 0; font-size: .9em; opacity: .7; }
.mbx-msg { margin: .75em 0 0; padding: .7em .9em; border-radius: 8px; font-size: .95em; }
.mbx-msg.is-error { border: 1px solid #c0392b; color: #c0392b; background: rgba(192, 57, 43, .08); }

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

.mbx-intro { margin: 0 0 1.25em; opacity: .75; }
.mbx-opt-price { font-size: .9em; opacity: .7; }
