/* Rugius: порядок правил сохраняет приоритет компонентов и адаптивных уточнений. */

/* Базовые стили и шрифты */

*::selection {
	color: #101010;
	background-color: #a9ff00;
}

@font-face {
	font-family: "Golos Text";
	src: url("/assets/GolosText_wght_.ttf") format("truetype");
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
}

@font-face {
	font-family: "Freedoka";
	src: url("assets/FredokaOneCyrillic-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

* {
	margin: 0;
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: "Golos Text", Arial, sans-serif;
	background-color: #ffffff;
	overflow-x: clip;
}

/* Шапка и навигация */

.site-header {
	position: sticky;
	top: 0;
	z-index: 110;
	background-color: #ffffff;
	height: auto;
	border-bottom: 1px solid #00000040;
	box-shadow: 0px 1px 15px #00000035;
}

.brand a,
.site-header a {
	color: #101010;
	text-decoration: none;
	transition: color 0.1s ease, transform 0.1s ease;
	font-weight: bold;
}

@media (hover: hover) {
	.brand a:hover {
		color: #5000fc;
		transform: translateY(-2px);
	}
}

.brand a:active {
	transform: translateY(0);
}

.main-navigation a {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	line-height: 1;
	isolation: isolate;
}

.main-navigation-label {
	display: inline-block;
	transition: color 0.1s ease, transform 0.1s ease;
}

@media (hover: hover) {
	.main-navigation a:hover .main-navigation-label {
		color: #5000fc;
		transform: translateY(-2px);
	}
}

.main-navigation a::after {
	position: absolute;
	right: -4px;
	bottom: 0;
	left: -3px;
	z-index: -1;
	height: 3px;
	content: "";
	pointer-events: none;
	background-color: #a9ff00;
	border-radius: 40%;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 240ms ease;
}

.main-navigation a.is-active::after {
	transform: scaleX(1);
}

.main-navigation a.is-active .main-navigation-label {
	color: #101010;
	transform: translateY(-2px);
}

@media (hover: hover) {
	.main-navigation a.is-active:hover .main-navigation-label {
		color: #101010;
		transform: translateY(-2px);
	}
}

.brand {
	justify-self: start;
}

.logo-text {
	font-family: "Freedoka", Arial, sans-serif;
	font-size: 46px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -2px;
}

.top-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	min-height: 70px;
	padding: 0 10px;
}

.account {
	justify-self: end;
	margin-right: 10px;
}

.log-reg {
	display: flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #a9ff00;
	box-shadow: 0 4px 16px #00000030;
}

@media (hover: hover) {
	.log-reg:hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.main-navigation {
	display: flex;
	justify-content: center;
	gap: 40px;
	white-space: nowrap;
}

main {
	width: 100%;
	flex: 1;
}

main section {
	padding: 80px 20px;
	scroll-margin-top: 130px;
}

.site-toast {
	position: fixed;
	top: 83px;
	right: 8px;
	left: auto;
	bottom: auto;
	z-index: 100;
	width: min(calc(100% - 6px), 620px);
	padding: 16px 20px;
	border-left: 5px solid #a9ff00;
	border-radius: 8px;
	background-color: #101010;
	color: #ffffff;
	box-shadow: 0 8px 24px #00000035;
	transform: translateX(calc(100% + 12px));
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	pointer-events: none;
}

.site-toast[hidden] {
	display: block;
}

.site-toast:not([hidden]) {
	transform: translateX(0);
	opacity: 1;
}

.site-toast.is-error {
	border-left-color: #ff3950;
}

.storage-notice {
	position: fixed;
	z-index: 90;
	bottom: 6px;
	left: 6px;
	width: min(420px, calc(100% - 12px));
	padding: 16px;
	color: #ffffff;
	background-color: #101010;
	border-left: 5px solid #a9ff00;
	border-radius: 8px;
	box-shadow: 0 8px 24px #00000035;
	transform: translateY(calc(100% + 18px));
	opacity: 0;
	pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.storage-notice[hidden] {
	display: block;
}

.storage-notice:not([hidden]) {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.storage-notice p {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.storage-notice-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
	margin-top: 4px;
}

.storage-notice-button {
	padding: 9px 12px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	border-radius: 17px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	transform: translateY(0);
}

.storage-notice-button-primary {
	color: #101010;
	background-color: #a9ff00;
	border: 2px solid #a9ff00;
}

@media (hover: hover) {
	.storage-notice-button-primary:hover {
		color: #ffffff;
		background-color: #5000fc;
		border-color: #5000fc;
		transform: translateY(-2px);
	}
}

.storage-notice-button:active {
	transform: translateY(0);
}

/* Главная и стикеры */

.app-view .hero {
	display: grid;
	min-height: calc(50vh - 70px);
	padding: 56px 20px;
	place-items: center;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hero-copy {
	display: flex;
	width: min(100%, 720px);
	min-height: 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 1;
}

.hero-decorations {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.hero-sticker-slot {
	position: absolute;
	width: 230px;
}

.hero-sticker {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(var(--sticker-base-angle, 0deg));
}

.hero-sticker-slot.sticker-hello {
	top: -13%;
	left: 16%;
	--sticker-base-angle: -192deg;
}

.hero-sticker-slot.sticker-snack {
	width: 230px;
	top: 65%;
	left: -3%;
	--sticker-base-angle: 23deg;
}

.hero-sticker-slot.sticker-glasses {
	width: 270px;
	top: -15%;
	left: -2%;
	--sticker-base-angle: -70deg;
}

.hero-sticker-slot.sticker-space {
	width: 170px;
	top: 48%;
	left: 12%;
	--sticker-base-angle: -20deg;
}

.hero-sticker-slot.sticker-crown {
	width: 230px;
	top: -13%;
	left: 91%;
	--sticker-base-angle: -140deg;
}

.hero-sticker-slot.sticker-glhfdd {
	top: 20%;
	left: 77%;
	--sticker-base-angle: -5deg;
}

.hero-sticker-slot.sticker-heart {
	width: 170px;
	top: 77%;
	left: 70%;
	--sticker-base-angle: -10deg;
}

.hero-sticker-slot.sticker-vilian {
	width: 250px;
	top: 58%;
	left: 89%;
	--sticker-base-angle: -20deg;
}

.hero-title {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	color: #101010;
	font-size: clamp(72px, 7vw, 90px);
	line-height: 0.98;
	letter-spacing: -2px;
}

.underlined {
	position: relative;
	z-index: 0;
}

.underlined::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -6px;
	bottom: 3px;
	left: -3px;
	height: 11px;
	border-radius: 50%;
	background-color: #a9ff00;
	transform: rotate(-3deg);
}

.hero-descr {
	max-width: 430px;
	margin: 34px auto 30px;
	font-size: 16px;
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.hero-actions-icon {
	display: block;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	transform: translateY(1px);
}

.menu-link {
	color: #101010;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.menu-link svg {
	transform: translateY(1px);
}

@media (hover: hover) {
	.menu-link:hover {
		color: #5000fc;
		transform: translateY(-1px);
	}
}

.menu-link:active {
	transform: translateY(0px);
}

.booking-btn {
	display: inline-block;
	width: fit-content;
	padding: 14px 22px;
	background-color: #a9ff00;
	color: #101010;
	border-radius: 17px;
	text-decoration: none;
	font-weight: bold;
	box-shadow: 0 4px 8px #00000030;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.booking-btn:hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.booking-btn:active {
	transform: translateY(0);
}

.marquee {
	overflow: hidden;
	padding: 26px 0;
	background-color: #101010;
	color: #ffffff;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	user-select: none;
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee-move 75s linear infinite;
	will-change: transform;
}

.marquee-group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 72px;
	padding-right: 72px;
	font-family: "Freedoka", sans-serif;
	font-size: 22px;
	text-transform: uppercase;
	white-space: nowrap;
}

.marquee-star {
	display: block;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	fill: none;
	stroke: currentColor;
	color: #a9ff00;
}

@keyframes marquee-move {
	to {
		transform: translateX(calc(-1 * var(--marquee-distance)));
	}
}

.floating-cart {
	position: fixed;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	bottom: 10px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #a9ff00;
	color: #101010;
	box-shadow: 0 4px 16px #00000030;
	opacity: 1;
	visibility: visible;
	transition: background-color 200ms ease,
	color 200ms ease,
	transform 200ms ease,
	opacity 180ms ease,
	visibility 0s;
}

@media (hover: hover) {
	.floating-cart:hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.floating-cart:active,
.log-reg:active {
	transform: translateY(0);
}

.floating-cart svg,
.log-reg svg {
	display: block;
	width: 36px;
	height: 36px;
}

.account {
	position: relative;
}

/* Панель аккаунта */

.account-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 1;
	width: 140px;
	padding: 8px;
	display: grid;
	gap: 4px;
	background-color: #ffffff;
	border: 1px solid #00000020;
	border-radius: 14px;
	box-shadow: 0 8px 24px #00000025;
	transform-origin: top right;
}

.account-panel[hidden] {
	display: none;
}

.account-panel a {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border-right: 3px solid #a9ff00;
	border-left: 3px solid #00000015;
	transition: background-color 0.2s ease, color 0.2s ease, border-left 0.2s ease,  border-right 0.2s ease;
	box-shadow: 0 1px 4px #00000020;
}

.account-panel button {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border-right: 3px solid #ff3950;
	border-left: 3px solid #00000015;
	transition: background-color 0.2s ease, color 0.2s ease, border-left 0.2s ease,  border-right 0.2s ease;
	box-shadow: 0 1px 4px #00000020;
}

@media (hover: hover) {
	.account-panel a:hover {
		background-color: #101010;
		color: #a9ff00;
		border-left: 3px solid #a9ff00;
		border-right: 0px solid #a9ff00;
		box-shadow: 0 1px 4px #00000020;
	}

	.account-panel button:hover {
		background-color: #101010;
		color: #ff3950;
		border-left: 3px solid #ff3950;
		border-right: 0px solid #ff3950;
		box-shadow: 0 1px 4px #00000020;
	}
}

.account-panel a:active {
	background-color: #101010;
	color: #a9ff00;
	border-left: 6px solid #a9ff00;
	border-right: 0px solid #a9ff00;
	box-shadow: 0 1px 4px #00000020;
}

.account-panel button:active {
	background-color: #101010;
	color: #ff3950;
	border-left: 6px solid #ff3950;
	border-right: 0px solid #ff3950;
	box-shadow: 0 1px 4px #00000020;
}

/* Футер */

.site-footer {
	padding: 30px 20px 20px;
	background-color: #101010;
	color: #ffffff;
}

.footer-content {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(180px, 1fr));
	gap: 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid #ffffff20;
}

.footer-legal {
	max-width: 1100px;
	margin: 0 auto;
	padding: 18px 0;
	border-bottom: 1px solid #ffffff20;
}

.site-footer .footer-legal-link {
	display: inline-block;
	white-space: nowrap;
	color: #ffffff99;
}

@media (hover: hover) {
	.site-footer .footer-legal-link:hover {
		color: #a9ff00;
	}
}

.footer-brand h2 {
	font-family: "Freedoka", Arial, sans-serif;
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -2px;
}

.footer-brand p {
	margin-top: 8px;
	color: #ffffff99;
}

.footer-navigation,
.footer-contacts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer h3 {
	margin-bottom: 4px;
	font-size: 16px;
}

.site-footer a {
	width: fit-content;
	color: #ffffff;
	text-decoration: none;
	transition: none;
}

@media (hover: hover) {
	.site-footer a:hover {
		color: #a9ff00;
	}
}

.copyright {
	max-width: 1100px;
	margin: 20px auto 0;
	color: #ffffff99;
	font-size: 14px;
}

/* Представления и общая раскладка */

.app-view[hidden] {
	display: none;
}

.app-view[data-route="cart"] {
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.app-view h2 {
	font-family: "Freedoka", Arial, sans-serif;
	font-weight: 400;
}

.app-view[data-route="cart"][hidden] {
	display: none;
}

.cart-items {
	display: grid;
	gap: 10px;
	width: 100%;
	max-width: 600px;
}

.cart-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px;
	border: 1px solid #00000020;
	border-radius: 12px;
}

.remove-from-cart {
	padding: 8px 10px;
	border: 0;
	border-radius: 8px;
	background-color: #ff3950;
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.is-cart-view .floating-cart {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px) scale(0.94);
	transition: background-color 200ms ease,
		color 200ms ease,
		transform 200ms ease,
		opacity 180ms ease,
		visibility 0s 180ms;
}

.app-view {
	width: 100%;
	min-width: 0;
}

.app-view > section:not(.marquee) {
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
}

.app-view > section.hero {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.app-view > section.menu-section,
.app-view > section.booking-teaser,
.app-view > section.reviews {
	width: 100%;
	max-width: 1480px;
}

.app-view > section.booking-teaser {
	width: calc(100% - 32px);
	max-width: 1480px;
}

.menu-card,
.dish-content,
.dish-content h3,
.dish-description {
	min-width: 0;
}

.dish-content h3,
.dish-description {
	overflow-wrap: anywhere;
}

.app-view .marquee {
	width: 100%;
	max-width: none;
	margin-left: 0;
	padding: 26px 0;
	box-sizing: border-box;
}

.dotted-section {
	position: relative;
	z-index: 2;
	isolation: isolate;
	background: #fff;
}

.dotted-section::before {
	content: "";
	position: fixed;
	z-index: -1;
	pointer-events: none;
	border-radius: inherit;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background-image: radial-gradient(
    circle,
    #00000040 1px,
    transparent 1px
  );
	background-size: 5px 5px;
	mask-image: linear-gradient(
    to right,
    #000 0%,
    transparent 25%,
    transparent 75%,
    #000 100%
  );
}

.menu-section,
.reviews {
	padding-top: 90px;
	padding-bottom: 90px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.section-kicker {
	margin-bottom: 12px;
	font-size: 13px;
	letter-spacing: 1.4px;
	text-transform: uppercasel;
	color: #101010;
}

.menu-section h2,
.reviews h2 {
	color: #101010;
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

.all-menu-link svg,
.all-reviews-link svg {
	display: block;
	height: 16px;
	width: 16px;
	flex: 0 0 16px;
	transform: translateY(1px);
}

.all-menu-link,
.all-reviews-link {
	color: #101010;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.all-menu-link:hover,
	.all-reviews-link:hover {
		color: #5000fc;
		transform: translateY(-1px);
	}
}

.all-menu-link:active,
.all-reviews-link:active {
	transform: translateY(0px);
}

.menu-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px;
}

/* Карточки меню */

.menu-card {
	position: relative;
	display: grid;
	grid-template-areas: "image content"
	"bottom bottom";
	grid-template-columns: minmax(150px,0.75fr) minmax(0, 1.25fr);
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 14px;
	height: 100%;
	padding: 12px;
	border: 1px solid #00000020;
	border-radius: 14px;
	background-color: #ffffff;
	box-shadow: 0 4px 8px #00000025;
}

.dish-image {
	grid-area: image;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 9px;
	background-color: #00000010;
	user-select: none;
}

.dish-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dish-content {
	display: grid;
	grid-area: content;
	grid-template-rows: auto 1fr;
	gap: 10px;
	min-width: 0;
}

.dish-type {
	margin: 0 0 8px;
	color: #5b5b5b;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.dish-content h3 {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.05;
	color: #101010;
}

.dish-description {
	min-height: 90px;
	margin: 6px 0;
	color: #101010;
	font-size: 15px;
	line-height: 1.4;
}

.dish-bottom {
	display: grid;
	grid-area: bottom;
	grid-template-columns: minmax(0,1fr) auto auto;
	align-items: center;
	gap: 12px;
}

.dish-weight {
	margin: 0;
	color: #5b5b5b;
	font-size: 15px;
}

.price {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: 25px;
	line-height: 1;
	white-space: nowrap;
	color: #101010;
}

.add-to-cart,
.go-to-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	min-width: 150px;
	border: 0;
	padding: 12px;
	border-radius: 9px;
	background-color: #a9ff00;
	color: #101010;
	box-shadow: 0 4px 8px #00000030;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.add-to-cart:hover,
	.go-to-cart:hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.add-to-cart:active,
.go-to-cart:active {
	transform: translateY(0px);
}

.add-to-cart-icon {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
}

.quantity-control {
	display: grid;
	width: 118px;
	grid-template-columns: 30px 1fr 30px;
	align-items: center;
	gap: 8px;
}

.quantity-input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #101010;
	font: inherit;
	font-variant-numeric: tabular-nums;
	text-align: center;
	appearance: textfield;
	font-family: "Freedoka", sans-serif;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.quantity-control button {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	border: 2px solid #101010;
	border-radius: 50%;
	background-color: #ffffff;
	color: #101010;
	cursor: pointer;
	box-shadow: 0 2px 4px #00000030;
	transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}

@media (hover: hover) {
	.plus-button:hover {
		background-color: #101010;
		color: #a9ff00;
		border: 2px solid #a9ff00;
	}

	.minus-button:hover {
		background-color: #101010;
		color: #ff3950;
		border: 2px solid #ff3950;
	}
}

.plus-button:active {
	background-color: #101010;
	color: #a9ff00;
	border: 3px solid #a9ff00;
}

.minus-button:active {
	background-color: #101010;
	color: #ff3950;
	border: 3px solid #ff3950;
}

.quantity-text {
	font-family: "Freedoka", sans-serif;
	font-weight: 400;
	margin: 0 5px;
	color: #101010;
}

.quantity-icon {
	width: 18px;
	height: 18px;
}

.go-to-cart-icon {
	width: 14px;
	height: 14px;
}

.booking-btn,
.menu-link,
.all-menu-link,
.all-reviews-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	line-height: 1;
}

.all-menu-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.booking-teaser {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: clamp(36px, 6vw, 76px);
	background-color: #101010;
	color: #ffffff;
	border-radius: 24px;
}

.booking-teaser h2 {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 400;
	line-height: 1;
}

.booking-teaser .section-kicker {
	font-size: clamp(8px, 5vw, 15px);
	letter-spacing: clamp(1px, 0.1vw, 1.8px);
	color: #a9ff00;
}

.booking-teaser-text {
	margin-top: clamp(16px, 1.5vw, 22px);
	font-size: clamp(20px, 2.4vw, 35px);
	color: #b8b8b8;
}

.booking-teaser-link {
	--button-size: clamp(96px, 13vw, 200px);
	display: grid;
	width: var(--button-size);
	height: var(--button-size);
	flex: 0 0 var(--button-size);
	border-radius: 50%;
	place-items: center;
	background-color: #a9ff00;
	color: #101010;
	transition: transform 0.2s ease, color 0.2s ease ,background-color 0.2s ease;
}

.booking-teaser-link svg {
	display: block;
	width: clamp(32px, 5vw, 72px);
	height: clamp(32px, 5vw, 72px);
}

@media (hover: hover) {
	.booking-teaser-link:hover {
		background-color: #5000fc;
		color: #ffffff;
		transform: translate(3px, -3px);
	}
}

.review-rating {
	display: flex;
	gap: 4px;
}

.rating-star {
	width: 19px;
	height: 19px;
	color: #b8b8b8;
}

.rating-star.is-active {
	color: #ffcc66;
	fill: currentColor;
}

.review-card {
	margin: 12px 0;
	padding: 12px;
	border: 1px solid #00000020;
	border-radius: 14px;
	background-color: #ffffff;
	box-shadow: 0 4px 8px #00000025;
	color: #101010;
}

.review-top h3 {
	font-family: "Freedoka", sans-serif;
	font-weight: 400;
	letter-spacing: 1.025px;
	font-size: 20px;
}

.review-rating {
	margin: 6px 0px;
}

.review-comment {
	margin-bottom: 6px;
}

.review-date {
	display: flex;
	color: #5b5b5b;
}

.reviews-list {
	margin-top: 36px;
}

/* Авторизация и подтверждение */

.auth-page {
	color: #101010;
	display: grid;
	place-items: center;
}

.auth-card {
	width: min(100%, 520px);
	padding: clamp(12px, 4vw, 24px);
	background-color: #ffffff;
	box-shadow: 0 4px 8px #00000025;
	border: 1px solid #00000020;
	border-radius: 14px;
}

.auth-card h1 {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
	font-family: "Freedoka", sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
}

.auth-form {
	display: grid;
	gap: 6px;
}

.auth-form[hidden] {
	display: none;
}

.auth-form label {
	display: grid;
	gap: 7px;
	color: #101010;
	font-size: 16px;
	font-weight: 700;
}

.auth-form input:not([type="checkbox"]) {
	width: 100%;
	border-style: none;
	border-bottom: 2px solid gray;
	border-radius: 4px;
	font-family: "Golos Text";
	height: 35px;
	margin: 0;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-size: 16px;
}

.auth-form input:not([type="checkbox"]):focus {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

@media (hover: hover) {
	.auth-form input:not([type="checkbox"]):hover {
		border-color: #5000fc;
		box-shadow: 2px 2px 4px #b5b5b5;
	}
}

.auth-form button[type="submit"] {
	margin-top: 10px;
	padding: 14px 20px;
	border: 0;
	border-radius: 14px;
	background-color: #a9ff00;
	color: #101010;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.auth-form button[type="submit"]:hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.auth-form button[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.65;
}

.auth-switch-text {
	margin-top: 6px;
	color: #5b5b5b;
	font-size: 14px;
	text-align: center;
}

.auth-switch-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #5000fc;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

@media (hover: hover) {
	.auth-switch-button:hover {
		text-decoration: underline;
	}
}

.app-view[data-route="log-reg"] {
	padding: 0;
}

.app-view[data-route="log-reg"] .auth-page {
	display: grid;
	min-height: 0;
	padding: 36px 20px 48px;
	place-items: start center;
}

.auth-document-button {
	background-color: transparent;
}

@media (hover: hover) {

}

.auth-form .auth-consent {
	display: flex;
	max-width: 100%;
	align-items: center;
	gap: 0;
	margin-top: 10px;
	color: #101010;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	user-select: none;
}

.auth-form .auth-consent input {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin: 0 6px 0 0;
	accent-color: #a9ff00;
}

.auth-form .auth-consent span {
	min-width: 0;
}

.auth-document-button {
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	border-radius: 6px;
	color: #5000fc;
	transition: background-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
	.auth-document-button:hover {
		background-color: #5000fc;
		color: #ffffff;
	}
}

.auth-document-button svg {
	display: block;
	width: 15px;
	height: 15px;
}

.required-mark {
	margin-left: 3px;
	color: #d62c2c;
}

.verification-card {
	width: min(100%, 380px);
}

.verification-back-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	margin: 0 auto 18px;
	color: #a5a5a5;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.verification-back-button svg {
	display: block;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	transform: translateY(1px);
}

@media (hover: hover) {
	.verification-back-button:hover {
		color: #101010;
		transform: translateY(-1px);
	}
}

.verification-back-button:active {
	transform: translateY(0);
}

.verification-hint {
	margin: 0 0 18px;
	color: #303030;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
}

.verification-resend-button {
	display: block;
	margin: 18px auto 0;
	padding: 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

@media (hover: hover) {
	.verification-resend-button:hover:not(:disabled) {
		color: #5000fc;
	}
}

.verification-resend-button:disabled {
	color: #a5a5a5;
	cursor: default;
}

.verification-code-label {
	margin: 0;
	color: #101010;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.verification-code-inputs {
	display: flex;
	justify-content: center;
	gap: 14px;
}

.auth-form input.verification-digit:not([type="checkbox"]) {
	width: 34px;
	height: 46px;
	min-width: 0;
	padding: 0;
	background-color: #f2f2f2;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	border-radius: 16px;
	color: #101010;
	font-family: "Freedoka", sans-serif;
}

.auth-form input.verification-digit::placeholder {
	color: #101010;
	opacity: 0.2;
	font-family: "Freedoka", sans-serif;
}

.app-view[data-route="profile"] {
	padding: 0;
}

.app-view[data-route="profile"] .profile-page {
	display: grid;
	padding: 36px 20px 48px;
	place-items: start center;
	color: #101010;
}

.profile-container {
	width: min(100%, 760px);
	margin: 0 auto;
	padding: clamp(18px, 4vw, 28px);
}

.profile-intro {
	margin-bottom: 14px;
	text-align: center;
}

.profile-intro h1 {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
}

.profile-cards,
.profile-contact-cards {
	display: grid;
	gap: 12px;
}

.profile-block {
	position: relative;
	padding: 18px;
	background-color: #ffffff;
	border: 1px solid #00000020;
	border-radius: 14px;
	box-shadow: 0 4px 8px #00000025;
}

.profile-block:has(.profile-icon-button:not([hidden])) {
	padding-right: 88px;
}

.profile-block-heading {
	display: block;
}

.profile-block h2 {
	margin: 0;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.profile-data-value,
.profile-contact-value {
	margin: 8px 0 0;
	overflow-wrap: anywhere;
	color: #5b5b5b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.profile-security-text {
	margin: 8px 0 0;
	color: #5b5b5b;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.profile-form-hint {
	color: #5b5b5b;
	font-size: 14px;
	line-height: 1.4;
	margin: 12px 0 0;
}

.profile-edit-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

.personal-profile-form {
	margin-top: 0 !important;
}

.contacts-profile-form {
	margin-top: 0 !important;
}

.password-profile-form {
	margin-top: 8px !important;
}

.profile-edit-form[hidden] {
	display: none;
}

.profile-block-heading + .profile-edit-form,
.profile-data-value + .profile-edit-form,
.profile-contact-value + .profile-edit-form,
.profile-security-text + .profile-edit-form {
	margin-top: 14px;
}

.profile-edit-form label {
	display: grid;
	gap: 7px;
	color: #101010;
	font-size: 16px;
	font-weight: 700;
}

.profile-edit-form input:not([type="hidden"]) {
	width: 100%;
	height: 35px;
	margin: 0;
	padding: 0;
	color: #101010;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 16px;
	background: transparent;
	border: 0;
	border-bottom: 2px solid #808080;
	border-radius: 4px;
	outline: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-edit-form input:not([type="hidden"]):focus {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

@media (hover: hover) {
	.profile-edit-form input:not([type="hidden"]):hover {
		border-color: #5000fc;
		box-shadow: 2px 2px 4px #b5b5b5;
	}
}

.profile-form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 4px;
}

.profile-cancel-button,
.profile-save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	border-radius: 17px;
	cursor: pointer;
	box-shadow: 0 3px 8px #00000030;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	color: #101010;
	background-color: #ffffff;
	border: 2px solid #101010;
}

@media (hover: hover) {
	.profile-cancel-button:hover {
		color: #ff3950;
		background-color: #101010;
		border-color: #ff3950;
		transform: translateY(-2px);
	}

	.profile-save-button:hover {
		color: #a9ff00;
		background-color: #101010;
		border-color: #a9ff00;
		transform: translateY(-2px);
	}
}

.profile-cancel-button:active,
.profile-save-button:active {
	transform: translateY(0);
}

.profile-save-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.profile-icon-button {
	display: grid;
	position: absolute;
	top: 50%;
	right: 14px;
	width: 58px;
	height: 58px;
	padding: 12px;
	place-items: center;
	color: #101010;
	background-color: #a9ff00;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.profile-icon-button[hidden] {
	display: none !important;
}

.profile-edit-icon {
	display: block;
	width: 100%;
	height: 100%;
}

@media (hover: hover) {
	.profile-icon-button:hover {
		color: #ffffff;
		background-color: #5000fc;
		transform: translateY(calc(-50% - 2px));
	}
}

.profile-icon-button:active {
	transform: translateY(-50%);
}

html {
	scrollbar-width: none;
}

html::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.site-scrollbar {
	position: fixed;
	z-index: 120;
	top: 8px;
	right: 3px;
	bottom: 8px;
	width: 12px;
	opacity: 0;
	pointer-events: none;
}

.site-scrollbar.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.site-scrollbar-thumb {
	position: absolute;
	top: 0;
	right: 3px;
	width: 6px;
	min-height: 40px;
	border-radius: 999px;
	background-color: #1010109c;
	box-shadow: 0 0 0 1px #ffffffa6, 0 1px 4px #00000033;
	cursor: grab;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-scrollbar-thumb:active {
	background-color: #101010d0;
	box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
}

@media (hover: hover) {
	.site-scrollbar-thumb:hover {
		background-color: #101010d0;
		box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
	}
}

.site-scrollbar-thumb:active {
	cursor: grabbing;
}

.app-view[data-route="menu"] {
	padding: 0;
}

.app-view[data-route="menu"] .menu-page {
	width: min(calc(100% - 40px), 1480px);
	max-width: 1480px;
	margin: 0 auto;
	padding: 40px 0 90px;
}

.menu-page-heading {
	margin-bottom: 0;
}

.menu-page-heading h1 {
	margin: 0;
	color: #101010;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

.menu-page-heading .underlined {
	display: inline-block;
	position: relative;
	z-index: 0;
}

.menu-page-heading .underlined::after {
	right: -4px;
	bottom: 3px;
	left: -2px;
	height: 8px;
	border-radius: 50%;
	transform: rotate(-2deg);
}

.menu-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	gap: 14px;
	align-items: center;
	margin: 30px 0 28px;
}

.menu-control-card {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 54px;
	padding: 0 16px;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 16px;
	box-shadow: 0 8px 16px rgba(16, 16, 16, 0.12);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-control-card:focus-within {
	border-color: #5000fc;
	box-shadow: 0 8px 16px rgba(80, 0, 252, 0.16);
}

.menu-search-card {
	gap: 10px;
	cursor: text;
}

.menu-sort-card {
	position: relative;
	padding: 0;
	overflow: visible;
}

.menu-search-icon {
	display: flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #101010;
	pointer-events: none;
}

.menu-search-icon svg {
	width: 100%;
	height: 100%;
}

.menu-search-icon {
	transform: translateY(1px);
}

.menu-sort-icon {
	display: flex;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-left: auto;
	color: #101010;
	pointer-events: none;
	transform: translateY(1px);
}

.menu-sort-icon svg {
	width: 100%;
	height: 100%;
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.menu-sort-toggle[aria-expanded="true"] .menu-sort-icon svg {
	transform: rotate(-180deg);
}

.menu-search-card input {
	width: 100%;
	min-width: 0;
	height: 100%;
	padding: 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: transparent;
	border: 0;
	outline: 0;
}

.menu-search-card input::placeholder {
	color: #777777;
	opacity: 1;
}

.menu-sort-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	padding: 0 16px;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: left;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.menu-sort-value {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.menu-sort-options {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 20;
	display: grid;
	gap: 4px;
	padding: 8px;
	background: #ffffff;
	border: 1px solid #00000020;
	border-radius: 14px;
	box-shadow: 0 8px 24px #00000025;
}

.menu-sort-options[hidden] {
	display: none;
}

.menu-sort-option {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: left;
	background: transparent;
	border: 0;
	border-right: 3px solid #00000015;
	border-left: 3px solid #00000015;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 1px 4px #00000020;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
	.menu-sort-option:hover:not(.is-selected) {
		color: #ffffff;
		background: #5000fc;
	}
}

.menu-sort-option.is-selected {
	color: #a9ff00;
	background: #101010;
	border-right-color: #a9ff00;
	border-left-color: #a9ff00;
}

.menu-category-filter {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.menu-category-button,
.menu-reset-button {
	min-height: 38px;
	padding: 8px 15px;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: #ffffff;
	border: 2px solid #101010;
	border-radius: 18px;
	cursor: pointer;
	transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) {
	.menu-category-button:hover,
	.menu-reset-button:hover {
		transform: translateY(-2px);
		color: #ffffff;
		background: #5000fc;
		border-color: #5000fc;
	}
}

.menu-category-button.is-active {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
}

.menu-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 32px;
	color: #5e5e5e;
	font-size: 18px;
	text-align: center;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-radius: 18px;
	box-shadow: 0 8px 16px rgba(16, 16, 16, 0.12);
}

.app-view[data-route="reviews"] {
	padding: 0;
}

.app-view[data-route="reviews"] .reviews-page {
	width: min(calc(100% - 40px), 1480px);
	max-width: 1480px;
	margin: 0 auto;
	padding: 40px 0 90px;
}

.reviews-page-heading h1 {
	margin: 0;
	color: #101010;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

.reviews-page-heading .underlined {
	display: inline-block;
	position: relative;
	z-index: 0;
}

.reviews-page-heading .underlined::after {
	right: -4px;
	bottom: -3px;
	left: -2px;
	height: 7px;
	border-radius: 50%;
	transform: rotate(-2deg);
}

.reviews-page-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 32px;
}

.reviews-page-list .review-card {
	height: 100%;
	margin: 0;
}

.app-view[data-route="booking"] {
	padding: 0;
}

.app-view[data-route="booking"] .booking-page {
	width: min(calc(100% - 40px), 1480px);
	max-width: 1480px;
	margin: 0 auto;
	padding: 40px 0 44px;
}

.booking-page-heading h1 {
	margin: 0;
	color: #101010;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

.booking-page-heading .underlined {
	display: inline-block;
	position: relative;
	z-index: 0;
}

.booking-page-heading .underlined::after {
	right: -4px;
	bottom: -3px;
	left: -2px;
	height: 7px;
	border-radius: 50%;
	transform: rotate(-2deg);
}

.booking-page:has(.booking-details-form[hidden]) .booking-page-heading {
	display: none !important;
}

.booking-page > .booking-manager-step,
.booking-page > .booking-time-step,
.booking-page > .booking-confirm-step,
.booking-page > .booking-result-step {
	margin: 0;
	padding: 0;
}

.booking-page:has(.booking-details-form[hidden]) {
	padding-top: 16px;
	padding-bottom: 16px;
}

/* Бронирование: контактные данные и календарь */

.booking-details-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
	gap: 20px;
	align-items: stretch;
	margin-top: 22px;
}

.booking-card {
	height: 100%;
	padding: 24px;
	box-sizing: border-box;
	color: #101010;
	background: #ffffff;
	border: 1px solid #00000020;
	border-radius: 18px;
	box-shadow: 0 8px 16px rgba(16, 16, 16, 0.12);
}

.booking-card h2 {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: 28px;
	font-weight: 400;
}

.booking-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.booking-field-full {
	grid-column: 1 / -1;
}

.booking-field input,
.manager-dish .booking-field :is(textarea, select) {
	width: 100%;
	padding: 7px 2px;
	color: #101010;
	font: inherit;
	font-weight: 400;
	background: transparent;
	border: 0;
	border-bottom: 2px solid #808080;
	border-radius: 4px;
	outline: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-field input:focus,
.manager-dish .booking-field :is(textarea, select):focus {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

@media (hover: hover) {
	.booking-field input:hover,
	.manager-dish .booking-field :is(textarea, select):hover {
		border-color: #5000fc;
		box-shadow: 2px 2px 4px #b5b5b5;
	}
}

.booking-guests-field {
	margin-top: 28px;
}

.booking-guests-control {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.booking-guests-control button {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	color: #101010;
	font: inherit;
	font-size: 26px;
	line-height: 1;
	background: #ffffff;
	border: 2px solid #101010;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, border 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
	.booking-guests-control .decrease:hover {
		background-color: #101010;
		color: #ff3950;
		border: 2px solid #ff3950;
	}

	.booking-guests-control .increase:hover {
		background-color: #101010;
		color: #a9ff00;
		border: 2px solid #a9ff00;
	}
}

.booking-guests-control .decrease:active {
	background-color: #101010;
	color: #ff3950;
	border: 3px solid #ff3950;
}

.booking-guests-control .increase:active {
	background-color: #101010;
	color: #a9ff00;
	border: 3px solid #a9ff00;
}

.booking-guests-control svg {
	width: 18px;
	height: 18px;
}

.booking-guests-control input {
	width: 46px;
	padding: 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: center;
	background: transparent;
	border: 0;
	outline: 0;
}

.booking-guests-control input::-webkit-inner-spin-button,
.booking-guests-control input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.booking-field {
	display: grid;
	gap: 4px;
	color: #101010;
	font-size: 16px;
	font-weight: 700;
}

.booking-customer-comment-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 67px;
	padding: 6px;
	font: 14px "Golos Text", Arial, Helvetica, sans-serif;
	border: 0;
	border-bottom: 2px solid gray;
	border-radius: 5px;
	outline: none;
	resize: none;
	field-sizing: content;
	overflow-y: hidden;
	box-shadow: 0 4px 12px #00000025;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-customer-comment-field textarea:focus {
	border-color: #5000fc;
	box-shadow: 0 4px 12px #5000fc25;
}

@media (hover: hover) {
	.booking-customer-comment-field textarea:hover {
		border-color: #5000fc;
		box-shadow: 0 4px 12px #5000fc25;
	}
}

.booking-details-form .required-mark {
	margin-left: 0;
	color: #ff3950;
}

.booking-guests-field > p:first-child {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
}

.booking-field-note {
	margin: 10px 0 0;
	color: #5b5b5b;
	font-size: 14px;
	line-height: 1.4;
}

.booking-field-note:empty {
	display: none;
}

.booking-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.booking-calendar-title {
	text-align: center;
}

.booking-calendar-arrow {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	color: #101010;
	font: inherit;
	font-size: 22px;
	background: #ffffff;
	border: 2px solid #101010;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.1s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.booking-calendar-arrow:hover {
		color: #ffffff;
		background: #5000fc;
		border-color: #5000fc;
		transform: translateY(-2px);
	}
}

.booking-calendar-weekdays,
.booking-calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.booking-calendar-weekdays {
	margin-top: 26px;
	color: #5b5b5b;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.booking-calendar-days {
	grid-template-rows: repeat(6, 40px);
	align-content: start;
	margin-top: 8px;
}

.booking-calendar-day,
.booking-calendar-day-empty {
	min-height: 34px;
}

.booking-calendar-day {
	position: relative;
	display: grid;
	min-height: 34px;
	width: 84%;
	aspect-ratio: 1;
	justify-self: center;
	place-items: center;
	padding: 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: transparent;
	border: 2px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
	.booking-calendar-day:hover:not(:disabled) {
		border-color: #5000fc;
		transform: none;
	}
}

.booking-calendar-day.is-today::after {
	position: absolute;
	bottom: 1px;
	left: 50%;
	width: 5px;
	height: 5px;
	content: "";
	background: #101010;
	border-radius: 50%;
	transform: translateX(-50%);
}

.booking-calendar-day.is-selected {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
}

@media (hover: hover) {
	.booking-calendar-day.is-selected:hover {
		border-color: #a9ff00;
	}
}

.booking-calendar-day.is-today.is-selected::after {
	background: #a9ff00;
}

.booking-calendar-day:disabled {
	color: #b8b8b8;
	cursor: not-allowed;
}

.booking-calendar-arrow:disabled {
	color: #b8b8b8;
	background: #f2f2f2;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.booking-next-button:not(:disabled) {
	color: #101010;
	background: #a9ff00;
	border-color: #a9ff00;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.booking-next-button:not(:disabled):hover {
		color: #a9ff00;
		background: #101010;
		border-color: #101010;
		transform: translateY(-2px);
	}
}

.booking-calendar-header svg {
	height: 18px;
	width: 18px;
}

.booking-next-button {
	grid-column: 1 / -1;
	justify-self: end;
	padding: 12px 20px;
	color: #a0a0a0;
	font: inherit;
	font-weight: 700;
	background: #ededed;
	border: 2px solid #d0d0d0;
	border-radius: 18px;
	cursor: not-allowed;
}

.booking-details-form[hidden],
.booking-time-step[hidden],
.booking-time-warning[hidden] {
	display: none !important;
}

.booking-time-step {
	margin-top: 22px;
}

.booking-selection-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
	align-items: start;
	gap: 24px;
}

.booking-floor-card,
.booking-time-card {
	width: 100%;
	margin: 0;
}

.booking-floor-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.booking-floor-tab {
	padding: 9px 15px;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: #fff;
	border: 2px solid #101010;
	border-radius: 999px;
	cursor: pointer;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.booking-floor-tab.is-active {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
}

@media (hover: hover) {
	.booking-floor-tab:hover {
		color: #a9ff00;
		background: #101010;
		border-color: #101010;
	}
}

/* Бронирование: схема зала и выбор времени */

.booking-floor-map {
	padding: 0;
}

.booking-floor-map-canvas {
	position: relative;
	width: 100%;
	min-width: 0;
	background-color: #fff;
	background-image: none;
}

.booking-floor-table {
	position: absolute;
	display: grid;
	place-items: center;
	transform: translate(-50%, -50%) rotate(var(--table-rotation, 0deg));
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: #b8b8b8;
	border: 2px solid transparent;
	box-shadow: 0 3px 8px rgb(16 16 16 / 18%);
	cursor: not-allowed;
}

.booking-floor-table.is-four-seat {
	width: 42px;
	height: 42px;
	border-radius: 10px;
}

.booking-floor-table.is-eight-seat {
	width: 64px;
	height: 42px;
	border-radius: 10px;
}

.booking-floor-table.is-available {
	color: #101010;
	background: #a9ff00;
	cursor: pointer;
}

.booking-floor-table.is-unavailable {
	color: #101010;
	border-color: transparent;
}

.booking-floor-table.is-selected {
	color: #fff;
	background: #5000fc;
	border-color: #5000fc;
}

.booking-floor-table:focus-visible,
.booking-floor-tab:focus-visible {
	outline: 3px solid #5000fc;
	outline-offset: 3px;
}

.booking-floor-map {
	position: relative;
	min-height: 0;
	padding: 48px;
	overflow: hidden;
	border: 1px solid #d8d8d8;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgb(16 16 16 / 10%);
	background: #fff;
}

.booking-layout-message {
	padding: 24px;
	color: #757575;
	text-align: center;
}

.booking-step-back {
	margin-bottom: 16px;
	padding: 8px 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.booking-step-back svg {
	height: 16px;
	width: 16px;
	transform: translateY(2px);
}

@media (hover: hover) {
	.booking-step-back:hover {
		color: #5000fc;
	}
}

.booking-confirm-step {
	width: min(100%, 1100px);
	margin: 0 auto;
	padding: 0;
}

.booking-confirm-step[hidden] {
	display: none !important;
}

/* Бронирование: подтверждение */

.booking-confirm-card {
	width: 100%;
	margin: 0;
}

.booking-confirm-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-areas: "name guests"
		"email datetime"
		"phone table";
	gap: 0 28px;
	margin: 22px 0;
}

.booking-confirm-card .booking-confirm-name-row {
	grid-area: name;
}

.booking-confirm-card .booking-confirm-email-row {
	grid-area: email;
}

.booking-confirm-card .booking-confirm-phone-row {
	grid-area: phone;
}

.booking-confirm-card .booking-confirm-guests-row {
	grid-area: guests;
}

.booking-confirm-card .booking-confirm-datetime-row {
	grid-area: datetime;
}

.booking-confirm-card .booking-confirm-table-row {
	grid-area: table;
}

.booking-confirm-table-row dt {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.booking-confirm-table-row dt span {
	color: #101010;
	font-weight: 700;
}

.booking-confirm-details > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #00000018;
}

.booking-confirm-card .booking-confirm-details > div {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: center;
	gap: 15px;
}

.booking-confirm-card .booking-confirm-details dt {
	white-space: nowrap;
}

.booking-confirm-card .booking-confirm-details dd {
	width: 100%;
	text-align: left;
}

.booking-confirm-card .booking-confirm-guests-row dd,
.booking-confirm-card .booking-confirm-datetime-row dd {
	text-align: right;
}

.booking-confirm-card .booking-confirm-table-row dd {
	text-align: right;
}

.booking-confirm-readonly {
	width: 100%;
}

.booking-confirm-readonly > span {
	min-width: 0;
	margin-left: auto;
	text-align: left;
}

.booking-confirm-edit-controls {
	width: 100%;
	justify-content: flex-start;
}

.booking-confirm-details > .booking-confirm-contact-row {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	gap: 16px;
}

.booking-confirm-contact-row .booking-confirm-editable {
	width: 100%;
}

.booking-confirm-readonly[hidden] {
	display: none !important;
}

.booking-confirm-details dt {
	color: #757575;
}

.booking-confirm-details dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.booking-confirm-card .booking-confirm-details dd,
.booking-confirm-card .booking-confirm-table-row dt span,
.booking-confirm-card .booking-confirm-readonly > span {
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.booking-confirm-editable {
	min-width: 0;
}

.booking-confirm-readonly,
.booking-confirm-edit-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.booking-confirm-edit-button {
	position: static;
	display: grid;
	width: 34px;
	height: 34px;
	padding: 5px;
	flex: 0 0 34px;
	place-items: center;
	color: #5000fc;
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
	.booking-confirm-edit-button:hover {
		color: #ffffff;
		background: #5000fc;
		transform: none;
	}
}

.booking-confirm-edit-button:active {
	transform: none;
}

.booking-confirm-edit-button svg {
	display: block;
	width: 28px;
	height: 28px;
	transform: translate(-2px, -2px);
}

.booking-confirm-edit-controls[hidden] {
	display: none !important;
}

.booking-confirm-edit-controls input {
	box-sizing: border-box;
	flex: 1 1 auto;
	width: 0;
	min-width: 0;
	max-width: none;
	height: 34px;
	margin: 0;
	padding: 7px 2px;
	color: #101010;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	background: transparent;
	border: 0;
	border-bottom: 2px solid #808080;
	border-radius: 4px;
	outline: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	text-align: right;
}

.booking-confirm-edit-controls input:focus {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

@media (hover: hover) {
	.booking-confirm-edit-controls input:hover {
		border-color: #5000fc;
		box-shadow: 2px 2px 4px #b5b5b5;
	}
}

.booking-confirm-edit-action {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	padding: 0;
	color: #101010;
	font: inherit;
	font-size: 22px;
	line-height: 1;
	background: #ffffff;
	border: 2px solid #101010;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.booking-confirm-edit-save:focus-visible {
	color: #a9ff00;
	background: #101010;
	border-color: #a9ff00;
}

@media (hover: hover) {
	.booking-confirm-edit-save:hover {
		color: #a9ff00;
		background: #101010;
		border-color: #a9ff00;
	}
}

.booking-confirm-edit-cancel:focus-visible {
	color: #ff3950;
	background: #101010;
	border-color: #ff3950;
}

@media (hover: hover) {
	.booking-confirm-edit-cancel:hover {
		color: #ff3950;
		background: #101010;
		border-color: #ff3950;
	}
}

.booking-confirm-edit-save:active,
.booking-confirm-edit-cancel:active {
	border-width: 3px;
}

.booking-confirm-edit-action svg {
	display: block;
	width: 26px;
	height: 26px;
}

.booking-confirm-edit-save svg {
	transform: translateX(-1px);
}

.booking-confirm-edit-action:active {
	transform: none;
}

@media (hover: hover) {
	.booking-confirm-edit-action:hover {
		transform: none;
	}
}

.booking-payment-options {
	display: grid;
	gap: 12px;
	margin: 24px 0 16px;
	padding: 18px;
	border: 1px solid #00000025;
	border-radius: 14px;
}

.booking-payment-options legend {
	padding: 0 8px;
	font-weight: 700;
}

.booking-payment-options label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.booking-payment-options input {
	accent-color: #5000fc;
}

.booking-confirm-note {
	color: #757575;
}

.booking-confirm-submit {
	justify-self: end;
	padding: 12px 20px;
	color: #a9ff00;
	font: inherit;
	font-weight: 700;
	background: #101010;
	border: 2px solid #101010;
	border-radius: 18px;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.booking-confirm-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 20px 0 24px auto;
	padding: 12px 20px;
	color: #101010;
	font: inherit;
	font-weight: 700;
	background: #a9ff00;
	border: 2px solid #a9ff00;
	border-radius: 18px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.booking-confirm-next svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

@media (hover: hover) {
	.booking-confirm-next:hover {
		color: #a9ff00;
		background: #101010;
		border-color: #101010;
		transform: translateY(-2px);
	}

	.booking-confirm-submit:not(:disabled):hover {
		color: #101010;
		background: #a9ff00;
		border-color: #101010;
		transform: translateY(-2px);
	}
}

.booking-confirm-submit:disabled {
	color: #a0a0a0;
	background: #ededed;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.booking-result-step {
	margin-top: 22px;
}

.booking-result-step[hidden] {
	display: none !important;
}

.booking-result-card {
	display: grid;
	gap: 12px;
	width: min(100%, 700px);
	margin: 0 auto;
}

.booking-result-card h2,
.booking-result-card p {
	margin: 0;
}

#booking-result-code {
	letter-spacing: 3px;
}

.booking-result-home {
	justify-self: end;
	color: #101010;
	font-weight: 700;
}

.booking-time-card {
	width: min(100%, 680px);
	margin: 0 auto;
}

.booking-time-date {
	margin-top: 8px;
	color: #5b5b5b;
}

.booking-dial-wrap {
	width: min(100%, 560px);
	margin: 12px auto 0;
}

.booking-time-dial {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}

.booking-dial-tick {
	stroke: #b8b8b8;
	stroke-width: 5;
	stroke-linecap: round;
	transition: stroke-width 160ms ease;
}

.booking-dial-tick.is-hour {
	stroke: #595959;
	stroke-width: 6;
}

.booking-dial-tick.is-available {
	stroke: #a9ff00;
	cursor: grab;
}

@media (hover: hover) {
	.booking-dial-tick.is-available:hover {
		stroke: #a9ff00;
		stroke-width: 8;
	}
}

.booking-dial-tick.is-selected {
	stroke: #5000fc;
	stroke-width: 5;
	cursor: grab;
}

.booking-dial-tick.is-hour.is-selected {
	stroke-width: 6;
}

.booking-dial-tick.is-endpoint, .booking-dial-tick.is-hour.is-endpoint {
	stroke: #5000fc;
	stroke-width: 7;
}

.booking-time-dial.is-dragging .booking-dial-tick.is-selected,
.booking-time-dial.is-dragging .booking-dial-handle {
	cursor: grabbing;
}

.booking-dial-caption,
.booking-dial-time,
.booking-dial-duration,
.booking-dial-label {
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}

.booking-dial-label {
	fill: #101010;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-anchor: middle;
	dominant-baseline: middle;
}

#booking-dial-range {
	fill: none;
	stroke: transparent;
	stroke-opacity: 0;
	opacity: 0;
	pointer-events: none;
}

#booking-dial-hit-range {
	visibility: visible;
	fill: none;
	stroke: transparent !important;
	stroke-opacity: 0 !important;
	opacity: 0 !important;
	stroke-width: 26px;
	stroke-linecap: butt;
	pointer-events: stroke;
	cursor: grab;
}

.booking-time-dial.is-dragging #booking-dial-hit-range {
	cursor: grabbing;
}

.booking-dial-caption,
.booking-dial-time,
.booking-dial-duration {
	fill: #101010;
	text-anchor: middle;
}

.booking-dial-caption {
	fill: #5b5b5b;
	font-size: 11px;
	letter-spacing: 1.5px;
}

.booking-dial-time {
	font-family: "Freedoka", sans-serif;
	font-size: 22px;
}

.booking-dial-duration {
	fill: #5b5b5b;
	font-size: 13px;
}

.booking-dial-handle {
	fill: #ffffff;
	stroke: #5000fc;
	stroke-width: 4;
	touch-action: none;
	stroke-linejoin: round;
	cursor: grab;
}

.booking-dial-handle:active {
	cursor: grabbing;
}

.booking-dial-handle:focus,
.booking-dial-handle:focus-visible {
	outline: none;
	stroke: #5000fc;
	stroke-width: 4;
}

.booking-time-warning {
	margin-top: 12px;
	color: #5000fc;
	text-align: center;
}

.booking-dial-time.is-empty {
	font-size: 15px;
	fill: #101010;
}

#booking-payment-step {
	width: min(100%, 700px);
	margin-inline: auto;
}

#booking-payment-step .booking-payment-card {
	width: 100%;
	height: auto;
	gap: 18px;
}

#booking-payment-description {
	line-height: 1.6;
}

#booking-payment-sbp-info[hidden] {
	display: none !important;
}

#booking-payment-sbp-info {
	display: flex;
	justify-content: center;
}

.booking-payment-qr {
	display: block;
	width: min(220px, 100%);
	height: auto;
	background: #ffffff;
}

#booking-payment-complete,
#order-finance-confirm {
	max-width: 100%;
	margin: 20px auto 24px;
	white-space: normal;
	text-align: center;
}

#booking-payment-complete:disabled {
	color: #a0a0a0;
	background: #ededed;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.demo-payment-page {
	min-height: 60vh;
}

.app-view[data-route="booking"]:has(#booking-result-step:not([hidden])) > .booking-page {
	display: none;
}

#booking-result-step {
	width: min(calc(100% - 40px), 700px);
	margin: 0 auto;
	padding: 16px 0;
}

#booking-result-step .booking-result-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin-bottom: 16px;
	padding: 8px 0;
	text-decoration: none;
}

#booking-result-step .booking-result-back svg {
	flex: 0 0 20px;
	transform: none;
}

