/* ==========================================================================
   Binham — Umrah quotation calculator
   Loaded only on the Umrah template. Every colour comes from tokens.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero layout — calculator left, assistance form right
   -------------------------------------------------------------------------- */

/*
 * .bnh-hero clips its overflow to contain the background image. The image is
 * pinned to inset:0 and cannot escape on its own, so releasing the clip here
 * only affects the room and traveller popovers — which do need to spill past
 * the bottom of the hero.
 */
.bnh-hero--umrah { overflow: visible; }

/*
 * binham_picture() wraps the image in a <picture>, which base.css sizes
 * height:auto. The image's own height:100% then resolves against an auto
 * parent and collapses to the intrinsic height — visible as the background
 * stopping short on this taller-than-usual hero.
 */
.bnh-hero--umrah .bnh-hero__bg picture {
	display: block;
	width: 100%;
	height: 100%;
}

.bnh-hero--umrah .bnh-hero__in {
	align-items: start;
	gap: var(--bnh-s5);
}

.bnh-hero__main {
	display: grid;
	gap: var(--bnh-s4);
	min-width: 0;
}

.bnh-hero--umrah .bnh-hero__copy { max-width: none; }

.bnh-hero--umrah .bnh-hero__title {
	margin: 0;
	font-family: var(--bnh-font-sans);
	font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem);
	font-weight: 700;
	line-height: 1.15;
}

.bnh-hero__calc { min-width: 0; }

/* The assistance card. */
.bnh-help {
	padding: var(--bnh-s5);
	background: var(--bnh-white);
	border-radius: var(--bnh-r-lg);
	box-shadow: var(--bnh-sh-lg);
	color: var(--bnh-ink);
}

.bnh-help__title {
	margin: 0 0 var(--bnh-s4);
	color: var(--bnh-navy-800);
	font-size: 1.375rem;
	font-weight: 700;
}

.bnh-help__form { gap: var(--bnh-s3); }

.bnh-help__form label {
	margin-bottom: .3rem;
	color: var(--bnh-navy);
	font-size: var(--bnh-fs-sm);
	font-weight: 500;
}

.bnh-help__form input {
	padding: .625rem .875rem;
	font-size: var(--bnh-fs-sm);
}

.bnh-help__form .bnh-btn { margin-top: var(--bnh-s2); }

@media (min-width: 1080px) {
	.bnh-hero--umrah.bnh-hero--split .bnh-hero__in {
		grid-template-columns: minmax(0, 1.95fr) minmax(290px, .82fr);
		gap: var(--bnh-s5);
	}
}

/* --------------------------------------------------------------------------
   2. The calculator card
   -------------------------------------------------------------------------- */

.bnh-uc {
	container-type: inline-size;
	container-name: uc;
	position: relative;
	padding: var(--bnh-s4) var(--bnh-s5) var(--bnh-s5);
	background: var(--bnh-white);
	border-radius: var(--bnh-r-lg);
	box-shadow: var(--bnh-sh-lg);
	color: var(--bnh-ink);
}

.bnh-uc__empty {
	margin: 0;
	color: var(--bnh-muted);
	font-size: var(--bnh-fs-sm);
}

.bnh-uc__form { display: grid; gap: var(--bnh-s3); }

/* --- Include toggles ------------------------------------------------------ */

.bnh-uc__toggles {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bnh-s2) var(--bnh-s5);
	padding-bottom: var(--bnh-s3);
	border-bottom: 1px solid var(--bnh-line);
}

.bnh-uc__check {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: var(--bnh-navy);
	font-size: var(--bnh-fs-sm);
	font-weight: 600;
	cursor: pointer;
}

.bnh-uc__check input {
	width: 17px;
	height: 17px;
	accent-color: var(--bnh-orange);
	cursor: pointer;
}

/* --- Field rows ----------------------------------------------------------- */

.bnh-uc__stops { display: grid; gap: var(--bnh-s3); }

.bnh-uc__row {
	display: grid;
	gap: var(--bnh-s2) var(--bnh-s3);
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
}

.bnh-uc__stop { position: relative; }

.bnh-uc__stop + .bnh-uc__stop,
.bnh-uc__row--totals,
.bnh-uc__row--contact {
	padding-top: var(--bnh-s3);
	border-top: 1px dashed var(--bnh-line);
}

.bnh-uc__f { min-width: 0; }
.bnh-uc__f[hidden] { display: none; }

.bnh-uc__f > label,
.bnh-uc__lbl {
	display: block;
	margin-bottom: .25rem;
	color: var(--bnh-navy);
	font-size: var(--bnh-fs-xs);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bnh-uc__f > label b { font-weight: 600; }
.bnh-uc__f > label em { color: var(--bnh-muted); font-style: normal; font-weight: 500; }

.bnh-uc input[type="text"],
.bnh-uc input[type="date"],
.bnh-uc input[type="email"],
.bnh-uc input[type="tel"],
.bnh-uc input[type="number"],
.bnh-uc select {
	width: 100%;
	min-height: 40px;
	padding: .4rem .6rem;
	/*
	 * background-color, never the `background` shorthand: base.css paints the
	 * dropdown chevron as a background-image, and the shorthand resets it to
	 * none — which is exactly how the arrow went missing.
	 */
	background-color: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r-sm);
	color: var(--bnh-ink);
	font-family: inherit;
	font-size: var(--bnh-fs-sm);
}

/* Re-seat the chevron base.css paints, now that the field is narrower. */
.bnh-uc select {
	padding-right: 1.75rem;
	background-position: right .5rem center;
}

.bnh-uc input[readonly] {
	background: var(--bnh-grey-050);
	color: var(--bnh-muted);
}

.bnh-uc input:focus-visible,
.bnh-uc select:focus-visible,
.bnh-uc button:focus-visible {
	outline: 2px solid var(--bnh-orange);
	outline-offset: 1px;
}

/* --- Popover triggers (rooms, travellers) --------------------------------- */

.bnh-uc__f--pop { position: relative; }

.bnh-uc__trigger {
	display: flex;
	align-items: center;
	gap: .4rem;
	width: 100%;
	min-height: 40px;
	padding: .4rem .6rem;
	background: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r-sm);
	color: var(--bnh-navy);
	font-family: inherit;
	font-size: var(--bnh-fs-sm);
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}

.bnh-uc__trigger svg { flex: none; color: var(--bnh-orange); }

.bnh-uc__pop {
	position: absolute;
	z-index: 30;
	top: calc(100% + 6px);
	left: 0;
	min-width: 258px;
	max-width: 84vw;
	padding: var(--bnh-s3);
	background: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r);
	box-shadow: var(--bnh-sh-lg);
}

.bnh-uc__pop[hidden] { display: none; }

.bnh-uc__poplist { margin: 0 0 var(--bnh-s3); padding: 0; list-style: none; }

.bnh-uc__popitem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bnh-s4);
	padding: .4rem 0;
}

.bnh-uc__popitem + .bnh-uc__popitem { border-top: 1px solid var(--bnh-grey-100); }
.bnh-uc__popitem.is-off { opacity: .4; }

.bnh-uc__popname { display: grid; }
.bnh-uc__popname strong { font-size: var(--bnh-fs-sm); font-weight: 600; }
.bnh-uc__popname em { color: var(--bnh-muted); font-size: var(--bnh-fs-xs); font-style: normal; }

.bnh-uc__step { display: inline-flex; align-items: center; gap: .3rem; }

