/* Site header, courses mega menu, mobile menu and "Book a class" panel (inc/header.php).
   Colours are the site's own Astra globals, as on the course page. */

:root {
	--csh-cyan: #00c8ff;
	--csh-cyan-dark: #00b1e1;
	--csh-blue: #0071e5; /* logo secondary: dark end of the cloud gradient */
	--csh-link: var(--csh-blue);
	--csh-navy: #0f172a;
	--csh-ink: #1e293b;
	--csh-text: #364151;
	--csh-muted: #5b6676;
	--csh-border: #d1dae5;
	--csh-line: #e3eaf2;
	--csh-tint: #e7f6ff;
	--csh-tint-2: #f3fafe;
	--csh-green: #25d366;
	--csh-red: #b42318;
	--csh-bar: 64px;
}

.csh-top *,
.csh *,
.csh-menu *,
.csb * {
	box-sizing: border-box;
}

/* Components set `display`, which would override the `hidden` attribute the scripts toggle. */
.csh [hidden],
.csh-menu [hidden],
.csb [hidden] {
	display: none !important;
}

.csh-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============ Top bar ============ */

.csh-top {
	background: var(--csh-navy);
	color: #cbd5e1;
	font-size: 13px;
	line-height: 1;
}

.csh-top__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 32px;
	gap: 16px;
}

.csh-top ul {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.csh-top a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e2e8f0;
	text-decoration: none;
}

.csh-top a:hover,
.csh-top a:focus-visible {
	color: var(--csh-cyan);
}

.csh-top .fa-solid,
.csh-top .fa-brands {
	color: var(--csh-cyan);
}

.csh-top__wa {
	font-variant-numeric: tabular-nums;
}

.csh-top__wa .fa-brands {
	color: #25d366 !important; /* WhatsApp green: one clear contact */
}

.csh-top__social {
	gap: 16px !important;
}

/* "Become a trainer": right side, before the social icons */
.csh-top__teach {
	margin-left: auto;
	padding-right: 16px;
	border-right: 1px solid rgba(226, 232, 240, .25);
	font-weight: 600;
}

.csh-top__social .fa-brands {
	color: #e2e8f0;
	font-size: 14px;
}

.csh-top__social a:hover .fa-brands {
	color: var(--csh-cyan);
}

/* ============ Main bar ============ */

.csh {
	position: sticky !important;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--csh-line);
	transition: box-shadow 0.2s ease;
}

body.admin-bar .csh {
	top: 32px;
}

.csh.is-stuck {
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.csh-bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--csh-bar);
}

.csh-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.csh-logo__img {
	display: block;
	width: auto;
	height: 38px;
}

.csh-logo__text {
	font: 800 20px/1 'Nunito Sans', sans-serif;
	color: var(--csh-navy);
}

.csh-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	height: 100%;
}

.csh-nav__list {
	display: flex;
	align-items: stretch;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.csh-nav__item {
	position: static;
	display: flex;
	align-items: center;
}

.csh-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	color: var(--csh-ink);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.csh-nav__item--mega .csh-nav__link {
	padding-right: 4px;
}

.csh-nav__link:hover,
.csh-nav__link:focus-visible,
.csh-nav__item--mega.is-open .csh-nav__link {
	color: var(--csh-link);
}

.csh-nav__link[aria-current="page"] {
	color: var(--csh-link);
}

.csh-nav__link[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(90deg, #00cefc, #0071e5);
}

.csh-nav__item--mega .csh-nav__link[aria-current="page"]::after {
	right: 4px;
}

.csh-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0 9px 0 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px;
	background: transparent !important;
	color: var(--csh-ink) !important;
	font-size: 11px;
	cursor: pointer;
}

.csh-nav__toggle i {
	transition: transform 0.2s ease;
}

.csh-nav__toggle[aria-expanded="true"] i {
	transform: rotate(180deg);
}

.csh-nav__toggle:hover,
.csh-nav__toggle:focus-visible {
	background: var(--csh-tint-2) !important;
	color: var(--csh-link) !important;
}

/* ---- "Training for" dropdown (change list #3) ---- */

.csh-nav__item--drop {
	position: relative;
}

/* Astra styles every <button> (white text, 16px, 13px 25px padding): reset to the nav link look. */
.csh .csh-nav .csh-nav__dropbtn {
	gap: 7px;
	margin: 0;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--csh-ink) !important;
	font-family: inherit !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer;
}