#booking-ticket-print-card {
	width: 100%;
	height: auto;
	padding: 20px 24px;
	gap: 10px;
}

#booking-result-code-label,
#booking-result-details dt {
	font-weight: 600;
}

#booking-result-code {
	margin-top: -6px;
	font-size: 26px;
	line-height: 1.2;
}

#booking-result-details {
	display: block;
	margin: 0;
	line-height: 1.4;
}

#booking-result-details .booking-result-detail + .booking-result-detail {
	margin-top: 6px;
}

#booking-result-details dt,
#booking-result-details dd {
	display: inline;
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

#booking-result-details dd:not(:last-child) {
	margin-bottom: 0;
}

#booking-result-description,
#booking-result-email-note {
	line-height: 1.35;
}

#booking-result-qr {
	display: block;
	justify-self: center;
	width: min(160px, 100%);
	height: auto;
	margin: 0 auto;
}

#booking-result-download {
	max-width: 100%;
	margin: 20px auto 24px;
	white-space: normal;
	text-align: center;
}

#booking-result-details[hidden],
#booking-result-qr[hidden],
#booking-result-download[hidden] {
	display: none !important;
}

.app-view[data-route="ticket"] {
	padding: 16px 0;
}

.booking-ticket-page {
	width: min(calc(100% - 40px), 700px);
	margin: 0 auto;
}

