/**
 * Booking Section Block Styles
 */

.booking-section {
	padding: 2.5rem 0 5rem;
	background-color: #f8fafc;
	min-height: 80vh;
}

.booking-nav {
	margin-bottom: 1.5rem;
}

.booking-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #0f5f73;
	text-decoration: none;
	transition: color 0.15s ease, transform 0.15s ease;
}

.booking-back-link:hover {
	color: #0b2938;
	transform: translateX(-2px);
}

/* 2-Column Responsive Grid */
.booking-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* -------------------------------------------------------------------------
 * Left Column: Trip Summary Card
 * ------------------------------------------------------------------------- */
.booking-summary-col {
	position: sticky;
	top: 96px;
	align-self: start;
}

.booking-summary-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(11, 41, 56, 0.05);
}

.booking-summary-media {
	position: relative;
	height: 180px;
	background: #0b2938;
	overflow: hidden;
}

.booking-summary-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.booking-summary-media:hover .booking-summary-img {
	transform: scale(1.03);
}

.booking-summary-badges {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	right: 0.85rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}

.badge-duration {
	background: rgba(11, 41, 56, 0.85);
	backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	letter-spacing: 0.02em;
}

.badge-guarantee {
	background: #047857;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.booking-summary-body {
	padding: 1.5rem;
}

.booking-summary-eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #0f5f73;
	margin-bottom: 0.35rem;
}

.booking-summary-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0b2938;
	line-height: 1.35;
	margin: 0 0 1rem;
}

.booking-summary-title a {
	color: inherit;
	text-decoration: none;
}

.booking-summary-title a:hover {
	color: #0f5f73;
}

/* Quick Facts Strip */
.booking-summary-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid #f1f5f9;
}

.fact-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 0.3rem 0.65rem;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #475569;
}

.fact-pill svg {
	color: #0f5f73;
	flex-shrink: 0;
}

/* Pricing Display */
/* -------------------------------------------------------------------------
 * Left Column: Clean Booking & Deposit Breakdown (Inspired by Travelbase)
 * ------------------------------------------------------------------------- */
.booking-breakdown-card {
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	padding: 1.15rem;
	margin-bottom: 1.15rem;
	box-shadow: 0 4px 16px rgba(11, 41, 56, 0.05);
}

.booking-breakdown-card .breakdown-header {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #0f5f73;
	margin-bottom: 0.75rem;
	padding-bottom: 0.45rem;
	border-bottom: 1px solid #f1f5f9;
}

.booking-breakdown-card .breakdown-header svg {
	color: #0f5f73;
	flex-shrink: 0;
}

.booking-breakdown-card .breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	margin-bottom: 0.4rem;
	color: #475569;
}

.booking-breakdown-card .breakdown-val {
	font-weight: 600;
	color: #0b2938;
}

.booking-breakdown-card .breakdown-row--subtotal {
	padding-top: 0.45rem;
	margin-top: 0.45rem;
	border-top: 1px dashed #e2e8f0;
	margin-bottom: 0.75rem;
}

.booking-breakdown-card .breakdown-val--total {
	font-weight: 800;
	font-size: 0.95rem;
	color: #0b2938;
}

/* Prominent Upfront Deposit Box */
.breakdown-deposit-box {
	background: #ecfdf5;
	border: 1.5px solid #10b981;
	border-radius: 8px;
	padding: 0.85rem 0.95rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.65rem;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.breakdown-deposit-box .deposit-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.breakdown-deposit-box .deposit-badge {
	font-size: 0.78rem;
	font-weight: 800;
	color: #065f46;
	letter-spacing: -0.01em;
}

.breakdown-deposit-box .deposit-hint {
	font-size: 0.68rem;
	color: #047857;
	font-weight: 500;
}

.breakdown-deposit-box .deposit-val {
	font-size: 1.35rem;
	font-weight: 900;
	color: #047857;
	letter-spacing: -0.02em;
}

/* Remaining Balance Due in Kathmandu */
.breakdown-remaining-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
}

.breakdown-remaining-box .remaining-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.78rem;
	color: #475569;
	margin-bottom: 0.35rem;
}

.breakdown-remaining-box .remaining-amount {
	font-size: 0.925rem;
	font-weight: 700;
	color: #0b2938;
}

.breakdown-remaining-box .remaining-terms {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
	font-size: 0.7rem;
	color: #64748b;
	line-height: 1.35;
	margin: 0;
}

