/*!
 * TSI Masterclass Booking — front-end styles.
 * Self-contained: re-declares the shared BTSM tokens so the shortcodes
 * look right even on a page that has no BTSM base-style widget.
 */

.tsi-mb-packages-section,
.tsi-mb-booking-section {
	--btsm-navy: #151f36;
	--btsm-navy-2: #0f1729;
	--btsm-orange: #fb8d00;
	--btsm-orange-dark: #e97f00;
	--btsm-cream: #fff9e1;
	--btsm-ink: #111827;
	--btsm-muted: #667085;
	--btsm-line: #e6e8ec;
	--btsm-page: #f8f9f9;
	--btsm-shadow: 0 22px 60px rgba(15, 23, 41, .10);
	--btsm-radius: 20px;

	display: block;
	width: 100%;
	scroll-margin-top: 110px;
	box-sizing: border-box;
	font-family: "Manrope", "Inter", system-ui, sans-serif;
	color: var(--btsm-ink);
	line-height: 1.6;
}

.tsi-mb-packages-section *,
.tsi-mb-packages-section *::before,
.tsi-mb-packages-section *::after,
.tsi-mb-booking-section *,
.tsi-mb-booking-section *::before,
.tsi-mb-booking-section *::after {
	box-sizing: border-box;
}

/* Normalise headings back to the reference baseline (Manrope 700,
   inherited 1.6 line-height) so an Elementor global kit cannot
   override them. */
.tsi-mb-packages-section h1,.tsi-mb-packages-section h2,.tsi-mb-packages-section h3,
.tsi-mb-booking-section h1,.tsi-mb-booking-section h2,.tsi-mb-booking-section h3 {
	font-family: "Manrope", sans-serif; font-weight: 700; line-height: inherit;
	letter-spacing: normal; margin: 0; color: inherit;
}