.booking-ticket-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin-bottom: 16px;
	padding: 8px 0;
	text-decoration: none;
}

.booking-ticket-back svg {
	flex: 0 0 20px;
	transform: none;
}

.booking-ticket-card {
	width: 100%;
	height: auto;
	padding: 20px 24px;
	gap: 10px;
}

.booking-ticket-card h1 {
	margin: 0;
	font-family: "Freedoka", sans-serif;
	font-size: 28px;
	font-weight: 400;
}

#booking-ticket-message {
	line-height: 1.35;
}

#booking-ticket-details {
	display: block;
	margin: 0;
	line-height: 1.4;
}

#booking-ticket-details .booking-ticket-detail + .booking-ticket-detail {
	margin-top: 6px;
}

#booking-ticket-details dt,
#booking-ticket-details dd {
	display: inline;
	margin: 0;
	overflow-wrap: anywhere;
}

#booking-ticket-details dt {
	font-weight: 600;
}

#booking-ticket-login {
	justify-self: start;
	color: #5000fc;
	font-weight: 600;
}

#booking-ticket-details[hidden],
#booking-ticket-login[hidden] {
	display: none !important;
}

.app-view[data-route="booking"] .booking-page:has(#booking-manager-step:not([hidden])) {
	padding-top: 16px;
	padding-bottom: 16px;
}