.breakdown-remaining-box .remaining-terms svg {
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: #0f5f73;
}

/* Group Tier Pricing Reference Table */
.booking-tier-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.85rem;
	margin-bottom: 1.25rem;
}

.booking-tier-header {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #0f5f73;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 0.5rem;
}

.booking-tier-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem;
}

.tier-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	background: #ffffff;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease;
}

.tier-row.is-active {
	background: #e6f3f5;
	border-color: #0f5f73;
	box-shadow: 0 0 0 1px #0f5f73;
}

.tier-row.is-active .tier-pax {
	color: #0f5f73;
	font-weight: 700;
}

.tier-row.is-active .tier-cost {
	color: #0f5f73;
	font-weight: 800;
}

.tier-pax {
	color: #64748b;
	font-weight: 500;
}

.tier-cost {
	color: #0b2938;
	font-weight: 700;
}

/* Inclusions Snapshot */
.booking-summary-inclusions {
	margin-bottom: 1.25rem;
}

.inclusions-heading {
	font-size: 0.825rem;
	font-weight: 700;
	color: #0b2938;
	margin: 0 0 0.65rem;
	letter-spacing: 0.01em;
}

.inclusions-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.inclusions-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: #334155;
	line-height: 1.4;
}

.inclusions-list li svg {
	flex-shrink: 0;
	margin-top: 0.15rem;
}

/* Trust Pills */
.booking-summary-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.trust-pill {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #0f5f73;
	background: #e6f3f5;
	padding: 0.45rem 0.65rem;
	border-radius: 6px;
}

/* WhatsApp Bar */
.booking-summary-whatsapp {
	border-top: 1px solid #f1f5f9;
	padding-top: 1rem;
}

.btn-summary-wa {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #25d366;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	padding: 0.55rem 0.85rem;
	border-radius: 6px;
	transition: background 0.18s ease;
	line-height: 1.3;
}

.btn-summary-wa:hover {
	background: #1eb956;
	color: #ffffff;
}

.btn-summary-wa svg {
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * Right Column: Booking Form Card
 * ------------------------------------------------------------------------- */
.booking-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 2.25rem 2.25rem 2.5rem;
	box-shadow: 0 10px 30px rgba(11, 41, 56, 0.05);
}

.booking-form-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #f1f5f9;
}

.booking-step-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: #e6f3f5;
	color: #0f5f73;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3rem 0.75rem;
	border-radius: 20px;
	margin-bottom: 0.75rem;
}

.booking-form-title {
	font-size: 1.75rem;
	font-weight: 800;
	color: #0b2938;
	line-height: 1.25;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.booking-form-subtitle {
	font-size: 0.925rem;
	color: #64748b;
	line-height: 1.55;
	margin: 0;
}

/* Confirmed Expedition Header Banner */
.booking-confirmed-trip-banner {
	background: linear-gradient(135deg, #0b2938 0%, #0f5f73 100%);
	border-radius: 10px;
	padding: 1.15rem 1.35rem;
	margin-bottom: 1.75rem;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(11, 41, 56, 0.12);
}

.booking-confirmed-trip-banner .confirmed-trip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.booking-confirmed-trip-banner .confirmed-trip-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #99f6e4;
}

.booking-confirmed-trip-banner .confirmed-trip-pill svg {
	color: #2dd4bf;
}

.booking-confirmed-trip-banner .confirmed-trip-badge {
	font-size: 0.7rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.15);
	padding: 0.2rem 0.6rem;
	border-radius: 12px;
	color: #ffffff;
}

.booking-confirmed-trip-banner .confirmed-trip-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.booking-confirmed-trip-banner .confirmed-trip-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: #cbd5e1;
}

.booking-confirmed-trip-banner .meta-dot {
	color: #64748b;
}

/* Fluent Form Overrides inside Booking Card */
.booking-form-body .fluentform {
	max-width: 100%;
}

.booking-form-body .ff-el-group {
	margin-bottom: 1.25rem;
}

.booking-form-body .ff-el-input--label {
	margin-bottom: 0.4rem;
}

.booking-form-body .ff-el-input--label label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #0b2938;
	letter-spacing: 0.01em;
}

