/**
 * Book a Call — Warm Appointment Experience
 * Scoped to body.page-template-page-book-a-call, body.page-template-page-book-session
 */

body.page-template-page-book-a-call, body.page-template-page-book-session {
	background-color: #FDF7F5;
}

.page-template-page-book-a-call .content-area,
.page-template-page-book-a-call .site-content,
.page-template-page-book-a-call #main-content,
.page-template-page-book-session .content-area,
.page-template-page-book-session .site-content,
.page-template-page-book-session #main-content {
	padding-top: 0 !important;
}

.page-template-page-book-a-call .top_site_main,
.page-template-page-book-session .top_site_main {
	display: none;
}

/* ═══════════════════════════════════════════
   HERO — Soft immersive glow
   ═══════════════════════════════════════════ */
.mb-book-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 60% at 50% 120%, rgba(231, 172, 163, 0.18) 0%, transparent 70%),
		linear-gradient(180deg, #FBEEEB 0%, #FDF7F5 60%, #FDF7F5 100%);
	padding: 110px 20px 60px;
	text-align: center;
}

.mb-book-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #E7ACA3, transparent);
	border-radius: 999px;
	opacity: 0.5;
}

.mb-book-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 0 auto;
}

.mb-book-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	color: #C77A6F;
	margin-bottom: 20px;
}

.mb-book-eyebrow::before,
.mb-book-eyebrow::after {
	content: "";
	width: 24px;
	height: 1px;
	background: #E7ACA3;
	opacity: 0.6;
}

.mb-book-title {
	font-family: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
	font-size: clamp(38px, 5.5vw, 58px);
	font-weight: 500;
	line-height: 1.08;
	color: #3A2E2E;
	margin: 0 0 18px;
	letter-spacing: -0.6px;
}

.mb-book-subtitle {
	font-size: 16.5px;
	line-height: 1.7;
	color: #6B5B5B;
	max-width: 480px;
	margin: 0 auto;
}

/* ═══════════════════════════════════════════
   HOST CARD — Encouraging sidebar presence
   ═══════════════════════════════════════════ */
.mb-book-host {
	background:
		linear-gradient(180deg, #FFFFFF 0%, #FDF7F5 100%);
	border: 1px solid #EFD9D5;
	border-radius: 24px;
	padding: 0 0 28px;
	text-align: center;
	box-shadow: 0 24px 60px -24px rgba(58, 46, 46, 0.14);
	position: relative;
	overflow: hidden;
}

.mb-book-host::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #E7ACA3, #C77A6F);
	border-radius: 24px 24px 0 0;
}

.mb-book-host.is-textonly {
	padding: 36px 28px 28px;
}
.mb-book-host.is-textonly .mb-book-host-tag {
	margin-top: 0;
}

.mb-book-host-photo-wrap {
	position: relative;
	padding: 32px 24px 0;
	margin-bottom: 16px;
}

.mb-book-host-photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	margin: 0 auto;
	border: 4px solid #FFFFFF;
	box-shadow: 0 8px 24px -6px rgba(199, 122, 111, 0.35);
	position: relative;
	z-index: 2;
}

.mb-book-host-photo-ring {
	position: absolute;
	left: 50%;
	top: 28px;
	transform: translateX(-50%);
	width: 108px;
	height: 108px;
	border-radius: 50%;
	border: 2px dashed #E7ACA3;
	opacity: 0.45;
	animation: mb-host-ring-spin 18s linear infinite;
}

@keyframes mb-host-ring-spin {
	0% { transform: translateX(-50%) rotate(0deg); }
	100% { transform: translateX(-50%) rotate(360deg); }
}

.mb-book-host-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #C77A6F;
	background: #F5DCD8;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.mb-book-host-name {
	font-family: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
	font-size: 22px;
	font-weight: 600;
	color: #3A2E2E;
	margin: 0 0 4px;
	letter-spacing: -0.2px;
}

.mb-book-host-role {
	font-size: 12.5px;
	color: #9A8888;
	margin: 0 0 14px;
}