.bnh-uc__step button {
	display: grid;
	place-items: center;
	/*
	 * flex: none — as flex children these were shrinking below 28px and the
	 * 50% radius turned them into ellipses. aspect-ratio keeps them round
	 * whatever the row does.
	 */
	flex: none;
	width: 28px;
	height: 28px;
	aspect-ratio: 1;
	padding: 0;
	background: var(--bnh-orange-050);
	border: 1px solid var(--bnh-orange);
	border-radius: 50%;
	color: var(--bnh-orange-700);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.bnh-uc__step button:disabled { opacity: .45; cursor: not-allowed; }

.bnh-uc__step input {
	flex: none;
	width: 44px;
	min-height: 28px;
	padding: .15rem;
	text-align: center;
	font-weight: 600;
	-moz-appearance: textfield;
}

.bnh-uc__step input::-webkit-outer-spin-button,
.bnh-uc__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bnh-uc__done {
	width: 100%;
	padding: .5rem;
	background: var(--bnh-navy);
	border: 0;
	border-radius: var(--bnh-r-sm);
	color: var(--bnh-white);
	font-family: inherit;
	font-size: var(--bnh-fs-sm);
	font-weight: 600;
	cursor: pointer;
}

/* --- Add / remove a location ---------------------------------------------- */

.bnh-uc__addrow { display: flex; }

.bnh-uc__add {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .4rem .9rem;
	background: var(--bnh-navy-050);
	border: 1px dashed var(--bnh-navy);
	border-radius: var(--bnh-r-pill);
	color: var(--bnh-navy);
	font-family: inherit;
	font-size: var(--bnh-fs-xs);
	font-weight: 600;
	cursor: pointer;
}

.bnh-uc__add:hover { background: var(--bnh-navy); color: var(--bnh-white); }
.bnh-uc__add svg { flex: none; }

.bnh-uc__drop {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-bottom: 4px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--bnh-line);
	border-radius: 50%;
	color: var(--bnh-err);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.bnh-uc__drop:hover { background: var(--bnh-err); border-color: var(--bnh-err); color: var(--bnh-white); }
.bnh-uc__drop[hidden] { display: none; }

/* --- Actions -------------------------------------------------------------- */

.bnh-uc__error {
	margin: 0;
	padding: .55rem .75rem;
	background: color-mix(in srgb, var(--bnh-err) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--bnh-err) 38%, transparent);
	border-radius: var(--bnh-r-sm);
	color: var(--bnh-err);
	font-size: var(--bnh-fs-sm);
	font-weight: 500;
}

.bnh-uc__error[hidden] { display: none; }

.bnh-uc__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--bnh-s2);
	padding-top: var(--bnh-s3);
	border-top: 1px solid var(--bnh-line);
}

.bnh-uc__actions .bnh-btn {
	padding: .55rem 1.1rem;
	border-radius: var(--bnh-r-sm);
	font-size: var(--bnh-fs-sm);
}

.bnh-btn--reset {
	background: var(--bnh-err);
	border-color: var(--bnh-err);
	color: var(--bnh-white);
}

.bnh-btn--reset:hover { background: #9E2E22; border-color: #9E2E22; color: var(--bnh-white); }

.bnh-uc__go:disabled { opacity: .6; cursor: progress; transform: none; }

.bnh-btn--wa {
	background: #25D366;
	border-color: #25D366;
	color: #06331A;
}

.bnh-btn--wa:hover { background: #1FB856; border-color: #1FB856; color: #06331A; }

/* --------------------------------------------------------------------------
   3. Field grids — sized against the card, not the viewport
   -------------------------------------------------------------------------- */

@container uc (min-width: 460px) {
	.bnh-uc__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * The arrangement in the design: Location / Check In / Check Out / Hotel on
 * the first line, room picker and nights on the second. The remove button is
 * an ordinary grid item — it is display:none on the first stop, so it must
 * not hold a reserved column open.
 */
@container uc (min-width: 660px) {
	.bnh-uc__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bnh-uc__row--contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bnh-uc__row--totals { grid-template-columns: repeat(3, minmax(0, 1fr)) .62fr .62fr; }
}

/* Wide enough for one stop to sit on a single line. */
@container uc (min-width: 1040px) {
	.bnh-uc__stop { grid-template-columns: .95fr 1fr 1fr 1.85fr 1.1fr .58fr 32px; }
	.bnh-uc__row--totals { grid-template-columns: 1.5fr 1.35fr 1.25fr .65fr .65fr; }
}

/*
 * Container queries have been widely available since early 2023; this keeps
 * the card usable on anything older by falling back to viewport widths.
 */
@supports not (container-type: inline-size) {
	@media (min-width: 900px) {
		.bnh-uc__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}
}

/* --------------------------------------------------------------------------
   4. Quotation popup
   -------------------------------------------------------------------------- */

.bnh-locked { overflow: hidden; }

/*
 * Sits directly on <body> (JS reparents it), so nothing on the page can
 * capture it: above the sticky header at 90, the drawer at 200 and the skip
 * link at 999.
 */
.bnh-invwrap {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: var(--bnh-s4);
}

.bnh-invwrap[hidden] { display: none; }

.bnh-invwrap__back {
	position: absolute;
	inset: 0;
	background: rgba(1, 29, 50, .68);
}

/*
 * A fixed-size dialog: the title bar and the action bar hold their place and
 * only the quotation between them scrolls, so neither can ever ride over the
 * document.
 */
.bnh-invwrap__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1040px, 100%);
	max-height: 100%;
	background: var(--bnh-white);
	border-radius: var(--bnh-r);
	box-shadow: var(--bnh-sh-lg);
	overflow: hidden;
}

/*
 * The panel takes focus programmatically when the dialog opens so screen
 * readers land inside it. It is not tab-reachable, so the ring would only
 * ever be noise around the whole quotation.
 */
.bnh-invwrap__panel:focus { outline: none; }

.bnh-invwrap__top {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bnh-s3);
	padding: var(--bnh-s3) var(--bnh-s4);
	background: var(--bnh-navy);
	color: var(--bnh-white);
}

.bnh-invwrap__heading {
	margin: 0;
	color: var(--bnh-white);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .02em;
}

.bnh-invwrap__heading span { opacity: .75; font-weight: 500; }

