.smm-flipbook-wrapper {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.smm-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.smm-accessible-menu {
	position: relative;
	display: flex;
	justify-content: flex-end;
	margin: 0;
}

.smm-accessible-menu summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--smm-secondary, #9b7a3a);
	border-radius: 8px;
	color: var(--smm-secondary, #9b7a3a);
	font-weight: 700;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.smm-accessible-menu summary:focus-visible,
.smm-controls button:focus-visible,
.smm-flipbook:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.smm-accessible-menu-content {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	left: auto;
	z-index: 30;
	width: min(100vw - 32px, 1100px);
	max-height: var(--smm-flipbook-height, 700px);
	height: var(--smm-flipbook-height, 700px);
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	background: var(--smm-page-bg, #ffffff);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
	opacity: 0;
	overflow-y: auto;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.smm-accessible-menu-overlay {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	left: auto;
	z-index: 29;
	width: min(100vw - 32px, 1100px);
	height: var(--smm-flipbook-height, 700px);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.58);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.smm-accessible-menu[open] .smm-accessible-menu-content,
.smm-accessible-menu[open] .smm-accessible-menu-overlay {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.smm-accessible-menu-close {
	position: sticky;
	top: 0;
	float: right;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: -6px -6px 10px 16px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	background: #ffffff;
	color: #111111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.smm-accessible-menu-close svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.smm-accessible-section + .smm-accessible-section {
	margin-top: 24px;
}

.smm-accessible-section {
	border-radius: 8px;
}

.smm-accessible-section h3 {
	margin: 0;
	color: var(--smm-primary, #1a1a1a);
}

.smm-accessible-section ul {
	display: grid;
	gap: 14px;
	margin: 16px 0 0;
	padding-left: 22px;
}

.smm-accessible-dish-row {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(24px, 1fr) auto;
	gap: 8px;
	align-items: end;
}

.smm-accessible-dish-info {
	min-width: 0;
}

.smm-accessible-dish-title {
	display: block;
}

.smm-accessible-dish-description {
	margin-top: 4px;
}

.smm-accessible-dish-description p {
	margin: 0;
}

.smm-accessible-price-line {
	border-bottom: 1px dotted currentColor;
	transform: translateY(-0.35em);
	opacity: 0.65;
}

.smm-accessible-price {
	text-align: right;
	white-space: nowrap;
}

.smm-accessible-price-label {
	font-weight: 700;
}

.smm-accessible-section li > span,
.smm-accessible-section li > em {
	display: block;
	margin-top: 4px;
}

.smm-mobile-menu {
	display: none;
}

.smm-mobile-section + .smm-mobile-section {
	margin-top: 60px;
}

.smm-mobile-menu .smm-dish-list {
	max-height: none;
	overflow-y: visible;
	padding-right: 0;
}

.smm-reload-notice {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 48px 24px;
	text-align: center;
}

.smm-needs-reload .smm-reload-notice {
	display: flex;
}

.smm-needs-reload .smm-flipbook-clip,
.smm-needs-reload .smm-controls {
	display: none;
}

.smm-reload-message {
	margin: 0;
	color: var(--smm-muted-text, #555555);
	font-size: 14px;
	line-height: 1.5;
}

.smm-reload-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 24px;
	border: 2px solid var(--smm-secondary, #9b7a3a);
	border-radius: 8px;
	background: transparent;
	color: var(--smm-secondary, #9b7a3a);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.smm-reload-btn svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex-shrink: 0;
}

.smm-reload-btn:hover {
	background-color: var(--smm-secondary, #9b7a3a);
	color: #ffffff;
}

.smm-reload-btn:focus-visible {
	outline: 3px solid var(--smm-secondary, #9b7a3a);
	outline-offset: 3px;
}

.smm-flipbook-clip {
	overflow: hidden;
	padding: 15px 10px 30px;
}

.smm-menu-surface {
	background: var(--smm-page-bg, #ffffff);
}

.smm-flipbook {
	width: 100%;
	margin: 0 auto;
}

.smm-flipbook.smm-static-scroll {
	display: grid;
	gap: 20px;
	height: auto !important;
}

.smm-flipbook.smm-static-scroll .smm-page {
	display: block !important;
	min-height: auto;
}

.smm-static-mode .smm-controls {
	display: none;
}

.smm-page {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	padding: 42px;
	background: var(--smm-page-bg, #ffffff);
	color: var(--smm-page-text, #222222);
	font-size: var(--smm-body-size, 16px);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.smm-cover,
.smm-back-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	background: var(--smm-cover-bg, #1a1a1a);
	color: var(--smm-cover-text, #ffffff);
	text-align: center;
}

.smm-cover-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	max-width: 82%;
	min-height: 100%;
}

.smm-cover-top-image,
.smm-cover-main-image {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.smm-cover-top-image {
	width: 150px;
}

.smm-cover-main-image {
	width: 60%;
}

.smm-cover-text {
	display: grid;
	gap: 12px;
}

.smm-cover h2 {
	margin: 0;
	font-size: 44px;
	line-height: 1.1;
	color: inherit;
}

.smm-cover p {
	margin: 0;
	font-size: 18px;
	color: inherit;
}

.smm-section-divider {
	display: grid;
	grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
	gap: 16px;
	align-items: center;
	margin-bottom: 0;
}

.smm-section-divider-text {
	margin: 0;
	color: var(--smm-primary, #1a1a1a);
	font-size: 32px;
	line-height: 1.15;
	text-align: center;
}

.smm-section-page {
	display: flex;
	flex-direction: column;
}

.smm-section-header {
	position: relative;
	flex: 0 0 auto;
}

.smm-dish-list-section {
	position: relative;
}

.smm-section-divider-line {
	display: block;
	height: 2px;
	background: var(--smm-secondary, #9b7a3a);
}

.smm-section-description {
	margin-bottom: 0;
	color: var(--smm-muted-text, #555555);
}

.smm-section-description p,
.smm-dish-description p,
.smm-page-footer p {
	margin: 0;
}

.smm-dish-list {
	position: relative;
	flex: 0 1 auto;
	display: grid;
	gap: 0;
	align-content: start;
	align-items: start;
	max-height: 430px;
	min-height: 0;
	overflow: hidden;
	padding-right: 0;
	scrollbar-gutter: stable;
}

.smm-dish {
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(155, 122, 58, 0.35);
}

.smm-dish-list .smm-dish:last-child {
	padding-bottom: 32px;
	border-bottom: none;
}

.smm-dish-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
}

.smm-dish h4 {
	margin: 0;
	color: var(--smm-page-text, #1f1f1f);
	font-size: 18px;
	line-height: 1.25;
}

.smm-dish-description {
	color: var(--smm-muted-text, #626262);
	line-height: 1.55;
}

.smm-dish-price {
	color: var(--smm-secondary, #9b7a3a);
	font-weight: 700;
	white-space: nowrap;
}

.smm-dish-badge {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 8px;
	border: 1px solid var(--smm-secondary, #9b7a3a);
	border-radius: 8px;
	color: var(--smm-secondary, #9b7a3a);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.smm-page-footer-title {
	display: block;
	font-weight: 700;
	margin-bottom: 0;
}

.smm-page-footer {
	position: relative;
	right: auto;
	bottom: auto;
	left: auto;
	flex: 0 0 auto;
	margin-top: auto;
	color: var(--smm-muted-text, #555555);
	font-size: 9.5px;
	line-height: 1.25;
	text-align: left;
}

.smm-menu-footer {
	margin: 0 10px 18px;
}

.smm-back-cover-mark {
	display: grid;
	gap: 10px;
}

.smm-back-cover-mark span {
	font-size: 28px;
	font-weight: 700;
}

.smm-back-cover-mark small {
	font-size: 14px;
	opacity: 0.8;
}

.smm-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	position: relative;
}

.smm-toolbar .smm-controls {
	flex: 1;
	justify-content: flex-start;
}

.smm-toolbar .smm-accessible-menu {
	margin: 0;
	position: static;
}

.smm-toolbar .smm-accessible-menu-content,
.smm-toolbar .smm-accessible-menu-overlay {
	left: 0;
	right: 0;
	width: auto;
}

.smm-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.smm-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 38px;
	border: 1px solid var(--smm-secondary, #9b7a3a);
	border-radius: 8px;
	background: transparent;
	color: var(--smm-secondary, #9b7a3a);
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.smm-controls button svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.smm-controls button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.smm-controls button[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.45;
}

.smm-page-indicator {
	min-width: 64px;
	text-align: center;
	font-weight: 700;
}

.smm-empty {
	margin: 0;
}

@media (max-width: 767px) {
	.smm-menu-desktop {
		display: none;
	}

	.smm-mobile-menu {
		display: block;
	}

	.smm-section-divider-text {
		font-size: 26px;
	}

	.smm-dish-main {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: baseline;
		gap: 8px;
	}

	.smm-mobile-footer {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		margin-top: 10px;
		padding-top: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smm-menu-desktop {
		display: none;
	}

	.smm-mobile-menu {
		display: block;
	}
}
