/* Скрыть блок «Скачайте наше приложение» над подвалом */
div:has(> p):has(a[href*="apps.apple.com/ru/app/kepi"]),
div:has(> a[href*="apps.apple.com/ru/app/kepi"]) {
	display: none !important;
}

/* Скрыть умный фильтр в каталоге */
.bx_filter,
.filter-panel__filter,
#mobilefilter {
	display: none !important;
}

/* Скрыть артикул в списке и на карточке блюда */
span.article,
.line-block__item:has(span.article) {
	display: none !important;
}

/* «Поделиться»: показ по наведению + мостик, чтобы попап не пропадал по дороге к иконкам */
.share:hover .ya-share2,
.share:hover .hover-block__item-wrapper {
	display: block !important;
}
.share .shares-block .ya-share2:before {
	content: "";
	display: block;
	position: absolute;
	left: -20px;
	right: -20px;
	height: 28px;
	top: auto;
	bottom: 100%;
}
.share.bottom .shares-block .ya-share2:before {
	bottom: auto;
	top: 100%;
}
body .share .ya-share2{
    top: 23px;
}

/* AWZ cookie (awz.cookiessett) — в цветах сайта, текст шире, кнопки справа */
.awz_cookies_sett__message {
	font-family: Montserrat, Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	max-width: 640px !important;
	width: calc(100% - 24px) !important;
	border-radius: 8px !important;
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16) !important;
	padding: 18px 20px !important;
	box-sizing: border-box;
}
.awz_cookies_sett__row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px !important;
	flex-wrap: nowrap !important;
}
.awz_cookies_sett__col__left,
.awz_cookies_sett__message .awz_cookies_sett__col__left {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	padding: 0 !important;
}
.awz_cookies_sett__col__right,
.awz_cookies_sett__message .awz_cookies_sett__col__right {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
	margin-left: auto !important;
}
.awz_cookies_sett__bg1 {
	background: #fff !important;
}
.awz_cookies_sett__color2 {
	color: #333 !important;
}
a.awz_cookies_sett__color2 {
	color: #f2722c !important;
	text-decoration: underline;
}
a.awz_cookies_sett__color2:hover {
	color: #d95f1f !important;
}
.awz_cookies_sett__bg3,
.awz_cookies_sett__message .awz_cookies_sett__bg3,
.awz_cookies_sett__bg2,
.awz_cookies_sett__message .awz_cookies_sett__bg2 {
	display: block !important;
	width: 100% !important;
	min-width: 140px !important;
	box-sizing: border-box !important;
	text-align: center !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 10px 16px !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}
.awz_cookies_sett__bg3,
.awz_cookies_sett__message .awz_cookies_sett__bg3 {
	background: #f2722c !important;
	color: #fff !important;
	border: 1px solid #f2722c !important;
}
.awz_cookies_sett__bg3:hover {
	background: #d95f1f !important;
	border-color: #d95f1f !important;
}
.awz_cookies_sett__bg2,
.awz_cookies_sett__message .awz_cookies_sett__bg2 {
	background: #fff !important;
	color: #f2722c !important;
	border: 1px solid #f2722c !important;
}
.awz_cookies_sett__bg2:hover {
	background: rgba(242, 114, 44, 0.08) !important;
}
@media (max-width: 767px) {
	.awz_cookies_sett__row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 14px !important;
	}
	.awz_cookies_sett__col__right {
		margin-left: 0 !important;
		width: 100% !important;
	}
}