.csh .csh-nav .csh-nav__dropbtn:hover,
.csh .csh-nav .csh-nav__dropbtn:focus-visible,
.csh .csh-nav .csh-nav__dropbtn[aria-current="page"],
.csh .csh-nav__dropbtn i {
	font-size: 11px;
	transition: transform .2s ease;
}

.csh-nav__dropbtn[aria-expanded="true"] i {
	transform: rotate(180deg);
}

.csh-nav__item--drop.is-open .csh-nav__dropbtn {
	color: var(--csh-link) !important;
}

.csh-drop {
	position: absolute;
	top: calc(100% - 6px);
	left: 50%;
	z-index: 30;
	display: grid;
	gap: 2px;
	width: 330px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--csh-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .35);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}

.csh-nav__item--drop.is-open .csh-drop {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition: opacity .15s ease, transform .15s ease, visibility 0s;
}

.csh-drop a,
.csh-drop .csh-drop__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--csh-ink);
	text-decoration: none;
	transition: background-color .12s, color .12s;
}

.csh-drop a:hover,
.csh-drop a:focus-visible,
.csh-drop a[aria-current="page"] {
	background: var(--csh-tint-2);
}

.csh-drop strong {
	display: block;
	color: var(--csh-navy);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}

.csh-drop small {
	display: block;
	margin-top: 2px;
	color: var(--csh-muted);
	font-size: 13px;
	line-height: 1.4;
}

.csh-drop__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--csh-tint, #e7f6ff);
	color: var(--csh-link);
	font-size: 15px;
}

.csh-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	margin-left: auto;
}

.csh-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	border: 1px solid var(--csh-border) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--csh-ink) !important;
	font-size: 15px;
	cursor: pointer;
}

.csh-iconbtn:hover,
.csh-iconbtn:focus-visible,
.csh-iconbtn[aria-expanded="true"] {
	border-color: var(--csh-cyan-dark) !important;
	color: var(--csh-link) !important;
	background: var(--csh-tint-2) !important;
}

.csh-book,
.csh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--csh-cyan) !important;
	color: var(--csh-navy) !important;
	font: 700 14.5px/1.2 'Nunito Sans', sans-serif !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.csh-book:hover,
.csh-book:focus-visible,
.csh-btn--primary:hover,
.csh-btn--primary:focus-visible {
	background: var(--csh-blue) !important;
	color: #fff !important;
}

.csh-btn--line {
	background: #fff !important;
	border: 1px solid var(--csh-border) !important;
	color: var(--csh-ink) !important;
}

.csh-btn--line:hover,
.csh-btn--line:focus-visible {
	border-color: var(--csh-cyan-dark) !important;
	background: var(--csh-tint-2) !important;
}

.csh-btn--line .fa-whatsapp {
	color: #1da851;
	font-size: 17px;
}

.csh-btn--block {
	display: flex;
	width: 100%;
}

.csh-book__short {
	display: none;
}

.csh-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid var(--csh-border) !important;
	border-radius: 12px !important;
	background: #fff !important;
	cursor: pointer;
}

.csh-burger__bars,
.csh-burger__bars::before,
.csh-burger__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--csh-navy);
}

.csh-burger__bars {
	position: relative;
}

.csh-burger__bars::before,
.csh-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.csh-burger__bars::before {
	top: -6px;
}

.csh-burger__bars::after {
	top: 6px;
}

/* ============ Search ============ */

.csh-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 18px 0 22px;
	background: #fff;
	border-top: 1px solid var(--csh-line);
	box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
}

.csh-search .csh-searchform {
	max-width: 760px;
	margin: 0 auto;
}

.csh-searchform {
	position: relative;
	display: flex;
	align-items: center;
}

.csh-searchform > .fa-magnifying-glass {
	position: absolute;
	left: 18px;
	color: var(--csh-muted);
	font-size: 15px;
	pointer-events: none;
}

.csh-searchform input[type="search"] {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 104px 0 46px !important;
	border: 1px solid var(--csh-border) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: var(--csh-navy) !important;
	font-size: 16px !important;
	box-shadow: none !important;
}