.bnh-invwrap__x {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: none;
	padding: 0;
	background: rgba(255, 255, 255, .14);
	border: 0;
	border-radius: 50%;
	color: var(--bnh-white);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.bnh-invwrap__x:hover { background: var(--bnh-orange); }

.bnh-invwrap__doc {
	flex: 1 1 auto;
	min-height: 0;
	padding: var(--bnh-s5);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.bnh-invwrap__doc:focus-visible { outline: 2px solid var(--bnh-orange); outline-offset: -2px; }

.bnh-invwrap__bar {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--bnh-s2);
	padding: var(--bnh-s3) var(--bnh-s4);
	background: var(--bnh-grey-050);
	border-top: 1px solid var(--bnh-line);
}

.bnh-invwrap__bar .bnh-btn {
	padding: .55rem 1.1rem;
	border-radius: var(--bnh-r-sm);
	font-size: var(--bnh-fs-sm);
}

/* --------------------------------------------------------------------------
   5. The quotation itself
   -------------------------------------------------------------------------- */

.bnh-inv {
	--inv-line: #C9D4DE;
	color: var(--bnh-ink);
	font-size: var(--bnh-fs-xs);
	line-height: 1.5;
}

.bnh-inv__head {
	display: grid;
	gap: var(--bnh-s3);
	align-items: center;
	padding-bottom: var(--bnh-s3);
	border-bottom: 2px solid var(--bnh-orange);
}

.bnh-inv__logo img { width: 150px; height: auto; }

.bnh-inv__title { display: grid; }
.bnh-inv__title strong { color: var(--bnh-navy); font-family: var(--bnh-font-display); font-size: 1.35rem; }
.bnh-inv__title span { color: var(--bnh-muted); }

.bnh-inv__meta { display: grid; color: var(--bnh-muted); }

.bnh-inv__bar {
	margin: var(--bnh-s4) 0 0;
	padding: .4rem .6rem;
	border-radius: 3px;
	color: var(--bnh-white);
	font-size: var(--bnh-fs-xs);
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-align: center;
}

.bnh-inv__bar--navy { background: var(--bnh-navy); }
.bnh-inv__bar--orange { background: var(--bnh-orange); }

.bnh-inv__t {
	width: 100%;
	margin-top: 4px;
	border-collapse: collapse;
}

.bnh-inv__t th,
.bnh-inv__t td {
	padding: .35rem .45rem;
	border: 1px solid var(--inv-line);
	text-align: center;
	vertical-align: middle;
}

.bnh-inv__t thead th {
	background: var(--bnh-grey-050);
	font-weight: 600;
	white-space: nowrap;
}

.bnh-inv__t-l { text-align: left; }

.bnh-inv__total {
	display: grid;
	gap: var(--bnh-s3);
	margin-top: 4px;
	padding: var(--bnh-s3);
	border: 1px solid var(--inv-line);
}

.bnh-inv__total p { margin: 0 0 .2rem; }
.bnh-inv__small { color: var(--bnh-muted); }

.bnh-inv__total-r { text-align: right; }
.bnh-inv__total-h { color: var(--bnh-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bnh-inv__amt { color: var(--bnh-orange-700); font-size: 1.35rem; font-weight: 700; }

.bnh-inv__cols { display: grid; gap: var(--bnh-s4); }

.bnh-inv__cols ul {
	margin: 4px 0 0;
	padding: var(--bnh-s3) var(--bnh-s3) var(--bnh-s3) calc(var(--bnh-s3) + 1.1rem);
	border: 1px solid var(--inv-line);
}

.bnh-inv__cols li + li { margin-top: .3rem; }

.bnh-inv__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--bnh-s2) var(--bnh-s5);
	margin-top: var(--bnh-s4);
	padding: var(--bnh-s3);
	background: var(--bnh-navy);
	border-radius: 3px;
	color: var(--bnh-white);
	font-weight: 600;
}

@media (min-width: 700px) {
	.bnh-inv__head { grid-template-columns: 150px 1fr auto; }
	.bnh-inv__meta { text-align: right; }
	.bnh-inv__total { grid-template-columns: 1fr auto; align-items: center; }
	.bnh-inv__cols { grid-template-columns: 1fr 1fr; }
}

/* Narrow screens: let the wide hotel table scroll rather than the page. */
@media (max-width: 699px) {
	.bnh-inv__t { display: block; overflow-x: auto; white-space: nowrap; }
}

/* --- Print ---------------------------------------------------------------- */

@media print {
	body * { visibility: hidden; }

	.bnh-invwrap,
	.bnh-invwrap * { visibility: visible; }

	.bnh-invwrap {
		position: absolute;
		inset: 0;
		display: block;
		padding: 0;
		overflow: visible;
	}

	.bnh-invwrap__back,
	.bnh-invwrap__top,
	.bnh-invwrap__bar { display: none; }

	/* Undo the dialog's scrollbox so the whole quotation reaches the paper. */
	.bnh-invwrap__panel {
		display: block;
		width: 100%;
		max-height: none;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}

	.bnh-invwrap__doc {
		padding: 0;
		overflow: visible;
	}

	.bnh-inv__t { display: table; white-space: normal; }

	.bnh-inv__bar,
	.bnh-inv__foot,
	.bnh-inv__t thead th {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

/* ==========================================================================
   UI refresh 1.1 — single Umrah conversion path
   ========================================================================== */

/*
 * Not clipped: the room and traveller popovers open downwards and must be
 * able to spill past the bottom of the hero. The background image is pinned
 * to inset:0 inside .bnh-hero__bg, so it cannot escape on its own.
 */
.bnh-hero--umrah {
	min-height: 350px;
	overflow: visible;
	isolation: isolate;
}

.bnh-hero--umrah .bnh-hero__bg picture {
	display: block;
	width: 100%;
	height: 100%;
}

.bnh-hero--umrah .bnh-hero__bg {
	inset: 0;
}

.bnh-hero--umrah .bnh-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 48%;
}

.bnh-hero--umrah::before {
	background: linear-gradient(90deg, rgba(0,37,64,.93) 0%, rgba(0,37,64,.76) 48%, rgba(0,37,64,.38) 100%);
}

.bnh-hero--umrah .bnh-hero__in {
	min-height: 350px;
	display: flex;
	align-items: center;
	padding-block: clamp(3.5rem, 6vw, 5rem) 5.5rem;
}

.bnh-hero--umrah .bnh-hero__copy {
	max-width: 720px;
}

.bnh-hero--umrah .bnh-hero__title {
	font-family: var(--bnh-font-display);
	font-size: clamp(2.35rem, 1.6rem + 3vw, 4.2rem);
	font-weight: 700;
	line-height: 1.02;
}

.bnh-hero--umrah .bnh-hero__lead {
	max-width: 62ch;
	margin-top: var(--bnh-s4);
	color: rgba(255,255,255,.86);
}

.bnh-umrah-calcsec {
	position: relative;
	z-index: 3;
	padding: 0 0 var(--bnh-section-y);
	background: var(--bnh-grey-050);
}

.bnh-umrah-calcsec__in { margin-top: -58px; }

.bnh-uc {
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid rgba(3,64,109,.1);
	border-top: 4px solid var(--bnh-orange);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(1,29,50,.14);
}

.bnh-uc__form { gap: 1.15rem; }

.bnh-uc__head {
	display: grid;
	gap: .5rem 2rem;
	align-items: end;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bnh-line);
}

.bnh-uc__eyebrow {
	margin: 0 0 .25rem;
	color: var(--bnh-orange);
	font-size: var(--bnh-fs-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bnh-uc__title {
	margin: 0;
	color: var(--bnh-navy-800);
	font-family: var(--bnh-font-sans);
	font-size: clamp(1.25rem, 1.1rem + .55vw, 1.65rem);
	font-weight: 700;
}

.bnh-uc__intro {
	margin: 0;
	max-width: 54ch;
	color: var(--bnh-muted);
	font-size: var(--bnh-fs-sm);
}

.bnh-uc__toggles {
	gap: .65rem;
	padding: 0;
	border: 0;
}

.bnh-uc__check {
	min-height: 36px;
	padding: .3rem .7rem;
	background: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r-pill);
	transition: border-color .2s var(--bnh-ease);
}

/*
 * Only the box changes colour when ticked. Flooding the whole pill orange
 * made the selected state shout louder than the field it belongs to.
 */
.bnh-uc__check:has(input:checked) {
	border-color: rgba(255, 107, 17, .55);
}

.bnh-uc__stop,
.bnh-uc__row--totals {
	padding: 1rem;
	background: #FAFBFC;
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r);
}

.bnh-uc__stop + .bnh-uc__stop,
.bnh-uc__row--totals,
.bnh-uc__row--contact {
	border-top-style: solid;
}

.bnh-uc input[type="text"],
.bnh-uc input[type="date"],
.bnh-uc input[type="email"],
.bnh-uc input[type="tel"],
.bnh-uc input[type="number"],
.bnh-uc select,
.bnh-uc__trigger {
	min-height: 46px;
	padding: .58rem .72rem;
	border-color: #D7E0E7;
	border-radius: 8px;
}

.bnh-uc__f > label,
.bnh-uc__lbl {
	margin-bottom: .38rem;
	font-size: .76rem;
	font-weight: 600;
}

.bnh-uc__add {
	min-height: 40px;
	padding-inline: 1rem;
	background: var(--bnh-white);
	border-style: solid;
}

.bnh-uc__contact {
	padding: 1rem;
	background: linear-gradient(135deg, var(--bnh-orange-050), #FFF8F3);
	border: 1px solid rgba(255,107,17,.18);
	border-radius: var(--bnh-r);
}

.bnh-uc__contacthead {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .35rem 1rem;
	margin-bottom: .9rem;
}

.bnh-uc__contacthead h3 {
	margin: 0;
	color: var(--bnh-navy-800);
	font-size: .95rem;
	font-weight: 700;
}

.bnh-uc__contacthead p {
	margin: 0;
	color: var(--bnh-muted);
	font-size: var(--bnh-fs-xs);
}

.bnh-uc__row--contact {
	padding-top: 0;
	border: 0;
}

.bnh-uc__actions {
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid var(--bnh-line);
}

.bnh-uc__actions .bnh-btn {
	min-height: 44px;
	padding-inline: 1.25rem;
	border-radius: 8px;
}

.bnh-btn--reset {
	background: var(--bnh-white);
	border-color: var(--bnh-line);
	color: var(--bnh-muted);
}

.bnh-btn--reset:hover {
	background: var(--bnh-grey-050);
	border-color: #C8D3DC;
	color: var(--bnh-navy);
}

.bnh-uc__go {
	min-width: 190px;
	box-shadow: none;
}

@media (min-width: 760px) {
	.bnh-uc__head { grid-template-columns: 1fr auto; }
}

@media (max-width: 639px) {
	.bnh-hero--umrah,
	.bnh-hero--umrah .bnh-hero__in { min-height: 300px; }
	.bnh-hero--umrah .bnh-hero__in { padding-bottom: 4.5rem; }
	.bnh-umrah-calcsec__in { margin-top: -42px; }
	.bnh-uc { padding: 1rem; border-radius: 14px; }
	.bnh-uc__stop,
	.bnh-uc__row--totals,
	.bnh-uc__contact { padding: .8rem; }
	.bnh-uc__actions { display: grid; grid-template-columns: 1fr; }
	.bnh-uc__actions .bnh-btn { width: 100%; }
}

/* ==========================================================================
   UI refresh 1.2 — split hero + compact three-step package builder
   ========================================================================== */

.bnh-hero--umrah-builder {
	min-height: 500px;
	overflow: hidden;
}

.bnh-hero--umrah-builder::before {
	background:
		linear-gradient(96deg, rgba(0,37,64,.96) 0%, rgba(0,37,64,.88) 45%, rgba(0,37,64,.52) 73%, rgba(0,37,64,.4) 100%);
}

.bnh-hero--umrah-builder .bnh-hero__in {
	min-height: 500px;
	padding-block: clamp(3.2rem, 5vw, 4.6rem);
}

.bnh-umrah-hero__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: center !important;
}

.bnh-umrah-hero__copy {
	max-width: 680px !important;
}

.bnh-hero--umrah-builder .bnh-hero__title {
	max-width: 11ch;
	font-size: clamp(2.45rem, 1.7rem + 3vw, 4.35rem);
	line-height: 1.02;
}

.bnh-hero--umrah-builder .bnh-hero__lead {
	max-width: 60ch;
	margin-bottom: 0;
	font-size: clamp(.96rem, .9rem + .25vw, 1.1rem);
	line-height: 1.75;
}

.bnh-umrah-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem 1rem;
	margin-top: 1.3rem;
}