/* Залы на главной (ИБ 95) */
.kepi-halls {
	padding: 72px 0 64px;
	background: #f7f6f4;
}
.kepi-halls__lead {
	margin: 0 0 14px;
	text-align: center;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 18px;
	line-height: 1.4;
	color: #8d8d8d;
}
.kepi-halls__title {
	margin: 0 0 28px;
	text-align: center;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 42px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2b2b2b;
}
.kepi-halls__tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 28px;
}
.kepi-halls__tab {
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid #2b2b2b;
	background: transparent;
	color: #2b2b2b;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
}
.kepi-halls__tab.is-active {
	background: #2b2b2b;
	color: #fff;
}
.kepi-halls__panel {
	display: none;
}
.kepi-halls__panel.is-active {
	display: block;
}
.kepi-halls__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.kepi-halls__card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4.6;
	min-height: 420px;
	overflow: hidden;
	color: #fff;
}
.kepi-halls__card,
.kepi-halls__card:hover,
.kepi-halls__card:focus,
.kepi-halls__card:hover .kepi-halls__name,
.kepi-halls__card:hover .kepi-halls__guests,
.kepi-halls__name,
.kepi-halls__guests {
	color: #fff !important;
}
.kepi-halls__photo,
.kepi-halls__shade {
	position: absolute;
	inset: 0;
}
.kepi-halls__photo {
	background: #cfc9c2 center / cover no-repeat;
	transition: transform 0.35s ease;
}
.kepi-halls__shade {
	background: rgba(0, 0, 0, 0.28);
	transition: background 0.35s ease;
}
.kepi-halls__card:hover .kepi-halls__shade {
	background: rgba(0, 0, 0, 0.5);
}
.kepi-halls__caption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 28px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.kepi-halls__name {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.kepi-halls__guests {
	max-height: 0;
	margin-top: 0;
	overflow: hidden;
	opacity: 0;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 15px;
	letter-spacing: 0.04em;
	transition: opacity 0.25s ease, max-height 0.25s ease, margin-top 0.25s ease;
}
.kepi-halls__card:hover .kepi-halls__guests,
.kepi-halls__card:focus .kepi-halls__guests {
	max-height: 28px;
	margin-top: 8px;
	opacity: 1;
}
@media (max-width: 991px) {
	.kepi-halls__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.kepi-halls__title {
		font-size: 32px;
	}
}
@media (max-width: 560px) {
	.kepi-halls {
		padding: 48px 0 40px;
	}
	.kepi-halls__grid {
		grid-template-columns: 1fr;
	}
	.kepi-halls__card {
		aspect-ratio: 3 / 4;
		min-height: 0;
	}
	.kepi-halls__guests {
		max-height: 28px;
		margin-top: 8px;
		opacity: 1;
	}
}

/* Бронь стола на главной */
.kepi-booking {
	position: relative;
	z-index: 6;
	padding: 24px 0 80px;
	background: #f7f6f4;
}
.kepi-booking__title {
	margin: 0 auto 28px;
	max-width: 1000px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.25;
	color: #3a312b;
}
.kepi-booking__card {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	margin: 0 auto;
	padding: 36px 40px 32px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(58, 49, 43, 0.06);
}
.kepi-booking__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 36px;
}
.kepi-booking__field--wide {
	grid-column: 1 / -1;
}
.kepi-booking__label {
	display: block;
	margin-bottom: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.2;
	color: #8a8178;
}
.kepi-booking__req {
	color: #9a4a32;
}
.kepi-booking__control input,
.kepi-booking__control select,
.kepi-booking__control textarea,
.kepi-booking__input {
	width: 100%;
	border: 0;
	border-bottom: 1px solid #e4ddd4;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 2px 0 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	color: #3a312b;
}
.kepi-booking__control {
	position: relative;
	display: block;
}
.kepi-booking__field[data-sid="DATE"] .kepi-booking__control input {
	padding-right: 32px;
}
.kepi-booking__field[data-sid="DATE"] .kepi-booking__control::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 8px;
	width: 22px;
	height: 22px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%239a4a32' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3.5v3M16 3.5v3'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