.csh-searchform input[type="search"]:focus {
	outline: none;
	border-color: var(--csh-cyan-dark) !important;
	box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.25) !important;
}

.csh-searchform__go {
	position: absolute;
	right: 6px;
	height: 40px;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--csh-navy) !important;
	color: #fff !important;
	font: 700 14px/1 'Nunito Sans', sans-serif !important;
	cursor: pointer;
}

.csh-searchform__results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 5;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--csh-line);
	border-radius: 12px;
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.csh-searchform__results li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	border-radius: 9px;
}

.csh-searchform__results li.is-active,
.csh-searchform__results li:hover {
	background: var(--csh-tint-2);
}

.csh-searchform__results a,
body .csh-searchform__results button.csh-searchform__ask {
	flex: 1 1 auto;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	display: block;
	padding: 10px 12px;
	color: var(--csh-navy);
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
}

.csh-searchform__results a span,
.csh-searchform__results .csh-searchform__ask span {
	display: block;
	color: var(--csh-muted);
	font-weight: 400;
	font-size: 13px;
}

.csh-searchform__results .csh-course__book {
	position: static;
	flex: 0 0 auto;
	opacity: 1;
	margin-right: 8px;
}

.csh-searchform__empty {
	padding: 12px;
	color: var(--csh-muted);
	font-size: 14px;
}

/* ============ Mega menu ============
   Two panes (Arjun, 2026-10-25): the chosen category's courses on the left, the categories (vertical tabs) and the
   advice box on the right. Built from the 25-course catalogue plus every course page (cs_menu_catalogue()). */

.csh-mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid var(--csh-line);
	box-shadow: 0 28px 48px rgba(15, 23, 42, 0.14);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
	pointer-events: none;
}

/* Astra puts `transition: all` on links, which would also fade their (inherited) visibility and keep them
   unfocusable for a moment after the panel opens. */
.csh-mega a,
.csh-mega button {
	transition-property: color, background-color, border-color, opacity !important;
}

.csh-mega.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
	pointer-events: auto;
}

.csh-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	padding-top: 24px;
	padding-bottom: 28px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}

/* ---- Left: the course pane ---- */
.csh-pane {
	min-height: 100%;
	animation: csh-pane-in 0.18s ease both;
}

@keyframes csh-pane-in {
	from {
		opacity: 0;
		transform: translateX(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.csh-pane__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0 0 12px;
	padding: 0 10px 12px;
	border-bottom: 1px solid var(--csh-line);
}

.csh-mega .csh-pane__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	color: var(--csh-navy) !important;
	font: 800 20px/1.3 'Nunito Sans', sans-serif !important;
}

.csh-pane__title i {
	color: var(--csh-link);
	font-size: 17px;
}

.csh-pane__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--csh-link);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.csh-pane__all:hover,
.csh-pane__all:focus-visible {
	text-decoration: underline !important;
}

.csh-pane__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.csh-course {
	position: relative;
	margin: 0;
	border-radius: 10px;
}

.csh-course:hover,
.csh-course:focus-within {
	background: var(--csh-tint-2);
}

/* Link (course page) or button (no page yet: "Ask about dates" opens the advice panel). Astra styles every <button>. */
.csh-course__link,
body .csh-mega button.csh-course__link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 10px 10px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: 0;
	text-align: left;
	text-decoration: none !important;
	text-transform: none;
	cursor: pointer;
}

.csh-course__mark {
	display: inline-flex;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--csh-line);
	border-radius: 9px;
	background: #fff;
}

.csh-course__mark img {
	display: block;
	width: 20px !important;
	height: 20px !important;
	object-fit: contain;
}

.csh-course__mark i {
	color: #777bb4;
	font-size: 18px;
}

.csh-course__body {
	min-width: 0;
}

.csh-course__title {
	display: block;
	color: var(--csh-navy);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.35;
}

.csh-course__code {
	display: inline-block;
	margin-left: 2px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--csh-tint);
	color: #005bbf;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
	vertical-align: 1px;
	white-space: nowrap;
}

.csh-course__link:hover .csh-course__title,
.csh-course__link:focus-visible .csh-course__title {
	color: var(--csh-link);
}

.csh-course__meta {
	display: block;
	margin-top: 2px;
	padding-right: 56px;
	color: var(--csh-muted);
	font-size: 13px;
	line-height: 1.4;
}

