.muza-reso-button-wrap {
	display: inline-block;
	margin: 0.5rem 0;
	width: 100%;
}

.muza-reso-button,
.muza-reso-submit,
.muza-reso-btn {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.muza-reso-modal[hidden] {
	display: none;
}

.muza-reso-is-open {
	overflow: hidden;
}

.muza-reso-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.muza-reso-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.muza-reso-modal__dialog {
	position: relative;
	background: #fff;
	color: #111827;
	width: min(92vw, 560px);
	max-height: 90vh;
	overflow-y: auto;
	margin: 5vh auto;
	padding: 28px;
	border-radius: 8px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.muza-reso-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 1;
}

.muza-reso-progress {
	display: flex;
	gap: 0.4rem;
	margin: 0 0 1.25rem;
}

.muza-reso-progress__segment {
	flex: 1 1 0;
	height: 4px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.12);
}

.muza-reso-progress__segment.is-active {
	background: currentColor;
	opacity: 0.85;
}

.muza-reso-step[hidden] {
	display: none;
}

.muza-reso-field {
	margin-bottom: 16px;
}

.muza-reso-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.muza-reso-field input,
.muza-reso-field select,
.muza-reso-field textarea {
	width: 100%;
}

.muza-reso-privacy,
.muza-reso-confirm-check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 16px;
}

.muza-reso-confirm-check span {
	font-weight: 600;
	line-height: 1.4;
}

.muza-reso-confirm-box {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.03);
	line-height: 1.5;
}

.muza-reso-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.muza-reso-actions--split {
	justify-content: space-between;
}

.muza-reso-btn--secondary {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.2);
	color: inherit;
	padding: 0.65em 1.1em;
	border-radius: 6px;
}

.muza-reso-message {
	margin-bottom: 16px;
}

.muza-reso-message--success {
	color: #166534;
}

.muza-reso-message--error {
	color: #b91c1c;
}

.muza-reso-success {
	text-align: center;
}

.muza-reso-success__icon {
	display: flex;
	justify-content: center;
	margin: 0.25rem 0 1rem;
	color: #15803d;
}

.muza-reso-success__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.muza-reso-success__subtitle {
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.muza-reso-success__ref {
	margin: 0 0 1.25rem;
}

.muza-reso-summary {
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.03);
	text-align: left;
}

.muza-reso-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
	padding: 0.35rem 0;
}

.muza-reso-summary__row + .muza-reso-summary__row {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.muza-reso-summary dt {
	margin: 0;
	opacity: 0.75;
}

.muza-reso-summary dd {
	margin: 0;
	text-align: right;
}

.muza-reso-success__footer {
	margin: 0 0 1.25rem;
	font-size: 0.9em;
	opacity: 0.7;
	line-height: 1.4;
}

.muza-reso-success .muza-reso-actions {
	justify-content: center;
}

.muza-reso-products {
	margin-top: 0.25em;
}

.muza-reso-products__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.muza-reso-products__item {
	margin: 0;
	padding: 0.5em 0;
	border-bottom: 1px solid currentColor;
	border-bottom-color: rgba(0, 0, 0, 0.12);
}

.muza-reso-products__item:last-child {
	border-bottom: 0;
}

.muza-reso-products__item.is-excluded {
	opacity: 0.55;
}

.muza-reso-products__row {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
}

.muza-reso-products__checkbox {
	width: 14px !important;
	height: 14px;
	min-width: 14px;
	margin: 0.2em 0 0;
	padding: 0;
	flex: 0 0 auto;
	accent-color: currentColor;
}

.muza-reso-products__content {
	flex: 1 1 auto;
	min-width: 0;
}

.muza-reso-products__name {
	font-weight: 600;
	line-height: 1.3;
}

.muza-reso-products__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.75em;
	margin-top: 0.25em;
	font-size: 0.9em;
}

.muza-reso-products__qty-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin: 0;
	font-weight: inherit;
}

.muza-reso-products__qty-select {
	width: auto;
	min-width: 3.5em;
	max-width: 5em;
	margin: 0;
	padding: 0.15em 0.35em;
	font: inherit;
}

.muza-reso-products__qty-text,
.muza-reso-products__status {
	opacity: 0.75;
}

.muza-reso-products__loading,
.muza-reso-products__empty {
	margin: 0;
	padding: 0.5em 0;
	opacity: 0.75;
}