.bnh-umrah-hero__trust span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: rgba(255,255,255,.78);
	font-size: .78rem;
	font-weight: 500;
}

.bnh-umrah-hero__trust svg { color: var(--bnh-orange); }

.bnh-umrah-builder {
	position: relative;
	padding: clamp(1.35rem, 2.2vw, 1.8rem);
	background: rgba(255,255,255,.97);
	border: 1px solid rgba(255,255,255,.65);
	border-radius: 20px;
	box-shadow: 0 24px 64px rgba(0,22,38,.24);
	color: var(--bnh-ink);
	backdrop-filter: blur(10px);
}

.bnh-umrah-builder::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	right: 22px;
	height: 4px;
	background: linear-gradient(90deg, var(--bnh-orange), #ff9f53);
	border-radius: 0 0 999px 999px;
}

.bnh-umrah-builder__top {
	display: flex;
	align-items: flex-start;
	gap: .8rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #E8EEF2;
}

.bnh-umrah-builder__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	background: var(--bnh-orange-050);
	border-radius: 12px;
	color: var(--bnh-orange);
}

.bnh-umrah-builder__eyebrow {
	margin: 0 0 .22rem;
	color: var(--bnh-orange);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.bnh-umrah-builder h2 {
	margin: 0;
	color: var(--bnh-navy-800);
	font-family: var(--bnh-font-sans);
	font-size: clamp(1.25rem, 1.05rem + .55vw, 1.6rem);
	line-height: 1.2;
}

.bnh-umrah-builder__list {
	display: grid;
	gap: .35rem;
	margin: 1rem 0 1.15rem;
	padding: 0;
	list-style: none;
}

.bnh-umrah-builder__list li {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: .7rem;
	align-items: center;
	padding: .7rem;
	border-radius: 12px;
	transition: background-color .2s var(--bnh-ease);
}

.bnh-umrah-builder__list li:hover { background: #F7F9FB; }

.bnh-umrah-builder__list li > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	background: var(--bnh-navy-050);
	border-radius: 10px;
	color: var(--bnh-navy);
}

.bnh-umrah-builder__list div { display: grid; gap: .12rem; }
.bnh-umrah-builder__list strong { color: var(--bnh-navy-800); font-size: .84rem; }
.bnh-umrah-builder__list small { color: var(--bnh-muted); font-size: .7rem; line-height: 1.45; }

.bnh-umrah-builder__cta {
	width: 100%;
	justify-content: center;
	min-height: 48px;
	box-shadow: 0 10px 24px rgba(255,107,17,.2);
}

.bnh-umrah-builder__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	margin: .7rem 0 0;
	color: var(--bnh-muted);
	font-size: .67rem;
	text-align: center;
}