.csh-course__meta.has-date {
	color: #0b7a3e;
}

.csh-course--ask .csh-course__meta {
	padding-right: 0;
	color: var(--csh-link);
	font-weight: 600;
}

.csh-course__book {
	position: absolute;
	right: 8px;
	bottom: 9px;
	padding: 4px 12px !important;
	border: 1px solid var(--csh-cyan-dark) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--csh-navy) !important;
	font: 700 13px/1.2 'Nunito Sans', sans-serif !important;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.12s ease;
}

.csh-course:hover .csh-course__book,
.csh-course:focus-within .csh-course__book {
	opacity: 1;
}

.csh-course__book:hover,
.csh-course__book:focus-visible {
	background: var(--csh-cyan) !important;
	border-color: var(--csh-cyan) !important;
}

@media (hover: none) {
	.csh-course__book {
		opacity: 1;
	}
}

/* ---- Right: categories + advice ---- */
.csh-mega__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-self: start;
	padding-left: 28px;
	border-left: 1px solid var(--csh-line);
}

.csh-mega .csh-mega__label {
	margin: 0 0 -4px;
	color: var(--csh-muted);
	font: 800 12px/1.3 'Nunito Sans', sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.csh-cats {
	display: grid;
	gap: 4px;
}

body .csh-mega button.csh-cat {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: none;
	box-shadow: none;
	color: var(--csh-navy);
	font: 700 15px/1.3 'Nunito Sans', sans-serif;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

body .csh-mega button.csh-cat:hover {
	background: var(--csh-tint-2);
}

body .csh-mega button.csh-cat:focus-visible {
	outline: 2px solid var(--csh-link);
	outline-offset: 1px;
}

/* Selected: tinted, the logo's gradient bar on the side facing the courses */
body .csh-mega button.csh-cat[aria-selected="true"] {
	border-color: #bfe9fb;
	background: var(--csh-tint);
}

body .csh-mega button.csh-cat[aria-selected="true"]::before {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: -1px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, #00cefc, #0071e5);
	content: "";
}

.csh-cat__icon {
	display: inline-flex;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--csh-tint);
	color: var(--csh-link);
	font-size: 14px;
}

.csh-cat[aria-selected="true"] .csh-cat__icon {
	background: #fff;
}

.csh-cat__name {
	flex: 1 1 auto;
}

.csh-cat__count {
	min-width: 26px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef3f8;
	color: var(--csh-text);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.csh-cat[aria-selected="true"] .csh-cat__count {
	background: var(--csh-cyan);
	color: var(--csh-navy);
}

.csh-mega__help {
	padding: 16px;
	border: 1px solid #d7ecf7;
	border-radius: 14px;
	background: var(--csh-tint-2);
}

.csh-mega__help p {
	margin: 0 0 12px;
	color: var(--csh-text);
	font-size: 14px;
	line-height: 1.5;
}

.csh-mega__help strong {
	display: block;
	margin-bottom: 2px;
	color: var(--csh-navy);
	font-size: 15px;
}

.csh-mega__help .csh-btn {
	width: 100%;
}

.csh-mega__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
	color: var(--csh-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}

.csh-mega__wa .fa-whatsapp {
	color: #1da851;
	font-size: 16px;
}

.csh-mega__wa:hover {
	text-decoration: underline !important;
}

.csh-mega__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.csh-mega__links li {
	margin: 0;
}

.csh-mega__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	padding: 6px 2px;
	color: var(--csh-link);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
}

.csh-mega__links a:hover {
	text-decoration: underline;
}

/* ============ Mobile menu ============ */

.csh-menu,
.csb {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.csh-menu[hidden],
.csb[hidden] {
	display: none;
}

.csh-menu__overlay,
.csb__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.csh-menu__panel,
.csb__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(400px, 100%);
	background: #fff;
	box-shadow: -12px 0 32px rgba(15, 23, 42, 0.18);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.csh-menu.is-open .csh-menu__overlay,
.csb.is-open .csb__overlay {
	opacity: 1;
}

.csh-menu.is-open .csh-menu__panel,
.csb.is-open .csb__panel {
	transform: none;
}

.csh-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	height: 56px;
	padding: 0 16px 0 20px;
	border-bottom: 1px solid var(--csh-line);
}

.csh-menu__head .csh-logo__img {
	height: 32px;
}

.csh-menu__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px 20px 24px;
	-webkit-overflow-scrolling: touch;
}

