/* Booking flow (/bookings) and the confirmation page. Everything is scoped under .bk so the
   rest of the site is untouched. The site's Bootstrap 3 sets html{font-size:10px}, so sizes are in px. */

.bk {
	--bk-ink: #0E2340;
	--bk-text: #1D3250;
	--bk-muted: #52657E;
	--bk-line: #D6E4F0;
	--bk-ground: #EDF5FB;
	--bk-surface: #FFFFFF;
	--bk-primary: #0E2340;
	--bk-primary-dark: #08172C;
	--bk-primary-soft: #E3EFF9;
	--bk-blue: #2A93D3;
	--bk-warn: #C2610C;
	--bk-ok: #157A4F;
	--bk-ok-soft: #E5F4EC;
	--bk-off: #7A8899;
	--bk-off-soft: #F1F4F8;
	--bk-shadow: 0 12px 34px rgba(14, 50, 92, .08);
	--bk-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
	background: linear-gradient(180deg, #F7FBFE 0, var(--bk-ground) 280px);
	color: var(--bk-text);
	font-family: 'DM Sans', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	padding: 28px 0 80px;
	clear: both;
}
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk h1, .bk h2, .bk h3, .bk p, .bk dl, .bk dd { margin: 0; }
.bk button { font-family: inherit; }
.bk a { color: var(--bk-ink); }
.bk a:hover { color: var(--bk-blue); }
.bk [hidden] { display: none !important; }
.bk .bk-display { font-family: var(--bk-display); }
.bk .bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk button:focus-visible, .bk a:focus-visible, .bk input:focus-visible { outline: 3px solid rgba(42, 147, 211, .55); outline-offset: 2px; }

.bk-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 20px; }

/* ------------------------------------------------------------------ heading + steps */
.bk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bk-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 8px !important; color: var(--bk-ink); font-size: 15px; font-weight: 500; }
.bk-crumb svg { color: var(--bk-blue); flex-shrink: 0; }
.bk-title { font-family: var(--bk-display); font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -.01em; color: var(--bk-ink); }