#booking-manager-step {
	width: min(100%, 1100px);
	margin: 0 auto;
}

#booking-manager-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
}

#booking-manager-step .booking-confirm-card {
	display: grid;
	height: auto;
	gap: 12px;
}

#booking-manager-step .booking-confirm-card > p {
	line-height: 1.4;
}

.booking-manager-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin: 8px 0;
}

.booking-manager-details > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #00000018;
}

.booking-manager-details dt {
	color: #757575;
}

.booking-manager-details dd {
	min-width: 0;
	margin: 0;
	font-weight: 700;
	text-align: right;
	overflow-wrap: anywhere;
}

#booking-manager-step .booking-manager-comment-field {
	display: grid;
	gap: 8px;
}

#booking-manager-step .required-mark {
	margin-left: 0;
	color: #ff3950;
}

#booking-manager-submit:disabled {
	color: #a0a0a0;
	background: #ededed;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.app-view[data-route="cart"] {
	display: block;
	padding: 24px 0 32px;
	color: #101010;
}

/* Корзина и выбор брони */

.cart-page {
	width: min(calc(100% - 40px), 820px);
	margin: 0 auto;
}

.cart-page h1 {
	margin: 0 0 24px;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

.cart-page .cart-items {
	width: 100%;
	max-width: none;
	gap: 20px;
}

.cart-items .menu-card {
	grid-template-columns: 260px minmax(0, 1fr);
	grid-template-areas: "image content" "image bottom";
	grid-template-rows: minmax(0, 1fr) auto;
	min-height: 260px;
	height: auto;
	padding: 16px;
	gap: 16px;
}

.cart-items .dish-image {
	position: relative;
	min-height: 220px;
	aspect-ratio: auto;
	align-self: stretch;
}

.cart-items .dish-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-items .dish-content {
	display: grid;
	grid-template-rows: auto 1fr;
	align-self: stretch;
}

.cart-items .dish-content h3,
.cart-items .dish-description {
	grid-area: auto;
}

.cart-items .dish-description {
	min-height: 0;
}

.cart-items .dish-bottom {
	grid-template-columns: minmax(0, 1fr) 150px;
	grid-template-areas: "weight quantity" "unit total";
	align-items: center;
	align-self: end;
	gap: 8px 24px;
	min-width: 0;
}

.cart-items .dish-weight {
	grid-area: weight;
}

.cart-items .dish-bottom .quantity-control {
	grid-area: quantity;
	justify-self: end;
	width: 118px;
}

.cart-items .cart-unit-price,
.cart-items .cart-line-total {
	min-width: 0;
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	white-space: normal;
	overflow-wrap: anywhere;
}

.cart-items .cart-unit-price {
	grid-area: unit;
	text-align: left;
}

.cart-items .cart-line-total {
	grid-area: total;
	text-align: right;
}

.cart-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 24px;
}