.csh-menu__body .csh-searchform__results {
	position: static;
	margin-top: 6px;
	box-shadow: none;
}

.csh-menu__nav {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.csh-menu__nav > li {
	margin: 0;
	border-bottom: 1px solid var(--csh-line);
}

.csh-menu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--csh-navy) !important;
	font: 700 17px/1.3 'Nunito Sans', sans-serif !important;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
}

.csh-menu__link[aria-current="page"] {
	color: var(--csh-link) !important;
}

.csh-menu__expand i {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.csh-menu__expand[aria-expanded="true"] i {
	transform: rotate(180deg);
}

.csh-menu__courses {
	padding: 0 0 14px;
}

.csh-menu__track {
	margin: 12px 0 4px !important;
	color: var(--csh-link);
	font: 800 12px/1.3 'Nunito Sans', sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.csh-menu__courses ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.csh-menu__courses li {
	margin: 0;
}

.csh-menu__courses li a,
body .csh-menu__courses li button.csh-menu__ask {
	display: block;
	width: 100%;
	margin: 0;
	border-width: 0 0 0 2px;
	border-radius: 0;
	background: none;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	padding: 8px 0 8px 12px;
	border-left: 2px solid var(--csh-line);
	color: var(--csh-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.csh-menu__courses li a span,
.csh-menu__courses li .csh-menu__ask span {
	display: block;
	margin-top: 2px;
	color: var(--csh-muted);
	font-size: 13px;
	font-weight: 400;
}

.csh-menu__courses li a:hover,
.csh-menu__courses li a:focus-visible,
body .csh-menu__courses li button.csh-menu__ask:hover,
body .csh-menu__courses li button.csh-menu__ask:focus-visible {
	border-left-color: var(--csh-cyan);
	color: var(--csh-link);
}

.csh-menu__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--csh-link);
	font-weight: 700;
	text-decoration: none;
}

.csh-menu__contact {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

/* Both phone numbers (Nepal + UK), each a tap-to-call row with its flag */
.csh-menu .csh-menu__phones {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.csh-menu__phones a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 8px 14px;
	border: 1px solid var(--csh-line, #e3eaf2);
	border-radius: 12px;
	color: var(--csh-navy);
	font-weight: 700;
	text-decoration: none;
}

.csh-menu__phones .cs-phones__label {
	color: var(--csh-muted);
	font-size: 13px;
	font-weight: 600;
}

.csh-menu__phones .cs-phones__num {
	margin-left: auto;
}

.csh-menu__address {
	display: flex;
	gap: 8px;
	margin: 14px 0 0 !important;
	color: var(--csh-muted);
	font-size: 14px;
	line-height: 1.5;
}

.csh-menu__address i {
	margin-top: 3px;
	color: var(--csh-link);
}

.csh-menu__foot {
	flex: 0 0 auto;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--csh-line);
	background: #fff;
}

/* ============ Book a class panel ============ */

.csb__panel {
	width: min(500px, 100%);
}

.csb__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	padding: 16px 16px 16px 24px;
	background: var(--csh-navy);
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(90deg, #00cefc, #0071e5) 1;
}

.csb__title {
	margin: 0 !important;
	color: #fff !important;
	font: 800 20px/1.3 'Nunito Sans', sans-serif !important;
}

.csb__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 17px;
	cursor: pointer;
}

.csb__close:hover,
.csb__close:focus-visible {
	background: rgba(255, 255, 255, 0.12) !important;
}

.csb__form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	margin: 0;
}

.csb__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 22px 24px 8px;
	color: var(--csh-text);
	-webkit-overflow-scrolling: touch;
}

.csb__step {
	min-width: 0;
	margin: 0 0 24px !important;
	padding: 0 !important;
	border: 0 !important;
}

.csb__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--csh-navy);
	font: 800 16.5px/1.3 'Nunito Sans', sans-serif;
}

.csb__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--csh-tint);
	color: var(--csh-link);
	font-size: 13.5px;
}