.booking-form-body input.ff-el-form-control,
.booking-form-body select.ff-el-form-control,
.booking-form-body textarea.ff-el-form-control {
	width: 100%;
	padding: 0.75rem 0.95rem;
	font-size: 0.925rem;
	color: #0f172a;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	transition: all 0.2s ease;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.booking-form-body input.ff-el-form-control:focus,
.booking-form-body select.ff-el-form-control:focus,
.booking-form-body textarea.ff-el-form-control:focus {
	outline: none;
	background: #ffffff;
	border-color: #0f5f73;
	box-shadow: 0 0 0 3px rgba(15, 95, 115, 0.15);
}

.booking-form-body .ff_submit_btn_wrapper {
	margin-top: 1.75rem;
}

.booking-form-body .ff-btn-submit {
	width: 100%;
	padding: 0.95rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	background-color: #0f5f73;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 95, 115, 0.25);
	transition: all 0.2s ease;
	letter-spacing: 0.01em;
}

.booking-form-body .ff-btn-submit:hover {
	background-color: #0b2938;
	box-shadow: 0 6px 18px rgba(11, 41, 56, 0.3);
	transform: translateY(-1px);
}

.booking-form-body .ff-message-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
	text-align: center;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(6, 95, 70, 0.08);
}

/* Form Pax Stepper Component */
.pax-stepper {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	overflow: hidden;
	transition: all 0.2s ease;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pax-stepper:focus-within {
	border-color: #0f5f73;
	box-shadow: 0 0 0 3px rgba(15, 95, 115, 0.15);
}

.pax-step-btn {
	width: 48px;
	min-width: 48px;
	background: #f1f5f9;
	border: none;
	color: #0b2938;
	font-size: 1.35rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.15s ease, color 0.15s ease;
	user-select: none;
	padding: 0;
}

.pax-step-btn--minus {
	border-right: 1px solid #e2e8f0;
}

.pax-step-btn--plus {
	border-left: 1px solid #e2e8f0;
}

.pax-step-btn:hover:not(:disabled) {
	background: #0f5f73;
	color: #ffffff;
}

.pax-step-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background: #f8fafc;
	color: #94a3b8;
}

.booking-form-body .pax-stepper input.ff-el-form-control {
	border: none;
	border-radius: 0;
	text-align: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0b2938;
	background: #ffffff;
	box-shadow: none;
	outline: none;
	padding: 0.75rem 0.5rem;
	width: 100%;
	-moz-appearance: textfield;
}

.booking-form-body .pax-stepper input.ff-el-form-control::-webkit-outer-spin-button,
.booking-form-body .pax-stepper input.ff-el-form-control::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Pax Live Rate Tag */
.pax-live-rate {
	float: right;
	font-size: 0.75rem;
	font-weight: 700;
	color: #0f5f73;
	background: #e6f3f5;
	padding: 0.15rem 0.55rem;
	border-radius: 12px;
	letter-spacing: -0.01em;
}

/* Ensure hidden fields don't generate whitespace */
input[type="hidden"],
input[name="amount"][type="hidden"],
.ff-el-group:has(input[type="hidden"]:only-child),
.ff-el-group:has(input[name="amount"][type="hidden"]) {
	display: none;
	margin: 0;
	padding: 0;
}

/* Upfront Deposit & Kathmandu Remainder Policy Strip */
.booking-deposit-policy-strip {
	background: #ecfdf5;
	border: 1.5px solid #a7f3d0;
	border-radius: 8px;
	padding: 0.95rem 1.15rem;
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin-top: 1.75rem;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
}

.booking-deposit-policy-strip .policy-icon {
	flex-shrink: 0;
	margin-top: 0.1rem;
	background: #d1fae5;
	color: #047857;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.booking-deposit-policy-strip .policy-text {
	flex: 1;
}

.booking-deposit-policy-strip .policy-title {
	font-size: 0.88rem;
	font-weight: 800;
	color: #065f46;
	margin-bottom: 0.2rem;
}

.booking-deposit-policy-strip .policy-detail {
	font-size: 0.78rem;
	color: #047857;
	line-height: 1.45;
}

.booking-deposit-policy-strip .policy-highlight {
	font-weight: 700;
	color: #064e3b;
	text-decoration: underline;
	text-decoration-color: #34d399;
	text-underline-offset: 2px;
}

/* Security Guarantee Footer */
.booking-form-footer {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.security-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: #64748b;
}

.security-item svg {
	flex-shrink: 0;
}

/* -------------------------------------------------------------------------
 * Responsive Breakpoints
 * ------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.booking-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.booking-summary-col {
		position: static;
	}
	.booking-form-card {
		padding: 1.5rem 1.25rem;
	}
	.booking-form-title {
		font-size: 1.45rem;
	}
}