.cart-picker {
	flex: 0 1 auto;
	min-width: 200px;
	max-width: 100%;
}

#cart-booking-picker {
	flex: 1 1 300px;
}

.cart-picker summary {
	list-style: none;
}

.cart-picker summary::-webkit-details-marker {
	display: none;
}

.cart-picker summary > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.cart-picker-arrow {
	margin-left: auto;
}

.cart-picker:not([open]) > .menu-sort-options {
	display: none;
}

.cart-page .cart-total {
	margin: 0 0 0 8px;
	color: #101010;
	font-family: "Freedoka", sans-serif;
	font-size: 28px;
	white-space: nowrap;
}

.cart-actions {
	display: flex;
	justify-content: flex-end;
}

#cart-checkout {
	max-width: 100%;
	margin: 20px 0 0;
	gap: 6px;
}

#cart-checkout-arrow {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	margin: 0;
	transform: translateY(2px);
}

#cart-checkout:disabled {
	color: #a0a0a0;
	background: #ededed;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.cart-page .empty-cart {
	padding: 24px 0;
}

.cart-page .empty-cart .booking-confirm-next {
	width: fit-content;
	text-decoration: none;
}

.cart-unavailable {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px;
	background: #ffffff;
	border: 1px solid #00000020;
	border-radius: 14px;
}

#cart-toolbar[hidden],
#cart-actions[hidden],
#cart-booking-picker[hidden],
.cart-page .empty-cart[hidden] {
	display: none !important;
}

.app-view[data-route="history"],
.app-view[data-route="order-finance"] {
	padding: 16px 0 32px;
}

/* История и финансовые действия */

.order-history-page {
	width: min(calc(100% - 40px), calc(50% + 220px));
	margin: 0 auto;
}

.order-history-page h1 {
	margin: 0 0 24px;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
	text-align: center;
}

.order-history-list {
	display: grid;
	gap: 20px;
}

.order-history-card {
	display: grid;
	height: auto;
	gap: 14px;
}

.order-history-header,
.order-history-visit,
.order-history-item,
.order-history-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.order-history-header,
.order-history-item {
	justify-content: space-between;
}

.order-history-heading,
.order-history-time {
	font-weight: 400;
}

.order-history-heading strong,
.order-history-time strong {
	font-weight: 700;
}

.order-history-header time {
	flex-shrink: 0;
	font-weight: 700;
}

.order-history-table {
	display: grid;
	place-items: center;
	background: #efefef;
	border-radius: 12px;
}

.order-history-visit > div:nth-child(2) {
	min-width: 0;
}

.order-history-booking-price {
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

.order-history-status,
.order-history-payment {
	margin-top: 6px;
	color: #666666;
	font-size: 14px;
	line-height: 1.4;
}

.order-history-items {
	display: grid;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid #00000020;
}

.order-history-item > span:first-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.order-history-item > strong {
	flex-shrink: 0;
}

.order-history-total {
	padding-top: 12px;
	border-top: 1px solid #00000020;
	text-align: right;
	font-weight: 700;
}

.order-history-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.order-history-actions .booking-confirm-next {
	max-width: 100%;
	margin: 0;
}

.order-history-cancel {
	padding: 12px 20px;
	color: #101010;
	background: #ff3950;
	border: 2px solid #ff3950;
	border-radius: 18px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

@media (hover: hover) {
	.order-history-cancel:hover {
		color: #ff3950;
		background: #101010;
		border-color: #101010;
		transform: translateY(-2px);
	}
}

.order-finance-page {
	width: min(calc(100% - 40px), 700px);
	margin: 0 auto;
}

.order-finance-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.order-finance-back svg {
	flex: 0 0 20px;
	transform: none;
}

.order-finance-card {
	width: 100%;
	height: auto;
	gap: 16px;
}

#order-finance-description {
	line-height: 1.5;
}

#order-finance-qr {
	justify-self: center;
	width: min(220px, 100%);
	height: auto;
}

#order-finance-qr[hidden] {
	display: none !important;
}

#order-finance-confirm:disabled {
	color: #a0a0a0;
	background: #ededed;
	border-color: #d0d0d0;
	cursor: not-allowed;
	transform: none;
}

.cart-checkout-notice-wrap {
	display: flow-root;
	overflow: hidden;
}

.cart-checkout-notice-wrap[hidden] {
	display: none !important;
}

.cart-checkout-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	padding: 16px 20px;
	background: #f2f2f2;
	border: 1px solid #00000020;
	border-radius: 14px;
}

.cart-checkout-notice p {
	flex: 1 1 300px;
	margin: 0;
	line-height: 1.5;
}

.cart-edit-exit {
	padding: 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
	text-align: left;
	text-decoration: underline;
	background: none;
	border: none;
	cursor: pointer;
}

.cart-edit-exit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

#cart-booking-options button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.cart-checkout-notice[hidden],
#cart-payment-picker[hidden] {
	display: none !important;
}

.booking-step-back,
.order-finance-back,
#booking-result-step .booking-result-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.booking-confirm-next {
	gap: 8px;
}

.booking-step-back svg,
.order-finance-back svg,
#booking-result-step .booking-result-back svg,
.booking-confirm-next svg {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	margin: 0;
	transform: none;
}

.booking-confirm-next svg[hidden] {
	display: none !important;
}

.cart-picker summary {
	gap: 12px;
}

.cart-picker-arrow {
	display: block;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	margin: 0 0 0 auto;
	pointer-events: none;
	transform: translateY(1px) rotate(0deg);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.cart-picker[open] .cart-picker-arrow {
	transform: translateY(1px) rotate(-180deg);
}

.cart-picker > .menu-sort-options {
	max-height: 256px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: auto;
	scrollbar-width: none;
	scroll-behavior: auto;
}

.cart-picker > .menu-sort-options::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.cart-picker.has-list-scrollbar > .menu-sort-options {
	padding-right: 22px;
}

.cart-list-scrollbar {
	position: absolute;
	top: calc(100% + 17px);
	right: 4px;
	z-index: 21;
	width: 12px;
}

.cart-list-scrollbar[hidden],
.cart-picker:not([open]) > .cart-list-scrollbar {
	display: none !important;
}

.cart-list-scrollbar-thumb {
	touch-action: none;
	user-select: none;
}

.cart-list-scrollbar-thumb.is-dragging {
	background-color: #101010d0;
	box-shadow: 0 0 0 1px #ffffff,
		0 1px 6px #00000055;
	cursor: grabbing;
}

#cart-booking-options .menu-sort-option {
	min-height: 44px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Кнопка под скачиванием билета */

#booking-result-preorder {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin: 12px auto 24px;
}

/* Основной текст истории */

.order-history-page,
.order-history-page h1,
.order-history-card,
.order-history-header,
.order-history-time,
.order-history-booking-price,
.order-history-item,
.order-history-total {
	color: #101010;
}

/* Номер стола */

.order-history-table {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	min-height: 72px;
	padding: 4px;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.order-history-visit:has(> .order-history-table-multiple) {
	flex-wrap: wrap;
}

.order-history-table-multiple {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
	gap: 8px 12px;
	box-sizing: border-box;
	width: fit-content;
	min-width: 72px;
	max-width: 100%;
	height: auto;
	padding: 10px 14px;
}

.order-history-visit:has(> .order-history-table-multiple) > div:nth-child(2) {
	flex: 1 1 auto;
}

.order-history-visit:has(> .order-history-table-multiple) .order-history-booking-price {
	white-space: normal;
}

/* Разделители истории */

.order-history-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 12px 0 0;
	color: #101010;
	font: inherit;
	font-weight: 700;
}

.order-history-divider::before,
.order-history-divider::after {
	content: "";
	height: 1px;
	flex: 1;
	background: #10101030;
}

.menu-sort-card.is-dropdown-animating > .menu-sort-options {
	min-height: 0;
	overflow: hidden;
}

.cart-picker.is-dropdown-animating > .cart-list-scrollbar {
	visibility: hidden;
	pointer-events: none;
}

.cart-picker.is-dropdown-open .cart-picker-arrow {
	transform: translateY(1px) rotate(-180deg);
}

.cart-picker:not(.is-dropdown-open) .cart-picker-arrow {
	transform: translateY(1px) rotate(0deg);
}

.account-panel #staff-link[hidden],
#staff-content[hidden] {
	display: none !important;
}

.app-view[data-route="staff"] {
	padding: 0;
}

.staff-page {
	width: min(calc(100% - 40px), 1480px);
	margin: 0 auto;
	padding: 40px 0 44px;
	color: #101010;
}

.staff-page h1 {
	margin: 0;
	color: #101010;
	font-family: "Freedoka", sans-serif;
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 400;
}

#staff-message,
#staff-content {
	margin-top: 24px;
	line-height: 1.6;
}

#staff-message:empty {
	display: none;
}

.staff-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.staff-page-actions .booking-confirm-next {
	margin: 0;
	text-decoration: none;
}

.review-composer {
	position: relative;
	margin-top: 28px;
	padding: 24px;
	color: #101010;
	background: #ffffff;
	border: 1px solid #00000020;
	border-radius: 18px;
	box-shadow: 0 8px 16px rgba(16, 16, 16, 0.12);
}

.review-composer[hidden] {
	display: none !important;
}

.review-star-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.review-composer-fields,
.review-rating-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.review-composer-fields {
	display: grid;
	gap: 16px;
}

.review-rating-fieldset legend {
	margin-bottom: 6px;
	font-weight: 700;
}

.review-stars {
	display: flex;
	gap: 4px;
}

.review-star {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	cursor: pointer;
}

.review-rating-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	clip-path: inset(50%);
}

.review-star .rating-star {
	width: 30px;
	height: 30px;
	color: #b8b8b8;
	fill: transparent;
	transition: color 0.15s ease, fill 0.15s ease;
}

.review-star.is-lit .rating-star {
	color: #ffcc66;
	fill: #ffcc66;
}

.review-rating-input:focus-visible + .rating-star {
	outline: 2px solid #5000fc;
	outline-offset: 3px;
	border-radius: 6px;
}

.review-composer-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.review-visit-date {
	margin: 0;
	font-size: 14px;
	color: #666666;
}

.review-visit-date time {
	color: #101010;
}

.review-submit {
	margin-left: auto;
	border: 0;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.review-submit:disabled {
	opacity: 1;
	background-color: #ededed;
	color: #a0a0a0;
	box-shadow: none;
	transform: none;
	cursor: not-allowed;
	pointer-events: none;
}

.review-composer-fields:disabled .review-star {
	cursor: wait;
}

.booking-ticket-preorder {
	display: grid;
	gap: 12px;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #00000020;
}

.booking-ticket-preorder[hidden] {
	display: none !important;
}

.booking-ticket-preorder h2 {
	margin: 0;
	font-size: 24px;
}

.ticket-preorder-payment,
.ticket-preorder-calculation {
	color: #666666;
	font-size: 14px;
	line-height: 1.4;
}

.ticket-preorder-items {
	display: grid;
	gap: 12px;
}

.ticket-preorder-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ticket-preorder-item-info {
	display: grid;
	min-width: 0;
	gap: 4px;
	overflow-wrap: anywhere;
}

.ticket-preorder-item > strong {
	flex-shrink: 0;
	white-space: nowrap;
}

.ticket-preorder-total {
	padding-top: 12px;
	border-top: 1px solid #00000020;
	text-align: right;
}

.order-history-actions > .order-history-ticket {
	display: grid;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin-right: auto;
	padding: 0;
	place-items: center;
	border-radius: 6px;
	color: #5000fc;
	transform-origin: center;
	transition: transform 180ms ease,
		color 180ms ease,
		background-color 180ms ease;
}

@media (hover: hover) {
	.order-history-actions > .order-history-ticket:hover {
		color: #ffffff;
		background-color: #5000fc;
		transform: scale(1.08);
	}
}

.order-history-actions > .order-history-ticket:active {
	color: #ffffff;
	background-color: #5000fc;
	transform: scale(1);
}

.order-history-actions > .order-history-ticket svg {
	width: 26px;
	height: 26px;
}

#booking-ticket-qr {
	display: block;
	width: min(220px, 100%);
	height: auto;
	margin: 12px auto 0;
}

#booking-ticket-qr[hidden],
#booking-ticket-message[hidden] {
	display: none !important;
}

#booking-ticket-download {
	display: flex;
	max-width: 100%;
	margin: 20px auto 24px;
	white-space: normal;
	text-align: center;
}

#booking-ticket-download[hidden] {
	display: none !important;
}

.cart-picker > .menu-sort-options {
	max-height: var(--booking-options-max-height, 256px);
}

.cart-picker.is-dropdown-up > .menu-sort-options {
	top: auto;
	bottom: calc(100% + 8px);
}

