/*
 * Запись на процедуру OSB (макет «Запись на процедуру»). Основа — стили страниц покупки
 * (mod_eb_purchase, mod_eb_park), своё — в разделе «Запись на процедуру» в конце файла.
 *
 * Страница покупки парка аттракционов (макет «Парк аттракционов — Покупка —
 * Desktop / Mobile»). Основа — стили страницы аквапарка (mod_eb_purchase,
 * purchase.css), своё — в разделе «Парк аттракционов» в конце файла.
 * Шрифт берётся у шаблона: страница живёт во фрейме white label.
 */
.ebp {
	--ebp-accent: #0a9cf5;
	--ebp-accent-soft: #e6f5fe;
	--ebp-orange: #ff6a00;
	--ebp-green: #16a34a;
	--ebp-green-soft: #e3f6e9;
	--ebp-text: #14171f;
	--ebp-muted: #8a909c;
	--ebp-line: #e6e8ec;
	--ebp-soft: #f5f6f8;
	/* Скругления — три уровня: основные карточки, внутренние (крупные и плитки),
	   информационные плашки. Пилюли (999px) и круги в эту систему не входят. */
	--ebp-radius: 24px;
	--ebp-radius-inner: 18px;
	--ebp-radius-tile: 16px;
	--ebp-radius-note: 12px;
	/* Тени из прототипа (Figma): карточки, «Ваш заказ», мелкие плашки. */
	--ebp-shadow: 0 8px 12px rgba(15, 23, 42, .1), 0 1px 1px rgba(15, 23, 42, .06);
	--ebp-shadow-order: 0 16px 20px rgba(15, 23, 42, .14), 0 1px 1.5px rgba(15, 23, 42, .06);
	--ebp-shadow-pill: 0 4px 6px rgba(15, 23, 42, .08), 0 1px 1px rgba(15, 23, 42, .05);
	--ebp-card-line: #e2e8f0;
	--ebp-spa-on: #00cc33;

	color: var(--ebp-text);
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
	box-sizing: border-box;
}

.ebp *,
.ebp *::before,
.ebp *::after {
	box-sizing: border-box;
}

.ebp [hidden] {
	display: none !important;
}

.ebp button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.ebp button:disabled {
	cursor: default;
}

/* Шаги вверху ------------------------------------------------------------ */
.ebp-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--ebp-line);
	font-size: 14px;
	font-weight: 500;
}

.ebp-progress__item {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	color: var(--ebp-muted);
}

/* Шаги — всегда в одну строку: черта между ними тянется и сжимается,
   до 6px на узком экране. */
.ebp-progress__item + .ebp-progress__item {
	min-width: 0;
}

.ebp-progress__item + .ebp-progress__item::before {
	content: "";
	flex: 0 1 40px;
	min-width: 6px;
	height: 2px;
	background: var(--ebp-line);
}

.ebp-progress__dot {
	flex: none;
}

.ebp-progress__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ebp-soft);
	font-size: 11px;
}

.ebp-progress__item.is-current {
	color: var(--ebp-text);
}

.ebp-progress__item.is-current .ebp-progress__dot {
	border: 1.5px solid var(--ebp-accent);
	background: #fff;
	color: var(--ebp-accent);
}

.ebp-progress__item.is-done {
	color: var(--ebp-text);
}

.ebp-progress__item.is-done::before,
.ebp-progress__item.is-current::before {
	background: var(--ebp-accent);
}

.ebp-progress__item.is-done .ebp-progress__dot {
	background: var(--ebp-accent);
	color: transparent;
	position: relative;
}

.ebp-progress__item.is-done .ebp-progress__dot::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Заголовок -------------------------------------------------------------- */
.ebp-head {
	margin-bottom: 15px;
}

.ebp-head__back {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--ebp-accent);
	font-weight: 500;
	text-decoration: none;
}

.ebp-head__back::before {
	content: "‹ ";
	font-size: 1.3em;
}

.ebp-head__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 700;
	line-height: 1.15;
}

.ebp-head__promo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 20px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-note);
	background: #fff;
	box-shadow: var(--ebp-shadow-pill);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.ebp-head__promo::before,
.ebp-order__note::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 2.5L16 4.8V9.4C16 13.2 13.5 16 10 17.5C6.5 16 4 13.2 4 9.4V4.8L10 2.5Z' stroke-width='1.8' stroke-linejoin='round' stroke='%230099FF'/%3E%3Cpath d='M7.2 10L9.2 12L13 8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' stroke='%230099FF'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Сетка ------------------------------------------------------------------ */
.ebp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 15px;
	align-items: start;
}

.ebp-steps {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-width: 0;
}

.ebp-card {
	padding: 24px;
	border: 1px solid var(--ebp-card-line);
	border-radius: var(--ebp-radius);
	background: #fff;
	box-shadow: var(--ebp-shadow);
	animation: ebp-in .25s ease-out;
}

/* Только сдвиг, без прозрачности: если анимация не проиграется (так
   бывает во фрейме), шаг всё равно виден. */
@keyframes ebp-in {
	from {
		transform: translateY(8px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ebp-card {
		animation: none;
	}
}

.ebp-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.ebp-card__head .ebp-card__title {
	margin: 0;
}

/* Подпись под заголовком, вровень с его текстом (кружок 30px + 12px). */
.ebp-card__head--stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.ebp-card__head--stack .ebp-card__aside {
	padding-left: 42px;
	font-size: 14px;
}

/* Цвет — свой: шаблон красит h2 в фирменный синий. */
.ebp h2.ebp-card__title {
	color: var(--ebp-text);
}

.ebp-card__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 700;
}

.ebp-card__aside {
	color: var(--ebp-muted);
	font-size: 13px;
}

.ebp-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ebp-accent);
	color: #fff;
	font-size: 15px;
}

.ebp-note--guests {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 14px 18px;
	font-size: 15px;
}

.ebp-note,
.ebp-hint {
	margin: 16px 0 0;
	padding: 10px 14px;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-soft);
	color: #4a505c;
	font-size: 13px;
}

.ebp-hint {
	padding: 0;
	background: none;
}

.ebp-hint--info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	font-size: 14px;
}

.ebp-hint--info::before,
.ebp-note--guests::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.3 8C14.3 11.4794 11.4793 14.3 8 14.3C4.52056 14.3 1.7 11.4794 1.7 8C1.7 4.52062 4.52056 1.7 8 1.7C11.4793 1.7 14.3 4.52062 14.3 8Z' stroke-width='1.5' stroke='%23475569'/%3E%3Cpath d='M8 7.2V11.2M8 4.8V5' stroke-width='1.6' stroke-linecap='round' stroke='%23475569'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp-message,
.ebp-error {
	margin: 16px 0 0;
	padding: 10px 14px;
	border-radius: var(--ebp-radius-note);
	background: #fff4e5;
	color: #9a4b00;
	font-size: 14px;
}

.ebp-link {
	display: inline-block;
	margin-top: 16px;
	color: var(--og-h1)!important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.ebp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: var(--ebp-accent-soft);
	font-size: 14px;
	font-weight: 600;
}

/* Иконка календаря в чипе даты, как в прототипе. */
.ebp-chip::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 4.5H14.5C15.8807 4.5 17 5.61929 17 7V14C17 15.3807 15.8807 16.5 14.5 16.5H5.5C4.11929 16.5 3 15.3807 3 14V7C3 5.61929 4.11929 4.5 5.5 4.5Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M3 8.5H17M7 2.8V5.8M13 2.8V5.8' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp-chip:empty {
	display: none;
}

.ebp-badge {
	display: inline-block;
	margin-bottom: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--ebp-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

/* Дата ------------------------------------------------------------------- */
/* «Другая дата» на десктопе стоит справа поверх ленты, дни уходят под неё;
   на телефоне — кнопкой под лентой. */
.ebp-strip {
	position: relative;
}

.ebp-dates {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 4px 96px 8px 2px;
	scrollbar-width: thin;
}

.ebp-strip__other {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 4px;
	display: flex;
	align-items: flex-start;
	padding: 4px 0 0 20px;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 20px);
}