.mb-book-host-quote {
	font-size: 13px;
	line-height: 1.6;
	color: #6B5B5B;
	font-style: italic;
	padding: 22px 20px 0;
	margin: 0 0 16px;
	position: relative;
}

.mb-book-host-quote::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 24px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 56 40' fill='%23E7ACA3' opacity='0.2'%3E%3Cpath d='M0 40V22.4Q0 11.7 4.6 5.4 9.3-1 17.5-1l1.7 5.8q-5.4 1.4-8.5 5.6-3.1 4.2-3.1 9.3h11V40H0zm32.5 0V22.4q0-10.7 4.6-17 4.7-6.4 12.9-6.4l1.7 5.8q-5.4 1.4-8.5 5.6-3.1 4.2-3.1 9.3h11V40H32.5z'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.mb-book-host-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #C77A6F;
	background: #FFFFFF;
	border: 1px solid #EFD9D5;
	border-radius: 999px;
	padding: 7px 14px;
	box-shadow: 0 2px 8px -2px rgba(58, 46, 46, 0.06);
}

/* ═══════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════ */
.mb-book-body {
	padding: 48px 20px 100px;
}

.mb-book-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 48px;
	max-width: 900px;
	margin: 0 auto;
	align-items: start;
}

/* Narrower Bookly columns so 5 days fit per row in the available form width */
.page-template-page-book-a-call .bookly-form .bookly-time-step,
.page-template-page-book-a-call .bookly-form .bookly-columnizer,
.page-template-page-book-a-call .bookly-form .bookly-time-screen {
	width: auto !important;
	min-width: 100% !important;
}

.page-template-page-book-a-call .bookly-form .bookly-columnizer .bookly-column {
	width: 108px !important;
	min-height: 340px;
}

.page-template-page-book-a-call .bookly-form .bookly-columnizer .bookly-day,
.page-template-page-book-a-call .bookly-form .bookly-columnizer .bookly-hour {
	width: 100% !important;
	margin-right: 0 !important;
}

.page-template-page-book-a-call .bookly-form .bookly-columnizer .bookly-column:nth-child(5n+1) {
	clear: left;
}

.mb-book-host-col {
	position: sticky;
	top: 110px;
}

.mb-book-form-col {
	min-width: 0;
}

/* ═══════════════════════════════════════════
   TIMELINE STEPS
   ═══════════════════════════════════════════ */
.mb-book-step {
	position: relative;
	padding-left: 48px;
	margin-bottom: 44px;
}

.mb-book-step::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 40px;
	bottom: -44px;
	width: 2px;
	background: linear-gradient(180deg, #EFD9D5 0%, transparent 100%);
	border-radius: 999px;
}

.mb-book-step:last-child::before {
	display: none;
}

.mb-book-step-num {
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 2px solid #EFD9D5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: #C77A6F;
	transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
	z-index: 2;
}