.cart-picker.is-dropdown-up > .cart-list-scrollbar {
	top: auto;
	bottom: calc(100% + 17px);
}

body.is-route-transitioning .app-view:not([hidden]) {
	will-change: opacity, transform;
}

.site-scrollbar {
	transform: translateX(20px);
	transition: opacity 200ms ease,
		transform 200ms ease;
}

.site-scrollbar.is-visible {
	transform: translateX(0);
}

body.is-route-transitioning .site-scrollbar {
	opacity: 0;
	transform: translateX(20px);
	pointer-events: none;
}

.site-footer.is-footer-moving {
	will-change: transform;
	pointer-events: none;
}

.review-composer.is-review-hiding {
	min-height: 0;
	overflow: hidden;
	will-change: height, opacity;
}

.is-panel-resizing {
	min-height: 0;
	overflow: hidden;
	will-change: height;
}

.is-panel-swapping {
	will-change: opacity, transform;
}

.booking-calendar-motion-viewport {
	position: relative;
	margin-top: 8px;
	overflow: hidden;
}

.booking-calendar-motion-viewport > .booking-calendar-days {
	margin-top: 0;
}

.booking-calendar-title {
	position: relative;
	display: grid;
	flex: 1 1 auto;
	min-width: 0;
	justify-items: center;
	align-items: center;
	white-space: nowrap;
}

.booking-calendar-title > span {
	grid-area: 1 / 1;
	white-space: nowrap;
}

.booking-month-copy {
	pointer-events: none;
}

.booking-calendar-arrow {
	flex: 0 0 34px;
}

.booking-floor-motion-viewport {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow: visible;
}

.booking-calendar-motion-viewport > .booking-motion-copy,
.booking-floor-motion-viewport > .booking-motion-copy {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	pointer-events: none;
}

.booking-floor-map {
	background-color: #ffffff;
}

.booking-floor-grid {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}
.booking-floor-grid path {fill:none;stroke:#d8d8d8;stroke-width:2;stroke-linecap:round;}
.booking-floor-grid-mobile {display:none;}

.booking-floor-map-canvas {
	background: transparent;
}

.route-footer-layer {
	position: fixed;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	pointer-events: none;
}

.route-footer-layer > .site-footer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	pointer-events: none;
}

.cart-page {
	overflow-anchor: none;
}

#cart-content-motion {
	position: relative;
	display: flow-root;
}

.cart-content-body {
	display: flow-root;
}

#cart-content-motion.is-cart-content-moving {
	overflow: clip;
	overflow-clip-margin: 16px;
}

.cart-content-copy {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
}

.menu-category-filter,
.cart-toolbar {
	align-content: flex-start;
}

.menu-reset-button.is-width-changing {
	overflow: hidden;
	white-space: nowrap;
}

.is-width-changing > .menu-sort-toggle {
	overflow: hidden;
}

.is-width-hiding {
	pointer-events: none;
}

img[data-sticker-group]:not([data-sticker-ready]) {
	visibility: hidden;
}

img[data-sticker-group][hidden] {
	display: none !important;
}