.ebp-date {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 84px;
	padding: 4px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-tile);
	background: #fff;
	line-height: 1.1;
}

/* Day tiles of the strip, as in the prototype: weekday, number and note in one column
   centred in the tile, 2px apart. The note keeps its line when empty, so the numbers of
   all tiles stand level.
   Плитки ленты, как в прототипе: день недели, число и подпись одной колонкой по центру
   плитки, через 2px. Пустая подпись держит свою строку — числа всех плиток на одном уровне. */
.ebp-dates .ebp-date {
	gap: 2px;
	padding: 0 4px;
}

/* The site template capitalises button text («Праздник», «Другая Дата»); the tiles keep
   the text as written.
   Шаблон сайта пишет текст кнопок с заглавной; в плитках — как написано. */
.ebp .ebp-date,
.ebp .ebp-date * {
	text-transform: none;
}

.ebp-date__weekday {
	color: var(--ebp-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.15;
	/* В прототипе день недели строчными («вт»). */
	text-transform: lowercase !important;
}

.ebp-date__day {
	font-size: 24px;
	font-weight: 700;
}

.ebp-date__note {
	min-height: 1.15em;
	color: #475569;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.15;
}

.ebp-date--weekend .ebp-date__weekday,
.ebp-date--weekend .ebp-date__day,
.ebp-date--holiday .ebp-date__weekday,
.ebp-date--holiday .ebp-date__day,
.ebp-date--holiday .ebp-date__note {
	color: var(--ebp-orange);
}

.ebp-date:disabled {
	opacity: .4;
}

.ebp-date--closed .ebp-date__day {
	text-decoration: line-through;
}

.ebp-date.is-selected {
	border-color: var(--ebp-accent);
	background: var(--ebp-accent);
	box-shadow: 0 8px 18px rgba(0, 153, 255, .3);
}

.ebp-date.is-selected * {
	color: #fff !important;
}

.ebp-date--other {
	width: 76px;
	border: 2px solid var(--ebp-accent);
	background: transparent;
	color: var(--ebp-accent);
	font-size: 11px;
	font-weight: 600;
	text-align: center;
}

.ebp-date--other .ebp-date__label {
	color: var(--ebp-accent);
	font-size: 11px;
	line-height: 1.2;
}

.ebp-date__icon {
	width: 20px;
	height: 20px;
	margin-bottom: 4px;
	background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 4.5H14.5C15.8807 4.5 17 5.61929 17 7V14C17 15.3807 15.8807 16.5 14.5 16.5H5.5C4.11929 16.5 3 15.3807 3 14V7C3 5.61929 4.11929 4.5 5.5 4.5Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M3 8.5H17M7 2.8V5.8M13 2.8V5.8' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	color: #4a505c;
	font-size: 12px;
}

.ebp-legend__item::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--ebp-text);
	vertical-align: middle;
}

.ebp-legend__item--weekend::before {
	background: var(--ebp-orange);
}

.ebp-legend__item--closed::before {
	background: #b6bac3;
}

/* Календарь «Другая дата» ------------------------------------------------- */
.ebp-calendar {
	position: relative;
	margin-top: 16px;
	padding: 20px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
}

.ebp-calendar__head {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	gap: 6px;
}

.ebp-calendar__nav,
.ebp-calendar__close {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: var(--ebp-soft);
	font-size: 18px;
	line-height: 1;
}

.ebp-calendar__nav--prev::before {
	content: "‹";
}

.ebp-calendar__nav--next::before {
	content: "›";
}

.ebp-calendar__close::before {
	content: "×";
}

.ebp-calendar__nav:disabled {
	opacity: .35;
}

.ebp-calendar__months {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.ebp-month__title {
	margin-bottom: 10px;
	font-weight: 700;
	text-transform: capitalize;
}

.ebp-month__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.ebp-month__weekday {
	color: var(--ebp-muted);
	font-size: 11px;
}

.ebp-month__weekday.is-weekend {
	color: var(--ebp-orange);
}

.ebp-month__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 40px;
	border: 1px solid transparent;
	border-radius: var(--ebp-radius-note);
	background: none;
	font-weight: 500;
}

.ebp-month__day small {
	font-size: 8px;
	color: var(--ebp-muted);
}

.ebp-month__day--weekend,
.ebp-month__day--holiday {
	color: var(--ebp-orange) !important;
}

.ebp-month__day:disabled {
	color: #c4c8cf !important;
}

.ebp-month__day--closed {
	background: var(--ebp-soft);
	text-decoration: line-through;
}

.ebp-month__day.is-today {
	border-color: var(--ebp-accent);
}

.ebp-month__day.is-selected {
	background: var(--ebp-accent);
	color: #fff !important;
}

/* Гости ------------------------------------------------------------------ */
.ebp-guest {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ebp-line);
}

.ebp-guest:first-child {
	padding-top: 0;
}

.ebp-guest__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ebp-guest__title {
	font-size: 17px;
	font-weight: 600;
}

.ebp-guest__desc {
	color: var(--ebp-muted);
	font-size: 13px;
}

.ebp-guest--note {
	align-items: center;
}

.ebp-guest__note-title {
	color: #4a505c;
	font-size: 15px;
}

/* «бесплатно» — голубая плашка на месте счётчика. */
.ebp-guest__free {
	flex: none;
	min-width: 128px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ebp-accent-soft);
	color: var(--ebp-accent);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.ebp-guest--free .ebp-guest__desc {
	color: var(--ebp-green);
}

.ebp-counter {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px;
	border-radius: 999px;
	background: var(--ebp-soft);
}

.ebp-counter__btn {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(15, 23, 41, .1);
	color: var(--ebp-accent) !important;
}

/* «−» и «+» рисуем полосками, а текст кнопки прячем. Знаки шрифтом на
   iPhone стояли не по центру: Safari даёт кнопке свой padding, а в системном
   шрифте iOS эти знаки сидят ниже середины строки (то же в mod_eb_purchase).
   EN: Signs are drawn with bars: as glyphs they sat off-centre on iPhone. */
.ebp .ebp-counter__btn {
	position: relative;
	flex: 0 0 40px;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	font-size: 0;
	line-height: 0;
	color: transparent !important;
}

.ebp-counter__btn::before,
.ebp-counter__btn--plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	margin: -1px 0 0 -7px;
	border-radius: 1px;
	background: var(--ebp-accent);
}

.ebp-counter__btn--plus::after {
	transform: rotate(90deg);
}

/* Шаг «Сколько»: одна строка счётчика, без разделителя снизу. */
.osbb-qty.ebp-guest {
	padding: 0;
	border-bottom: 0;
}

.ebp-counter__btn:disabled {
	opacity: .35;
}

.ebp-counter__value {
	min-width: 20px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}

/* Льготы: текст из настроек (редактор). «Кому положены льготы» —
   span.lgot, всё ниже него раскрывается (bindBenefit). */
.ebp-benefit {
	margin-top: 24px;
	color: var(--ebp-text);
	font-size: 15px;
}

.ebp-benefit h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
}

.ebp-benefit > p {
	margin: 0 0 14px;
	color: var(--ebp-muted);
}

.ebp-benefit table {
	width: auto;
	margin: 0 0 16px;
	border: 0;
	border-collapse: collapse;
}

.ebp-benefit td {
	padding: 0 22px 2px;
	border: 0;
	border-left: 1px solid var(--ebp-line);
	background: none;
	color: var(--ebp-muted);
	white-space: nowrap;
}

.ebp-benefit td:first-child {
	padding-left: 0;
	border-left: 0;
}