.csb__select,
.csb__field input,
.csb__field textarea {
	width: 100%;
	margin: 0;
	padding: 12px 14px !important;
	border: 1px solid #c3cfdc !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--csh-navy) !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

.csb__select {
	height: 50px;
	padding-right: 40px !important;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f172a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	font-weight: 600;
}

.csb__select:focus,
.csb__field input:focus,
.csb__field textarea:focus {
	outline: none;
	border-color: var(--csh-cyan-dark) !important;
	box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.25) !important;
}

.csb [aria-invalid="true"] {
	border-color: var(--csh-red) !important;
}

.csb__hint {
	margin: 8px 0 0 !important;
	color: var(--csh-muted);
	font-size: 14px;
	line-height: 1.5;
}

.csb__hint a {
	color: var(--csh-link) !important;
	font-weight: 700;
	text-decoration: underline;
}

.csb__fielderror {
	margin: 6px 0 0 !important;
	color: var(--csh-red);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.csb__batches {
	display: grid;
	gap: 10px;
}

.csb__batch {
	position: relative;
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--csh-border);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.12s ease, background-color 0.12s ease;
}

.csb__batch:hover {
	border-color: var(--csh-cyan-dark);
}

.csb__batch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.csb__batch:has(input:checked) {
	border-color: var(--csh-cyan-dark);
	background: var(--csh-tint-2);
	box-shadow: 0 0 0 1px var(--csh-cyan-dark);
}

.csb__batch:has(input:focus-visible) {
	outline: 3px solid rgba(0, 200, 255, 0.45);
	outline-offset: 2px;
}

.csb__cal {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 50px;
	border: 1px solid var(--csh-border);
	border-radius: 9px;
	background: #fff;
	text-align: center;
}

.csb__cal b {
	display: block;
	padding: 3px 0 2px;
	background: var(--csh-cyan);
	color: var(--csh-navy);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.csb__cal span {
	display: block;
	padding: 4px 0 5px;
	color: var(--csh-navy);
	font: 800 19px/1 'Nunito Sans', sans-serif;
}

.csb__cal--icon {
	align-items: center;
	justify-content: center;
	height: 50px;
	border-style: dashed;
	color: var(--csh-link);
	font-size: 19px;
}

.csb__btext {
	min-width: 0;
	line-height: 1.4;
}

.csb__btext strong {
	display: block;
	color: var(--csh-navy);
	font-size: 15.5px;
}

.csb__btext .csb__slot {
	display: block;
	color: var(--csh-ink);
	font-size: 14.5px;
	font-weight: 600;
}

.csb__btext .csb__meta {
	display: block;
	color: var(--csh-muted);
	font-size: 13.5px;
}

.csb__tick {
	width: 22px;
	height: 22px;
	border: 2px solid var(--csh-border);
	border-radius: 50%;
	background: #fff;
}

.csb__batch:has(input:checked) .csb__tick {
	border: 6px solid var(--csh-cyan-dark);
}

.csb__more {
	margin-top: 10px;
	padding: 6px 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--csh-link) !important;
	font: 700 14.5px/1.3 'Nunito Sans', sans-serif !important;
	cursor: pointer;
}

.csb__more:hover {
	text-decoration: underline;
}

.csb__prefs {
	margin-top: 14px;
	padding: 14px 16px 16px;
	border-radius: 12px;
	background: var(--csh-tint-2);
	border: 1px solid #d7ecf7;
}

.csb__sublabel {
	margin: 0 0 8px !important;
	color: var(--csh-navy);
	font-size: 14.5px;
	font-weight: 700;
}

.csb__chips + .csb__sublabel {
	margin-top: 14px !important;
}

.csb__optional {
	color: var(--csh-muted);
	font-weight: 400;
}

.csb__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.csb__chip {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.csb__chip input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.csb__chip span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--csh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--csh-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.csb__chip input:checked + span {
	border-color: var(--csh-navy);
	background: var(--csh-navy);
	color: #fff;
}

.csb__chip input:checked + span::before {
	content: "\2713";
	font-weight: 800;
}

.csb__chip input:focus-visible + span {
	outline: 3px solid rgba(0, 200, 255, 0.45);
	outline-offset: 2px;
}

.csb__field {
	margin: 0 0 14px;
}

.csb__field label {
	display: block;
	margin: 0 0 6px;
	color: var(--csh-navy);
	font-size: 14.5px;
	font-weight: 700;
}

.csb__field input {
	height: 48px;
}

.csb__field textarea {
	min-height: 84px;
	resize: vertical;
}

.csb__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.csb__foot {
	flex: 0 0 auto;
	padding: 14px 24px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--csh-line);
	background: #fff;
}