.mb-book-step.is-active .mb-book-step-num {
	background: linear-gradient(135deg, #C77A6F, #A85D52);
	border-color: #C77A6F;
	color: #FFFFFF;
	box-shadow: 0 4px 16px -4px rgba(199, 122, 111, 0.4);
	transform: scale(1.08);
}

/* Completed step: animated green check */
.mb-book-step.is-completed .mb-book-step-num {
	background: linear-gradient(135deg, #7DB9A0, #5A9B7E);
	border-color: #7DB9A0;
	color: #FFFFFF;
	box-shadow: 0 4px 16px -4px rgba(90, 155, 126, 0.4);
	transform: scale(1.08);
	font-size: 0;
}

.mb-book-step.is-completed .mb-book-step-num::after {
	content: "";
	width: 14px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 5 5 9 13 1'/%3E%3C/svg%3E") no-repeat center;
	animation: mb-check-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mb-check-pop {
	0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
	60%  { transform: scale(1.2) rotate(2deg); opacity: 1; }
	100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.mb-book-step-label {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #C77A6F;
	margin-bottom: 6px;
	transition: color 0.3s ease;
}

.mb-book-step.is-completed .mb-book-step-label {
	color: #5A9B7E;
}

.mb-book-step-title {
	font-family: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	color: #3A2E2E;
	margin: 0 0 18px;
	letter-spacing: -0.2px;
	transition: color 0.3s ease;
}

.mb-book-step.is-completed .mb-book-step-title {
	color: #5A7A6A;
}

/* ═══════════════════════════════════════════
   DATE PICKER — Premium styled wrapper
   ═══════════════════════════════════════════ */
.mb-book-date-wrap {
	position: relative;
	background: #FFFFFF;
	border: 1.5px solid #EFD9D5;
	border-radius: 16px;
	padding: 4px;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	overflow: hidden;
}

.mb-book-date-wrap:hover {
	border-color: #E7ACA3;
	box-shadow: 0 8px 28px -12px rgba(199, 122, 111, 0.18);
	transform: translateY(-1px);
}

.mb-book-date-wrap.is-open {
	border-color: #C77A6F;
	box-shadow:
		0 0 0 4px rgba(199, 122, 111, 0.12),
		0 12px 40px -16px rgba(199, 122, 111, 0.22);
	transform: translateY(-1px);
}

.mb-book-date-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #C77A6F;
	background: #FDF7F5;
	border-radius: 13px;
	transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mb-book-date-wrap:hover .mb-book-date-icon,
.mb-book-date-wrap.is-open .mb-book-date-icon {
	background: linear-gradient(135deg, #C77A6F, #A85D52);
	color: #FFFFFF;
	transform: scale(1.08);
}

.mb-book-date-display {
	flex: 1;
	font-family: inherit;
	font-size: 15px;
	color: #B5A5A5;
	padding: 12px 8px;
	user-select: none;
	transition: color 0.35s ease;
}

.mb-book-date-display.has-value {
	color: #3A2E2E;
	font-weight: 500;
}

.mb-book-date-arrow {
	flex-shrink: 0;
	color: #9A8888;
	margin-right: 10px;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s ease;
}

.mb-book-date-wrap.is-open .mb-book-date-arrow {
	color: #C77A6F;
	transform: rotate(180deg);
}

/* Off-screen native input — kept accessible but invisible */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mb-book-date-hint {
	font-size: 12px;
	color: #9A8888;
	margin: 6px 0 0 4px;
}

/* ═══════════════════════════════════════════
   FIELDS
   ═══════════════════════════════════════════ */
.mb-book-field {
	margin-bottom: 14px;
}

.mb-book-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #3A2E2E;
	margin-bottom: 7px;
}

.mb-book-field input[type="text"],
.mb-book-field input[type="email"],
.mb-book-field input[type="tel"],
.mb-book-field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	color: #3A2E2E;
	background: #FFFFFF;
	border: 1.5px solid #EFD9D5;
	border-radius: 14px;
	padding: 13px 16px;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.mb-book-field input::placeholder,
.mb-book-field textarea::placeholder {
	color: #B5A5A5;
	opacity: 1;
}

.mb-book-field input:focus,
.mb-book-field textarea:focus {
	background: #FFFFFF;
	border-color: #E7ACA3;
	box-shadow: 0 0 0 4px rgba(231, 172, 163, 0.10);
}

.mb-book-field.is-error input,
.mb-book-field.is-error textarea {
	border-color: #C77A6F;
	background: #FFF8F7;
	box-shadow: 0 0 0 4px rgba(199, 122, 111, 0.08);
	animation: mb-field-shake 0.5s ease;
}

.mb-book-field.is-error .mb-book-date-wrap {
	border-color: #C77A6F;
	box-shadow: 0 0 0 4px rgba(199, 122, 111, 0.08);
	animation: mb-field-shake 0.5s ease;
}

.mb-book-field.is-error .mb-book-consent-box {
	border-color: #C77A6F;
	animation: mb-field-shake 0.5s ease;
}

@keyframes mb-field-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(5px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(3px); }
}

.mb-book-error {
	font-size: 12.5px;
	line-height: 1.5;
	color: #C77A6F;
	margin: 6px 0 0 4px;
	padding-left: 22px;
	position: relative;
	opacity: 0;
	transform: translateY(-4px);
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.mb-book-error::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C77A6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.mb-book-error.is-visible {
	opacity: 1;
	transform: translateY(0);
	max-height: 120px;
}

.mb-book-field textarea {
	min-height: 100px;
	resize: vertical;
	line-height: 1.6;
}

.mb-book-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* ─── Time Slots ─── */
.mb-book-slots {
	min-height: 56px;
}

.mb-book-slots-placeholder {
	display: block;
	font-size: 14px;
	color: #9A8888;
	font-style: italic;
	padding: 16px 0;
}

.mb-book-slots-group {
	margin-bottom: 18px;
}

.mb-book-slots-group-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #9A8888;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mb-book-slots-group-label::before {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, #EFD9D5, transparent);
	max-width: 40px;
}

.mb-book-slots-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mb-book-slot {
	appearance: none;
	border: 1.5px solid #EFD9D5;
	background: #FFFFFF;
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.25s ease;
	font-family: inherit;
	box-shadow: 0 2px 6px -2px rgba(58, 46, 46, 0.06);
	opacity: 1;
	visibility: visible;
}

/* Slot entrance animation */
.mb-book-slot.is-entering {
	animation: mb-slot-in 0.35s ease forwards;
}

@keyframes mb-slot-in {
	0%   { opacity: 0; transform: translateY(8px) scale(0.96); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

.mb-book-slot-local {
	font-size: 14px;
	font-weight: 600;
	color: #3A2E2E;
}

.mb-book-slot-miami {
	font-size: 11px;
	color: #9A8888;
	font-weight: 500;
}

.mb-book-slot:hover {
	background: #3A4A47;
	border-color: #3A4A47;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -6px rgba(30, 42, 40, 0.35);
}

.mb-book-slot:hover .mb-book-slot-local {
	color: #FFFFFF;
}

.mb-book-slot:hover .mb-book-slot-miami {
	color: rgba(255, 255, 255, 0.8);
}

.mb-book-slot.is-selected {
	background: linear-gradient(135deg, #A85D52, #8B453B);
	border-color: #A85D52;
	color: #FFFFFF;
	box-shadow: 0 8px 20px -6px rgba(168, 93, 82, 0.45);
	transform: translateY(-1px);
}

.mb-book-slot.is-selected .mb-book-slot-local {
	color: #FFFFFF;
}

.mb-book-slot.is-selected .mb-book-slot-miami {
	color: rgba(255, 255, 255, 0.85);
}

.mb-book-slot.is-taken {
	background: #FDF7F5;
	border-color: #EFD9D5;
	color: #9A8888;
	cursor: not-allowed;
	opacity: 0.7;
}

.mb-book-slot.is-taken .mb-book-slot-local {
	color: #9A8888;
	text-decoration: line-through;
}

.mb-book-slot-status {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #C77A6F;
	background: #FBEEEB;
	padding: 2px 8px;
	border-radius: 999px;
}

/* ─── Timezone ─── */
.mb-book-tz-display {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #9A8888;
	margin-top: 10px;
	background: #FDF7F5;
	border: 1px solid #EFD9D5;
	border-radius: 10px;
	padding: 8px 12px;
}

.mb-book-tz-display svg {
	color: #C77A6F;
	flex-shrink: 0;
}

/* ─── Summary Card ─── */
.mb-book-summary {
	background: #FFFFFF;
	border: 1px solid #EFD9D5;
	border-radius: 18px;
	padding: 20px 22px;
	margin-bottom: 24px;
	box-shadow: 0 8px 28px -12px rgba(58, 46, 46, 0.10);
	position: relative;
	overflow: hidden;
}

.mb-book-summary::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #E7ACA3, #C77A6F);
	border-radius: 18px 0 0 18px;
}

.mb-book-summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 0;
	border-bottom: 1px dashed #EFD9D5;
}

.mb-book-summary-item:last-child {
	border-bottom: none;
}

.mb-book-summary-label {
	font-size: 12px;
	font-weight: 600;
	color: #9A8888;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.mb-book-summary-value {
	font-size: 14px;
	font-weight: 500;
	color: #3A2E2E;
	text-align: right;
}

/* ─── Consent ─── */
.page-template-page-book-a-call .mb-book-consent,
.page-template-page-book-session .mb-book-consent {
	display: flex !important;
	align-items: flex-start !important;
	gap: 14px !important;
	cursor: pointer !important;
	font-size: 13.5px !important;
	line-height: 1.55 !important;
	color: #6B5B5B !important;
	margin-bottom: 28px !important;
	position: relative !important;
	user-select: none !important;
	outline: none !important;
}

.page-template-page-book-a-call .mb-book-consent-box,
.page-template-page-book-session .mb-book-consent-box {
	display: inline-block !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	border-radius: 7px !important;
	border: 2.5px solid #E7ACA3 !important;
	background: #FFFFFF !important;
	flex-shrink: 0 !important;
	margin-top: 1px !important;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	position: relative !important;
	box-sizing: border-box !important;
}

.page-template-page-book-a-call .mb-book-consent-box::after,
.page-template-page-book-session .mb-book-consent-box::after {
	content: "" !important;
	position: absolute !important;
	left: 50% !important;
	top: 46% !important;
	width: 10px !important;
	height: 6px !important;
	border-left: 2.5px solid #FFFFFF !important;
	border-bottom: 2.5px solid #FFFFFF !important;
	border-radius: 1px !important;
	transform: translate(-50%, -50%) rotate(-45deg) scale(0) !important;
	transform-origin: center !important;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease !important;
	opacity: 0 !important;
}

#mb-book-consent:checked + .mb-book-consent .mb-book-consent-box {
	background: linear-gradient(135deg, #C77A6F, #A85D52) !important;
	border-color: #C77A6F !important;
	box-shadow: 0 6px 18px -6px rgba(199, 122, 111, 0.4) !important;
}

#mb-book-consent:checked + .mb-book-consent .mb-book-consent-box::after {
	transform: translate(-50%, -50%) rotate(-45deg) scale(1) !important;
	opacity: 1 !important;
}

.page-template-page-book-a-call .mb-book-consent:hover .mb-book-consent-box,
.page-template-page-book-a-call .mb-book-consent:focus-within .mb-book-consent-box,
.page-template-page-book-session .mb-book-consent:hover .mb-book-consent-box,
.page-template-page-book-session .mb-book-consent:focus-within .mb-book-consent-box {
	border-color: #C77A6F !important;
	transform: scale(1.06) !important;
}

#mb-book-consent:focus-visible + .mb-book-consent .mb-book-consent-box {
	box-shadow: 0 0 0 5px rgba(231, 172, 163, 0.3) !important;
}

/* ─── Submit ─── */
.mb-book-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #FFFFFF;
	background: linear-gradient(135deg, #C77A6F, #A85D52);
	border: none;
	border-radius: 999px;
	padding: 16px 32px;
	cursor: pointer;
	box-shadow: 0 12px 28px -14px rgba(168, 93, 82, 0.45);
	transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	overflow: hidden;
}

.mb-book-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -12px rgba(30, 42, 40, 0.55);
	filter: brightness(1.05);
	background: #3A4A47 !important;
}

.mb-book-submit:active {
	transform: translateY(0);
}

.mb-book-submit.is-sending {
	pointer-events: none;
}

.mb-book-submit.is-sending::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transform: translateX(-100%);
	animation: mb-book-shimmer 1s ease infinite;
}