.ebp-benefit tr + tr td {
	padding-top: 4px;
	color: var(--ebp-text);
	font-size: 17px;
	font-weight: 700;
}

.ebp-benefit > .ebp-benefit__toggle {
	position: relative;
	margin: 0;
	padding: 16px 30px 4px 0;
	border-top: 1px solid var(--ebp-line);
	cursor: pointer;
}

.ebp-benefit__toggle::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 20px;
	width: 9px;
	height: 9px;
	border: solid var(--ebp-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform .15s;
}

.ebp-benefit__toggle.is-open::after {
	top: 25px;
	transform: rotate(-135deg);
}

.lgot {
	color: var(--ebp-accent);
	font-size: 17px;
	font-weight: 600;
}

.ebp-benefit__more {
	padding-top: 10px;
}

.ebp-benefit__more ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebp-benefit__more li {
	padding: 14px 0;
	border-bottom: 1px solid var(--ebp-line);
	color: var(--ebp-muted);
}

.ebp-benefit__more li:last-child {
	border-bottom: 0;
}

.ebp-benefit__more li strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ebp-text);
	font-size: 16px;
}

.ebp-benefit__more .lgot-warn {
	display: block;
	margin-top: 4px;
	color: #c2410c;
	font-weight: 600;
}

.ebp-benefit__more .lgot-note {
	margin: 12px 0 0;
	color: var(--ebp-muted);
	font-size: 13px;
}

/* Разделы-аккордеоны в тексте о льготах: «С вами именинник?»,
   «Льготное посещение аквапарка». */
.ebp-benefit .ebp-acc {
	border-top: 1px solid var(--ebp-line);
}

.ebp-benefit .ebp-acc:last-of-type {
	border-bottom: 1px solid var(--ebp-line);
}

.ebp-acc__head {
	position: relative;
	padding: 11px 36px 11px 0;
	cursor: pointer;
}

.ebp-acc__head::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -8px;
	border: solid var(--ebp-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform .15s;
}

.ebp-acc.is-open .ebp-acc__head::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.ebp .ebp-benefit .ebp-acc__head h3 {
	margin: 0;
	color: var(--ebp-accent);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.ebp .ebp-benefit .ebp-acc__head p {
	margin: 4px 0 0;
	color: var(--ebp-muted);
	font-size: 15px;
	margin-top: -5px;
}

.ebp-acc.is-open .ebp-acc__head p {
	display: none;
}

.ebp-acc__body {
	padding: 0 0 22px;
	color: var(--ebp-text);
	font-size: 15px;
}

.ebp-acc__body h4 {
	margin: 0 0 8px;
	color: var(--ebp-text);
	font-size: 16px;
	font-weight: 700;
}

.ebp-acc__body h4:not(:first-child) {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--ebp-line);
}

.ebp-acc__body p {
	margin: 0;
	color: #4a505c;
	line-height: 1.5;
}

/* Подарки имениннику: карточки с «или» между ними. */
.ebp-benefit .lgot-gift {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
	background: var(--ebp-soft);
	line-height: 1.45;
}

.ebp-benefit .lgot-gift::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: center / contain no-repeat;
	font-size: 22px;
	line-height: 24px;
	text-align: center;
}

.ebp-benefit .lgot-gift--spa::before {
	background-image: url("data:image/svg+xml,%3Csvg width='31' height='31' viewBox='0 0 31 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.9336 25.3333C11.7094 25.3401 9.5639 24.5106 7.92264 23.0095C6.28137 21.5084 5.26422 19.4453 5.07292 17.2293C4.88161 15.0134 5.53012 12.8064 6.88984 11.0463C8.24955 9.28608 10.2211 8.10121 12.4136 7.72666C19.6336 6.33332 21.5336 5.67466 24.0669 2.53333C25.3336 5.06666 26.6002 7.82799 26.6002 12.6667C26.6002 19.6333 20.5456 25.3333 13.9336 25.3333Z' stroke-width='2.28' stroke-linecap='round' stroke-linejoin='round' stroke='%23009926'/%3E%3Cpath d='M2.5332 26.6C2.5332 22.8 4.87654 19.8106 8.96787 19C12.0332 18.392 15.1999 16.4666 16.4665 15.2' stroke-width='2.28' stroke-linecap='round' stroke-linejoin='round' stroke='%23009926'/%3E%3C/svg%3E");
}

.ebp-benefit .lgot-gift--cake::before {
	content: "🍰";
}

.ebp-benefit .lgot-or {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 6px 0;
	font-weight: 700;
}

.ebp-benefit .lgot-or::before,
.ebp-benefit .lgot-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ebp-line);
}

/* «Только в кассе аквапарка» — жёлтая плашка с иконкой документа. */
.ebp-benefit .lgot-cash {
	position: relative;
	margin: 0 0 16px;
	padding: 18px 20px 18px 54px;
	border-radius: var(--ebp-radius-inner);
	background: #fff8dd;
}

.ebp-benefit .lgot-cash::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 20px;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 2.5H6C5.17 2.5 4.5 3.17 4.5 4V16C4.5 16.83 5.17 17.5 6 17.5H14C14.83 17.5 15.5 16.83 15.5 16V6.5L11.5 2.5Z' stroke='%23E07A1F' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M11.5 2.5V6.5H15.5M7.5 10H12.5M7.5 13H12.5' stroke='%23E07A1F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp-benefit .lgot-cash strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
}

/* «Кому положены льготы» — список категорий и серая плашка под ним. */
.ebp-acc__body h4.lgot-title {
	margin: 24px 0 0;
	padding: 0 0 10px;
	border-top: 0;
	border-bottom: 1px solid var(--ebp-line);
	font-size: 18px;
}

.ebp-benefit .lgot-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebp-benefit .lgot-list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--ebp-line);
	color: #4a505c;
}

.ebp-benefit .lgot-list li:last-child {
	border-bottom: 0;
}

.ebp-benefit .lgot-list li strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ebp-text);
	font-size: 16px;
	font-weight: 600;
}

.ebp-benefit .lgot-box {
	padding: 14px 20px;
	border-radius: var(--ebp-radius-inner);
	background: var(--ebp-soft);
}

.ebp-acc__body .lgot-box .lgot-warn {
	color: #c2410c;
	font-weight: 600;
}

.ebp-acc__body .lgot-box .lgot-note {
	margin-top: 6px;
	color: #4a505c;
	font-size: 13px;
}

/* Льготные цены: вкладки «Будни / Выходные» и таблица по тарифам
   (разметка Bootstrap из настроек). */
.ebp-benefit .nav-pills {
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 4px;
	border-radius: var(--ebp-radius-tile);
	background: var(--ebp-soft);
	list-style: none;
}

.ebp-benefit .nav-pills .nav-item {
	flex: 1 1 0;
}

.ebp .ebp-benefit .nav-pills .nav-link {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: var(--ebp-radius-note);
	background: none;
	color: #4a505c;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.ebp .ebp-benefit .nav-pills .nav-link.active {
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 23, 31, .08);
	color: var(--ebp-accent);
}

.ebp-benefit .tab-content > .tab-pane {
	display: none;
}

.ebp-benefit .tab-content > .tab-pane.active {
	display: block;
	opacity: 1;
}

.ebp-benefit .lgot-table {
	margin: 0 0 16px;
	overflow: hidden;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-tile);
}

