:root {
	--mao-brass: #ca9e4e;
	--mao-brass-dark: #98692b;
	--mao-espresso: #200a01;
	--mao-cream: #fef8ed;
	--mao-cream-2: #fff3dc;
	--mao-cream-border: #e9d2a8;
}

.mao-offer-wrap { margin: 10px 0 12px; text-align: right; } /* cart form carries ~20px of its own; 30px visual total */

.mao-offer-button {
	background: var(--mao-brass);
	color: var(--mao-espresso);
	border: 0;
	border-radius: 5px;
	padding: 12px 26px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 150ms ease-out;
}
.mao-offer-button:hover { background: var(--mao-brass-dark); color: var(--mao-cream); }
.mao-offer-button:focus { outline: 3px solid rgba(202, 158, 78, 0.45); }
.mao-offer-button:disabled { cursor: default; opacity: 0.85; }
.mao-offer-button.is-loading::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 10px;
	vertical-align: -2px;
	border: 2px solid var(--mao-espresso);
	border-top-color: transparent;
	border-radius: 50%;
	animation: mao-spin 700ms linear infinite;
}
@keyframes mao-spin {
	to { transform: rotate(360deg); }
}

.mao-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(32, 10, 1, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
}
.mao-modal-backdrop[hidden] { display: none; }
.mao-modal {
	position: relative;
	background: var(--mao-cream);
	border: 1px solid var(--mao-cream-border);
	border-radius: 5px;
	box-shadow: 0 8px 30px rgba(46, 26, 5, 0.35);
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 26px 28px;
}
.mao-modal h3 {
	margin: 0 0 4px;
	color: var(--mao-espresso);
	border-bottom: 3px solid var(--mao-brass);
	display: inline-block;
	padding-bottom: 4px;
}
.mao-sub { margin: 8px 0 14px; }
.mao-confirm p { margin-top: 20px; }
.mao-modal label { display: block; font-weight: 600; font-size: 13px; margin: 12px 0 4px; color: var(--mao-espresso); }
.mao-modal input[type="number"],
.mao-modal input[type="text"],
.mao-modal input[type="email"],
.mao-modal textarea {
	width: 100%;
	border: 1px solid var(--mao-cream-border);
	border-radius: 3px;
	padding: 8px 10px;
	background: #fff;
}
.mao-total { font-weight: 600; margin: 10px 0 0; }
.mao-modal .mao-offer-button { margin-top: 16px; width: 100%; }
.mao-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--mao-espresso);
	cursor: pointer;
}
.mao-error { color: #9c3b23; font-size: 14px; margin-top: 10px; }
.mao-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }
