.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: 12px 0 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 0 10px;
	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-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: 22px;
}

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

.smm-section-page {
	padding-bottom: 150px;
}

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

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

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

.smm-dish-list {
	display: grid;
	gap: 18px;
	max-height: 430px;
	overflow-y: auto;
	padding-right: 8px;
	scrollbar-gutter: stable;
}

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

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

.smm-dish h4 {
	margin: 0 0 6px;
	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 {
	position: absolute;
	right: 42px;
	bottom: 24px;
	left: 42px;
	color: var(--smm-muted-text, #555555);
	font-size: 9.5px;
	line-height: 1.25;
	text-align: left;
}

.smm-page-footer p {
	margin: 0;
}

.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-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 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-flipbook {
		height: auto !important;
	}

	.smm-flipbook.smm-mobile-scroll {
		display: grid;
		gap: 20px;
	}

	.smm-flipbook.smm-mobile-scroll .smm-page {
		display: block !important;
		min-height: auto;
		padding: 28px 28px 64px;
	}

	.smm-page-footer {
		right: 28px;
		bottom: 22px;
		left: 28px;
	}

	.smm-cover,
	.smm-back-cover {
		min-height: 420px;
	}

	.smm-cover h2 {
		font-size: 34px;
	}

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

	.smm-dish-main {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.smm-controls {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smm-flipbook {
		height: auto !important;
	}

	.smm-flipbook.smm-static-scroll {
		display: grid;
		gap: 20px;
	}

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

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