.ebp-benefit table.lgot-prices {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.ebp-benefit .lgot-prices th,
.ebp-benefit .lgot-prices td {
	padding: 14px 16px;
	border: 0;
	border-top: 1px solid var(--ebp-line);
	background: none;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}

.ebp-benefit .lgot-prices thead th {
	border-top: 0;
	background: var(--ebp-soft);
	color: #4a505c;
	font-size: 14px;
	font-weight: 600;
	vertical-align: top;
}

.ebp-benefit .lgot-prices thead small {
	display: block;
	margin-top: 2px;
	color: var(--ebp-muted);
	font-size: 12px;
	font-weight: 400;
}

.ebp-benefit .lgot-prices tbody th {
	color: var(--ebp-text);
	font-size: 14px;
	font-weight: 500;
}

.ebp-benefit .lgot-prices tbody td {
	color: var(--ebp-text);
	font-size: 18px;
	font-weight: 700;
}

@media (max-width: 600px) {
	.ebp-benefit .lgot-prices th,
	.ebp-benefit .lgot-prices td {
		padding: 12px 10px;
	}

	.ebp-benefit .lgot-prices tbody td {
		font-size: 16px;
	}
}

/* «С вами именинник?» — карточка в тексте о льготах, не сворачивается. */
.ebp-benefit .ebp-birthday {
	margin: 16px 0;
	padding: 14px 18px;
	border: 1px solid #fde7a6;
	border-radius: var(--ebp-radius-inner);
	background: #fffaeb;
}

.ebp-birthday h4 {
	margin: 0 0 4px;
	color: var(--ebp-text);
	font-size: 16px;
	font-weight: 700;
}

.ebp-birthday p {
	margin: 0;
	color: #4a505c;
	font-size: 14px;
}

/* Тарифы ----------------------------------------------------------------- */
.ebp-tariffs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.ebp-tariff {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 22px 18px 20px;
	border: 2px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
	background: #fff;
	text-align: left;
}

.ebp-tariff::after {
	content: "";
	position: absolute;
	top: 22px;
	right: 18px;
	width: 24px;
	height: 24px;
	border: 2px solid #c9cdd4;
	border-radius: 50%;
}

.ebp-tariff.is-selected {
	border-color: var(--ebp-accent);
	background: linear-gradient(135deg, #f1f9ff, #fff);
	box-shadow: 0 10px 14px rgba(15, 23, 41, .1);
}

.ebp-tariff.is-selected::after {
	border: 0;
	background: var(--ebp-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.ebp-tariff:disabled {
	opacity: .45;
}

.ebp-tariff__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	padding-right: 32px;
}

.ebp-tariff__badge {
	position: absolute;
	top: -13px;
	left: 20px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ebp-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.ebp-tariff__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
}

.ebp-tariff__online {
	color: var(--ebp-accent);
	font-size: 15px;
	font-weight: 600;
}

.ebp-tariff__types {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: baseline;
	gap: 0 8px;
	align-self: stretch;
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ebp-line);
}

.ebp-tariff__type,
.ebp-tariff__type-price {
	display: contents;
}

/* Подписи столбцов цен: «в кассе» серым, «онлайн» голубым. */
.ebp-tariff__col {
	margin-top: 10px;
	padding-bottom: 2px;
	color: var(--ebp-muted);
	font-size: 13px;
	text-align: right;
	text-transform: lowercase;
	white-space: nowrap;
}

.ebp-tariff__col--online {
	color: var(--ebp-accent);
	font-weight: 700;
}

.ebp-tariff__type-title {
	color: #4a505c;
	font-size: 14px;
}

.ebp-tariff__type-price s {
	color: var(--ebp-muted);
	font-size: 14px;
	text-align: right;
}

.ebp-tariff__type-price strong {
	font-size: 18px;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

/* «за час от …» — голубая плашка с часами. */
.ebp-tariff__hour {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: #eaf4fd;
	color: #4a505c;
	font-size: 14px;
	font-weight: 500;
}

.ebp-tariff__hour::before {
	content: "";
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6.75' stroke='%234A505C' stroke-width='1.5'/%3E%3Cpath d='M9 5.5V9L11.25 10.5' stroke='%234A505C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp-tariff__full {
	color: #b42318;
	font-size: 12px;
}

/* Время ------------------------------------------------------------------ */
.ebp-times {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ebp-time {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	height: 56px;
	padding: 0 16px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-tile);
	background: #fff;
	font-size: 17px;
	font-weight: 700;
}

.ebp-time small {
	color: var(--ebp-muted);
	font-size: 11px;
	font-weight: 500;
}

.ebp-time.is-selected {
	border-color: var(--ebp-accent);
	background: var(--ebp-accent);
	color: #fff !important;
	box-shadow: 0 6px 7px rgba(0, 153, 255, .28);
}

.ebp-time.is-selected small {
	color: rgba(255, 255, 255, .8);
}

.ebp-time:disabled {
	opacity: .45;
}

/* СПА -------------------------------------------------------------------- */
.ebp-spa {
	padding: 18px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
	transition: background-color .2s, border-color .2s, box-shadow .2s;
}

/* СПА подключено — блок зеленеет, как в прототипе (рамка 1.5px: 1px + тень 0.5px внутрь,
   чтобы содержимое не сдвигалось). */
.ebp-spa.is-on {
	border-color: var(--ebp-spa-on);
	background: #e6f9ec;
	box-shadow: inset 0 0 0 .5px var(--ebp-spa-on);
}

.ebp-spa.is-on .ebp-switch:checked {
	background: var(--ebp-spa-on);
}


.ebp-spa__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	cursor: pointer;
}

.ebp-spa__icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: var(--ebp-radius-note);
	background: url("data:image/svg+xml,%3Csvg width='31' height='31' viewBox='0 0 31 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.9336 25.3333C11.7094 25.3401 9.5639 24.5106 7.92264 23.0095C6.28137 21.5084 5.26422 19.4453 5.07292 17.2293C4.88161 15.0134 5.53012 12.8064 6.88984 11.0463C8.24955 9.28608 10.2211 8.10121 12.4136 7.72666C19.6336 6.33332 21.5336 5.67466 24.0669 2.53333C25.3336 5.06666 26.6002 7.82799 26.6002 12.6667C26.6002 19.6333 20.5456 25.3333 13.9336 25.3333Z' stroke-width='2.28' stroke-linecap='round' stroke-linejoin='round' stroke='%23009926'/%3E%3Cpath d='M2.5332 26.6C2.5332 22.8 4.87654 19.8106 8.96787 19C12.0332 18.392 15.1999 16.4666 16.4665 15.2' stroke-width='2.28' stroke-linecap='round' stroke-linejoin='round' stroke='%23009926'/%3E%3C/svg%3E") center / 30px no-repeat, linear-gradient(135deg, #dcf5e3, #e3f1fd);
}

.ebp-spa__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
}

.ebp-spa__desc {
	color: #4a505c;
	font-size: 14px;
	line-height: 1.4;
}

.ebp-switch {
	appearance: none;
	position: relative;
	flex: none;
	width: 46px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: #dfe2e7;
	cursor: pointer;
	transition: background .15s;
}

.ebp-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transition: transform .15s;
}

.ebp-switch:checked {
	background: var(--ebp-accent);
}

.ebp-switch:checked::after {
	transform: translateX(20px);
}

.ebp-spa__prices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.ebp-spa__price {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-soft);
	color: var(--ebp-muted);
	font-size: 11px;
}

.ebp-spa__price.is-main {
	border: 2px solid var(--ebp-accent);
	background: #fff;
}

.ebp-spa__price-label {
	text-align: center;
}

.ebp-spa__price-label-short {
	display: none;
}

.ebp-spa__price.is-main .ebp-spa__price-label {
	color: var(--ebp-accent);
	font-weight: 600;
}

.ebp-spa__price-value {
	font-size: 18px;
	font-weight: 700;
}

.ebp-spa__price.is-main .ebp-spa__price-value {
	color: var(--ebp-text);
}




/* Контакты --------------------------------------------------------------- */
/* Разметку полей рисует EB (row form-group, col-md-3, eb-form-control…):
   приводим её к макету — подпись над полем, две колонки. */
.ebp-contacts__main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}

.ebp-contacts__legal {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

.ebp-contacts .ebp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.ebp-contacts .ebp-field > [class*="col-"] {
	flex: none;
	width: 100%;
	max-width: none;
	padding: 0;
}

.ebp-contacts .ebp-field label {
	margin: 0;
	font-weight: 500;
}

.ebp-contacts .ebp-field .star {
	color: #d92d20;
}

.ebp-contacts input[type="text"],
.ebp-contacts input[type="tel"],
.ebp-contacts input[type="email"],
.ebp-contacts input[type="number"],
.ebp-contacts input[type="date"],
.ebp-contacts select,
.ebp-contacts textarea {
	width: 100%;
	max-width: none;
	height: 48px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-soft);
	box-shadow: none;
	font: inherit;
	font-weight: 400;
}

.ebp-contacts textarea {
	height: auto;
	min-height: 96px;
	padding: 12px 14px;
}

.ebp-contacts input:focus,
.ebp-contacts select:focus,
.ebp-contacts textarea:focus {
	border-color: var(--ebp-accent);
	background: #fff;
	outline: none;
}

/* Флажки и переключатели: согласия — без подписи-заголовка, только текст
   у флажка, как в шаблоне сайта. */
.ebp-contacts fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.ebp-contacts fieldset .row {
	margin: 0;
}

.ebp-contacts fieldset [class*="col-"],
.ebp-contacts fieldset [class*="span"] {
	width: 100%;
	padding: 0;
}

.ebp-contacts label.checkbox,
.ebp-contacts label.radio {
	position: relative;
	display: block;
	padding-left: 30px;
	color: #4a505c;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

.ebp-contacts label.checkbox input,
.ebp-contacts label.radio input {
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ebp-accent);
}

.ebp-contacts__legal .form-control-label,
.ebp-contacts__legal .control-label {
	display: none;
}

.ebp-contacts .formError,
.ebp-contacts .eb-field-description:empty {
	display: none;
}

.ebp-field__error {
	display: block;
	margin-top: 4px;
	color: #d92d20;
	font-size: 12px;
	font-weight: 400;
}

.ebp-field__error:empty {
	display: none;
}

.ebp-field.has-error input:not([type="checkbox"]):not([type="radio"]),
.ebp-field.has-error select,
.ebp-field.has-error textarea {
	border-color: #f04438;
	background: #fff5f4;
}

.ebp-field.has-error label.checkbox,
.ebp-field.has-error label.radio {
	color: #d92d20;
}

/* Ваш заказ -------------------------------------------------------------- */
/* К верху экрана блок держит purchase.js (bindOrder): sticky во фрейме
   с автовысотой не работает. */
.ebp-order {
	position: relative;
	padding: 24px;
	border: 1px solid var(--ebp-card-line);
	border-radius: var(--ebp-radius);
	background: #fff;
	box-shadow: var(--ebp-shadow-order);
}

.ebp-order__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
}

.ebp-order__facts {
	margin: 0;
	padding: 0 0 14px;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
}

.ebp-fact {
	position: relative;
	padding: 3px 0 3px 30px;
}

.ebp-fact::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	background: no-repeat center / contain;
}

/* Иконки из макета. */
.ebp-fact--date::before {
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 4.5H14.5C15.8807 4.5 17 5.61929 17 7V14C17 15.3807 15.8807 16.5 14.5 16.5H5.5C4.11929 16.5 3 15.3807 3 14V7C3 5.61929 4.11929 4.5 5.5 4.5Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M3 8.5H17M7 2.8V5.8M13 2.8V5.8' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E");
}

.ebp-fact--time::before {
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1998 10C17.1998 13.9765 13.9763 17.2 9.9998 17.2C6.02335 17.2 2.7998 13.9765 2.7998 10C2.7998 6.02355 6.02335 2.8 9.9998 2.8C13.9763 2.8 17.1998 6.02355 17.1998 10Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M10 6V10L12.7 12' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E");
}

.ebp-fact--guests::before {
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 7C10.5 8.65685 9.15685 10 7.5 10C5.84315 10 4.5 8.65685 4.5 7C4.5 5.34315 5.84315 4 7.5 4C9.15685 4 10.5 5.34315 10.5 7Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M2.5 16C3.1 13.2 5.1 11.7 7.5 11.7C9.9 11.7 11.9 13.2 12.5 16' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3Cpath d='M16.3002 8C16.3002 9.27025 15.2705 10.3 14.0002 10.3C12.7299 10.3 11.7002 9.27025 11.7002 8C11.7002 6.72974 12.7299 5.7 14.0002 5.7C15.2705 5.7 16.3002 6.72974 16.3002 8Z' stroke-width='1.6' stroke='%230099FF'/%3E%3Cpath d='M14.5 12.2C16.1 12.5 17.2 13.7 17.6 15.8' stroke-width='1.6' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E");
}

.ebp-order__lines,
.ebp-order__saving {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--ebp-line);
	font-size: 14px;
}

.ebp-order__lines:empty {
	display: none;
}

.ebp-order dt {
	color: #4a505c;
}

.ebp-order dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.ebp-order dd.is-muted,
.ebp-order s {
	color: var(--ebp-muted);
	font-weight: 400;
}

.ebp-order .is-good {
	color: var(--ebp-green);
}

.ebp-order__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 14px 0 18px;
	border-top: 1px solid var(--ebp-line);
	font-size: 16px;
	font-weight: 600;
}

.ebp-order__total strong {
	font-size: 32px;
}

.ebp-pay {
	width: 100%;
	height: 54px;
	border: 0;
	border-radius: 999px;
	background: var(--ebp-orange);
	box-shadow: 0 8px 10px rgba(253, 102, 2, .35);
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	transition: opacity .15s;
}

.ebp-pay:disabled {
	background: #f3b48a;
	box-shadow: none;
}

.ebp-pay.is-busy {
	opacity: .7;
}

.ebp-order__terms {
	margin-top: 12px;
	color: #4a505c;
	font-size: 12px;
	line-height: 1.4;
}

.akvapark-terms,
.privacy-policy {
	color: #09f;
	cursor: pointer;
}

/* Пока скрыто: гости и так видны в строках заказа. */
.ebp-fact.ebp-fact--guests {
	display: none;
}

.ebp-order__terms p {
	margin: 0;
}

.ebp-order__note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-accent-soft);
	font-size: 13px;
}

/* Коллективное посещение ----------------------------------------------------- */
.ebp-guest--group {
	border-bottom: 0;
}

/* «Скидка для групп»: таблица ступеней — размер группы × будни / выходные. */
.ebp-group-rates {
	margin-top: 16px;
	padding: 20px;
	border-radius: var(--ebp-radius-inner);
	background: #f1f6fc;
}

.ebp-group-rates[hidden] {
	display: none;
}

.ebp .ebp-group-rates__title {
	margin: 0;
	color: var(--ebp-text);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.ebp .ebp-group-rates__sub {
	margin: 6px 0 16px;
	color: #64748b;
	font-size: 14px;
}

.ebp .ebp-group-rates__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-radius: var(--ebp-radius-tile);
	background: #fff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
	overflow: hidden;
}

.ebp .ebp-group-rates__table th,
.ebp .ebp-group-rates__table td {
	padding: 14px 0;
	border: 0;
	border-top: 1px solid #e2e8f0;
	background: none;
	text-align: right;
	white-space: nowrap;
}

.ebp .ebp-group-rates__table tr > :first-child {
	padding-left: 20px;
	text-align: left;
}

.ebp .ebp-group-rates__table tr > :last-child {
	padding-right: 20px;
}

.ebp .ebp-group-rates__table tr > * + * {
	padding-left: 16px;
}

.ebp .ebp-group-rates__table thead th {
	border-top: 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 400;
}

.ebp .ebp-group-rates__table thead th + th {
	color: #334155;
	font-weight: 600;
}

.ebp .ebp-group-rates__table tbody th {
	color: #334155;
	font-size: 15px;
	font-weight: 400;
}