.bnh-umrah-calcsec {
	padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
	background: linear-gradient(180deg, #F5F7F9 0%, #FFFFFF 88%);
	scroll-margin-top: 110px;
}

.bnh-umrah-calcsec__in { margin-top: 0 !important; }

.bnh-uc {
	max-width: 1120px;
	margin-inline: auto;
	padding: 0;
	border: 1px solid #E1E7EC;
	border-top: 0;
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(0,37,64,.09);
	overflow: visible;
	background: var(--bnh-white);
}

.bnh-uc__form { gap: 0; }

.bnh-uc__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: .55rem 1.5rem;
	align-items: end;
	padding: 1.5rem 1.6rem 1.1rem;
	background: linear-gradient(135deg, #FFFFFF, #F9FBFC);
	border-bottom: 1px solid #E8EDF1;
	border-radius: 20px 20px 0 0;
}

.bnh-uc__title { font-size: clamp(1.35rem, 1.1rem + .65vw, 1.75rem); }
.bnh-uc__intro { max-width: 58ch; }

.bnh-uc__progress {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 1rem 1.6rem;
	background: #FBFCFD;
	border-bottom: 1px solid #E8EDF1;
	list-style: none;
}

.bnh-uc__progress::before {
	content: "";
	position: absolute;
	top: 29px;
	left: calc(16.666% + 21px);
	right: calc(16.666% + 21px);
	height: 2px;
	background: #DCE4EA;
}

.bnh-uc__progress li {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-width: 0;
	color: #8B99A6;
}

.bnh-uc__progress li > span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	background: #EEF2F5;
	border: 2px solid #DCE4EA;
	border-radius: 50%;
	font-size: .72rem;
	font-weight: 700;
}

.bnh-uc__progress li > div { display: grid; gap: .08rem; }
.bnh-uc__progress strong { font-size: .78rem; color: inherit; }
.bnh-uc__progress small { font-size: .64rem; color: inherit; }

.bnh-uc__progress li.is-active,
.bnh-uc__progress li.is-complete { color: var(--bnh-navy); }

.bnh-uc__progress li.is-active > span {
	background: var(--bnh-orange);
	border-color: var(--bnh-orange);
	color: var(--bnh-white);
	box-shadow: 0 0 0 5px var(--bnh-orange-050);
}

.bnh-uc__progress li.is-complete > span {
	background: var(--bnh-navy);
	border-color: var(--bnh-navy);
	color: var(--bnh-white);
}

.bnh-uc__error {
	margin: 1rem 1.6rem 0;
}

.bnh-uc__panel {
	display: grid;
	gap: 1.1rem;
	padding: 1.35rem 1.6rem 1.5rem;
}

.bnh-uc__panel[hidden] { display: none !important; }

.bnh-uc__panelhead {
	display: flex;
	align-items: flex-start;
	gap: .8rem;
	padding-bottom: .95rem;
	border-bottom: 1px solid #EDF1F4;
}

.bnh-uc__panelnum {
	min-width: 40px;
	color: var(--bnh-orange);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
}

.bnh-uc__panelhead h3 {
	margin: 0 0 .15rem;
	color: var(--bnh-navy-800);
	font-size: 1rem;
	font-weight: 700;
}

.bnh-uc__panelhead p {
	margin: 0;
	color: var(--bnh-muted);
	font-size: .76rem;
	line-height: 1.55;
}

.bnh-uc__toggles {
	padding: 0 0 .9rem;
	border-bottom: 1px solid #EDF1F4;
}

.bnh-uc__check {
	min-height: 38px;
	padding: .45rem .75rem;
	font-size: .75rem;
}

.bnh-uc__stops { gap: .8rem; }

.bnh-uc__stop,
.bnh-uc__row--totals {
	padding: .85rem;
	background: #FBFCFD;
	border: 1px solid #E6ECF0;
	border-radius: 12px;
}

.bnh-uc input[type="text"],
.bnh-uc input[type="date"],
.bnh-uc input[type="email"],
.bnh-uc input[type="tel"],
.bnh-uc input[type="number"],
.bnh-uc select,
.bnh-uc__trigger {
	min-height: 42px;
	font-size: .76rem;
}

.bnh-uc__f > label,
.bnh-uc__lbl { font-size: .69rem; }

.bnh-uc__add {
	min-height: 38px;
	padding: .45rem .8rem;
	border: 1px solid #CBD7DF;
	font-size: .7rem;
}

.bnh-uc__nav,
.bnh-uc__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding-top: 1rem;
	border-top: 1px solid #EDF1F4;
}

.bnh-uc__nav--end { justify-content: flex-end; }

.bnh-uc__nav .bnh-btn,
.bnh-uc__actions .bnh-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 42px;
	padding: .55rem 1rem;
	font-size: .73rem;
}

.bnh-uc__row--totals {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(86px, .45fr) minmax(86px, .45fr);
	gap: .75rem;
}

.bnh-uc__transportbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .8rem .9rem;
	background: #F3F8FB;
	border: 1px solid #DFEAF0;
	border-radius: 12px;
}

.bnh-uc__transportbar > div { display: grid; gap: .12rem; }

.bnh-uc__transportbar strong {
	color: var(--bnh-navy-800);
	font-size: .78rem;
	font-weight: 700;
}

.bnh-uc__transportbar > div > span {
	color: var(--bnh-muted);
	font-size: .68rem;
	line-height: 1.5;
}

.bnh-uc__transportbar.is-off {
	background: #FAFBFC;
	border-color: #E6EBEF;
}

.bnh-uc__capacity {
	flex: 0 0 auto;
	max-width: 310px;
	padding: .42rem .65rem;
	background: var(--bnh-navy-050);
	border: 1px solid var(--bnh-line);
	border-radius: 999px;
	color: var(--bnh-navy);
	font-size: .67rem;
	font-weight: 600;
	line-height: 1.35;
	text-align: right;
}

.bnh-uc__capacity.is-error {
	background: var(--bnh-orange-050);
	border-color: var(--bnh-orange);
	color: var(--bnh-orange-700);
}

.bnh-uc__transport-off {
	margin: 0;
	padding: .72rem .85rem;
	background: #FFF8F2;
	border: 1px solid #FFDDC7;
	border-radius: 10px;
	color: #8A4A23;
	font-size: .7rem;
	line-height: 1.55;
}

.bnh-uc__metric input {
	font-weight: 700;
	text-align: center;
	color: var(--bnh-navy);
}

.bnh-uc__contact {
	padding: 1rem;
	background: #FFF9F5;
	border: 1px solid #FFE0CC;
	border-radius: 12px;
}

.bnh-uc__row--contact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-top: 0;
	border: 0;
}

.bnh-uc__quotehint {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .8rem .9rem;
	background: #F6F9FB;
	border: 1px solid #E7EDF1;
	border-radius: 10px;
	color: var(--bnh-navy);
}

.bnh-uc__quotehint > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	background: var(--bnh-white);
	border-radius: 9px;
	color: var(--bnh-orange);
}

.bnh-uc__quotehint p { display: grid; gap: .1rem; margin: 0; }
.bnh-uc__quotehint strong { font-size: .76rem; }
.bnh-uc__quotehint small { color: var(--bnh-muted); font-size: .68rem; }

.bnh-uc__actionsright {
	display: flex;
	align-items: center;
	gap: .6rem;
}

.bnh-uc__go { min-width: 180px; }

@media (min-width: 900px) {
	.bnh-umrah-hero__grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
		gap: clamp(2.5rem, 5vw, 5.5rem);
	}

	.bnh-uc__head { grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); }
}