@keyframes mb-book-shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.mb-book-submit-arrow {
	transition: transform 0.3s ease;
}

.mb-book-submit:hover .mb-book-submit-arrow {
	transform: translateX(3px);
}

/* ─── Success ─── */
.mb-book-success {
	display: none;
	text-align: center;
	padding: 40px 20px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.mb-book-success.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mb-book-success-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 24px;
	background: linear-gradient(135deg, #C77A6F, #A85D52);
	border-radius: 50%;
	position: relative;
	box-shadow: 0 12px 32px -10px rgba(199, 122, 111, 0.4);
}

.mb-book-success-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}

.mb-book-success h3 {
	font-family: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
	font-size: 30px;
	font-weight: 500;
	color: #3A2E2E;
	margin: 0 0 14px;
}

.mb-book-success p {
	font-size: 15.5px;
	line-height: 1.7;
	color: #6B5B5B;
	max-width: 440px;
	margin: 0 auto;
}

/* ═══════════════════════════════════════════
   FLOATING PETALS
   ═══════════════════════════════════════════ */
.mb-book-petal-stage {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	overflow: hidden;
}

.mb-book-petal {
	position: absolute;
	width: 12px;
	height: 12px;
	background: radial-gradient(circle at 30% 30%, #F5DCD8, #E7ACA3);
	border-radius: 50% 0 50% 0;
	opacity: 0;
	animation: mb-book-petal-float 2.2s ease-out forwards;
}

.mb-book-petal:nth-child(odd) {
	background: radial-gradient(circle at 30% 30%, #E7ACA3, #C77A6F);
	border-radius: 0 50% 0 50%;
}

.mb-book-petal:nth-child(3n) {
	width: 8px;
	height: 8px;
}

.mb-book-petal:nth-child(5n) {
	width: 16px;
	height: 16px;
	background: radial-gradient(circle at 30% 30%, #FFFFFF, #F5DCD8);
}

@keyframes mb-book-petal-float {
	0% {
		opacity: 1;
		transform: translateY(0) rotate(0deg) scale(0.5);
	}
	30% {
		opacity: 1;
		transform: translateY(-40px) rotate(45deg) scale(1);
	}
	100% {
		opacity: 0;
		transform: translateY(-180px) rotate(180deg) scale(0.3);
	}
}

.mb-book-fallback {
	background: #FFFFFF;
	border: 1px solid #EFD9D5;
	border-radius: 24px;
	padding: 36px;
	text-align: center;
	box-shadow: 0 24px 60px -24px rgba(58, 46, 46, 0.12);
}

.mb-book-fallback-text {
	font-size: 15.5px;
	line-height: 1.6;
	color: #6B5B5B;
	margin: 0 0 24px;
}

.mb-book-fallback-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Bookly packages list wrapper on session booking page */
.page-template-page-book-session .mb-book-form-col #bookly-tbs {
	background: #FFFFFF;
	border: 1px solid #EFD9D5;
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 24px 60px -24px rgba(58, 46, 46, 0.12);
}

.page-template-page-book-session .mb-book-form-col #bookly-tbs .bookly-css-root {
	overflow-x: auto;
}

.page-template-page-book-session .mb-book-form-col #bookly-tbs table.dataTable {
	margin: 0;
}