/* Fallbacks for the shared layout helpers. */
.tsi-mb-packages-section.tsi-btsm-section,
.tsi-mb-booking-section.tsi-btsm-section { padding: 88px 0; }
.tsi-mb-packages-section .tsi-btsm-container,
.tsi-mb-booking-section .tsi-btsm-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.tsi-mb-packages-section .btsm-kicker,
.tsi-mb-booking-section .btsm-kicker { display: block; color: var(--btsm-orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.tsi-mb-packages-section .btsm-dot,
.tsi-mb-booking-section .btsm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--btsm-orange); box-shadow: 0 0 0 5px rgba(251, 141, 0, .12); display: inline-block; flex: 0 0 auto; }
.tsi-mb-packages-section .btsm-btn,
.tsi-mb-booking-section .btsm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
	text-decoration: none; font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s ease;
}
.tsi-mb-packages-section .btsm-btn-primary,
.tsi-mb-booking-section .btsm-btn-primary { background: var(--btsm-orange); color: #fff; }
.tsi-mb-packages-section .btsm-btn-primary:hover,
.tsi-mb-booking-section .btsm-btn-primary:hover { background: var(--btsm-orange-dark); color: #fff; transform: translateY(-1px); }
.tsi-mb-packages-section .btsm-btn-outline { border-color: #cfd4dc; color: var(--btsm-navy); background: #fff; }
.tsi-mb-packages-section .btsm-btn-outline:hover { border-color: var(--btsm-orange); color: var(--btsm-orange); }

/* ================================================================ */
/* Packages                                                          */
/* ================================================================ */

.tsi-mb-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }

.tsi-mb-package {
	position: relative;
	border: 1px solid var(--btsm-line); border-radius: 18px; background: #fff;
	padding: 30px; box-shadow: 0 14px 38px rgba(15, 23, 41, .06);
}
.tsi-mb-package.is-featured {
	border: 2px solid var(--btsm-orange); transform: translateY(-8px);
	box-shadow: 0 22px 55px rgba(251, 141, 0, .15);
}
.tsi-mb-package__badge {
	position: absolute; top: -13px; right: 22px; padding: 7px 11px; border-radius: 999px;
	background: var(--btsm-orange); color: #fff; font-size: 10px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .8px;
}
.tsi-mb-package h3 { margin: 0; color: var(--btsm-navy); font-size: 22px; }
.tsi-mb-package__range { color: var(--btsm-muted); font-size: 12px; margin: 6px 0 18px; }
.tsi-mb-package__price { font-size: 35px; font-weight: 800; color: var(--btsm-navy); letter-spacing: -1px; }
.tsi-mb-packages-section .tsi-mb-package > p { color: var(--btsm-muted); font-size: 12.5px; margin: 1em 0; }
.tsi-mb-package ul { list-style: none; padding: 0; margin: 22px 0; }
.tsi-mb-package li { padding: 8px 0; border-bottom: 1px solid #eef0f2; font-size: 12px; color: #475467; }
.tsi-mb-package li::before { content: "\2713"; color: var(--btsm-orange); font-weight: 800; margin-right: 8px; }
.tsi-mb-packages-section .tsi-mb-package .btsm-btn { width: 100%; margin-top: 10px; }

.tsi-mb-availability {
	background: var(--btsm-cream); border: 1px solid rgba(251, 141, 0, .28);
	border-radius: 20px; padding: 28px; margin-top: 30px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.tsi-mb-availability__item { background: #fff; border-radius: 14px; padding: 20px; }
.tsi-mb-availability__item small { display: block; color: var(--btsm-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.tsi-mb-availability__item strong { display: block; color: var(--btsm-navy); font-size: 18px; margin-top: 5px; }
.tsi-mb-availability__item span { display: block; color: #667085; font-size: 11px; margin-top: 4px; }

.tsi-mb-joint {
	margin-top: 26px; padding: 24px; border-radius: 16px;
	background: var(--btsm-page); border: 1px solid var(--btsm-line);
	display: flex; gap: 16px; align-items: flex-start;
}
.tsi-mb-joint__icon {
	width: 46px; height: 46px; border-radius: 12px; background: #fff4df; color: var(--btsm-orange);
	display: grid; place-items: center; font-size: 20px; flex: 0 0 auto;
}
.tsi-mb-joint h3 { margin: 0 0 5px; color: var(--btsm-navy); font-size: 16px; }
.tsi-mb-packages-section .tsi-mb-joint p { margin: 0; color: var(--btsm-muted); font-size: 12.5px; }

/* ================================================================ */
/* Booking shell                                                     */
/* ================================================================ */

.tsi-mb-shell {
	background: linear-gradient(145deg, #0f1729, #151f36);
	color: #fff; border-radius: 24px; overflow: hidden;
	box-shadow: 0 30px 70px rgba(15, 23, 41, .18);
}
.tsi-mb-shell__top { padding: 34px 36px 20px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.tsi-mb-shell__top h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -1px; color: #fff; }
.tsi-mb-booking-section .tsi-mb-shell__top p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 13px; max-width: 760px; }
.tsi-mb-shell__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 600; }
.tsi-mb-shell__meta span { display: flex; align-items: center; gap: 8px; }

.tsi-mb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 22px 36px 0; }
.tsi-mb-step { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .45); font-size: 11px; font-weight: 700; }
.tsi-mb-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); flex: 0 0 auto; }
.tsi-mb-step.is-active { color: #fff; }
.tsi-mb-step.is-active span { background: var(--btsm-orange); border-color: var(--btsm-orange); color: #fff; }
.tsi-mb-step.is-done span { background: #fff; color: var(--btsm-navy); border-color: #fff; }

.tsi-mb-form { padding: 28px 36px 36px; }
.tsi-mb-panel { display: none; }
.tsi-mb-panel.is-active { display: block; }

.tsi-mb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tsi-mb-field.full { grid-column: 1 / -1; }

.tsi-mb-form label { display: block; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .78); margin-bottom: 7px; }
.tsi-mb-group-label { font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .78); }
.tsi-mb-booking-section .tsi-mb-lead { margin: 6px 0 16px; font-size: 12px; color: rgba(255, 255, 255, .6); max-width: 720px; }

.tsi-mb-form input[type="text"],
.tsi-mb-form input[type="email"],
.tsi-mb-form input[type="tel"],
.tsi-mb-form input[type="number"],
.tsi-mb-form input[type="date"],
.tsi-mb-form select,
.tsi-mb-form textarea {
	width: 100%; border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .07); color: #fff; border-radius: 10px;
	padding: 13px 14px; outline: none; font: inherit; font-size: 14px;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.tsi-mb-form input::placeholder,
.tsi-mb-form textarea::placeholder { color: rgba(255, 255, 255, .42); }
.tsi-mb-form select option { color: #111; background: #fff; }
.tsi-mb-form input:focus,
.tsi-mb-form select:focus,
.tsi-mb-form textarea:focus { border-color: var(--btsm-orange); box-shadow: 0 0 0 3px rgba(251, 141, 0, .16); }
.tsi-mb-form textarea { min-height: 110px; resize: vertical; }
.tsi-mb-help { font-size: 10px; color: rgba(255, 255, 255, .45); margin-top: 6px; }

.tsi-mb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tsi-mb-actions {
	display: flex; justify-content: space-between; gap: 12px; margin-top: 24px;
	padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.tsi-mb-actions .btsm-btn { border: 0; }
.tsi-mb-btn-back { background: rgba(255, 255, 255, .08); color: #fff; }
.tsi-mb-btn-back:hover { background: rgba(255, 255, 255, .14); }
.tsi-mb-form .btsm-btn[disabled] { opacity: .6; cursor: progress; }

/* Package + payment choice cards */
.tsi-mb-choice,
.tsi-mb-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.tsi-mb-choice input,
.tsi-mb-pay input { position: absolute; opacity: 0; pointer-events: none; }
.tsi-mb-choice label,
.tsi-mb-pay label {
	cursor: pointer; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
	padding: 18px; background: rgba(255, 255, 255, .04); margin: 0; min-height: 128px;
	transition: .18s ease;
}
.tsi-mb-choice label:hover,
.tsi-mb-pay label:hover { border-color: rgba(255, 255, 255, .3); }
.tsi-mb-choice input:checked + label,
.tsi-mb-pay input:checked + label {
	border-color: var(--btsm-orange); background: rgba(251, 141, 0, .10);
	box-shadow: inset 0 0 0 1px var(--btsm-orange);
}
.tsi-mb-choice input:focus-visible + label,
.tsi-mb-pay input:focus-visible + label { outline: 2px solid var(--btsm-orange); outline-offset: 2px; }
.tsi-mb-choice strong,
.tsi-mb-pay strong { display: block; color: #fff; font-size: 14px; }
.tsi-mb-choice b,
.tsi-mb-pay b { display: block; color: var(--btsm-orange); font-size: 18px; margin-top: 5px; }
.tsi-mb-choice small,
.tsi-mb-pay small { display: block; color: rgba(255, 255, 255, .54); margin-top: 4px; font-size: 11px; line-height: 1.5; }
.tsi-mb-pay label { min-height: 118px; }

/* Add-ons */
/* A class-level `display` out-ranks the UA agent's [hidden] rule, so the
   attribute has to be honoured explicitly inside these sections. */
.tsi-mb-packages-section [hidden],
.tsi-mb-booking-section [hidden] { display: none !important; }

.tsi-mb-addons { display: grid; gap: 12px; }
.tsi-mb-addon {
	display: flex; gap: 18px; align-items: flex-start; justify-content: space-between;
	border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
	background: rgba(255, 255, 255, .04); padding: 18px 20px; transition: .18s ease;
}
.tsi-mb-addon.is-on { border-color: rgba(251, 141, 0, .55); background: rgba(251, 141, 0, .07); }
.tsi-mb-addon.is-included { border-color: rgba(99, 212, 162, .45); background: rgba(22, 121, 76, .10); }
.tsi-mb-addon__main { min-width: 0; }
.tsi-mb-form .tsi-mb-addon__toggle { display: flex; align-items: center; gap: 11px; margin: 0 0 6px;
	cursor: pointer; font-size: 14px; font-weight: 700; color: #fff; }
.tsi-mb-addon__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tsi-mb-addon__box {
	width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .38);
	flex: 0 0 auto; display: grid; place-items: center; transition: .15s ease;
}
.tsi-mb-addon__toggle input:checked + .tsi-mb-addon__box {
	background: var(--btsm-orange); border-color: var(--btsm-orange);
}
.tsi-mb-addon__toggle input:checked + .tsi-mb-addon__box::after {
	content: "\2713"; color: #fff; font-size: 12px; font-weight: 800; line-height: 1;
}
.tsi-mb-addon__toggle input:focus-visible + .tsi-mb-addon__box { outline: 2px solid var(--btsm-orange); outline-offset: 2px; }
.tsi-mb-addon__toggle input:disabled + .tsi-mb-addon__box { background: #63d4a2; border-color: #63d4a2; }
.tsi-mb-addon__name { color: #fff; font-size: 14px; font-weight: 700; margin: 0; }
.tsi-mb-booking-section .tsi-mb-addon__desc { margin: 0; color: rgba(255, 255, 255, .62); font-size: 12px; padding-left: 31px; }
.tsi-mb-addon__side { text-align: right; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tsi-mb-addon__price b { display: block; color: var(--btsm-orange); font-size: 16px; font-weight: 800; }
.tsi-mb-addon__price small { display: block; color: rgba(255, 255, 255, .5); font-size: 10px; }
.tsi-mb-addon__included { color: #63d4a2; font-size: 11px; font-weight: 700; }
.tsi-mb-addon__qty { display: inline-flex; align-items: center; gap: 4px; }
.tsi-mb-addon__qty button {
	width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; cursor: pointer; line-height: 1;
}
.tsi-mb-addon__qty button:hover { background: rgba(255, 255, 255, .14); }
.tsi-mb-form .tsi-mb-addon__qty input[type="number"] { width: 54px; text-align: center; padding: 6px 4px; font-size: 13px; }

.tsi-mb-running {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: 18px; padding: 16px 20px; border-radius: 12px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.tsi-mb-running span { color: rgba(255, 255, 255, .62); font-size: 12px; font-weight: 600; }
.tsi-mb-running strong { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }

/* Review + summary */
.tsi-mb-subhead { margin: 26px 0 12px; font-size: 13px; color: rgba(255, 255, 255, .78); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tsi-mb-review { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; }
.tsi-mb-review__row { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tsi-mb-review__row:last-child { border-bottom: 0; }
.tsi-mb-review__row div { padding: 13px 15px; font-size: 12px; }
.tsi-mb-review__row div:first-child { color: rgba(255, 255, 255, .5); }
.tsi-mb-review__row div:last-child { color: #fff; font-weight: 600; }

.tsi-mb-summary { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; }
.tsi-mb-summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 15px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.tsi-mb-summary__row:last-child { border-bottom: 0; }
.tsi-mb-summary__row div:first-child { color: rgba(255, 255, 255, .72); }
.tsi-mb-summary__row div:last-child { color: #fff; font-weight: 700; white-space: nowrap; }
.tsi-mb-summary__row.is-addon div:first-child { color: rgba(255, 255, 255, .55); padding-left: 12px; }
.tsi-mb-summary__row.is-total { background: rgba(255, 255, 255, .05); }
.tsi-mb-summary__row.is-total div { font-size: 15px; font-weight: 800; color: #fff; }
.tsi-mb-summary__row.is-due { background: rgba(251, 141, 0, .12); }
.tsi-mb-summary__row.is-due div { color: var(--btsm-orange); font-weight: 800; font-size: 15px; }
.tsi-mb-summary__row.is-muted div { color: rgba(255, 255, 255, .5); font-weight: 600; }

.tsi-mb-form .tsi-mb-terms { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px;
	cursor: pointer; font-size: 11.5px; font-weight: 400; margin-bottom: 0; }
.tsi-mb-form .tsi-mb-terms input { width: auto; margin: 2px 0 0; flex: 0 0 auto; accent-color: #fb8d00; }
.tsi-mb-terms span { font-size: 11.5px; color: rgba(255, 255, 255, .7); line-height: 1.6; font-weight: 400; }

.tsi-mb-notice {
	background: rgba(251, 141, 0, .10); border: 1px solid rgba(251, 141, 0, .32);
	color: rgba(255, 255, 255, .82); padding: 16px; border-radius: 12px; font-size: 11.5px; margin-top: 18px;
}

.tsi-mb-alert {
	background: rgba(220, 38, 38, .14); border: 1px solid rgba(248, 113, 113, .5);
	color: #fecaca; padding: 14px 16px; border-radius: 12px; font-size: 12.5px; margin-bottom: 20px;
}

/* Success / closed states */
.tsi-mb-success { text-align: center; padding: 30px 12px 12px; }
.tsi-mb-success__icon {
	width: 70px; height: 70px; border-radius: 50%; background: rgba(22, 121, 76, .15);
	color: #63d4a2; display: grid; place-items: center; margin: 0 auto 18px; font-size: 30px; font-weight: 800;
}
.tsi-mb-success--error .tsi-mb-success__icon { background: rgba(220, 38, 38, .16); color: #fca5a5; }
.tsi-mb-success h3 { font-size: 26px; margin: 0 0 10px; color: #fff; }
.tsi-mb-booking-section .tsi-mb-success p { max-width: 650px; margin: 0 auto; color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.tsi-mb-ref {
	display: inline-block; margin-top: 18px; padding: 10px 18px; border-radius: 999px;
	background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; letter-spacing: .3px;
}
.tsi-mb-closed { padding: 40px 36px 46px; text-align: center; }
.tsi-mb-closed h3 { color: #fff; font-size: 24px; margin: 0 0 10px; }
.tsi-mb-booking-section .tsi-mb-closed p { color: rgba(255, 255, 255, .68); font-size: 13.5px; max-width: 620px; margin: 0 auto; }
.tsi-mb-closed a { color: var(--btsm-orange); }

/* Staff-count capacity notice ------------------------------------- */
.tsi-mb-cap {
	padding: 14px 16px; border-radius: 12px;
	border: 1px solid rgba(251, 141, 0, .38); background: rgba(251, 141, 0, .10);
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.tsi-mb-cap__body { display: flex; align-items: flex-start; gap: 11px; min-width: 220px; flex: 1 1 auto; }
.tsi-mb-cap__icon {
	flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center; font-size: 13px; font-weight: 800;
	background: var(--btsm-orange); color: #fff; line-height: 1;
}
.tsi-mb-booking-section .tsi-mb-cap__title {
	margin: 0; font-size: 14px; line-height: 1.4; color: #fff; font-weight: 800;
}
.tsi-mb-booking-section .tsi-mb-cap__text {
	margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .72);
}
.tsi-mb-cap__num {
	color: var(--btsm-orange); font-size: 17px; font-weight: 800;
	padding: 0 2px; letter-spacing: .3px;
}
.tsi-mb-cap__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tsi-mb-cap__btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 40px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent;
	background: var(--btsm-orange); color: #fff !important; text-decoration: none;
	font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center;
	transition: .2s ease;
}
.tsi-mb-cap__btn:hover { background: var(--btsm-orange-dark); transform: translateY(-1px); }
.tsi-mb-cap__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tsi-mb-cap__btn svg { display: block; flex: 0 0 auto; }

/* WhatsApp keeps its own brand colour so it is recognised at a glance. */
.tsi-mb-cap__btn--wa { background: #25d366; color: #0b2e18 !important; }
.tsi-mb-cap__btn--wa:hover { background: #1fbe5a; color: #06230f !important; }

/* When WhatsApp is present, email steps back to a quieter secondary. */
.tsi-mb-cap__btn--ghost {
	background: transparent; color: var(--btsm-orange) !important;
	border-color: rgba(251, 141, 0, .55);
}
.tsi-mb-cap__btn--ghost:hover {
	background: rgba(251, 141, 0, .14); color: var(--btsm-orange) !important;
}

@media (max-width: 900px) {
	.tsi-mb-cap {
		flex-direction: column; align-items: stretch;
		justify-content: flex-start; gap: 12px;
	}
	.tsi-mb-cap__body { min-width: 0; }
	.tsi-mb-cap__actions { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; }
	.tsi-mb-cap__btn { width: 100%; }
}

/* The capacity notice sits in its own grid cell so that on a single-column
   phone layout the order reads input -> suggestion -> notice. On two-column
   screens the suggestion card spans both rows, which restores the original
   desktop arrangement: input top-left, suggestion right, notice bottom-left. */
@media (min-width: 768px) {
	.tsi-mb-suggest-cell { grid-row: span 2; }
}
.tsi-mb-cap-cell { display: block; }
.tsi-mb-cap-cell[hidden] { display: none; }

/* ================================================================ */
/* Suggested package panel (step 1)                                  */
/* ================================================================ */

.tsi-mb-suggest {
	display: flex; flex-direction: column; justify-content: center;
	min-height: 100%; padding: 18px 20px; border-radius: 12px;
	border: 1px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04);
}
.tsi-mb-suggest:not(.is-empty) {
	border-style: solid; border-color: rgba(251, 141, 0, .5); background: rgba(251, 141, 0, .08);
}
.tsi-mb-suggest.is-warning { border-color: rgba(96, 165, 250, .55); background: rgba(37, 99, 235, .12); }
.tsi-mb-suggest__label {
	display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
	text-transform: uppercase; color: var(--btsm-orange); margin-bottom: 8px;
}
.tsi-mb-suggest.is-warning .tsi-mb-suggest__label { color: #93c5fd; }
.tsi-mb-suggest strong { display: block; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.3; }
.tsi-mb-suggest b { display: block; color: var(--btsm-orange); font-size: 20px; font-weight: 800; margin-top: 2px; }
.tsi-mb-suggest.is-warning b { color: #93c5fd; }
.tsi-mb-booking-section .tsi-mb-suggest p {
	margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, .68);
}
.tsi-mb-suggest-cell { display: flex; }

/* Complimentary add-ons */
.tsi-mb-addon.is-complimentary { border-color: rgba(99, 212, 162, .45); background: rgba(22, 121, 76, .08); }
.tsi-mb-addon__price b.is-free { color: #63d4a2; }

@media (max-width: 767px) {
	.tsi-mb-suggest { min-height: 0; }
}

/* ================================================================ */
/* Responsive                                                        */
/* ================================================================ */

@media (max-width: 1024px) {
	.tsi-mb-packages-section.tsi-btsm-section,
	.tsi-mb-booking-section.tsi-btsm-section { padding: 74px 0; }
	.tsi-mb-packages { grid-template-columns: 1fr; }
	.tsi-mb-package.is-featured { transform: none; }
	.tsi-mb-choice, .tsi-mb-pay { grid-template-columns: 1fr; }
	.tsi-mb-choice label, .tsi-mb-pay label { min-height: 0; }
	.tsi-mb-steps { grid-template-columns: repeat(5, auto); justify-content: space-between; }
	.tsi-mb-step { font-size: 0; gap: 0; }
	.tsi-mb-step span { font-size: 12px; }
}

@media (max-width: 767px) {
	.tsi-mb-packages-section .tsi-btsm-container,
	.tsi-mb-booking-section .tsi-btsm-container { width: min(100% - 28px, 1180px); }
	.tsi-mb-packages-section.tsi-btsm-section,
	.tsi-mb-booking-section.tsi-btsm-section { padding: 66px 0; }
	.tsi-mb-availability { grid-template-columns: 1fr; }
	.tsi-mb-joint { flex-direction: column; }
	.tsi-mb-shell { border-radius: 18px; }
	.tsi-mb-shell__top { padding: 28px 20px 20px; }
	.tsi-mb-shell__top h2 { font-size: 24px; }
	.tsi-mb-steps { padding: 20px 20px 0; }
	.tsi-mb-form { padding: 22px 20px 28px; }
	.tsi-mb-grid { grid-template-columns: 1fr; }
	.tsi-mb-review__row { grid-template-columns: 1fr; }
	.tsi-mb-review__row div:first-child { padding-bottom: 3px; }
	.tsi-mb-review__row div:last-child { padding-top: 3px; }
	.tsi-mb-addon { flex-direction: column; gap: 12px; }
	.tsi-mb-addon__side { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; width: 100%; padding-left: 31px; }
	.tsi-mb-addon__desc { padding-left: 31px; }
	.tsi-mb-actions { flex-direction: column-reverse; }
	.tsi-mb-actions .btsm-btn { width: 100%; }
	.tsi-mb-actions > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.tsi-mb-packages-section *,
	.tsi-mb-booking-section * { transition: none !important; animation: none !important; }
}

/* ================================================================ */
/* Mobile spacing refinements                                        */
/*                                                                   */
/* The desktop layout is a faithful reproduction of the approved     */
/* design and is deliberately left alone. On a phone, however, the   */
/* fixed card min-heights and generous padding leave visible dead    */
/* space under short copy, which makes the page feel much longer     */
/* than it is. These rules reclaim that space below 768px only.      */
/* This stylesheet is enqueued in the footer, so it lands after the  */
/* section styles and wins ties without !important.                  */
/* ================================================================ */

@media (max-width: 767px) {

	/* Tighten the overall vertical rhythm a little. */
	.tsi-btsm.tsi-btsm-section,
	.tsi-mb-packages-section.tsi-btsm-section,
	.tsi-mb-booking-section.tsi-btsm-section { padding: 56px 0; }

	.tsi-btsm .tsi-btsm-head { margin-bottom: 26px; }

	/* Cards: drop the fixed heights that only create dead space, and
	   trim padding so the copy sits comfortably rather than adrift. */
	.tsi-btsm .tsi-btsm-skill { min-height: 0; padding: 20px; }
	.tsi-btsm .tsi-btsm-skill__no { margin-bottom: 14px; }

	.tsi-btsm .tsi-btsm-track { min-height: 0; padding: 20px; }
	.tsi-btsm .tsi-btsm-track__icon { margin-bottom: 12px; }

	.tsi-btsm .tsi-btsm-mechanic__card { padding: 20px; }
	.tsi-btsm .tsi-btsm-mechanic__no { margin-bottom: 13px; }

	.tsi-btsm .tsi-btsm-trust__item { min-height: 0; padding: 18px 20px; }

	.tsi-btsm .tsi-btsm-why__copy,
	.tsi-btsm .tsi-btsm-why__card { padding: 24px; }
	.tsi-btsm .tsi-btsm-why__point { margin: 13px 0; }

	/* Plugin-owned blocks. */
	.tsi-mb-package { padding: 24px; }
	.tsi-mb-package ul { margin: 18px 0; }
	.tsi-mb-availability { padding: 18px; margin-top: 22px; }
	.tsi-mb-availability__item { padding: 16px; }
	.tsi-mb-joint { padding: 20px; margin-top: 20px; }

	.tsi-mb-shell__top { padding: 24px 20px 18px; }
	.tsi-mb-form { padding: 20px 20px 26px; }
	.tsi-mb-addon { padding: 16px; }
	.tsi-mb-actions { margin-top: 20px; padding-top: 18px; }
}