@media (max-width: 899px) {
	.bnh-hero--umrah-builder,
	.bnh-hero--umrah-builder .bnh-hero__in { min-height: auto; }

	.bnh-hero--umrah-builder .bnh-hero__in { padding-block: 3rem; }
	.bnh-hero--umrah-builder .bnh-hero__title { max-width: 14ch; }
	.bnh-umrah-builder { max-width: 620px; }

	.bnh-uc__row--totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bnh-uc__row--contact { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
	.bnh-hero--umrah-builder .bnh-hero__in { padding-block: 2.6rem; }
	.bnh-hero--umrah-builder .bnh-hero__title { font-size: clamp(2.05rem, 10vw, 3rem); }
	.bnh-umrah-hero__trust { display: grid; gap: .45rem; }
	.bnh-umrah-builder { padding: 1.15rem; border-radius: 16px; }
	.bnh-umrah-builder__list li { padding: .6rem .35rem; }

	.bnh-umrah-calcsec { padding-top: 2rem; scroll-margin-top: 86px; }
	.bnh-uc { border-radius: 14px; }
	.bnh-uc__head { padding: 1.15rem 1rem .9rem; border-radius: 14px 14px 0 0; }

	.bnh-uc__progress { padding: .85rem .65rem; }
	.bnh-uc__progress::before { top: 26px; left: calc(16.666% + 17px); right: calc(16.666% + 17px); }
	.bnh-uc__progress li { gap: 0; }
	.bnh-uc__progress li > span { width: 30px; height: 30px; flex-basis: 30px; }
	.bnh-uc__progress li > div { display: none; }

	.bnh-uc__error { margin: .85rem 1rem 0; }
	.bnh-uc__panel { padding: 1rem; }
	.bnh-uc__panelhead { gap: .55rem; }
	.bnh-uc__panelnum { min-width: 30px; }

	.bnh-uc__transportbar { align-items: flex-start; flex-direction: column; }
	.bnh-uc__capacity { max-width: none; text-align: left; }
	.bnh-uc__row--totals { grid-template-columns: 1fr; }
	.bnh-uc__stop { padding: .75rem; }

	.bnh-uc__nav,
	.bnh-uc__actions { align-items: stretch; }
	.bnh-uc__nav .bnh-btn,
	.bnh-uc__actions .bnh-btn { justify-content: center; }
	.bnh-uc__actions { flex-direction: column; }
	.bnh-uc__actionsright { display: grid; grid-template-columns: 1fr; }
	.bnh-uc__go { min-width: 0; width: 100%; }
}


/* --------------------------------------------------------------------------
 * v1.4 single-form Umrah calculator
 * ----------------------------------------------------------------------- */
.bnh-uc__form--single {
	background: #fff;
	border: 1px solid rgba(15, 42, 71, .10);
	border-radius: 24px;
	box-shadow: 0 20px 48px rgba(5, 31, 60, .10);
	overflow: hidden;
}

.bnh-uc__form--single .bnh-uc__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
	gap: 1rem 1.5rem;
	padding: 1.5rem 1.6rem 1.15rem;
	border-bottom: 1px solid rgba(15, 42, 71, .08);
	background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.bnh-uc__form--single .bnh-uc__intro {
	max-width: 36rem;
	margin: 0;
	justify-self: end;
	align-self: center;
}

.bnh-uc__shell {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(290px, .78fr);
	gap: 1.1rem;
	padding: 1.2rem;
	align-items: start;
}

.bnh-uc__main,
.bnh-uc__side {
	display: grid;
	gap: 1rem;
}

.bnh-uc__block,
.bnh-uc__contactcard {
	background: #fff;
	border: 1px solid rgba(15, 42, 71, .10);
	border-radius: 18px;
	padding: 1rem;
}

.bnh-uc__contactcard {
	position: sticky;
	top: 92px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 14px 34px rgba(5, 31, 60, .08);
}

.bnh-uc__blockhead {
	display: grid;
	gap: .22rem;
	margin-bottom: .9rem;
}

.bnh-uc__blockhead h3,
.bnh-uc__contacthead h3 {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.25;
	color: var(--bnh-navy);
}

.bnh-uc__blockhead p,
.bnh-uc__contacthead p {
	margin: 0;
	font-size: .92rem;
	line-height: 1.55;
	color: rgba(15, 42, 71, .72);
}

.bnh-uc__contacthead {
	display: grid;
	gap: .25rem;
	margin-bottom: .9rem;
}

.bnh-uc__form--single .bnh-uc__toggles {
	margin: 0;
}

.bnh-uc__form--single .bnh-uc__stops {
	display: grid;
	gap: .95rem;
}

.bnh-uc__form--single .bnh-uc__stop {
	padding: 1rem;
	background: #f8fbff;
	border: 1px solid rgba(15, 42, 71, .08);
	border-radius: 18px;
}

.bnh-uc__form--single .bnh-uc__row {
	gap: .85rem;
}

.bnh-uc__form--single .bnh-uc__transportbar {
	margin-bottom: .8rem;
}

.bnh-uc__form--single .bnh-uc__row--totals {
	align-items: end;
}

.bnh-uc__form--single .bnh-uc__contact {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.bnh-uc__actions--stack {
	display: grid;
	gap: .75rem;
	margin-top: 1rem;
}

.bnh-uc__actions--stack .bnh-btn {
	width: 100%;
	justify-content: center;
}

.bnh-uc__resetbtn {
	min-height: 48px;
}

.bnh-uc__form--single .bnh-uc__quotehint {
	margin-top: 1rem;
	padding: .95rem 1rem;
}

@media (max-width: 1100px) {
	.bnh-uc__shell {
		grid-template-columns: 1fr;
	}

	.bnh-uc__contactcard {
		position: static;
	}
}

@media (max-width: 860px) {
	.bnh-uc__form--single .bnh-uc__head {
		grid-template-columns: 1fr;
		padding: 1.25rem 1rem 1rem;
	}

	.bnh-uc__shell {
		padding: 1rem;
	}
}

@media (max-width: 640px) {
	.bnh-uc__shell {
		padding: .85rem;
		gap: .85rem;
	}

	.bnh-uc__block,
	.bnh-uc__contactcard,
	.bnh-uc__form--single .bnh-uc__stop {
		padding: .85rem;
		border-radius: 16px;
	}
}


/* --------------------------------------------------------------------------
 * v1.5 hero-embedded Umrah calculator
 * ----------------------------------------------------------------------- */
.bnh-hero--umrah-calculator {
	min-height: auto;
	overflow: visible;
}

.bnh-hero--umrah-calculator::before {
	background: linear-gradient(180deg, rgba(7, 34, 60, .78) 0%, rgba(7, 34, 60, .62) 42%, rgba(7, 34, 60, .46) 100%);
}

.bnh-hero--umrah-calculator .bnh-hero__in {
	min-height: auto;
	padding-block: clamp(2rem, 4vw, 3.2rem) clamp(3rem, 5vw, 4.2rem);
}

.bnh-umrah-hero__stack {
	display: grid !important;
	gap: 1.3rem;
	align-items: start !important;
}

.bnh-umrah-hero__header {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: .55rem;
	max-width: 760px;
	margin-inline: auto;
}

.bnh-umrah-hero__eyebrow { justify-content: center; }

.bnh-umrah-hero__title {
	max-width: none !important;
	font-size: clamp(2.2rem, 1.8rem + 2vw, 3.55rem) !important;
	line-height: 1.08 !important;
	margin: 0;
}

.bnh-umrah-hero__lead {
	max-width: 60ch;
	margin: 0;
	font-size: clamp(.95rem, .92rem + .2vw, 1.05rem);
	line-height: 1.7;
}

/*
 * No max-width of its own: the card takes the full .bnh-container content box
 * so its edges line up with the header bar, which is measured the same way.
 */
.bnh-umrah-hero__calculator {
	width: 100%;
	margin-inline: auto;
}

.bnh-umrah-hero__calculator .bnh-uc {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.bnh-umrah-hero__calculator .bnh-uc__form--single {
	background: rgba(255,255,255,.98);
	border: 1px solid rgba(255,255,255,.72);
	box-shadow: 0 26px 64px rgba(2, 20, 41, .26);
}

.bnh-umrah-hero__calculator .bnh-uc__head {
	display: none;
}

.bnh-umrah-hero__calculator .bnh-uc__error {
	margin: .9rem 1.2rem 0;
}

.bnh-umrah-hero__calculator .bnh-uc__shell {
	padding: 1rem;
}

.bnh-umrah-hero__calculator .bnh-uc__contactcard {
	top: 24px;
}

@media (max-width: 1100px) {
	.bnh-umrah-hero__calculator .bnh-uc__contactcard { top: 0; }
}

@media (max-width: 767px) {
	.bnh-hero--umrah-calculator .bnh-hero__in {
		padding-block: 1.8rem 2.5rem;
	}

	.bnh-umrah-hero__stack { gap: 1rem; }
	.bnh-umrah-hero__header { gap: .4rem; }
	.bnh-umrah-hero__lead { max-width: 34ch; }
	.bnh-umrah-hero__calculator .bnh-uc__shell { padding: .85rem; }
}


/* --------------------------------------------------------------------------
 * v1.6 reference-style hero calculator
 * ----------------------------------------------------------------------- */
/*
 * No overflow clip here either — this card is the nearest ancestor of the
 * room and traveller popovers, and clipping it cut the Infant row off.
 */
.bnh-umrah-hero__calculator .bnh-uc__form--reference {
	background: var(--bnh-grey-050);
	border: 1px dashed var(--bnh-line);
	border-radius: 12px;
	box-shadow: none;
	overflow: visible;
}

.bnh-umrah-hero__calculator .bnh-uc__error {
	margin: .8rem 1rem 0;
}

.bnh-uc__ref {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 1.3rem;
	padding: .95rem .95rem 1rem;
}

.bnh-uc__refmain {
	min-width: 0;
}

.bnh-uc__refside {
	min-width: 0;
	border-left: 1px dashed rgba(15, 42, 71, .28);
	padding-left: 1rem;
}

.bnh-uc__refsidein {
	display: grid;
	gap: .75rem;
	align-content: start;
}

/* --- Top bar: included services on the left, currency on the right ------- */

.bnh-uc__topbar {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bnh-s3);
	align-items: center;
	justify-content: space-between;
	margin-bottom: .85rem;
}

.bnh-uc__currency {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	margin: 0;
	padding: .35rem .6rem;
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r-pill);
	background: var(--bnh-white);
}

/*
 * A visible legend, not a screen-reader-only one: three bare currency codes
 * read as an unlabelled row otherwise. `float` keeps it inline inside a
 * flex fieldset, which browsers otherwise force onto its own line.
 */
.bnh-uc__currency-t {
	float: left;
	margin: 0 .35rem 0 0;
	padding: 0;
	color: var(--bnh-navy);
	font-size: var(--bnh-fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* --- Section headings ----------------------------------------------------- */

.bnh-uc__section {
	margin: var(--bnh-s4) 0 .5rem;
	color: var(--bnh-navy-800);
	font-size: 1rem;
	font-weight: 700;
}

.bnh-uc__section--side { margin-top: 0; }

/* --- Stacked full-width panels -------------------------------------------
 * Replaces the old main-column + contact-rail split. The rail squeezed the
 * hotel row into a narrow track, which is what truncated "Select Ro…" and
 * "Nig…" — every field now has the full card width to lay out in.
 * ------------------------------------------------------------------------ */

.bnh-uc__form--reference .bnh-uc__ref {
	display: block;
	padding: clamp(1rem, .6rem + 1.4vw, 1.6rem);
}

.bnh-uc__panel {
	padding: var(--bnh-s4);
	background: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: var(--bnh-r);
}

.bnh-uc__row--transport {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: var(--bnh-s4);
	align-items: start;
}

.bnh-uc__row--contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: var(--bnh-s4);
}

.bnh-uc__hint {
	margin: .35rem 0 0;
	color: var(--bnh-muted);
	font-size: var(--bnh-fs-xs);
	line-height: 1.4;
}

.bnh-uc__opt { color: var(--bnh-muted); font-style: normal; font-weight: 400; }

/* A missing required field is marked, not just described in the error line. */
.bnh-uc input.is-invalid {
	border-color: var(--bnh-err);
	box-shadow: 0 0 0 3px rgba(214, 45, 32, .12);
}

/* --- Stepper inside a popover --------------------------------------------
 * The shared field rule `.bnh-uc input[type="number"]` sets width:100% and a
 * 46px height, and outranks a bare `.bnh-uc__step input`. That stretched the
 * count box across the row and pushed the + button past the card edge, which
 * is why the popover background stopped short of its own content. Matching on
 * three classes settles it regardless of source order.
 * ------------------------------------------------------------------------ */

.bnh-uc .bnh-uc__step input[type="number"] {
	flex: none;
	width: 56px;
	min-width: 0;
	min-height: 32px;
	padding: .2rem .25rem;
	text-align: center;
	font-size: var(--bnh-fs-sm);
}

/* Size to the content so the card always covers every row. */
.bnh-uc__pop {
	width: max-content;
	max-width: min(320px, 84vw);
}

.bnh-uc__popitem {
	gap: var(--bnh-s3);
	flex-wrap: nowrap;
}

.bnh-uc__popname { min-width: 0; }

/* Hotel rows: one line per stay, sized to content rather than a fixed track. */
.bnh-uc__form--reference .bnh-uc__stop {
	display: grid;
	grid-template-columns: 44px minmax(120px, .9fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(140px, 1.2fr) minmax(120px, 1fr) 74px 32px;
	gap: var(--bnh-s3);
	align-items: end;
	padding: var(--bnh-s3) 0;
}

.bnh-uc__form--reference .bnh-uc__stop + .bnh-uc__stop {
	border-top: 1px dashed var(--bnh-line);
}

.bnh-uc__panelfoot {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bnh-s4);
	align-items: end;
	justify-content: space-between;
	margin-top: var(--bnh-s3);
	padding-top: var(--bnh-s3);
	border-top: 1px solid var(--bnh-line);
}

.bnh-uc__metrics { display: flex; gap: var(--bnh-s3); }

.bnh-uc__form--reference .bnh-uc__refactions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bnh-s3);
	justify-content: center;
	margin-top: var(--bnh-s5);
}