.bk-steps { display: flex; gap: 4px; list-style: none; margin: 0; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--bk-shadow); font-size: 14px; }
.bk-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; color: var(--bk-text); font-weight: 500; white-space: nowrap; }
.bk-steps .bk-step-no { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #9AAEC4; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bk-steps li.is-current { background: var(--bk-primary); color: #fff; font-weight: 700; }
.bk-steps li.is-current .bk-step-no { background: #fff; border-color: #fff; color: var(--bk-primary); }
.bk-steps li.is-done .bk-step-no { background: var(--bk-ok); border-color: var(--bk-ok); color: #fff; }

/* ------------------------------------------------------------------ layout + cards */
.bk-layout { width: 100%; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.bk-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bk-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }

.bk-card { background: var(--bk-surface); border-radius: 22px; box-shadow: var(--bk-shadow); }
.bk-panel { padding: 26px 26px 24px; }
.bk-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bk-h2 { font-family: var(--bk-display); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--bk-ink); }
.bk-h2 small { font-family: 'DM Sans', sans-serif; font-weight: 400; color: var(--bk-muted); font-size: 15px; }
.bk-gap { margin-top: 24px !important; margin-bottom: 12px !important; }
.bk-month { font-size: 15px; color: var(--bk-text); font-weight: 500; }
.bk-note { font-size: 14px; color: var(--bk-muted); }
.bk-note a { color: var(--bk-ink); text-decoration: underline; }
.bk-error { max-width: 980px; width: 100%; margin: 0 auto; background: #FDECEA; border: 1px solid #F2B8B0; color: #8A1C11; border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.bk-no-branch { max-width: 980px; width: 100%; margin: 0 auto; font-size: 16px; color: var(--bk-ink); }

/* ------------------------------------------------------------------ dates */
.bk-dates { display: grid; grid-template-columns: repeat(7, minmax(62px, 1fr)); gap: 8px; margin-top: 14px; }
.bk-date {
	min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px;
	border-radius: 14px; border: 1.5px solid var(--bk-line); background: var(--bk-surface); color: var(--bk-ink); cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.bk-date:hover:not(:disabled) { border-color: #9CC4E4; transform: translateY(-1px); }
.bk-date-dow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.bk-date-day { font-family: var(--bk-display); font-size: 23px; font-weight: 700; line-height: 1; }
.bk-date-tag { font-size: 11px; font-weight: 700; white-space: nowrap; }
.bk-date.is-open .bk-date-tag { color: var(--bk-ok); }
.bk-date.is-few .bk-date-tag { color: var(--bk-warn); }
.bk-date:disabled { background: var(--bk-off-soft); border-color: var(--bk-off-soft); color: var(--bk-off); cursor: not-allowed; }
.bk-date:disabled .bk-date-tag { color: var(--bk-off); font-weight: 500; }
.bk-date.is-selected { background: var(--bk-primary); border-color: var(--bk-primary); color: #fff; box-shadow: 0 12px 24px rgba(14, 35, 64, .3); }
.bk-date.is-selected .bk-date-tag { color: #fff; }
/* An approved holiday (Admin → Holidays): a "Holiday" flag; the summary says how it is priced. */
.bk-date.is-holiday { border-color: #F0C089; }
.bk-date-hol { padding: 1px 6px; border-radius: 999px; background: #FFF1E0; color: #9A4A07; font-size: 10px; font-weight: 800; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.bk-date.is-selected .bk-date-hol { background: rgba(255, 255, 255, .18); color: #FFE2BF; }
.bk-date:disabled .bk-date-hol { background: transparent; color: var(--bk-off); }
.bk-pass-holiday { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 12px; background: #FFF6EA; color: #7A3B05; font-size: 14px; }
.bk-pass-holiday[hidden] { display: none; }
.bk-pass-holiday svg { flex-shrink: 0; margin-top: 2px; color: #C2610C; }
.bk-pass-holiday span { display: flex; flex-direction: column; }
.bk-pass-holiday strong { color: #5C2C03; font-weight: 700; }
.bk-pass-holiday small { font-size: 13px; color: #7A3B05; }

/* ------------------------------------------------------------------ sessions */
.bk-period + .bk-period { margin-top: 14px; }
.bk-period-name { margin-bottom: 8px !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3B5470; }
.bk-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bk-slot {
	min-height: 66px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 8px 12px;
	border-radius: 12px; border: 1.5px solid var(--bk-line); background: var(--bk-surface); color: var(--bk-ink); cursor: pointer; text-align: left;
	transition: border-color .15s, box-shadow .15s;
}
.bk-slot:hover:not(:disabled) { border-color: #9CC4E4; }
.bk-slot strong { font-size: 16px; font-weight: 700; white-space: nowrap; }
.bk-slot-end { font-size: 12px; color: var(--bk-muted); }
.bk-slot-status { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--bk-ok); }
.bk-slot.is-few .bk-slot-status { color: var(--bk-warn); }
.bk-slot:disabled { background: var(--bk-off-soft); border-color: var(--bk-off-soft); color: var(--bk-off); cursor: not-allowed; }
.bk-slot:disabled .bk-slot-end, .bk-slot:disabled .bk-slot-status { color: var(--bk-off); }
.bk-slot.is-selected { border: 2px solid var(--bk-primary); box-shadow: 0 0 0 3px rgba(14, 35, 64, .1); background: #F5F9FD; padding: 7.5px 11.5px; }

/* ------------------------------------------------------------------ visitors + add-ons */
.bk-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bk-addons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
.bk-span { grid-column: 1 / -1; }
.bk-people-note { margin-top: 12px !important; }
.bk-person { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 14px; border: 1.5px solid var(--bk-line); background: #fff; }
.bk-person.is-chosen { border-color: #9CC4E4; background: #F7FBFE; }
.bk-person.is-off { background: var(--bk-off-soft); }
.bk-person-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk-person-text strong { font-size: 16px; color: var(--bk-ink); }
.bk-person-text span { font-size: 13px; color: var(--bk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-person-name { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.bk-person-name strong { min-width: 0; overflow-wrap: anywhere; }
.bk-person-text .bk-info-wrap { overflow: visible; flex-shrink: 0; }
.bk-info {
	width: 20px; height: 20px; padding: 0; border: 1.5px solid #9AAEC4; border-radius: 50%; background: #fff; color: var(--bk-muted);
	font: italic 700 12px/1 Georgia, 'Times New Roman', serif; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.bk-info:hover, .bk-info:focus-visible, .bk-info.is-open { border-color: var(--bk-blue); color: var(--bk-blue); outline: none; }
.bk-info:focus-visible { box-shadow: 0 0 0 3px rgba(42, 147, 211, .25); }
.bk-person-text .bk-desc-tip {
	display: none; position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: max-content; max-width: min(280px, 72vw); padding: 10px 12px; border-radius: 12px;
	background: var(--bk-ink); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.45; white-space: normal; overflow: visible;
	box-shadow: 0 10px 26px rgba(14, 35, 64, .22);
}
.bk-info:hover + .bk-desc-tip, .bk-info:focus-visible + .bk-desc-tip, .bk-info.is-open + .bk-desc-tip { display: block; }
.bk-person-text .bk-person-price { font-weight: 500; color: var(--bk-text); white-space: normal; overflow: visible; line-height: 1.35; }
.bk-addon .bk-person-text span { white-space: normal; }
.bk-addon-price { color: var(--bk-ink) !important; font-weight: 700; }
.bk-off-note { font-size: 12px !important; font-weight: 700; color: var(--bk-warn) !important; white-space: normal !important; }
.bk-ticket-tag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--bk-primary-soft); color: var(--bk-ink); font-size: 11px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }

.bk-stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.bk-stepper button {
	width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #B8CCDF; background: #fff; color: var(--bk-ink);
	font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 2px;
}
.bk-stepper button.is-plus { background: var(--bk-primary); border-color: var(--bk-primary); color: #fff; }
.bk-stepper button.is-plus:hover:not(:disabled) { background: var(--bk-primary-dark); }
.bk-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.bk-stepper output { min-width: 26px; text-align: center; font-family: var(--bk-display); font-weight: 700; font-size: 19px; color: var(--bk-ink); }

/* Group package choice */
.bk-group-offer { margin-bottom: 12px; border: 1.5px solid #9FD3B5; background: #EEF8F2; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bk-group-offer-title { font-weight: 700; color: #155C39; font-size: 15px; }
.bk-group-offer-text { font-size: 14px; color: #33465C; }
.bk-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.bk-choice { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border: 1.5px solid #B9C7D6; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400; }
.bk-choice.is-chosen { border-color: var(--bk-primary); }
.bk-choice input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.bk-choice span { display: flex; flex-direction: column; gap: 2px; }
.bk-choice strong { font-size: 14px; color: var(--bk-ink); }
.bk-choice small { font-size: 13px; color: var(--bk-muted); }

.bk-plan-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: var(--bk-primary-soft); border-radius: 14px; font-size: 14px; color: var(--bk-ink); }
.bk-plan-chip span { flex: 1; font-weight: 500; }
.bk-link-btn { border: 0; background: transparent; color: var(--bk-ink); font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; min-height: 40px; padding: 0 4px; }

/* ------------------------------------------------------------------ details & pay */
.bk-hold { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; background: #FFF4E8; border: 1px solid #F3D3B0; border-radius: 14px; font-size: 14px; color: #7A2E05; }
.bk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bk-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--bk-ink); }
.bk-field-wide { grid-column: 1 / -1; }
.bk-field input, .bk-promo input { height: 50px; border: 1.5px solid var(--bk-line); border-radius: 14px; padding: 0 14px; font-size: 15px; font-family: inherit; font-weight: 400; color: var(--bk-ink); background: #fff; }
.bk-field input:focus, .bk-promo input:focus { outline: none; border-color: var(--bk-blue); box-shadow: 0 0 0 3px rgba(42, 147, 211, .18); }
.bk-field-hint { font-size: 12px; font-weight: 400; color: var(--bk-muted); }
.bk-promo { display: flex; gap: 10px; }
.bk-promo input { flex: 1; min-width: 0; text-transform: uppercase; }
.bk-btn-outline { height: 50px; padding: 0 22px; border-radius: 14px; border: 1.5px solid var(--bk-primary); background: #fff; color: var(--bk-primary); font-weight: 700; font-size: 15px; cursor: pointer; }
.bk-btn-outline:hover { background: var(--bk-primary-soft); }
.bk-promo-on { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 14px; background: var(--bk-ok-soft); border-radius: 14px; color: #155C39; font-size: 14px; }
.bk-promo-on button { border: 0; background: transparent; color: #155C39; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 40px; }
/* Offers listed under the promo code box ("Show in booking flow" in admin). */
.bk-offers { margin-top: 14px; }
.bk-offers-title { margin: 0 0 8px !important; font-size: 13px; font-weight: 700; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .06em; }
.bk-offers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bk-offer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px dashed #9CC4E4; border-radius: 14px; background: #F5FAFE; }
.bk-offer-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--bk-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bk-offer-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--bk-muted); }
.bk-offer-code { font-size: 15px; color: var(--bk-ink); letter-spacing: .06em; overflow-wrap: anywhere; }
.bk-offer-apply { height: 40px; padding: 0 14px; flex: 0 0 auto; }
.bk-agree { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; font-size: 14px; color: #33465C; font-weight: 400; }
.bk-agree input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.bk-agree a { text-decoration: underline; }

/* ------------------------------------------------------------------ snow pass */
.bk-pass { position: relative; padding: 24px 22px 20px; }
.bk-pass-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bk-pass-head svg { color: var(--bk-blue); }
.bk-pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 14px !important; }
.bk-pass-wide { grid-column: 1 / -1; }
.bk-pass-grid dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #3B5470; }
.bk-pass-grid dd { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--bk-ink); }
.bk-pass-tear { position: relative; height: 1px; margin: 18px -22px 16px; border-top: 2px dashed #CFE0EE; }
.bk-pass-tear::before, .bk-pass-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bk-ground); }
.bk-pass-tear::before { left: -11px; }
.bk-pass-tear::after { right: -11px; }
.bk-lines { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--bk-text); }
.bk-line { display: flex; justify-content: space-between; gap: 12px; }
.bk-line span:last-child { font-weight: 600; color: var(--bk-ink); white-space: nowrap; }
.bk-line.is-muted, .bk-line.is-muted span:last-child { color: var(--bk-muted); font-weight: 400; font-size: 14px; }
.bk-line.is-discount, .bk-line.is-discount span:last-child { color: #155C39; }
.bk-lines-empty { font-size: 14px; color: var(--bk-muted); }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0; padding-top: 14px; border-top: 1px solid #E3ECF4; }
.bk-total span { font-size: 17px; font-weight: 700; color: var(--bk-ink); }
.bk-total strong { font-family: var(--bk-display); font-size: 30px; font-weight: 800; color: var(--bk-ink); line-height: 1; }
.bk-cta { width: 100%; height: 50px; border-radius: 14px; border: 0; background: var(--bk-primary); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s; }
.bk-cta:hover:not(:disabled) { background: var(--bk-primary-dark); }
.bk-cta:disabled { background: #DCEAF6; color: #2C4A6E; cursor: not-allowed; }
.bk-secure { margin-top: 14px !important; font-size: 13px; color: var(--bk-muted); text-align: center; }
.bk-secure svg { vertical-align: -2px; margin-right: 4px; }
.bk-tip { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #DCEBF7; color: var(--bk-ink); font-size: 14px; line-height: 1.5; }
.bk-tip svg { flex-shrink: 0; margin-top: 1px; }

/* ------------------------------------------------------------------ smaller screens */
.bk-bar { display: none; }
@media (max-width: 1060px) {
	.bk-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
	.bk-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bk-people { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.bk { padding: 24px 0 32px; }
	/* The sticky bar (.bk-bar) is the only action at the bottom: room under the footer for it,
	   and no back-to-top button on top of it. */
	.sw-footer { padding-bottom: 176px; }
	#toTop.sw-totop { display: none; }
	.bk-layout { grid-template-columns: minmax(0, 1fr); }
	.bk-aside { position: static; }
	.bk-aside .bk-cta, .bk-aside .bk-secure { display: none; }
	.bk-total { margin-bottom: 0; }
	.bk-head { align-items: flex-start; }
	.bk-title { font-size: 32px; }
	.bk-bar {
		display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		background: #fff; padding: 12px 16px 16px; box-shadow: 0 -6px 20px rgba(14, 35, 64, .12);
	}
	.bk-bar-total { display: flex; flex-direction: column; flex-shrink: 0; }
	.bk-bar-total span { font-size: 12px; color: var(--bk-muted); }
	.bk-bar-total strong { font-family: var(--bk-display); font-size: 24px; color: var(--bk-ink); }
	.bk-bar .bk-cta { flex: 1; height: 52px; font-size: 16px; }
}
@media (max-width: 640px) {
	.bk-wrap { padding: 0 16px; gap: 18px; }
	.bk-title { font-size: 28px; }
	.bk-steps { font-size: 13px; }
	.bk-steps li { padding: 6px 10px 6px 6px; }
	.bk-steps li:not(.is-current) { font-size: 0; gap: 0; padding: 6px; }
	.bk-steps li:not(.is-current) .bk-step-no { font-size: 12px; }
	.bk-panel { padding: 18px 14px; border-radius: 18px; }
	.bk-h2 { font-size: 19px; }
	.bk-dates { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
	.bk-date { scroll-snap-align: start; }
	.bk-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bk-fields { grid-template-columns: 1fr; }
	.bk-pass { padding: 20px 16px 18px; }
	.bk-pass-tear { margin: 16px -16px 14px; }
}

/* ------------------------------------------------------------------ confirmation page */
.bk-confirm { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.bk-confirm-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.bk-check { width: 60px; height: 60px; border-radius: 50%; background: var(--bk-ok-soft); display: flex; align-items: center; justify-content: center; }
.bk-ticket-card { background: #fff; border: 1px solid var(--bk-line); border-radius: 22px; overflow: hidden; box-shadow: var(--bk-shadow); }
.bk-ticket-top { background: var(--bk-ink); color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bk-ticket-body { padding: 18px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.bk-ticket-body svg { flex-shrink: 0; }
.bk-ticket-info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.bk-ticket-foot { border-top: 1px dashed #B9C7D6; padding: 12px 18px; display: flex; justify-content: space-between; font-size: 15px; }
.bk-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.bk-action { height: 48px; border-radius: 14px; border: 1.5px solid var(--bk-primary); color: var(--bk-primary); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; background: #fff; }
.bk-action:hover { text-decoration: none; background: var(--bk-primary-soft); }

/* Coupon applied: snow blast + "you saved" card. Appended to <body>, so outside .bk. */
.bk-celebrate { position: fixed; inset: 0; z-index: 100000; pointer-events: none; overflow: hidden; transition: opacity .5s ease; }
.bk-celebrate.is-leaving { opacity: 0; }
.bk-celebrate-card { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 28px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; border-radius: 20px; background: #fff; color: #0E2340; box-shadow: 0 18px 48px rgba(14, 50, 92, .28); border: 2px solid #BFD6F5; text-align: center; font-family: 'DM Sans', system-ui, sans-serif; animation: bk-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.bk-celebrate-card strong { font-size: 22px; color: #0E2340; }
.bk-celebrate-card span { font-size: 15px; color: #157A4F; font-weight: 700; }
.bk-celebrate-card .bk-celebrate-icon { font-size: 34px; color: #2A93D3; font-weight: 400; animation: bk-spin 1.6s ease-out both; }
.bk-flake { position: fixed; top: 0; left: 0; line-height: 1; color: #6FA8F0; text-shadow: 0 0 6px rgba(255, 255, 255, .9); will-change: transform, opacity; }
.bk-flake.is-burst { transform: translate(-50%, -50%); animation: bk-burst 1.2s cubic-bezier(.15, .8, .3, 1) forwards; }
.bk-flake.is-fall { top: -30px; animation: bk-fall 2.4s linear forwards; }
@keyframes bk-burst {
	0% { transform: translate(-50%, -50%) scale(.3) rotate(0); opacity: 1; }
	70% { opacity: 1; }
	100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 40px)) scale(1) rotate(var(--rot)); opacity: 0; }
}
@keyframes bk-fall {
	0% { transform: translate(0, 0) rotate(0); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translate(var(--drift), 105vh) rotate(240deg); opacity: .2; }
}
@keyframes bk-pop { from { transform: translate(-50%, -50%) scale(.6); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes bk-spin { from { transform: rotate(-180deg) scale(.4); } to { transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
	.bk-celebrate-card, .bk-celebrate-card .bk-celebrate-icon { animation: none; }
	.bk-date, .bk-slot { transition: none; }
}

/* ---------------------------------------------------------------- login link, WhatsApp number check (MobileOtp) */
.bk-login-open { min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--bk-muted); font: inherit; font-size: 14px; cursor: pointer; }
.bk-login-open strong { color: var(--bk-ink); text-decoration: underline; }
.bk-login-open:hover strong { color: var(--bk-blue); }
.bk-field > label { margin: 0; color: inherit; font: inherit; }
.bk-mobile, .bk-email { position: relative; display: block; }
.bk-mobile input { width: 100%; padding-right: 112px; }
.bk-email input { width: 100%; }
.bk-email.is-verified input { padding-right: 112px; }
.bk-mobile input[readonly], .bk-email input[readonly] { background: var(--bk-off-soft); color: var(--bk-text); }
.bk-verify-btn, .bk-verified { position: absolute; top: 7px; right: 7px; height: 36px; display: inline-flex; align-items: center; gap: 5px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.bk-verify-btn { border: 0; background: var(--bk-primary); color: #fff; cursor: pointer; }
.bk-verify-btn:hover { background: var(--bk-primary-dark); }
.bk-verify-btn:disabled { background: #B8C4D1; cursor: default; }
.bk-verified { background: var(--bk-ok-soft); color: var(--bk-ok); pointer-events: none; }
.bk-otp { padding: 16px 18px; border: 1.5px solid #BFDDF2; border-radius: 16px; background: #F3F9FE; }
.bk-otp-text { margin: 0 0 12px !important; font-size: 14px; color: var(--bk-text); }
.bk-otp-row { display: flex; gap: 10px; }
.bk-otp-row input {
	flex: 1; min-width: 0; max-width: 220px; height: 50px; padding: 0 14px; border: 1.5px solid var(--bk-line); border-radius: 14px; background: #fff;
	color: var(--bk-ink); font: 700 22px/1 inherit; font-family: inherit; letter-spacing: .35em; text-align: center;
}
.bk-otp-row input:focus { outline: none; border-color: var(--bk-blue); box-shadow: 0 0 0 3px rgba(42, 147, 211, .18); }
.bk-btn-primary { height: 50px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--bk-primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.bk-btn-primary:hover { background: var(--bk-primary-dark); }
.bk-btn-primary:disabled { opacity: .6; cursor: default; }
.bk-otp-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0 !important; font-size: 13px; color: var(--bk-muted); }
.bk-otp-meta .is-error { color: #B42318; }
.bk-otp-meta .bk-link-btn { min-height: 32px; font-size: 13px; }
.bk-otp-meta .bk-link-btn:disabled { color: var(--bk-off); text-decoration: none; cursor: default; }
@media (max-width: 480px) {
	.bk-otp-row input { max-width: none; }
}

/* ---------------------------------------------------------------- Payment confirming + payment details
   confirming.blade.php: shown until Razorpay reports the payment captured. partials/payment-details:
   the pop-up listing every payment of the booking (failed attempts, charged twice, refunds). */
button.bk-action { font-family: inherit; cursor: pointer; }
.bk-action.is-primary { background: var(--bk-primary); color: #fff; }
.bk-action.is-primary:hover { background: var(--bk-primary-dark); color: #fff; }

.bk-wait-ring { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--bk-primary-soft); color: var(--bk-primary); display: flex; align-items: center; justify-content: center; }
.bk-wait-ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--bk-blue); border-right-color: var(--bk-blue); animation: bk-rotate 1.1s linear infinite; }
.bk-wait-ring.is-stopped { background: #FDF1E5; }
.bk-wait-ring.is-stopped::after { display: none; }
.bk-wait-lead { color: #33465C; max-width: 440px; }
.bk-wait-lead strong { color: var(--bk-ink); }

.bk-progress { list-style: none; margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--bk-line); border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.bk-progress li { display: flex; align-items: center; gap: 12px; color: var(--bk-off); position: relative; }
.bk-progress li + li::before { content: ""; position: absolute; left: 13px; top: -14px; height: 14px; border-left: 2px dashed var(--bk-line); }
.bk-progress li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.bk-progress small { font-size: 13px; color: var(--bk-muted); }
.bk-progress-dot { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--bk-off-soft); color: var(--bk-off); }
.bk-progress .is-done { color: var(--bk-text); }
.bk-progress .is-done .bk-progress-dot { background: var(--bk-ok); color: #fff; }
.bk-progress .is-active { color: var(--bk-ink); }
.bk-progress .is-active .bk-progress-dot { background: var(--bk-primary-soft); }
.bk-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #B9D3EC; border-top-color: var(--bk-blue); animation: bk-rotate .8s linear infinite; }
@keyframes bk-rotate { to { transform: rotate(360deg); } }

.bk-pay-alert { display: block; width: 100%; text-align: left; padding: 12px 16px; border-radius: 14px; border: 1px solid #F3C99A; background: #FEF4E8; color: #7A3E06; font: inherit; font-size: 14px; cursor: pointer; }
.bk-pay-alert strong { color: #9A4A05; }

/* The pop-up (<dialog>, in the top layer): a receipt. Navy header, the payments as white cards on a
   light blue panel, help and "Got it" in the footer. */
.bk-pay { width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--bk-text); overflow: visible; }
.bk-pay::backdrop { background: rgba(8, 23, 44, .55); backdrop-filter: blur(3px); }
.bk-pay[open] { animation: bk-pay-in .28s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes bk-pay-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.bk-pay-card { background: #fff; border-radius: 24px; box-shadow: 0 30px 70px rgba(8, 23, 44, .38); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; font-family: "DM Sans", system-ui, sans-serif; font-size: 14px; line-height: 1.45; }

.bk-pay-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 20px 20px 18px; color: #fff;
	background: radial-gradient(120% 160% at 100% 0%, rgba(42, 147, 211, .5), transparent 60%), linear-gradient(135deg, #0E2340, #17406D); }
.bk-pay-head h2 { margin: 0; font: 700 20px/1.2 var(--bk-display); color: #fff; }
.bk-pay-head p { margin: 3px 0 0; font-size: 13px; color: rgba(255, 255, 255, .78); }
.bk-pay-head b { color: #fff; font-weight: 700; letter-spacing: .01em; }
.bk-pay-count { white-space: nowrap; }
.bk-pay-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.bk-pay-close { margin-left: auto; width: 38px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s; }
.bk-pay-close:hover { background: rgba(255, 255, 255, .24); }
.bk-pay-close:focus-visible, .bk-pay-copy:focus-visible, .bk-pay-link:focus-visible, .bk-pay-done:focus-visible { outline: 3px solid #7CC0EC; outline-offset: 2px; }

/* Scrolls when there are several payments; header and footer stay put. */
.bk-pay-main { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; background: #F3F8FC; display: flex; flex-direction: column; gap: 12px; }

.bk-pay-note { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.bk-pay-note strong { display: block; font-size: 14px; margin-bottom: 2px; }
.bk-pay-note.is-warn { background: #FEF4E8; color: #7A3E06; border: 1px solid #F3C99A; }
.bk-pay-note.is-wait { background: var(--bk-primary-soft); color: #1D3E66; border: 1px solid #BFD6F5; }
.bk-pay-note.is-ok { background: var(--bk-ok-soft); color: #11603E; border: 1px solid #B7DFC9; }

.bk-pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bk-pay-item { padding: 16px; border: 1px solid var(--bk-line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(14, 50, 92, .06); }
.bk-pay-item.is-warn { border-color: #F3C99A; }
.bk-pay-item.is-off { background: #FBFCFD; box-shadow: none; }
.bk-pay-top { display: flex; align-items: center; gap: 12px; }
.bk-pay-status { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bk-off-soft); color: var(--bk-off); }
.bk-pay-item.is-ok .bk-pay-status { background: var(--bk-ok-soft); color: var(--bk-ok); }
.bk-pay-item.is-warn .bk-pay-status { background: #FDE8D2; color: #9A4A05; }
.bk-pay-item.is-info .bk-pay-status, .bk-pay-item.is-wait .bk-pay-status { background: var(--bk-primary-soft); color: #1556B8; }
.bk-pay-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-pay-step { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bk-muted); }
.bk-pay-amount { font: 700 23px/1.15 var(--bk-display); color: var(--bk-ink); }
.bk-pay-item.is-off .bk-pay-amount { color: var(--bk-off); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.bk-pay-hint { margin-top: 2px; font-size: 12.5px; color: var(--bk-muted); }
.bk-pay-chip { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--bk-off-soft); color: var(--bk-off); }
.bk-pay-chip.is-ok { background: var(--bk-ok-soft); color: var(--bk-ok); }
.bk-pay-chip.is-warn { background: #FDE8D2; color: #9A4A05; }
.bk-pay-chip.is-info, .bk-pay-chip.is-wait { background: var(--bk-primary-soft); color: #1556B8; }

/* Details under a dashed "tear" line, labels left and values right. */
.bk-pay-meta { margin: 14px 0 0; padding-top: 12px; border-top: 1.5px dashed var(--bk-line); display: grid; gap: 9px; font-size: 13.5px; }
.bk-pay-meta div { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.bk-pay-meta dt { color: var(--bk-muted); font-weight: 400; }
.bk-pay-meta dd { margin: 0 0 0 auto; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; text-align: right; color: var(--bk-ink); font-weight: 600; overflow-wrap: anywhere; }
.bk-pay-meta .is-reason dd { font-weight: 400; color: var(--bk-text); }
.bk-pay-meta code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 500; background: var(--bk-off-soft); padding: 3px 8px; border-radius: 8px; color: var(--bk-ink); }
.bk-pay-copy { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border: 1px solid #BFD6F5; border-radius: 999px; background: #fff; color: #1556B8; font: 700 12px "DM Sans", system-ui, sans-serif; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.bk-pay-copy:hover { background: var(--bk-primary-soft); }
.bk-pay-copy.is-copied { background: var(--bk-ok-soft); border-color: #B7DFC9; color: var(--bk-ok); }

/* background, float and width undo the old theme's site-wide `footer` rule (style.css, booking.css):
   blue tree picture, white text, floated full width. */
.bk-pay-foot { flex: none; padding: 16px; border-top: 1px solid var(--bk-line); background: #fff; color: var(--bk-text); float: none; width: auto; display: flex; flex-direction: column; gap: 12px; }
.bk-pay-help { display: flex; align-items: flex-start; gap: 12px; }
.bk-pay-help-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bk-primary-soft); color: #1556B8; }
.bk-pay-help p { margin: 0; font-size: 13px; color: var(--bk-muted); }
.bk-pay-help strong { display: block; font-size: 14px; color: var(--bk-ink); }
.bk-pay-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-pay-link { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; max-width: 100%; padding: 7px 13px; border: 1px solid var(--bk-line); border-radius: 999px; background: #F3F8FC; color: #1556B8; font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .15s, border-color .15s; }
.bk-pay-link span { min-width: 0; overflow-wrap: anywhere; }
.bk-pay-link svg { flex: none; }
.bk .bk-pay-link { color: #1556B8; }
.bk .bk-pay-link:hover { background: var(--bk-primary-soft); border-color: #BFD6F5; color: #1556B8; text-decoration: none; }
.bk-pay-done { width: 100%; height: 48px; border: 0; border-radius: 14px; background: var(--bk-primary); color: #fff; font: 700 15px "DM Sans", system-ui, sans-serif; cursor: pointer; transition: background-color .15s; }
.bk-pay-done:hover { background: var(--bk-primary-dark); }
/* Phones: a bottom sheet. */
@media (max-width: 480px) {
	.bk-pay { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
	.bk-pay-card { border-radius: 22px 22px 0 0; max-height: 92vh; }
	.bk-pay[open] { animation-name: bk-pay-up; }
	.bk-pay-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
	.bk-pay-main { padding: 14px 12px; }
}
@keyframes bk-pay-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.bk-pay[open], .bk-wait-ring::after, .bk-spinner { animation: none; }
}