.kepi-booking__calendar,
.kepi-booking__field[data-sid="DATE"] .kepi-booking__control img {
	position: absolute;
	right: 0;
	bottom: 6px;
	z-index: 2;
	width: 26px !important;
	height: 26px !important;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.kepi-booking__field[data-sid="DATE"] .kepi-booking__control img {
	opacity: 0;
}
.kepi-booking__control textarea {
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding-top: 4px;
	resize: none;
	overflow: auto;
}
.kepi-booking__control select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #9a4a32 50%), linear-gradient(135deg, #9a4a32 50%, transparent 50%);
	background-position: calc(100% - 10px) 50%, calc(100% - 4px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}
.kepi-booking__field.is-error .kepi-booking__control input,
.kepi-booking__field.is-error .kepi-booking__control select,
.kepi-booking__field.is-error .kepi-booking__control textarea {
	border-bottom-color: #9a4a32;
}
.kepi-booking__licence {
	position: relative;
	z-index: 3;
	margin-top: 22px;
}
.kepi-booking__licence .licence_block {
	position: relative;
	margin-bottom: 8px;
}
.kepi-booking__licence .form-checkbox__input--visible {
	position: absolute;
	left: 0;
	top: 2px;
	z-index: 3;
	display: block !important;
	visibility: visible !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	opacity: 0;
	cursor: pointer;
	pointer-events: auto;
}
.kepi-booking__licence .form-checkbox__label,
.kepi-booking__licence .form-checkbox__box {
	cursor: pointer;
	pointer-events: auto;
}
.kepi-booking__licence .licence_block.is-error .form-checkbox__box {
	border-color: #9a4a32;
}
.kepi-booking label.error {
	position: static;
	display: block;
	margin-top: 4px;
	white-space: normal;
}
.kepi-booking__submit {
	position: relative;
	z-index: 3;
	margin-top: 18px;
	min-height: 52px;
	padding: 12px 36px;
	border: 0;
	border-radius: 999px;
	background: var(--theme-base-color, #9a4a32);
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.kepi-booking__submit:hover {
	opacity: 0.9;
	color: #fff;
}
.kepi-booking__success {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1.4;
	color: #3a312b;
}
.kepi-booking__success[hidden] {
	display: none !important;
}
.kepi-booking__error {
	margin-bottom: 16px;
	color: #9a4a32;
}
.kepi-booking__captcha {
	margin-top: 16px;
}
@media (max-width: 767px) {
	.kepi-booking {
		padding: 12px 0 48px;
	}
	.kepi-booking__title {
		font-size: 30px;
	}
	.kepi-booking__card {
		padding: 24px 18px 22px;
	}
	.kepi-booking__fields {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* Попап акции (ИБ 94): фон DETAIL_PICTURE, текст слева, PREVIEW_PICTURE справа выше текста */
.kepi-promo-open {
	overflow: hidden;
}
.kepi-promo-popup {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.kepi-promo-popup[hidden] {
	display: none !important;
}
.kepi-promo-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.kepi-promo-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 920px;
	max-height: calc(100vh - 32px);
	overflow: hidden;
	background-color: #2a2a2a;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 0 0 1px rgba(196, 149, 90, 0.55), 0 0 0 6px #1a1a1a;
}
.kepi-promo-popup__dialog--has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	pointer-events: none;
}
.kepi-promo-popup__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.kepi-promo-popup__close:hover {
	opacity: 0.7;
}
.kepi-promo-popup__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0;
	min-height: 440px;
	max-height: calc(100vh - 32px);
	padding: 48px 40px 48px 48px;
	box-sizing: border-box;
}
.kepi-promo-popup__inner--no-photo .kepi-promo-popup__content {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
}
.kepi-promo-popup__content {
	position: relative;
	z-index: 1;
	flex: 1 1 58%;
	align-self: center;
	margin-right: -56px;
	padding: 36px 88px 36px 40px;
	box-sizing: border-box;
	overflow: auto;
	max-height: calc(100vh - 160px);
	background: #fff;
}
.kepi-promo-popup__media {
	position: relative;
	z-index: 2;
	flex: 0 0 36%;
	max-width: 36%;
	align-self: stretch;
	overflow: hidden;
	background: #ddd;
	min-height: 100%;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.kepi-promo-popup__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.kepi-promo-popup__title {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: #c4955a;
	margin: 0 0 16px;
}
.kepi-promo-popup__text {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #333;
}
.kepi-promo-popup__text p {
	margin: 0 0 10px;
}
.kepi-promo-popup__text p:last-child {
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.kepi-promo-popup__dialog {
		box-shadow: 0 0 0 1px rgba(196, 149, 90, 0.45), 0 0 0 4px #1a1a1a;
	}
	.kepi-promo-popup__inner {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 0;
		min-height: 0;
		max-height: calc(100vh - 32px);
		overflow: auto;
		padding: 20px 16px 24px;
	}
	.kepi-promo-popup__media {
		flex: 0 0 auto;
		max-width: none;
		width: calc(100% - 24px);
		margin: 0 auto -28px;
		height: 260px;
		align-self: auto;
		display: none;
	}
	.kepi-promo-popup__content {
		margin-right: 0;
		padding: 40px 20px 24px;
		max-height: none;
	}
	.kepi-promo-popup__title {
		font-size: 20px;
		padding-right: 28px;
	}
	.kepi-promo-popup__close {
		color: #fff;
		top: -6px;
		right: -8px;
	}
}