@media (max-width: 900px) {
	.bnh-uc__form--reference .bnh-uc__stop {
		grid-template-columns: 44px repeat(2, minmax(0, 1fr)) 32px;
	}
}

@media (max-width: 560px) {
	.bnh-uc__form--reference .bnh-uc__stop {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.bnh-uc__panelfoot { justify-content: flex-start; }
	.bnh-uc__form--reference .bnh-uc__refactions .bnh-btn { flex: 1 1 100%; }
}

/* --- City mark on a hotel row --------------------------------------------- */

.bnh-uc__cityicon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-top: 1.1rem;
	border-radius: 50%;
	background: var(--bnh-navy-050);
}

.bnh-uc__cityicon-i { display: none; line-height: 0; }

.bnh-uc__cityicon[data-city="makkah"] .bnh-uc__cityicon-i--makkah,
.bnh-uc__cityicon[data-city="madinah"] .bnh-uc__cityicon-i--madinah { display: block; }

/* Any city without its own mark still gets the Makkah one rather than a gap. */
.bnh-uc__cityicon:not([data-city="madinah"]) .bnh-uc__cityicon-i--makkah { display: block; }

.bnh-uc__cityicon[data-city="makkah"] svg { color: var(--bnh-orange); }
.bnh-uc__cityicon[data-city="madinah"] svg { color: var(--bnh-green, #1f7a4d); }

@media (max-width: 700px) {
	.bnh-uc__cityicon { margin-top: 0; }
	.bnh-uc__currency { width: 100%; justify-content: flex-start; }
}

.bnh-uc__toggles--hero {
	margin-bottom: 0;
}

/* The pill is on the label; the span must not stack a second padding on it. */
.bnh-uc__toggles--hero .bnh-uc__check span {
	min-height: 0;
	padding: 0;
	font-size: var(--bnh-fs-sm);
}

.bnh-umrah-hero__calculator .bnh-uc__stops {
	display: grid;
	gap: .4rem;
}

.bnh-umrah-hero__calculator .bnh-uc__stop {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.bnh-umrah-hero__calculator .bnh-uc__row {
	gap: .35rem;
}

.bnh-umrah-hero__calculator .bnh-uc__f > label,
.bnh-umrah-hero__calculator .bnh-uc__lbl {
	margin-bottom: .18rem;
	font-size: .75rem;
	font-weight: 600;
	color: var(--bnh-navy);
}

.bnh-umrah-hero__calculator .bnh-uc input[type="text"],
.bnh-umrah-hero__calculator .bnh-uc input[type="date"],
.bnh-umrah-hero__calculator .bnh-uc input[type="email"],
.bnh-umrah-hero__calculator .bnh-uc input[type="tel"],
.bnh-umrah-hero__calculator .bnh-uc input[type="number"],
.bnh-umrah-hero__calculator .bnh-uc select,
.bnh-umrah-hero__calculator .bnh-uc__trigger {
	min-height: 40px;
	padding: .45rem .75rem;
	/* Same reason as above — keep base.css's chevron image alive. */
	background-color: var(--bnh-white);
	border: 1px solid var(--bnh-line);
	border-radius: 4px;
	font-size: .92rem;
	font-weight: 500;
	box-shadow: none;
}

.bnh-umrah-hero__calculator .bnh-uc select,
.bnh-umrah-hero__calculator .bnh-uc__trigger--chev {
	padding-right: 2rem;
}

.bnh-umrah-hero__calculator .bnh-uc__trigger--chev {
	position: relative;
}

.bnh-umrah-hero__calculator .bnh-uc__trigger--chev::after {
	content: "";
	position: absolute;
	right: .72rem;
	top: 50%;
	width: .65rem;
	height: .65rem;
	border-right: 2px solid var(--bnh-muted);
	border-bottom: 2px solid var(--bnh-muted);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.bnh-uc__refadd {
	margin-top: .35rem;
}

/* Navy: a secondary action that does not compete with the orange CTA. */
.bnh-uc__add--compact {
	min-height: 36px;
	padding: .45rem .95rem;
	border-radius: 6px;
	background: var(--bnh-navy);
	border: 1px solid var(--bnh-navy);
	color: var(--bnh-white);
	font-weight: 700;
	box-shadow: none;
}

.bnh-uc__add--compact:hover {
	background: var(--bnh-navy-800);
	border-color: var(--bnh-navy-800);
	color: var(--bnh-white);
}

.bnh-uc__refsep {
	height: 1px;
	margin: .75rem 0;
	border-top: 1px dashed rgba(15, 42, 71, .18);
}

.bnh-uc__row--reference {
	align-items: end;
}

.bnh-uc__capacity--inline {
	display: inline-flex;
	margin-top: .4rem;
}

/*
 * `display` on the class above outranks the UA's `[hidden] { display: none }`,
 * so JS setting `hidden` left an empty pill on screen when no vehicle is
 * chosen. Restate the hidden case at higher specificity.
 */
.bnh-uc__capacity[hidden] { display: none; }

.bnh-uc__refactions {
	display: flex;
	justify-content: center;
	gap: .45rem;
	padding-top: .85rem;
	margin-top: .75rem;
	border-top: 1px dashed rgba(15, 42, 71, .18);
}

.bnh-uc__refactions .bnh-btn {
	min-height: 36px;
	padding-inline: 1rem;
	border-radius: 6px;
	box-shadow: none;
}

.bnh-uc__refactions .bnh-btn--reset {
	background: var(--bnh-err);
	border-color: var(--bnh-err);
	color: var(--bnh-white);
}

/* Orange: the same primary CTA colour as the rest of the site. */
.bnh-uc__refactions .bnh-btn--primary {
	background: var(--bnh-orange);
	border-color: var(--bnh-orange);
	color: var(--bnh-white);
}

.bnh-uc__refactions .bnh-btn--primary:hover {
	background: var(--bnh-orange-600);
	border-color: var(--bnh-orange-600);
	color: var(--bnh-white);
}

.bnh-umrah-hero__calculator .bnh-uc__transportbar,
.bnh-umrah-hero__calculator .bnh-uc__capacity:not(.bnh-uc__capacity--inline) {
	display: none !important;
}

.bnh-umrah-hero__calculator .bnh-uc__transport-off {
	margin: .45rem 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: .84rem;
}

.bnh-umrah-hero__calculator .bnh-uc__f--sm {
	max-width: 94px;
}

@media (max-width: 1080px) {
	.bnh-uc__ref {
		grid-template-columns: 1fr;
	}
	.bnh-uc__refside {
		border-left: 0;
		border-top: 1px dashed rgba(15, 42, 71, .28);
		padding-left: 0;
		padding-top: .95rem;
	}
}

@media (max-width: 767px) {
	.bnh-uc__ref {
		padding: .75rem;
		gap: .8rem;
	}

	/* Three toggles on one row rather than three stacked full-width pills. */
	.bnh-uc__toggles {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: .4rem;
		padding: 0 0 .7rem;
	}

	.bnh-uc__check {
		justify-content: center;
		gap: .25rem;
		min-height: 36px;
		padding: .35rem .2rem;
		font-size: .66rem;
		line-height: 1.2;
		text-align: center;
	}

	.bnh-uc__check input {
		width: 14px;
		height: 14px;
		flex: none;
	}

	/*
	 * The pill lives on the label, so the inner span must not add a second
	 * layer of padding on top of it — that is what made these so tall.
	 */
	.bnh-uc__toggles--hero .bnh-uc__check span {
		min-height: 0;
		padding: 0;
		font-size: inherit;
	}

	.bnh-uc__refside { padding-top: .8rem; }

	/* Side by side and sized to the text, not full-width slabs. */
	.bnh-uc__refactions {
		flex-direction: row;
		justify-content: stretch;
		gap: .5rem;
		padding-top: .7rem;
		margin-top: .6rem;
	}

	.bnh-uc__refactions .bnh-btn {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		min-height: 40px;
		padding-inline: .5rem;
		font-size: .82rem;
	}
}
