.amr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.amr-button:hover {
	transform: translateY(-1px);
}

.amr-button:focus-visible,
.amr-order-builder button:focus-visible,
.amr-order-builder input:focus-visible,
.amr-order-builder textarea:focus-visible {
	outline: 3px solid #fcb714;
	outline-offset: 3px;
}

.amr-button--primary {
	background: #fcb714;
	color: #200b01;
}

.amr-button--ghost {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

.amr-button--small {
	min-height: 44px;
	padding: 8px 14px;
	background: #fcb714;
	color: #200b01;
}

.amr-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.amr-consent {
	position: fixed;
	inset-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
	inset-block-end: max(16px, env(safe-area-inset-bottom));
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 920px;
	margin-inline: auto;
	padding: 18px;
	border: 1px solid rgba(252, 183, 20, 0.55);
	border-radius: 18px;
	background: #250e03;
	color: #f8f1ea;
	box-shadow: 0 20px 70px rgba(14, 9, 6, 0.45);
}

.amr-consent[hidden] {
	display: none;
}

.amr-consent-manage {
	position: fixed;
	inset-inline-start: max(12px, env(safe-area-inset-left));
	inset-block-end: max(12px, env(safe-area-inset-bottom));
	z-index: 9990;
	min-height: 44px;
	padding: 8px 13px;
	border: 1px solid rgba(252, 183, 20, 0.55);
	border-radius: 999px;
	background: #250e03;
	color: #f3e9df;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.amr-consent-manage[hidden] {
	display: none;
}

.amr-consent strong {
	display: block;
	margin-bottom: 4px;
	color: #fcb714;
	font-size: 18px;
}

.amr-consent p {
	margin: 0;
	line-height: 1.65;
}

.amr-consent__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.amr-order-builder {
	--amr-espresso: #250e03;
	--amr-gold: #fcb714;
	--amr-cream: #f3e9df;
	--amr-border: rgba(198, 162, 115, 0.42);
	overflow: hidden;
	max-width: 1200px;
	margin: clamp(28px, 7vw, 88px) auto;
	border: 1px solid var(--amr-border);
	border-radius: clamp(20px, 4vw, 32px);
	background: var(--amr-espresso);
	color: var(--amr-cream);
	box-shadow: 0 24px 70px rgba(14, 9, 6, 0.28);
}

.amr-order-builder *,
.amr-order-builder *::before,
.amr-order-builder *::after {
	box-sizing: border-box;
}

.amr-order-builder__header {
	padding: clamp(24px, 6vw, 58px);
	border-bottom: 1px solid var(--amr-border);
}

.amr-order-builder__header h2 {
	margin: 4px 0 12px;
	color: var(--amr-gold);
	font-size: clamp(32px, 7vw, 64px);
	line-height: 1.08;
}

.amr-order-builder__header p {
	max-width: 720px;
	margin: 0;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.8;
}

.amr-kicker {
	color: var(--amr-gold);
	font-size: 12px !important;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.amr-order-builder__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.amr-order-builder__catalog,
.amr-order-builder__summary {
	min-width: 0;
	padding: clamp(18px, 4vw, 36px);
}

.amr-order-builder__summary {
	border-inline-start: 1px solid var(--amr-border);
	background: rgba(255, 255, 255, 0.045);
}

.amr-order-builder__summary h3 {
	margin-top: 0;
	color: var(--amr-gold);
	font-size: 26px;
}

.amr-search input,
.amr-notes textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--amr-border);
	border-radius: 14px;
	background: #fffaf4;
	color: #200b01;
	font: inherit;
}

.amr-product-picker {
	display: grid;
	gap: 10px;
	max-height: 560px;
	margin-top: 14px;
	overflow: auto;
	scrollbar-gutter: stable;
}

.amr-product-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--amr-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
}

.amr-product-choice strong,
.amr-product-choice span {
	display: block;
}

.amr-product-choice span {
	margin-top: 4px;
	color: #d6c0ac;
	font-size: 13px;
}

.amr-order-items {
	display: grid;
	gap: 10px;
}

.amr-order-item {
	padding: 12px;
	border: 1px solid var(--amr-border);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.12);
}

.amr-order-item__controls {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.amr-quantity-button,
.amr-remove {
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--amr-border);
	border-radius: 10px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.amr-quantity {
	min-width: 26px;
	text-align: center;
	font-weight: 800;
}

.amr-order-item__note {
	flex: 1 1 180px;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--amr-border);
	border-radius: 10px;
	background: #fffaf4;
	color: #200b01;
	font: inherit;
}

.amr-remove {
	margin-inline-start: auto;
	padding-inline: 12px;
	color: #ffbbb5;
}

.amr-order-total {
	margin: 16px 0;
	padding: 12px;
	border-radius: 12px;
	background: rgba(252, 183, 20, 0.13);
	color: var(--amr-gold);
	font-weight: 800;
	line-height: 1.6;
}

.amr-notes {
	display: grid;
	gap: 8px;
	margin-top: 18px;
	font-weight: 800;
}

.amr-order-builder__notice {
	color: #d6c0ac;
	font-size: 13px;
	line-height: 1.65;
}

.amr-order-builder__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.amr-order-feedback {
	min-height: 24px;
	margin-bottom: 0;
	color: #9ce3b9;
}

.amr-order-feedback.is-error {
	color: #ffbbb5;
}

.amr-empty-message {
	padding: 20px;
	border: 1px dashed var(--amr-border);
	border-radius: 14px;
	color: #d6c0ac;
	text-align: center;
}

@media (max-width: 760px) {
	.amr-consent {
		align-items: stretch;
		flex-direction: column;
	}

	.amr-consent__actions .amr-button {
		flex: 1;
	}

	.amr-order-builder__grid {
		grid-template-columns: 1fr;
	}

	.amr-order-builder__summary {
		border-block-start: 1px solid var(--amr-border);
		border-inline-start: 0;
	}
}

@media (max-width: 420px) {
	.amr-order-builder__actions,
	.amr-consent__actions {
		grid-template-columns: 1fr;
		display: grid;
	}

	.amr-product-choice {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amr-button {
		transition: none;
	}
}