.ebp .ebp-group-rates__table td {
	color: var(--ebp-text);
	font-size: 20px;
	font-weight: 700;
}

/* «Один взрослый может сопровождать…» — плашка с иконкой людей. */
.ebp-group-rule {
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: var(--ebp-radius-note);
	background: #f8fafc;
	color: #475569;
	font-size: 15px;
	line-height: 1.4;
}

.ebp .ebp-group-rule p {
	margin: 0;
}

.ebp .ebp-group-rule__title {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--ebp-text);
	font-size: 16px;
	font-weight: 700;
}

.ebp-group-rule__title::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 7C10.5 8.65685 9.15685 10 7.5 10C5.84315 10 4.5 8.65685 4.5 7C4.5 5.34315 5.84315 4 7.5 4C9.15685 4 10.5 5.34315 10.5 7Z' stroke-width='1.5' stroke='%23475569'/%3E%3Cpath d='M2.5 16C3.1 13.2 5.1 11.7 7.5 11.7C9.9 11.7 11.9 13.2 12.5 16' stroke-width='1.5' stroke-linecap='round' stroke='%23475569'/%3E%3Cpath d='M16.3002 8C16.3002 9.27025 15.2705 10.3 14.0002 10.3C12.7299 10.3 11.7002 9.27025 11.7002 8C11.7002 6.72974 12.7299 5.7 14.0002 5.7C15.2705 5.7 16.3002 6.72974 16.3002 8Z' stroke-width='1.4' stroke='%23475569'/%3E%3Cpath d='M14.5 12.2C16.1 12.5 17.2 13.7 17.6 15.8' stroke-width='1.4' stroke-linecap='round' stroke='%23475569'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp .ebp-group-rule__line,
.ebp .ebp-group-rule__or {
	padding-left: 34px;
}

.ebp .ebp-group-rule__line + .ebp-group-rule__line {
	margin-top: 8px;
}

.ebp .ebp-group-rule__line strong {
	color: var(--ebp-text);
	font-weight: 700;
}

.ebp .ebp-group-rule__or {
	margin: 6px 0;
	color: #94a3b8;
	font-size: 13px;
}

/* «Гостей в группе: 12» в заказе видно, в отличие от строки типов билетов. */
.ebp-fact--group::before {
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 7C10.5 8.65685 9.15685 10 7.5 10C5.84315 10 4.5 8.65685 4.5 7C4.5 5.34315 5.84315 4 7.5 4C9.15685 4 10.5 5.34315 10.5 7Z' stroke-width='1.8' stroke='%230099FF'/%3E%3Cpath d='M2.5 16C3.1 13.2 5.1 11.7 7.5 11.7C9.9 11.7 11.9 13.2 12.5 16' stroke-width='1.8' stroke-linecap='round' stroke='%230099FF'/%3E%3Cpath d='M16.3002 8C16.3002 9.27025 15.2705 10.3 14.0002 10.3C12.7299 10.3 11.7002 9.27025 11.7002 8C11.7002 6.72974 12.7299 5.7 14.0002 5.7C15.2705 5.7 16.3002 6.72974 16.3002 8Z' stroke-width='1.6' stroke='%230099FF'/%3E%3Cpath d='M14.5 12.2C16.1 12.5 17.2 13.7 17.6 15.8' stroke-width='1.6' stroke-linecap='round' stroke='%230099FF'/%3E%3C/svg%3E");
}

/* Кнопка «Далее» -------------------------------------------------------------
   Место по вертикали ставит purchase.js (низ экрана, во фрейме — по экрану
   страницы вокруг). По горизонтали — середина колонки шагов. */
.ebp-next {
	position: absolute;
	left: calc((100% - 392px) / 2);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 32px);
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--ebp-accent);
	box-shadow: 0 10px 24px rgba(10, 156, 245, .35);
	transform: translateX(-50%);
	white-space: nowrap;
	cursor: pointer;
	animation: ebp-next-in .2s ease-out;
}

.ebp .ebp-next {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.ebp-next[hidden] {
	display: none;
}

.ebp-next > span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.ebp-next__arrow {
	flex: none;
	width: 18px;
	height: 18px;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
}

.ebp-next.is-up .ebp-next__arrow {
	transform: rotate(180deg);
}

.ebp-next:focus-visible {
	outline: 3px solid rgba(10, 156, 245, .4);
	outline-offset: 3px;
}

.ebp-card:focus {
	outline: none;
}

@keyframes ebp-next-in {
	from { opacity: 0; transform: translate(-50%, 8px); }
	to { opacity: 1; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.ebp-next {
		animation: none;
	}
}

/* Окно сообщения ---------------------------------------------------------- */
.ebp {
	position: relative;
}

/* In the frame of the old site: step in by the room the frame gave for shadows
   (--ebp-bleed, set by purchase.js), and leave room under the last block.
   Во фрейме старого сайта: отступ на запас под тени, который дал фрейм, и место
   под последним блоком. */
.ebp.ebp--framed {
	margin-right: var(--ebp-bleed, 0);
	margin-left: var(--ebp-bleed, 0);
	padding-bottom: 24px;
}

.ebp-dialog {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 120px;
	background: rgba(20, 23, 31, .45);
}

.ebp-dialog__box {
	width: min(440px, calc(100% - 32px));
	padding: 28px;
	border-radius: var(--ebp-radius);
	background: #fff;
	text-align: center;
}

.ebp-dialog__title {
	margin: 0 0 10px;
	font-size: 22px;
}

.ebp-dialog__text {
	margin: 0 0 20px;
	color: #4a505c;
}

.ebp-dialog__button {
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--ebp-orange);
	color: #fff !important;
	font-weight: 700;
}

.ebp.is-loading .ebp-steps {
	opacity: .6;
	pointer-events: none;
}

/* Телефон ---------------------------------------------------------------- */
@media (max-width: 900px) {
	/* minmax(0, …): иначе колонку распирает лента дат шириной в 14 дней. */
	.ebp-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Во фрейме с автовысотой «прилипать» не к чему: блок заказа идёт
	   после шагов. */
	.ebp-order {
		transform: none !important;
	}

	.ebp-progress__label {
		display: none;
	}

	/* Колонка одна — кнопка посередине модуля. */
	.ebp-next {
		left: 50%;
	}

	.ebp-progress__item.is-current .ebp-progress__label {
		display: inline;
	}
}

@media (max-width: 600px) {
	.ebp {
		padding: 12px;
	}

	.ebp-dates {
		padding-right: 2px;
	}

	.ebp-strip__other {
		position: static;
		display: block;
		padding: 8px 0 0;
		background: none;
	}

	.ebp-date--other {
		flex-direction: row;
		gap: 8px;
		width: 100%;
		height: 48px;
		border-radius: 999px;
		font-size: 14px;
	}

	.ebp-date--other .ebp-date__icon {
		margin: 0;
	}

	.ebp-date--other .ebp-date__label {
		font-size: 16px;
	}

	.ebp-card {
		padding: 18px;
	}

	.ebp-card__title {
		font-size: 19px;
	}

	.ebp-calendar__months,
	.ebp-contacts__main {
		grid-template-columns: 1fr;
	}

	.ebp-calendar__months .ebp-month + .ebp-month {
		display: none;
	}

	.ebp-tariffs {
		grid-template-columns: 1fr;
	}

	/* Одна карточка на всю ширину — содержимое крупнее, чтобы не было пусто. */
	/* Название, метка и галочка — одной строкой; метка прижата к галочке.
	   Галочку ставим по центру строки названия (30px × 1.15 ≈ 34px). */
	.ebp-tariff__head {
		flex-wrap: nowrap;
		align-self: stretch;
		padding-right: 34px;
	}

	.ebp-tariff__title {
		white-space: nowrap;
	}

	.ebp-tariff__badge {
		position: static;
		margin-left: auto;
		padding: 4px 12px;
		border-radius: 999px;
		white-space: nowrap;
	}

	.ebp-tariff::after {
		top: 27px;
	}

	.ebp-tariff__title {
		font-size: 30px;
	}

	.ebp-tariff__online {
		font-size: 17px;
	}

	.ebp-tariff__col {
		font-size: 15px;
	}

	.ebp-tariff__types {
		gap: 4px 10px;
		margin-top: 6px;
	}

	.ebp-tariff__type-title {
		font-size: 17px;
	}

	.ebp-tariff__type-price s {
		font-size: 15px;
	}

	.ebp-tariff__type-price strong {
		font-size: 24px;
	}

	.ebp-tariff__hour {
		font-size: 16px;
	}

	/* Время — по три в ряд одинаковой ширины, как в прототипе. */
	.ebp-times {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ebp-time {
		min-width: 0;
		height: 60px;
		padding: 0 6px;
	}

	/* Чип с датой — под заголовком шага, на уровне текста. */
	.ebp-card__head--chip {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.ebp-card__head--chip .ebp-card__title {
		margin-bottom: 10px;
	}

	.ebp-card__head--chip .ebp-chip {
		margin: 0 0 16px 42px;
	}

	/* В узком ряду из трёх цен — «Онлайн» вместо «Онлайн сейчас». */
	.ebp-spa__price-label-full {
		display: none;
	}

	.ebp-spa__price-label-short {
		display: inline;
	}
}

/* Узкие телефоны (до 360px): название, метка и галочка всё ещё в строку. */
@media (max-width: 360px) {
	.ebp-tariff__head {
		gap: 8px;
		padding-right: 32px;
	}

	.ebp-tariff__title {
		font-size: 24px;
	}

	.ebp-tariff__badge {
		padding: 3px 8px;
		font-size: 11px;
	}

	.ebp-tariff::after {
		top: 24px;
	}
}

/* Парк аттракционов ---------------------------------------------------------- */

/* Строка под названием тарифа: «Аттракционы на свежем воздухе». */
.ebp-tariff__subtitle {
	margin-top: 2px;
	color: #4a505c;
	font-size: 14px;
	line-height: 1.35;
}

.ebp-tariff--park .ebp-tariff__types {
	margin-top: 10px;
}

/* «бесплатно» вместо цены — обычным шрифтом, не крупной цифрой. */
.ebp-tariff__type-price strong.is-free {
	font-size: 15px;
	font-weight: 600;
}

.ebp-tariff__left {
	color: var(--ebp-orange);
	font-size: 12px;
}

/* «Что входит в тариф «…»» — раскрывающиеся строки под карточками. */
.ebp-included:empty {
	display: none;
}

.ebp-included {
	margin-top: 22px;
	border-bottom: 1px solid var(--ebp-line);
}

.ebp-included__item + .ebp-included__item {
	border-top: 0;
}

.ebp .ebp-included__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 12px 0;
	border: 0;
	background: none;
	color: var(--ebp-accent);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.ebp-included__head::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%230a9cf5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s;
}

.ebp-included__item.is-open .ebp-included__head::after {
	transform: rotate(180deg);
}

.ebp-included__body {
	padding: 0 0 14px;
	color: #4a505c;
	font-size: 14px;
	line-height: 1.5;
}

.ebp-included__body > :first-child {
	margin-top: 0;
}

.ebp-included__body > :last-child {
	margin-bottom: 0;
}

.ebp-hours {
	padding-top: 16px;
}

.ebp-included:empty + .ebp-hours {
	padding-top: 0;
}

.ebp-included:not(:empty) + .ebp-hours {
	margin-top: 0;
}

/* Купон в «Вашем заказе». */
.ebp-coupon {
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--ebp-line);
}

.ebp-coupon__label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
}