.page-template-page-book-session .mb-book-form-col #bookly-tbs .btn-success,
.page-template-page-book-session .mb-book-form-col #bookly-tbs .btn-primary {
	background: linear-gradient(135deg, #C77A6F, #A85D52);
	border-color: #C77A6F;
	color: #FFFFFF;
	border-radius: 999px;
}

.page-template-page-book-session .mb-book-form-col #bookly-tbs .btn-success:hover,
.page-template-page-book-session .mb-book-form-col #bookly-tbs .btn-primary:hover {
	background: #3A4A47;
	border-color: #3A4A47;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 860px) {
	.mb-book-hero {
		padding: 80px 20px 48px;
	}

	.mb-book-title {
		font-size: 36px;
	}

	.mb-book-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		max-width: 600px;
	}

	.mb-book-host-col {
		position: static;
		display: flex;
		justify-content: center;
	}

	.mb-book-host {
		max-width: 300px;
		width: 100%;
	}

	.mb-book-step {
		padding-left: 42px;
	}

	.mb-book-step-title {
		font-size: 20px;
	}

	.mb-book-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* ═══════════════════════════════════════════
   HIDE PARENT THEME STYLES
   ═══════════════════════════════════════════ */
.page-template-page-book-a-call .page-content-inner,
.page-template-page-book-a-call .entry-header,
.page-template-page-book-a-call .entry-tag-share,
.page-template-page-book-a-call .thim-about-author,
.page-template-page-book-a-call .entry-navigation-post,
.page-template-page-book-session .page-content-inner,
.page-template-page-book-session .entry-header,
.page-template-page-book-session .entry-tag-share,
.page-template-page-book-session .thim-about-author,
.page-template-page-book-session .entry-navigation-post {
	display: none;
}