.csb__submit {
	min-height: 52px;
	font-size: 16.5px !important;
}

.csb__submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.csb__note {
	margin: 10px 0 0 !important;
	color: var(--csh-muted);
	font-size: 13.5px;
	line-height: 1.45;
	text-align: center;
}

.csb__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
	color: var(--csh-ink);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
}

.csb__wa .fa-whatsapp {
	color: #1da851;
	font-size: 18px;
}

.csb__wa:hover {
	color: var(--csh-link);
	text-decoration: underline;
}

.csb__alert {
	margin: 0 0 12px;
	padding: 11px 14px;
	border: 1px solid #fecdca;
	border-radius: 10px;
	background: #fef3f2;
	color: var(--csh-red);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.csb__alert a {
	color: inherit;
	text-decoration: underline;
}

.csb__done {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 40px 28px 28px;
	text-align: center;
	outline: none;
}

.csb__doneicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #dcfce7;
	color: #15803d;
	font-size: 26px;
}

.csb__done h3 {
	margin: 0 0 8px !important;
	color: var(--csh-navy) !important;
	font: 800 22px/1.3 'Nunito Sans', sans-serif !important;
}

.csb__done p {
	margin: 0 0 20px;
	color: var(--csh-text);
	font-size: 15.5px;
	line-height: 1.55;
}

.csb__summary {
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid var(--csh-line);
	border-radius: 12px;
	background: var(--csh-tint-2);
	text-align: left;
}

.csb__summary dt {
	color: var(--csh-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.csb__summary dd {
	margin: 2px 0 10px;
	color: var(--csh-navy);
	font-size: 15px;
	font-weight: 700;
}

.csb__summary dd:last-child {
	margin-bottom: 0;
}

/* Page behind an open panel/menu */
html.csh-lock {
	overflow: hidden;
}

html.csh-lock .chaty,
html.csh-lock .chaty-outer-forms,
html.csh-lock .cs-mobilebar {
	display: none !important;
}

/* ============ Breakpoints ============ */

@media (max-width: 1199px) {
	.csh-nav__link {
		padding: 0 10px;
		font-size: 14.5px;
	}

	.csh-nav__link[aria-current="page"]::after {
		left: 10px;
		right: 10px;
	}

	.csh-bar {
		gap: 16px;
	}

	.csh-logo__img {
		height: 36px;
	}

	.csh-mega__inner {
		grid-template-columns: minmax(0, 1fr) 264px;
		gap: 24px;
	}

	.csh-mega__side {
		padding-left: 20px;
	}
}

@media (max-width: 1099px) {
	:root {
		--csh-bar: 60px;
	}

	.csh-nav,
	.csh-mega {
		display: none;
	}

	.csh-burger {
		display: inline-flex;
	}

	.csh-top__email {
		display: none;
	}
}

@media (max-width: 767px) {
	:root {
		--csh-bar: 56px;
	}

	.csh-top {
		display: none;
	}

	.csh-wrap {
		padding: 0 16px;
	}

	.csh-logo__img {
		height: 31px;
	}

	.csh-actions {
		gap: 8px;
	}

	.csh-actions .csh-iconbtn {
		display: none;
	}

	.csh-book {
		min-height: 38px;
		padding: 0 14px !important;
		font-size: 14px !important;
	}

	.csh-search {
		display: none;
	}
}

@media (max-width: 479px) {
	.csh-book__long {
		display: none;
	}

	.csh-book__short {
		display: inline;
	}

	.csb__body {
		padding: 18px 16px 4px;
	}

	.csb__foot {
		padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
	}

	.csb__head {
		padding: 12px 12px 12px 16px;
	}

	.csb__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.csb__batch {
		grid-template-columns: 46px minmax(0, 1fr) 20px;
		gap: 12px;
		padding: 11px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.csh-mega,
	.csh-menu__panel,
	.csb__panel,
	.csh-menu__overlay,
	.csb__overlay {
		transition: none !important;
	}

	.csh-pane {
		animation: none;
	}
}