img[data-sticker-group] {
	translate: var(--sticker-offset-x, 0px)
		var(--sticker-offset-y, 0px);
	rotate: var(--sticker-tilt, 0deg);
	scale: var(--sticker-scale, 1);
	transform-origin: center;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.booking-page-heading,
.menu-page-heading,
.reviews-page-heading {
	text-align: center;
}

.menu-page-heading {
	position: relative;
	isolation: isolate;
}

.menu-heading-copy {
	position: relative;
	z-index: 1;
}

.menu-heading-stickers {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.menu-heading-stickers.is-panel-resizing {
	overflow: visible;
}

.sticker-shadow {
	filter: drop-shadow(0 3px 2px rgb(0 0 0 / 35%));
}

.menu-sticker-slot {
	position: absolute;
	top: 50%;
	width: 140px;
	translate: 0 -50%;
}

.menu-sticker-left {
	left: calc(50% - 660px);
	--sticker-base-angle: -7deg;
}

.menu-sticker-right {
	right: calc(50% - 666px);
	--sticker-base-angle: 3deg;
}

.menu-sticker-image {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(var(--sticker-base-angle, 0deg));
}

.app-view[data-route="profile"] .profile-page {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none;
	min-height: 690px;
	margin-inline: 0;
}

.profile-container {
	position: relative;
	z-index: 1;
}

.profile-decorations {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.profile-sticker-slot {
	position: absolute;
}

.profile-sticker {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(var(--sticker-base-angle, 0deg));
}

.profile-sticker-save {
	width: 300px;
	top: 2px;
	left: 40px;
	--sticker-base-angle: -14deg;
}

.profile-sticker-edit {
	width: 140px;
	top: 50%;
	right: 260px;
	translate: 0 -50%;
	--sticker-base-angle: 12deg;
}

.profile-sticker-space {
	width: 140px;
	top: 50%;
	left: 290px;
	translate: 0 -50%;
	--sticker-base-angle: -18deg;
}

.profile-sticker-snack {
	width: 220px;
	bottom: 2px;
	left: 2px;
	--sticker-base-angle: 15deg;
}

.profile-sticker-vilian {
	width: 280px;
	bottom: 2px;
	right: 2px;
	--sticker-base-angle: -20deg;
}

.profile-sticker-crown {
	width: 220px;
	top: 2px;
	right: 2px;
	--sticker-base-angle: 12deg;
}

.app-view[data-route="log-reg"] > .auth-page {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none;
	min-height: 690px;
	margin-inline: 0;
}

.app-view[data-route="log-reg"] .auth-card {
	position: relative;
	z-index: 1;
}

.auth-decorations {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.auth-sticker-slot {
	position: absolute;
}

.auth-sticker {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(var(--sticker-base-angle, 0deg));
}

/* Вход */

.auth-sticker-top-left {
	width: 130px;
	top: 30px;
	left: 30px;
	--sticker-base-angle: 10deg;
}

.auth-sticker-middle-left {
	width: 230px;
	top: 36%;
	left: 250px;
	translate: 0 -50%;
	--sticker-base-angle: -14deg;
}

.auth-sticker-bottom-left {
	width: 310px;
	bottom: 2px;
	left: 2px;
	--sticker-base-angle: -1deg;
}

.auth-sticker-top-right {
	width: 280px;
	top: 10px;
	right: 10px;
	--sticker-base-angle: 145deg;
}

.auth-sticker-middle-right {
	width: 190px;
	top: 52%;
	right: 320px;
	translate: 0 -50%;
	--sticker-base-angle: 8deg;
}

.auth-sticker-bottom-right {
	width: 160px;
	bottom: 25px;
	right: 30px;
	--sticker-base-angle: 175deg;
}

/* Регистрация */

.auth-page[data-auth-mode="register"] .auth-sticker-top-left {
	width: 230px;
	top: -10px;
	left: 20px;
	--sticker-base-angle: 7deg;
}

.auth-page[data-auth-mode="register"] .auth-sticker-middle-left {
	width: 180px;
	top: 36%;
	left: 300px;
	--sticker-base-angle: -18deg;
}

.auth-page[data-auth-mode="register"] .auth-sticker-bottom-left {
	width: 320px;
	bottom: 10px;
	left: 40px;
	--sticker-base-angle: -12deg;
}

.auth-page[data-auth-mode="register"] .auth-sticker-top-right {
	width: 200px;
	top: 20px;
	right: 40px;
	--sticker-base-angle: 12deg;
}

.auth-page[data-auth-mode="register"] .auth-sticker-middle-right {
	width: 180px;
	top: 48%;
	right: 300px;
	--sticker-base-angle: -12deg;
}

.auth-page[data-auth-mode="register"] .auth-sticker-bottom-right {
	width: 310px;
	bottom: -7px;
	right: -7px;
	--sticker-base-angle: 10deg;
}

/* Согласия в регистрации */

.register-form .required-mark {
	margin-left: 0;
}

.auth-form .auth-consent {
	width: 100%;
}

.auth-form .auth-consent-label {
	display: block;
	min-width: 0;
	flex: 0 1 auto;
	font: inherit;
	cursor: pointer;
}

.auth-consent .auth-document-button {
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

@media (hover: hover) {
	.auth-consent .auth-document-button:hover {
		background-color: #5000fc;
		color: #ffffff;
	}
}

/* Просмотр документов */

html.is-legal-modal-open {
	overflow: hidden;
}

.legal-document-modal {
	width: min(calc(100% - 40px), 832px);
	max-width: none;
	height: min(82dvh, 860px);
	max-height: calc(100dvh - 40px);
	margin: auto;
	padding: 0;
	overflow: hidden;
	color: #101010;
	background: #ffffff;
	border: 2px solid #00000020;
	border-radius: 14px;
	box-shadow: 0 18px 50px #00000040;
	font: inherit;
}

.legal-document-modal[open] {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
}

.legal-document-modal::backdrop {
	background: rgb(0 0 0 / 55%);
}

.legal-document-body {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr);
	min-height: 0;
	padding: 20px 0;
	overflow: hidden;
}

.legal-document-scroll {
	height: 100%;
	min-height: 0;
	padding: 0 34px 0 24px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}

.legal-document-scroll::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.legal-document-scroll:focus-visible {
	outline: 2px solid #5000fc;
	outline-offset: -4px;
}

.legal-document-text {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	line-height: 1.65;
}

.legal-document-track {
	position: absolute;
	top: 20px;
	right: 4px;
	bottom: 20px;
	width: 12px;
}

.legal-document-track[hidden] {
	display: none;
}

.legal-document-thumb {
	position: absolute;
	top: 0;
	right: 3px;
	width: 6px;
	border-radius: 999px;
	background-color: #1010109c;
	box-shadow: 0 0 0 1px #ffffffa6, 0 1px 4px #00000033;
	cursor: grab;
	touch-action: none;
	user-select: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-document-thumb.is-dragging {
	background-color: #101010d0;
	box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
}

@media (hover: hover) {
	.legal-document-thumb:hover {
		background-color: #101010d0;
		box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
	}
}

.legal-document-thumb.is-dragging {
	cursor: grabbing;
}

.legal-document-footer {
	padding: 20px;
	background: #ffffff;
	border-top: 2px solid #00000020;
}

.legal-document-status {
	margin: 0 0 12px;
	font-size: 14px;
	text-align: center;
	color: #666666;
}

.legal-document-status:empty {
	display: none;
}

.legal-document-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.legal-document-actions button {
	min-width: 150px;
	padding: 14px 20px;
	border: 0;
	border-radius: 14px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.legal-document-accept {
	background-color: #a9ff00;
	color: #101010;
}

@media (hover: hover) {
	.legal-document-accept:not(:disabled):hover {
		background-color: #101010;
		color: #a9ff00;
		transform: translateY(-2px);
	}
}

.legal-document-accept:disabled {
	background-color: #ededed;
	color: #a0a0a0;
	cursor: not-allowed;
}

.legal-document-reject {
	background-color: #ff3950;
	color: #101010;
	box-shadow: none;
}

@media (hover: hover) {
	.legal-document-reject:hover {
		background-color: #101010;
		color: #ff3950;
		transform: translateY(-2px);
	}
}

.legal-document-actions button:not(:disabled):active {
	transform: translateY(0);
}

/* Согласие в форме отзыва */

.review-composer .auth-consent {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.review-composer .auth-consent input {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin: 0 6px 0 0;
	accent-color: #a9ff00;
}

.review-composer .auth-consent-label {
	display: block;
	min-width: 0;
	flex: 0 1 auto;
	font: inherit;
	cursor: pointer;
}

/* Скачивание из информационного окна */

.legal-document-actions .legal-document-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	padding: 14px 20px;
	border: 0;
	border-radius: 14px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.legal-document-actions [hidden] {
	display: none !important;
}

.legal-document-download[aria-disabled="true"] {
	background-color: #ededed;
	color: #a0a0a0;
	transform: none;
	pointer-events: none;
}

.legal-document-download:active {
	transform: translateY(0);
}

/* Основные адаптивные правила */

@media (max-width: 1166px) {
	.menu-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.app-view > section.booking-teaser {
		width: calc(100% - 32px);
	}

	.menu-sticker-slot {
		width: 120px;
	}

	.menu-sticker-left {
		left: 0;
	}

	.menu-sticker-right {
		right: 0;
	}
}

@media (max-width: 790px) {
	.top-panel {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		padding-top: 7px;
		border-bottom: 0;
	}

	.account {
		margin-left: auto;
	}

	.main-navigation {
		order: 3;
		flex-basis: 100%;
		justify-content: center;
		gap: 20px;
		margin-top: 7px;
		padding-top: 13px;
		padding-bottom: 13px;
		border-top: 1px solid #00000030;
	}

	.app-view .hero {
		display: block;
		min-height: auto;
		padding: 40px 20px 32px;
	}

	.hero-copy {
		width: 100%;
		align-items: center;
		text-align: center;
	}

	.hero-title {
		font-size: clamp(62px, 12vw, 72px);
	}

	.hero-descr {
		margin-right: auto;
		margin-left: auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.marquee {
		padding: 18px 0;
	}

	.marquee-group {
		gap: 42px;
		padding-right: 42px;
		font-size: 17px;
	}

	.marquee-star {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.menu-section {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.menu-list {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 24px;
	}

	.menu-card {
		grid-template-areas: "title title"
		"image description"
		"bottom bottom";
		grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
		grid-template-rows: auto minmax(145px, auto) auto;
		gap: 10px;
		padding: 10px;
	}

	.dish-content {
		display: contents;
	}

	.dish-content h3 {
		grid-area: title;
		min-width: 0;
		margin: 0;
		font-size: 20px;
		line-height: 1.05;
		overflow-wrap: anywhere;
	}

	.dish-image {
		grid-area: image;
		min-height: 145px;
		aspect-ratio: auto;
		align-self: stretch;
	}

	.dish-description {
		grid-area: description;
		min-width: 0;
		min-height: 0;
		margin: 0;
		font-size: 15px;
		line-height: 1.42;
		overflow-wrap: anywhere;
	}

	.dish-bottom {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 8px;
		min-width: 0;
	}

	.dish-weight {
		min-width: 0;
		font-size: 15px;
		white-space: nowrap;
	}

	.price {
		min-width: 0;
		font-size: clamp(20px, 6vw, 25px);
	}

	.add-to-cart,
	.go-to-cart {
		min-width: 0;
		padding: 10px 8px;
		font-size: 14px;
		white-space: nowrap;
	}

	.quantity-control {
		width: 104px;
		grid-template-columns: 28px 1fr 28px;
		gap: 4px;
	}

	.quantity-control button {
		width: 28px;
		height: 28px;
	}

	.booking-teaser {
		align-items: flex-start;
		flex-direction: column;
		gap: 28px;
		padding: 32px 24px;
		border-radius: 18px;
	}

	.booking-teaser-link {
		align-self: flex-end;
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}

	.booking-teaser-link svg {
		width: 25px;
		height: 25px;
	}

	.booking-teaser h2 {
		font-size: 28px;
	}

	.booking-teaser-text {
		font-size: 20px;
	}

	.app-view > section.booking-teaser {
		width: calc(100% - 32px);
	}

	.app-view[data-route="profile"] .profile-page {
		padding: 24px 16px 36px;
	}

	.profile-icon-button {
		right: 12px;
	}

	.storage-notice {
		display: none !important;
	}

	.menu-controls {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.menu-search-card,
	.menu-sort-card {
		width: 100%;
	}

	.menu-reset-button {
		justify-self: start;
	}

	.menu-category-filter {
		gap: 7px;
	}

	.booking-selection-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking-confirm-card .booking-confirm-details {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "name"
			"guests"
			"email"
			"datetime"
			"phone"
			"table";
	}

	.booking-confirm-card .booking-confirm-details > div {
		grid-template-columns: max-content minmax(0, 1fr);
		gap: 12px;
	}

	.site-toast {
		top: auto;
		right: auto;
		bottom: 16px;
		left: 50%;
		width: min(calc(100% - 20px), 420px);
		transform: translate(-50%, calc(100% + 24px));
	}

	.site-toast:not([hidden]) {
		transform: translate(-50%, 0);
	}

	#booking-ticket-print-card {
		padding: 16px;
	}

	#booking-result-details {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 2px;
	}

	#booking-result-details dd:not(:last-child) {
		margin-bottom: 4px;
	}

	.booking-ticket-card {
		padding: 16px;
	}

	.booking-manager-details {
		grid-template-columns: minmax(0, 1fr);
	}

	.cart-items .menu-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "image" "content" "bottom";
		grid-template-rows: 200px auto auto;
		min-height: 0;
		padding: 12px;
		gap: 14px;
	}

	.cart-items .dish-image {
		min-height: 0;
	}

	.cart-items .dish-bottom {
		grid-template-columns: minmax(0, 1fr) 118px;
		column-gap: 16px;
	}

	.cart-items .dish-bottom .quantity-control {
		width: 104px;
	}

	.cart-items .cart-unit-price,
	.cart-items .cart-line-total,
	.cart-items .dish-content h3 {
		font-size: 20px;
	}

	.cart-toolbar > .cart-picker {
		flex: 1 1 100%;
		width: 100%;
		min-width: 0;
	}

	.cart-page .cart-total {
		margin-left: auto;
	}

	.order-history-card {
		padding: 16px;
	}

	.order-history-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.order-history-visit {
		flex-wrap: wrap;
	}

	.order-history-booking-price {
		flex: 1 1 100%;
	}

	.order-history-actions > * {
		width: 100%;
		text-align: center;
	}

	.order-history-item {
		align-items: flex-start;
	}

	.menu-page-heading {
		padding-bottom: 140px;
	}

	.menu-sticker-slot {
		top: auto;
		bottom: 0;
		width: 115px;
		translate: 0 0;
	}

	.menu-sticker-left {
		left: calc(50% - 135px);
	}

	.menu-sticker-right {
		right: calc(50% - 135px);
	}
}

/* Адаптивная раскладка: дополнительные правила для компактных экранов. */

@media screen and (max-width: 1166px) {
	.booking-details-form, .booking-selection-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking-details-form > *, .booking-selection-layout > * {
		min-width: 0;
	}

	.booking-time-card {
		width: min(100%, 600px);
	}

	.menu-page-heading {
		padding-inline: 100px;
	}

	.menu-sticker-slot {
		width: 85px;
	}

	.menu-sticker-left {
		left: 0;
	}

	.menu-sticker-right {
		right: 0;
	}

	.app-view[data-route="profile"] .profile-page,
	.app-view[data-route="log-reg"] > .auth-page {
		padding-top: 125px;
		min-height: 0;
	}

	.profile-sticker-slot, .auth-sticker-slot {
		display: none;
	}

	.profile-sticker-save, .profile-sticker-edit,
	.auth-page .auth-sticker-middle-left, .auth-page .auth-sticker-middle-right {
		display: block;
		width: 95px;
		top: 14px;
		bottom: auto;
		translate: none;
	}

	.profile-sticker-save, .auth-page .auth-sticker-middle-left {
		left: calc(50% - 130px);
		right: auto;
	}

	.profile-sticker-edit, .auth-page .auth-sticker-middle-right {
		right: calc(50% - 130px);
		left: auto;
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-middle-left,
	.auth-page[data-auth-mode="register"] .auth-sticker-middle-right {
		width: 95px;
		top: 14px;
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-middle-left {
		left: calc(50% - 130px);
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-middle-right {
		right: calc(50% - 130px);
	}
}

@media screen and (min-width: 791px) and (max-width: 1166px) {
	.app-view .hero {
		padding-block: 120px;
	}

	.hero-copy {
		width: min(72%, 720px);
		margin-inline: auto;
	}

	.hero-decorations .hero-sticker-slot {
		width: 110px;
	}

	.hero-decorations .sticker-hello {
		top: 0;
		left: 25%;
	}

	.hero-decorations .sticker-crown {
		left: auto;
	}

	.hero-decorations .sticker-space {
		left: 0;
		top: 43%;
	}

	.hero-decorations .sticker-glhfdd {
		left: auto;
		top: 35%;
	}

	.hero-decorations .sticker-snack {
		top: auto;
	}

	.hero-decorations .sticker-heart {
		left: 62%;
		top: auto;
	}

	.hero-decorations .sticker-vilian {
		left: auto;
		top: auto;
	}
}

@media screen and (max-width: 790px) {
	.hero-decorations {
		display: none;
	}

	.main-navigation {
		gap: clamp(12px, 5vw, 20px);
		font-size: 16px;
	}

	.hero-actions {
		flex-wrap: wrap;
	}

	.menu-page-heading {
		padding: 14px 0 0;
	}

	.menu-heading-copy > .section-kicker {
		display: grid;
		place-items: center;
	}

	.menu-sticker-slot {
		bottom: auto;
	}

	.menu-page-heading h1, .reviews-page-heading h1, .booking-page-heading h1 {
		font-size: clamp(30px, 7.8vw, 44px);
		overflow-wrap: anywhere;
	}

	.booking-card {
		padding: 16px;
	}

	.booking-contact-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.booking-floor-motion-viewport, .booking-floor-map-canvas {
		min-width: 0;
	}


	.booking-floor-map-canvas {
		aspect-ratio: var(--floor-rows) / var(--floor-columns) !important;
	}
	.booking-floor-grid-desktop {display:none;}
	.booking-floor-grid-mobile {display:block;}

	.booking-floor-table {
		left: var(--mobile-table-x) !important;
		top: var(--mobile-table-y) !important;
		transform: translate(-50%, -50%) rotate(var(--mobile-table-rotation));
		box-shadow: var(--mobile-shadow-x,3px) var(--mobile-shadow-y,0px) 8px rgb(16 16 16 / 18%);
	}

	.booking-floor-table-number {
		transform: rotate(calc(0deg - var(--mobile-table-rotation)));
		pointer-events: none;
	}

	.booking-floor-motion-viewport {
		overflow: visible;
	}

	.booking-time-card {
		padding: 12px;
	}

	.booking-dial-label {
		font-size: 15px;
	}

	.booking-dial-caption {
		font-size: 13px;
		letter-spacing: 0.5px;
	}

	.booking-dial-time {
		font-size: 25px;
	}

	.booking-dial-duration {
		font-size: 15px;
	}

	.booking-dial-handle {
		stroke-width: 6;
	}

	.booking-confirm-details, .booking-confirm-card .booking-confirm-details > div {
		grid-template-columns: minmax(0, 1fr);
	}

	.booking-confirm-details dd, .booking-ticket-details dd {
		overflow-wrap: anywhere;
	}

	.booking-confirm-actions, .booking-manager-actions, .profile-form-actions {
		flex-wrap: wrap;
	}

	.profile-container {
		padding: 8px 0;
		min-width: 0;
	}

	.profile-contact-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile-edit-form, .profile-card {
		min-width: 0;
	}

	.verification-code-inputs {
		gap: 8px;
	}

	.site-footer .footer-legal-link {
		white-space: normal;
	}

	.footer-content {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.footer-contacts {
		overflow-wrap: anywhere;
	}

	.legal-document-actions {
		gap: 8px;
		flex-wrap: wrap;
	}

	.legal-document-actions button, .legal-document-actions .legal-document-download {
		min-width: 0;
		flex: 1 1 110px;
		padding-inline: 12px;
	}

	.order-history-page {
		width: calc(100% - 32px);
	}

	.order-history-item {
		flex-wrap: wrap;
	}

	.order-history-item > *, .cart-toolbar > *, .menu-card > * {
		min-width: 0;
	}

	.auth-form input:not([type="checkbox"]), .booking-field input, .profile-edit-form input {
		font-size: 16px;
	}
}

/* Общие слои, касания и компактные формы. */

body {
	-webkit-tap-highlight-color: transparent;
}

.site-footer {
	position: relative;
	z-index: 3;
	isolation: isolate;
}

@media (pointer: coarse) {
	button, a, summary {
		touch-action: manipulation;
	}

	button:active, a:active, summary:active {
		transition-duration: 70ms;
	}

	.auth-consent .auth-document-button {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
	}
}

@media screen and (max-width: 1166px) {
	.booking-calendar-day {
		width: 40px;
		max-width: 100%;
		height: 40px;
		min-height: 0;
		aspect-ratio: auto;
	}

	.booking-confirm-step {
		width: min(100%, 760px);
		margin-inline: auto !important;
	}

	.booking-confirm-card .booking-confirm-details {
		grid-template-columns: minmax(0,1fr);
	}

	.booking-confirm-readonly > span {
		overflow-wrap: anywhere;
	}

	.booking-confirm-card .booking-confirm-details dd {
		min-width: 0;
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-middle-left,
	.auth-page[data-auth-mode="register"] .auth-sticker-middle-right {
		display: none;
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-bottom-left,
	.auth-page[data-auth-mode="register"] .auth-sticker-top-right {
		display: block;
		width: 95px;
		top: 14px;
		bottom: auto;
		translate: none;
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-bottom-left {
		left: calc(50% - 130px);
	}

	.auth-page[data-auth-mode="register"] .auth-sticker-top-right {
		right: calc(50% - 130px);
	}
}

@media screen and (min-width: 791px) and (max-width: 1166px) {
	.hero-decorations .sticker-glasses, .hero-decorations .sticker-crown,
	.hero-decorations .sticker-snack, .hero-decorations .sticker-vilian {
		width: 165px;
	}

	.hero-decorations .sticker-space, .hero-decorations .sticker-heart {
		width: 85px;
	}

	.app-view[data-route="profile"] .profile-page {
		padding-top: 36px;
	}

	.profile-intro {
		min-height: 80px;
		display: grid;
		place-items: center;
		padding-inline: 100px;
	}

	.profile-sticker-save, .profile-sticker-edit {
		top: 46px;
	}

	.profile-sticker-save {
		left: 35px;
	}

	.profile-sticker-edit {
		right: 35px;
	}
}

@media screen and (max-width: 790px) {
	.floating-cart {
		left: 20px;
		right: auto;
	}

	#order-finance-confirm {
		margin-inline: auto;
	}

	.booking-dial-handle {
		fill: #5000fc;
	}

	.app-view[data-route="profile"] .profile-page {
		padding-top: 105px;
	}

	.menu-page-heading {
		padding-top: 0;
	}

	.menu-heading-copy > .section-kicker {
		min-height: 54px;
		margin-bottom: 24px;
		padding-inline: 85px;
	}

	.menu-sticker-slot {
		top: 27px;
		translate: 0 -50%;
	}

	.all-menu-link, .all-reviews-link {
		align-self: flex-end;
	}

	.reviews .reviews-list {
		margin-top: 24px;
	}

	.booking-confirm-card .booking-confirm-details > div {
		grid-template-columns: minmax(0,1fr);
	}
}

@media print {
	@page {
		margin: 15mm;
	}

	body.is-printing-booking-ticket * {
		visibility: hidden !important;
	}

	body.is-printing-booking-ticket #booking-ticket-print-card,
	body.is-printing-booking-ticket #booking-ticket-print-card * {
		visibility: visible !important;
	}

	body.is-printing-booking-ticket #booking-result-step {
		display: block !important;
		position: absolute !important;
		inset: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.is-printing-booking-ticket #booking-ticket-print-card {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	body.is-printing-booking-ticket #booking-result-download,
	body.is-printing-booking-ticket .booking-result-home {
		display: none !important;
	}

	body.is-printing-booking-ticket #booking-result-qr {
		width: 220px;
		height: 220px;
		object-fit: contain;
	}
}

/* Отклик касания: те же цвета, что при наведении. */

.brand a.is-touch-pressed {
	color: #5000fc;
	transform: translateY(-2px);
}

.main-navigation a.is-touch-pressed .main-navigation-label {
	color: #5000fc;
	transform: translateY(-2px);
}

.main-navigation a.is-active.is-touch-pressed .main-navigation-label {
	color: #101010;
	transform: translateY(-2px);
}

.log-reg.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.storage-notice-button-primary.is-touch-pressed {
	color: #ffffff;
	background-color: #5000fc;
	border-color: #5000fc;
	transform: translateY(-2px);
}

.menu-link.is-touch-pressed {
	color: #5000fc;
	transform: translateY(-1px);
}

.booking-btn.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.floating-cart.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.account-panel a.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	border-left: 3px solid #a9ff00;
	border-right: 0px solid #a9ff00;
	box-shadow: 0 1px 4px #00000020;
}

.account-panel button.is-touch-pressed {
	background-color: #101010;
	color: #ff3950;
	border-left: 3px solid #ff3950;
	border-right: 0px solid #ff3950;
	box-shadow: 0 1px 4px #00000020;
}

.site-footer .footer-legal-link.is-touch-pressed {
	color: #a9ff00;
}

.site-footer a.is-touch-pressed {
	color: #a9ff00;
}

.all-menu-link.is-touch-pressed,
.all-reviews-link.is-touch-pressed {
	color: #5000fc;
	transform: translateY(-1px);
}

.add-to-cart.is-touch-pressed,
.go-to-cart.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.plus-button.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	border: 2px solid #a9ff00;
}

.minus-button.is-touch-pressed {
	background-color: #101010;
	color: #ff3950;
	border: 2px solid #ff3950;
}

.booking-teaser-link.is-touch-pressed {
	background-color: #5000fc;
	color: #ffffff;
	transform: translate(3px, -3px);
}

.auth-form input:not([type="checkbox"]).is-touch-pressed {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

.auth-form button[type="submit"].is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.auth-switch-button.is-touch-pressed {
	text-decoration: underline;
}

.auth-document-button.is-touch-pressed {
	background-color: #5000fc;
	color: #ffffff;
}

.verification-back-button.is-touch-pressed {
	color: #101010;
	transform: translateY(-1px);
}

.verification-resend-button.is-touch-pressed:not(:disabled) {
	color: #5000fc;
}

.profile-edit-form input:not([type="hidden"]).is-touch-pressed {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

.profile-cancel-button.is-touch-pressed {
	color: #ff3950;
	background-color: #101010;
	border-color: #ff3950;
	transform: translateY(-2px);
}

.profile-save-button.is-touch-pressed {
	color: #a9ff00;
	background-color: #101010;
	border-color: #a9ff00;
	transform: translateY(-2px);
}

.profile-icon-button.is-touch-pressed {
	color: #ffffff;
	background-color: #5000fc;
	transform: translateY(calc(-50% - 2px));
}

.site-scrollbar-thumb.is-touch-pressed {
	background-color: #101010d0;
	box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
}

.menu-sort-option.is-touch-pressed:not(.is-selected) {
	color: #ffffff;
	background: #5000fc;
}

.menu-category-button.is-touch-pressed,
.menu-reset-button.is-touch-pressed {
	transform: translateY(-2px);
	color: #ffffff;
	background: #5000fc;
	border-color: #5000fc;
}

.booking-field input.is-touch-pressed {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

.booking-guests-control .decrease.is-touch-pressed {
	background-color: #101010;
	color: #ff3950;
	border: 2px solid #ff3950;
}

.booking-guests-control .increase.is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	border: 2px solid #a9ff00;
}

.booking-customer-comment-field textarea.is-touch-pressed {
	border-color: #5000fc;
	box-shadow: 0 4px 12px #5000fc25;
}

.booking-calendar-arrow.is-touch-pressed {
	color: #ffffff;
	background: #5000fc;
	border-color: #5000fc;
	transform: translateY(-2px);
}

.booking-calendar-day.is-touch-pressed:not(:disabled) {
	border-color: #5000fc;
	transform: none;
}

.booking-calendar-day.is-selected.is-touch-pressed {
	border-color: #a9ff00;
}

.booking-next-button:not(:disabled).is-touch-pressed {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
	transform: translateY(-2px);
}

.booking-floor-tab.is-touch-pressed {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
}

.booking-step-back.is-touch-pressed {
	color: #5000fc;
}

.booking-confirm-edit-button.is-touch-pressed {
	color: #ffffff;
	background: #5000fc;
	transform: none;
}

.booking-confirm-edit-controls input.is-touch-pressed {
	border-color: #5000fc;
	box-shadow: 2px 2px 4px #b5b5b5;
}

.booking-confirm-edit-save.is-touch-pressed {
	color: #a9ff00;
	background: #101010;
	border-color: #a9ff00;
}

.booking-confirm-edit-cancel.is-touch-pressed {
	color: #ff3950;
	background: #101010;
	border-color: #ff3950;
}

.booking-confirm-edit-action.is-touch-pressed {
	transform: none;
}

.booking-confirm-next.is-touch-pressed {
	color: #a9ff00;
	background: #101010;
	border-color: #101010;
	transform: translateY(-2px);
}

.booking-confirm-submit:not(:disabled).is-touch-pressed {
	color: #101010;
	background: #a9ff00;
	border-color: #101010;
	transform: translateY(-2px);
}

.booking-dial-tick.is-available.is-touch-pressed {
	stroke: #a9ff00;
	stroke-width: 8;
}

.order-history-cancel.is-touch-pressed {
	color: #ff3950;
	background: #101010;
	border-color: #101010;
	transform: translateY(-2px);
}

.order-history-actions > .order-history-ticket.is-touch-pressed {
	color: #ffffff;
	background-color: #5000fc;
	transform: scale(1.08);
}

.auth-consent .auth-document-button.is-touch-pressed {
	background-color: #5000fc;
	color: #ffffff;
}

.legal-document-thumb.is-touch-pressed {
	background-color: #101010d0;
	box-shadow: 0 0 0 1px #ffffff, 0 1px 6px #00000055;
}

.legal-document-accept:not(:disabled).is-touch-pressed {
	background-color: #101010;
	color: #a9ff00;
	transform: translateY(-2px);
}

.legal-document-reject.is-touch-pressed {
	background-color: #101010;
	color: #ff3950;
	transform: translateY(-2px);
}

.is-touch-pressed {
	transition-duration: 90ms !important;
}

main:has(.cart-picker[open]), main:has(.is-dropdown-open) {
	position: relative;
	z-index: 4;
}

body:has(.app-view[data-route="log-reg"]:not([hidden])) .floating-cart,
body:has(.app-view[data-route="verification"]:not([hidden])) .floating-cart {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

body:has(.storage-notice:not([hidden])) .floating-cart {
	pointer-events: none;
}

.menu-search-clear {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	padding: 3px;
	background: transparent;
	border: 0;
	color: #101010;
	cursor: pointer;
}

.menu-search-clear svg, .menu-reset-icon {
	width: 26px;
	height: 26px;
}

.menu-search-card input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.menu-category-mobile, .menu-reset-icon {
	display: none;
}

@media screen and (max-width: 1166px) {
	.booking-confirm-card .booking-confirm-details {
		grid-template-areas: "name" "email" "phone" "guests" "datetime" "table";
	}

	.auth-consent .auth-document-button {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.auth-consent .auth-document-button svg {
		width: 26px;
		height: 26px;
	}

	.auth-consent {
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 790px) {
	.storage-notice:not([hidden]) {
		display: block !important;
		width: calc(100% - 24px);
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-height: 60dvh;
		overflow: auto;
	}

	.menu-sticker-slot {
		width: 92px;
	}

	.menu-sticker-left {
		left: 0;
	}

	.menu-sticker-right {
		right: 0;
	}

	.menu-category-filter > .menu-category-button {
		display: none;
	}

	.menu-category-mobile {
		display: block;
		position: relative;
		flex: 1;
		min-width: 0;
	}

	.menu-category-mobile summary {
		cursor: pointer;
		list-style: none;
	}

	.menu-category-mobile .menu-sort-options {
		display: grid;
	}

	.menu-category-mobile:not([open]) .menu-sort-options {
		display: none;
	}

	.menu-reset-button {
		padding: 6px;
		flex-shrink: 0;
	}

	.menu-reset-label {
		display: none;
	}

	.menu-reset-icon {
		display: block;
	}
}

@media screen and (min-width: 791px) and (max-width: 1166px) {
	.hero-decorations .sticker-glasses {
		left: 0;
		top: 1%;
	}

	.hero-decorations .sticker-crown {
		right: 1%;
		top: -3%;
	}

	.hero-decorations .sticker-snack {
		left: 0;
		bottom: -8px;
	}

	.hero-decorations .sticker-vilian {
		right: -4px;
		bottom: 3%;
	}

	.hero-decorations .sticker-space {
		width: 95px;
	}

	.hero-decorations .sticker-heart {
		width: 92px;
		bottom: -8px;
	}

	.hero-decorations .sticker-glhfdd {
		right: 4px;
	}
}

main:has(.menu-category-mobile[open]) {
	position: relative;
	z-index: 4;
}

.menu-search-clear:hover, .menu-search-clear.is-touch-pressed {
	color: #5000fc;
}

/* Переходы на устройствах с касанием. */

@media (pointer: coarse) {
	button, a, summary {
		transition-duration: 120ms;
	}

	/* Сохранять трансформации позиционирования и ориентации столов. */

	.quantity-control button:active {
		border-width: 2px;
	}
}

/* Общие положения элементов и компактные согласия. */

.floating-cart {
	left: 20px;
	right: auto;
}

.menu-search-clear svg {
	translate: 2px 2px;
}

@media screen and (max-width: 790px) {
	.menu-category-mobile summary {
		border: 0;
		border-radius: 0;
	}

	.menu-category-mobile .menu-sort-options[hidden] {
		display: none;
	}

	.auth-form .auth-consent, .review-composer .auth-consent {
		display: grid;
		grid-template-columns: 18px minmax(0,1fr) 30px 30px;
		align-items: center;
		gap: 6px;
		width: 100%;
	}

	.auth-form .auth-consent input, .review-composer .auth-consent input {
		width: 18px;
		height: 18px;
		margin: 0;
	}

	.auth-form .auth-consent-label, .review-composer .auth-consent-label {
		min-width: 0;
		margin: 0;
		overflow-wrap: anywhere;
	}

	.auth-consent .auth-document-button {
		width: 30px;
		height: 30px;
		min-width: 0;
		padding: 0;
	}

	.auth-consent .auth-document-button svg {
		width: 22px;
		height: 22px;
	}

	.app-view[data-route="verification"] {
		padding-block: 16px;
	}

	.app-view[data-route="verification"] .auth-page {
		padding-block: 0;
		min-height: 0;
	}
}

@media screen and (min-width: 791px) and (max-width: 1366px) {
	.app-view .hero {
		padding-block: clamp(56px, calc(113px - 4.17vw), 80px);
	}

	.hero-copy {
		width: min(72%,720px);
		margin-inline: auto;
	}

	.hero-decorations .hero-sticker-slot {
		width: clamp(150px,16.84vw,230px);
	}

	.hero-decorations .sticker-hello {
		left: 16%;
		top: -13%;
	}

	.hero-decorations .sticker-glasses {
		width: clamp(180px,19.77vw,270px);
		left: -2%;
		top: -15%;
	}

	.hero-decorations .sticker-crown {
		left: 91%;
		right: auto;
		top: -13%;
	}

	.hero-decorations .sticker-space {
		width: clamp(110px,12.45vw,170px);
		left: 12%;
		top: 48%;
	}

	.hero-decorations .sticker-glhfdd {
		left: 77%;
		right: auto;
		top: 20%;
	}

	.hero-decorations .sticker-snack {
		top: 65%;
		bottom: auto;
	}

	.hero-decorations .sticker-heart {
		width: clamp(110px,12.45vw,170px);
		left: 70%;
		top: 77%;
		bottom: auto;
	}

	.hero-decorations .sticker-vilian {
		width: clamp(175px,18.3vw,250px);
		left: 89%;
		right: auto;
		top: 58%;
		bottom: auto;
	}
}

@media screen and (max-width: 790px) {
	.menu-category-mobile {
		background: #fff;
		border: 1px solid #00000020;
		border-radius: 18px;
		box-shadow: 0 6px 18px #00000012;
	}

	.menu-category-mobile summary {
		padding: 0 16px;
	}

	.menu-category-mobile.is-dropdown-animating .menu-sort-options {
		overflow: hidden;
	}
}

/* Текущий пункт аккаунта и отклик интерактивных элементов. */

.account-panel a[aria-current="page"],
.account-panel a[aria-current="page"]:hover,
.account-panel a[aria-current="page"]:active,
.account-panel a[aria-current="page"].is-touch-pressed {
	background: #101010;
	color: #a9ff00;
	border-left: 3px solid #a9ff00;
	border-right: 3px solid #a9ff00;
}

.has-touch-feedback {
	transition-property: color, background-color, border-color, box-shadow, transform;
	transition-duration: 90ms !important;
	transition-timing-function: ease-out;
}

@media screen and (max-width: 790px) {
	.menu-category-filter {
		align-items: center;
	}

	.menu-reset-button {
		width: 56px;
		height: 56px;
		border: 1px solid #00000020;
		border-radius: 18px;
		box-shadow: 0 6px 18px #00000012;
	}

	.menu-reset-button:not([hidden]) {
		display: grid;
		place-items: center;
	}
}

/* Плавная композиция стикеров между 791 и 1366 px. */

@media screen and (min-width: 791px) and (max-width: 1366px) {
	.hero-decorations .sticker-snack {
		left: -3%;
		top: calc(65% + 35% * var(--hero-tablet-weight, 0));
		translate: calc(-7.5% * var(--hero-tablet-weight, 0)) calc((-45% + 10px) * var(--hero-tablet-weight, 0));
	}

	.hero-decorations .sticker-space {
		translate: calc(-15% * var(--hero-tablet-weight, 0)) calc(-15% * var(--hero-tablet-weight, 0));
	}

	.hero-decorations .sticker-glasses {
		translate: calc(-12.5% * var(--hero-tablet-weight, 0)) calc(10% * var(--hero-tablet-weight, 0));
	}

	.hero-decorations .sticker-heart {
		top: calc(77% + 23% * var(--hero-tablet-weight, 0));
		translate: 0 calc((-45% + 10px) * var(--hero-tablet-weight, 0));
	}

	.hero-decorations .sticker-crown {
		left: calc(91% - 10px * var(--hero-tablet-weight, 0));
		top: calc(-13% + 10px * var(--hero-tablet-weight, 0));
	}
}

@media screen and (max-width: 1166px) {
	/* Подтверждение — соседняя секция booking-page. */

	#booking-confirm-step {
		width: min(calc(100% - 40px), 700px);
		margin-inline: auto !important;
	}
}

@media (pointer: coarse) {
	.profile-icon-button.is-touch-pressed {
		transform: translateY(-50%);
	}
}

/* Размеры стикеров с учётом специфичности планшетных правил. */

@media screen and (min-width: 791px) and (max-width: 1366px) {
	.hero-decorations .sticker-crown,
	.hero-decorations .sticker-snack {
		width: clamp(150px,16.84vw,230px);
	}
}