.ebp-coupon__row {
	display: flex;
	gap: 8px;
}

.ebp-coupon__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-soft);
	box-shadow: none;
	font: inherit;
}

.ebp-coupon__input:focus {
	border-color: var(--ebp-accent);
	background: #fff;
	outline: none;
}

.ebp .ebp-coupon__apply {
	flex: none;
	height: 46px;
	padding: 0 16px;
	border: 1.5px solid var(--ebp-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--ebp-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.ebp-coupon__status {
	margin: 8px 0 0;
	font-size: 13px;
}

.ebp-coupon__status.is-good {
	color: var(--ebp-green);
}

.ebp-coupon__status.is-bad {
	color: #b42318;
}

.ebp-coupon__note {
	margin: 8px 0 0;
	color: var(--ebp-muted);
	font-size: 12px;
}

@media (max-width: 900px) {
	.ebp-tariff__subtitle {
		font-size: 16px;
	}

	.ebp-tariff__type-price strong.is-free {
		font-size: 17px;
	}

	.ebp-included__head {
		font-size: 16px;
	}
}

/* Платная опция («Планета Океания»): вид СПА со страницы аквапарка, значок — волна. */
.ebp-spa--option .ebp-spa__icon {
	background: #e6f5fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%230a9cf5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12c2.2 0 2.2-2 4.4-2s2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2'/%3E%3Cpath d='M3 18c2.2 0 2.2-2 4.4-2s2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2'/%3E%3Cpath d='M3 24c2.2 0 2.2-2 4.4-2s2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2 2.2-2 4.4-2 2.2 2 4.4 2'/%3E%3C/svg%3E") center / 32px no-repeat;
}

/*
 * Long tariff names ("Парк аттракционов") on a phone. The water park's styles keep the
 * title on one line (nowrap) for "2 часа"; here it would push the card and the whole step
 * wider than the screen. The title wraps, and the card never grows past its column.
 *
 * Длинные названия тарифов («Парк аттракционов») на телефоне. Стили аквапарка держат
 * название в одну строку (nowrap) ради «2 часа»; здесь оно раздвигало карточку и весь шаг
 * шире экрана. Название переносится, а карточка не растёт шире своей колонки.
 */
.ebp-tariffs {
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

.ebp-tariff--park {
	min-width: 0;
}

.ebp-tariff--park .ebp-tariff__title {
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}

@media (max-width: 900px) {
	.ebp-tariffs {
		grid-template-columns: minmax(0, 1fr);
	}

	.ebp-tariff--park .ebp-tariff__title {
		font-size: 26px;
	}
}

@media (max-width: 360px) {
	.ebp-tariff--park .ebp-tariff__title {
		font-size: 22px;
	}
}


/* Запись на процедуру ------------------------------------------------------- */

/* Карточка процедуры над шагами. */
.osbb-service {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 16px 28px 16px 16px;
}

.osbb-service__photo {
	flex: none;
	width: 120px;
	height: 96px;
	border-radius: var(--ebp-radius-note);
	object-fit: cover;
}

.osbb-service__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.osbb-service__venue {
	color: var(--ebp-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ebp .osbb-service__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.osbb-service__length {
	color: var(--ebp-muted);
	font-size: 14px;
}

.osbb-service__length::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	vertical-align: -2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='6.75' stroke='%238a909c' stroke-width='1.5'/%3E%3Cpath d='M9 5.5V9L11.25 10.5' stroke='%238a909c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.osbb-service__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.osbb-service__price {
	font-size: 24px;
	font-weight: 700;
	white-space: nowrap;
}

.ebp .osbb-service__change,
.ebp .osbb-more {
	color: var(--ebp-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Специалисты: «Любой свободный» и мастера — карточки по три в ряд. */
.osbb-emps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ebp .osbb-emp {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 18px 18px 16px;
	border: 2px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
	background: #fff;
	color: var(--ebp-text);
	text-align: left;
}

.osbb-emp::after {
	content: "";
	position: absolute;
	top: 18px;
	right: 16px;
	width: 22px;
	height: 22px;
	border: 2px solid #c9cdd4;
	border-radius: 50%;
}

.ebp .osbb-emp.is-selected {
	border-color: var(--ebp-accent);
	background: linear-gradient(135deg, #f1f9ff, #fff);
}

.osbb-emp.is-selected::after {
	border: 6px solid var(--ebp-accent);
	background: #fff;
}

.ebp .osbb-emp:disabled {
	opacity: .45;
}

.osbb-emp__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 50%;
	background: #fff1e6;
	color: var(--ebp-orange);
	font-size: 17px;
	font-weight: 700;
}

.osbb-emp__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.osbb-emp--any .osbb-emp__avatar {
	background: var(--ebp-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a9cf5' stroke-width='1.6'%3E%3Ccircle cx='10' cy='7' r='3.2'/%3E%3Cpath d='M4 16.5c.8-3 3.2-4.5 6-4.5s5.2 1.5 6 4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.osbb-emp__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-right: 20px;
}

.osbb-emp__name {
	font-size: 16px;
	font-weight: 700;
}

.osbb-emp__about {
	color: var(--ebp-muted);
	font-size: 13px;
}

.osbb-emp__price {
	margin-top: auto;
	font-size: 15px;
	font-weight: 700;
}

.osbb-emp.is-selected .osbb-emp__price {
	color: var(--ebp-accent);
}

/* Время: по строкам «Утро / День / Вечер». */
.osbb-times__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 16px;
	font-size: 14px;
}

.osbb-times__left {
	font-weight: 600;
}

.osbb-legend {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	color: var(--ebp-muted);
	font-size: 13px;
	list-style: none;
}

.osbb-legend__item::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	border: 1px solid var(--ebp-line);
	border-radius: 3px;
	vertical-align: -1px;
}

.osbb-legend__item--chosen::before {
	border-color: var(--ebp-accent);
	background: var(--ebp-accent);
}

.osbb-legend__item--busy::before {
	border-color: var(--ebp-soft);
	background: var(--ebp-soft);
}

.osbb-times {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.osbb-times__row {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.osbb-times__title {
	padding-top: 12px;
	color: #4a505c;
	font-size: 14px;
}

.osbb-times__list {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 8px;
}

.ebp .osbb-time {
	height: 44px;
	padding: 0 4px;
	border: 1px solid var(--ebp-line);
	border-radius: var(--ebp-radius-note);
	background: #fff;
	color: var(--ebp-text);
	font-size: 15px;
	font-weight: 500;
}

.ebp .osbb-time.is-selected {
	border-color: var(--ebp-accent);
	background: var(--ebp-accent);
	color: #fff;
	font-weight: 700;
}

.ebp .osbb-time:disabled {
	border-color: var(--ebp-soft);
	background: var(--ebp-soft);
	color: #b6bbc4;
	text-decoration: line-through;
}

.osbb-arrive {
	padding: 12px 14px;
	border-radius: var(--ebp-radius-note);
	background: #f3f8fd;
}

/* Дополнения: строки с переключателем. */
.osbb-extras {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.osbb-extra {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	border: 1.5px solid var(--ebp-line);
	border-radius: var(--ebp-radius-inner);
	cursor: pointer;
}

.osbb-extra.is-on {
	border-color: var(--ebp-accent);
	background: #f1f9ff;
}

.osbb-extra__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.osbb-extra__title {
	font-size: 16px;
	font-weight: 700;
}

.osbb-extra__meta {
	color: var(--ebp-muted);
	font-size: 13px;
}

/* Контакты: имя и фамилия в строку, телефон и пожелания — во всю ширину. */
.osbb-contacts .osbb-field--order_phone,
.osbb-contacts .osbb-field--order_email,
.osbb-contacts .osbb-field--notes {
	grid-column: 1 / -1;
}

.osbb-contacts textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: var(--ebp-radius-note);
	background: var(--ebp-soft);
	font: inherit;
	resize: vertical;
}

.osbb-contacts .has-error input,
.osbb-contacts .has-error textarea {
	border-color: #d92d20;
}

/* Купон — светло-персиковая плашка с тёмной кнопкой, как в прототипе. */
.ebp .osbb-coupon {
	padding: 14px;
	border: 0;
	border-radius: var(--ebp-radius-inner);
	background: #fff3ea;
}

.osbb-coupon__hint {
	margin-left: 6px;
	color: var(--ebp-muted);
	font-size: 12px;
	font-weight: 400;
}

.ebp .osbb-coupon .ebp-coupon__label::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -3px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff6a00' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 3h7l7 7-7 7-7-7z'/%3E%3Ccircle cx='7' cy='7' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ebp .osbb-coupon .ebp-coupon__input {
	background: #fff;
}

.ebp .osbb-coupon__apply {
	border: 0;
	border-radius: var(--ebp-radius-note);
	background: #14171f;
	color: #fff;
}

/* Вход по СМС ради купона отеля: ссылка-приглашение, под ней номер и код. */
.osbb-login {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed rgba(255, 106, 0, .25);
}

.ebp .osbb-login__open {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ebp-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.ebp .osbb-login__open:hover {
	text-decoration: underline;
}

.osbb-login__code {
	margin-top: 8px;
}

.ebp .osbb-login__code .ebp-coupon__input {
	width: 100%;
}

.ebp .osbb-login__code .ebp-coupon__input:not(:placeholder-shown) {
	letter-spacing: .3em;
}

.osbb-login__message {
	margin: 8px 0 0;
	color: #b42318;
	font-size: 13px;
}

.osbb-login__message.is-good {
	color: var(--ebp-muted);
}

.osbb-login.is-busy {
	opacity: .6;
	pointer-events: none;
}

.osbb-more {
	display: block;
	margin: 14px 0 0;
	text-align: center;
}

.osbb-more::before {
	content: "+";
	margin-right: 8px;
	font-weight: 400;
}

.osbb-cancel {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: var(--ebp-radius-note);
	background: #f5f8fb;
	font-size: 13px;
}

/* Значки «Вашей записи»: место и мастер. */
.ebp-fact--place::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a9cf5' stroke-width='1.6'%3E%3Cpath d='M10 17s5.5-4.6 5.5-9A5.5 5.5 0 0 0 4.5 8c0 4.4 5.5 9 5.5 9z'/%3E%3Ccircle cx='10' cy='8' r='2'/%3E%3C/svg%3E");
}

.ebp-fact--person::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a9cf5' stroke-width='1.6'%3E%3Ccircle cx='10' cy='7' r='3.2'/%3E%3Cpath d='M4 16.5c.8-3 3.2-4.5 6-4.5s5.2 1.5 6 4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
	.osbb-service {
		gap: 14px;
		padding: 12px;
	}

	.osbb-service__photo {
		width: 72px;
		height: 72px;
	}

	.ebp .osbb-service__title {
		font-size: 17px;
	}

	.osbb-service__side {
		display: none;
	}

	/* Специалисты на телефоне — строки: аватар, имя, кружок. */
	.osbb-emps {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.ebp .osbb-emp {
		flex-direction: row;
		align-items: center;
		padding: 14px 16px;
	}

	.osbb-emp::after {
		top: 50%;
		margin-top: -11px;
	}

	.osbb-emp__price {
		display: none;
	}

	.osbb-times__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.osbb-times__title {
		padding: 0;
	}

	.osbb-times__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.osbb-legend {
		display: none;
	}

	.osbb-contacts .ebp-contacts__main {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The applied coupon: the status and, for the guest's own code, «Cancel».
   Применённый купон: статус и, для своего кода, «Отменить». */
.ebp .osbb-coupon__state {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
}

.ebp .osbb-coupon__state[hidden],
.ebp .osbb-coupon [data-coupon-entry][hidden] {
	display: none;
}

.ebp .osbb-coupon__reset {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ebp-muted);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.ebp .osbb-coupon__reset[hidden] {
	display: none;
}