/* ═══════════════════════════════════════════
   BOOKLY FORM BRANDING
   ═══════════════════════════════════════════ */

/* Scope Bookly form inside our warm card column */
.page-template-page-book-a-call .mb-book-form-col .bookly-form,
.page-template-page-book-session .mb-book-form-col .bookly-form {
	font-family: 'Nunito', system-ui, -apple-system, sans-serif;
	color: #3A2E2E;
}

/* Primary buttons */
.page-template-page-book-a-call .bookly-form .bookly-js-next-step,
.page-template-page-book-session .bookly-form .bookly-js-next-step,
.page-template-page-book-a-call .bookly-form .bookly-js-back-step,
.page-template-page-book-session .bookly-form .bookly-js-back-step,
.page-template-page-book-a-call .bookly-form .bookly-btn,
.page-template-page-book-session .bookly-form .bookly-btn {
	font-family: 'Nunito', system-ui, -apple-system, sans-serif;
	font-weight: 600;
	border-radius: 999px;
	padding: 14px 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.page-template-page-book-a-call .bookly-form .bookly-js-next-step,
.page-template-page-book-session .bookly-form .bookly-js-next-step,
.page-template-page-book-a-call .bookly-form .bookly-btn-primary,
.page-template-page-book-session .bookly-form .bookly-btn-primary {
	background: linear-gradient(135deg, #C77A6F, #A85D52) !important;
	border-color: #C77A6F !important;
	color: #FFFFFF !important;
	box-shadow: 0 12px 28px -14px rgba(168, 93, 82, 0.45);
}

.page-template-page-book-a-call .bookly-form .bookly-js-next-step:hover,
.page-template-page-book-session .bookly-form .bookly-js-next-step:hover,
.page-template-page-book-a-call .bookly-form .bookly-btn-primary:hover,
.page-template-page-book-session .bookly-form .bookly-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -12px rgba(168, 93, 82, 0.55);
	filter: brightness(1.05);
}

/* Progress tracker */
.page-template-page-book-a-call .bookly-form .bookly-progress-tracker,
.page-template-page-book-session .bookly-form .bookly-progress-tracker {
	margin-bottom: 28px;
}

.page-template-page-book-a-call .bookly-form .bookly-progress-tracker .active,
.page-template-page-book-session .bookly-form .bookly-progress-tracker .active,
.page-template-page-book-a-call .bookly-form .bookly-progress-tracker .bookly-active,
.page-template-page-book-session .bookly-form .bookly-progress-tracker .bookly-active {
	color: #C77A6F !important;
	border-color: #C77A6F !important;
}

/* Time slots */
.page-template-page-book-a-call .bookly-form .bookly-hour,
.page-template-page-book-session .bookly-form .bookly-hour {
	border-radius: 999px;
	border-color: #EFD9D5;
	color: #3A2E2E;
	transition: all 0.25s ease;
}

.page-template-page-book-a-call .bookly-form .bookly-hour:hover,
.page-template-page-book-session .bookly-form .bookly-hour:hover {
	background: #C77A6F;
	border-color: #C77A6F;
	color: #FFFFFF;
}

.page-template-page-book-a-call .bookly-form .bookly-hour.bookly-selected,
.page-template-page-book-session .bookly-form .bookly-hour.bookly-selected {
	background: linear-gradient(135deg, #A85D52, #8B453B);
	border-color: #A85D52;
	color: #FFFFFF;
}

.page-template-page-book-a-call .bookly-form .bookly-hour.bookly-disabled,
.page-template-page-book-session .bookly-form .bookly-hour.bookly-disabled {
	background: #FDF7F5;
	color: #9A8888;
	cursor: not-allowed;
}

/* Date picker / calendar */
.page-template-page-book-a-call .bookly-form .bookly-schedule-date,
.page-template-page-book-session .bookly-form .bookly-schedule-date,
.page-template-page-book-a-call .bookly-form .ui-datepicker-calendar td a.ui-state-active,
.page-template-page-book-session .bookly-form .ui-datepicker-calendar td a.ui-state-active {
	background: #C77A6F;
	color: #FFFFFF;
}

.page-template-page-book-a-call .bookly-form .bookly-schedule-day:hover,
.page-template-page-book-session .bookly-form .bookly-schedule-day:hover {
	background: #F5DCD8;
}

/* Inputs inside Bookly */
.page-template-page-book-a-call .bookly-form input[type="text"],
.page-template-page-book-session .bookly-form input[type="text"],
.page-template-page-book-a-call .bookly-form input[type="email"],
.page-template-page-book-session .bookly-form input[type="email"],
.page-template-page-book-a-call .bookly-form input[type="tel"],
.page-template-page-book-session .bookly-form input[type="tel"],
.page-template-page-book-a-call .bookly-form select,
.page-template-page-book-session .bookly-form select,
.page-template-page-book-a-call .bookly-form textarea,
.page-template-page-book-session .bookly-form textarea {
	border: 1.5px solid #EFD9D5;
	border-radius: 14px;
	padding: 12px 16px;
	color: #3A2E2E;
	font-family: 'Nunito', system-ui, -apple-system, sans-serif;
}

/* Restore intl-tel-input padding so the flag does not overlap the number */
.page-template-page-book-a-call .bookly-form input.iti__tel-input,
.page-template-page-book-session .bookly-form input.iti__tel-input {
	padding-right: var(--iti-input-padding) !important;
	padding-left: var(--iti-selected-country-arrow-padding) !important;
}

[dir="rtl"] .page-template-page-book-a-call .bookly-form input.iti__tel-input,
[dir="rtl"] .page-template-page-book-session .bookly-form input.iti__tel-input {
	padding-right: var(--iti-selected-country-arrow-padding) !important;
	padding-left: var(--iti-input-padding) !important;
}

.page-template-page-book-a-call .bookly-form input:focus,
.page-template-page-book-session .bookly-form input:focus,
.page-template-page-book-a-call .bookly-form select:focus,
.page-template-page-book-session .bookly-form select:focus,
.page-template-page-book-a-call .bookly-form textarea:focus,
.page-template-page-book-session .bookly-form textarea:focus {
	border-color: #E7ACA3;
	box-shadow: 0 0 0 4px rgba(231, 172, 163, 0.12);
	outline: none;
}

/* Service/category dropdowns */
.page-template-page-book-a-call .bookly-form .bookly-form-group,
.page-template-page-book-session .bookly-form .bookly-form-group {
	margin-bottom: 18px;
}

.page-template-page-book-a-call .bookly-form label,
.page-template-page-book-session .bookly-form label {
	color: #3A2E2E;
	font-weight: 600;
	font-size: 13px;
}

/* Modern form Tailwind overrides */
.page-template-page-book-a-call .bookly-form [class*="bookly-button-primary"],
.page-template-page-book-session .bookly-form [class*="bookly-button-primary"] {
	background: linear-gradient(135deg, #C77A6F, #A85D52) !important;
	border-color: #C77A6F !important;
	color: #FFFFFF !important;
	border-radius: 999px !important;
}

.page-template-page-book-a-call .bookly-form [class*="bookly-button-primary"]:hover,
.page-template-page-book-session .bookly-form [class*="bookly-button-primary"]:hover {
	filter: brightness(1.05);
}

.page-template-page-book-a-call .bookly-form [class*="bookly-slot-selected"],
.page-template-page-book-session .bookly-form [class*="bookly-slot-selected"] {
	background: #A85D52 !important;
	border-color: #A85D52 !important;
	color: #FFFFFF !important;
}

.page-template-page-book-a-call .bookly-form [class*="bookly-slot"]:hover,
.page-template-page-book-session .bookly-form [class*="bookly-slot"]:hover {
	background: #C77A6F !important;
	border-color: #C77A6F !important;
	color: #FFFFFF !important;
}
