/**
 * Booking Widget v2
 *
 * Shortcode:
 * [phorest_booking_landing]
 *
 * Flow:
 * Category → Service → Location/Staff → Summary → Phorest new tab.
 */

/* ==========================================================================
   Base
   ========================================================================== */

.tb-booking-widget {
	--tb-bw-navy: #06141d;
	--tb-bw-navy-2: #00111d;
	--tb-bw-cream: #f8f4ec;
	--tb-bw-gold: #c9a96b;
	--tb-bw-gold-hover: #d8b978;
	--tb-bw-text: #00172a;
	--tb-bw-muted: rgba(0, 23, 42, 0.68);
	--tb-bw-line: rgba(0, 23, 42, 0.14);

	width: 100%;
	margin: 0 auto;
	color: var(--tb-bw-text);
	box-sizing: border-box;
}

.tb-booking-widget *,
.tb-booking-widget *::before,
.tb-booking-widget *::after {
	box-sizing: border-box;
}

.tb-booking-widget [hidden] {
	display: none !important;
}

.tb-booking-widget button,
.tb-booking-widget a {
	box-shadow: none !important;
	text-shadow: none !important;
	font-family: inherit;
}

.tb-booking-widget__card {
	margin: 0 auto;
	background: #ffffff;
	overflow: hidden;
}

/* ==========================================================================
   Header
   ========================================================================== */

.tb-booking-widget__head {
	padding: 20px 20px 22px;
	background: var(--tb-bw-navy-2);
	color: #ffffff;
}

.tb-booking-widget__kicker {
	display: block;
	margin-bottom: 10px;
	color: var(--tb-bw-gold);
	font-size: 10px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.tb-booking-widget__title {
	margin: 0;
	color: #ffffff;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* ==========================================================================
   Quick buttons
   ========================================================================== */

.tb-booking-widget__quick {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	padding: 14px;
	background: var(--tb-bw-cream);
	border-bottom: 1px solid var(--tb-bw-line);
}

.tb-booking-widget__quick-btn {
	min-height: 56px;
	padding: 12px 16px;
	border: 1px solid rgba(0, 23, 42, 0.22) !important;
	border-radius: 0 !important;
	background: #fbfaf7 !important;
	color: var(--tb-bw-text) !important;
	font-size: 15px;
	line-height: 1.15;
	font-weight: 700;
	text-wrap: wrap;
	text-align: center;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tb-booking-widget__quick-btn:hover,
.tb-booking-widget__quick-btn:focus,
.tb-booking-widget__quick-btn:focus-visible {
	background: #ffffff !important;
	border-color: var(--tb-bw-gold) !important;
	color: var(--tb-bw-text) !important;
	outline: none !important;
}

/* ==========================================================================
   Main slot / steps
   ========================================================================== */

.tb-booking-widget__slot {
	background: #ffffff;
}

.tb-booking-step {
	padding: 18px;
	background: #ffffff;
	border-bottom: 1px solid var(--tb-bw-line);
}

.tb-booking-step--dark {
	background: var(--tb-bw-navy-2);
	color: #ffffff;
}

.tb-booking-step__head {
	margin-bottom: 14px;
}

.tb-booking-step__head span {
	display: block;
	margin-bottom: 8px;
	color: var(--tb-bw-gold);
	font-size: 10px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.tb-booking-step__head h3 {
    margin: 0 0 8px;
    color: inherit;
    font-size: 25px;
    line-height: 1.08;
    font-weight: 400;
    font-family: 'PP Editorial New', 'Editorial New', Georgia, serif !important;
    letter-spacing: -0.03em;
}

.tb-booking-step__head p {
	margin: 0;
	color: inherit;
	opacity: 0.78;
	font-size: 14px;
	line-height: 1.55;
}

/* ==========================================================================
   Service/category list in main slot
   ========================================================================== */

.tb-booking-service-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tb-booking-service-btn,
.tb-booking-option {
	width: fit-content;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 62px;
	padding: 14px 15px;
	border: 1px solid var(--tb-bw-line) !important;
	border-radius: 0 !important;
	background: #fbfaf7 !important;
	color: var(--tb-bw-text) !important;
	text-align: left;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
	text-wrap: wrap;
}

.tb-booking-service-btn:hover,
.tb-booking-service-btn:focus,
.tb-booking-service-btn:focus-visible,
.tb-booking-option:hover,
.tb-booking-option:focus,
.tb-booking-option:focus-visible {
	background: #ffffff !important;
	border-color: var(--tb-bw-gold) !important;
	color: var(--tb-bw-text) !important;
	transform: translateY(-1px);
	outline: none !important;
}

.tb-booking-service-btn span,
.tb-booking-option span {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.tb-booking-service-btn strong,
.tb-booking-option strong {
	color: var(--tb-bw-text);
	font-size: 14px;
	line-height: 1.22;
	font-weight: 600;
}

.tb-booking-service-btn small,
.tb-booking-option small {
	color: var(--tb-bw-muted);
	font-size: 12px;
	line-height: 1.45;
	font-weight: 500;
}

.tb-booking-service-btn em {
	color: var(--tb-bw-text);
	font-size: 12px;
	line-height: 1.25;
	font-style: normal;
	font-weight: 800;
	text-align: right;
}

/* ==========================================================================
   Location options
   ========================================================================== */

.tb-booking-options {
	display: flex;
	gap: 8px;
}

.tb-booking-option {
	grid-template-columns: 1fr;
}

/* ==========================================================================
   Color quick / dark choice boxes
   ========================================================================== */

.tb-booking-color-quick {
	display: grid;
	grid-template-columns: 1fr 1fr 1.6fr;
	gap: 8px;
}

.tb-booking-color-quick button,
.tb-booking-color-quick a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 255, 255, 0.4) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #ffffff !important;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tb-booking-color-quick button:hover,
.tb-booking-color-quick button:focus,
.tb-booking-color-quick a:hover,
.tb-booking-color-quick a:focus {
	background: rgba(201, 169, 107, 0.14) !important;
	border-color: var(--tb-bw-gold) !important;
	color: #ffffff !important;
	outline: none !important;
}

/* ==========================================================================
   More / details / accordions
   ========================================================================== */

.tb-booking-widget__more {
	background: #ffffff;
	border: 1px solid var(--tb-bw-line);
}

.tb-booking-widget__more-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px;
	border: 0 !important;
	border-top: 1px solid var(--tb-bw-line) !important;
	border-bottom: 1px solid var(--tb-bw-line) !important;
	background: #ffffff !important;
	color: rgba(0, 23, 42, 0.82) !important;
	font-size: 13px;
	line-height: 1;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.tb-booking-widget__more-btn:hover,
.tb-booking-widget__more-btn:focus {
	color: var(--tb-bw-text) !important;
	background: #fbfaf7 !important;
	outline: none !important;
}

.tb-booking-widget__details {
	background: #ffffff;
}

.tb-booking-widget__accordion {
	border-bottom: 1px solid var(--tb-bw-line);
}

.tb-booking-widget__accordion-trigger {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	min-height: 62px;
	padding: 0 17px;
	border: 0 !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: var(--tb-bw-text) !important;
	text-align: left;
	cursor: pointer;
}

.tb-booking-widget__accordion-trigger:hover,
.tb-booking-widget__accordion-trigger:focus {
	background: #fbfaf7 !important;
	color: var(--tb-bw-text) !important;
	outline: none !important;
}

.tb-booking-widget__accordion-trigger > span:first-child {
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--tb-bw-text);
}

.tb-booking-widget__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	border: 1px solid rgba(0, 23, 42, 0.28);
	border-radius: 999px;
	color: var(--tb-bw-text);
	font-size: 11px;
	line-height: 1;
	font-weight: 800;
}

.tb-booking-widget__accordion-panel {
	padding: 0 17px 14px;
	background: #ffffff;
}

.tb-booking-widget__service-item {
	border-bottom: 1px solid rgba(0, 23, 42, 0.08);
}

.tb-booking-widget__service-row {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 13px 0;
	border: 0 !important;
	background: #ffffff !important;
	color: var(--tb-bw-text) !important;
	text-align: left;
	cursor: pointer;
}

.tb-booking-widget__service-row:hover,
.tb-booking-widget__service-row:focus {
	color: var(--tb-bw-text) !important;
	background: #ffffff !important;
	outline: none !important;
}

.tb-booking-widget__service-main {
	display: grid;
	gap: 4px;
	min-width: 0;
	text-wrap: wrap;
}

.tb-booking-widget__service-main strong {
	color: var(--tb-bw-text);
	font-size: 14px;
	line-height: 1.25;
	font-weight: 600;
}

.tb-booking-widget__service-main small {
	color: var(--tb-bw-muted);
	font-size: 12px;
	line-height: 1.45;
	font-weight: 500;
}

.tb-booking-widget__service-price {
	color: var(--tb-bw-text);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
	text-align: right;
}

.tb-booking-widget__inline-slot {
	padding: 0 0 14px;
}

/* ==========================================================================
   Summary card
   ========================================================================== */

.tb-booking-summary {
	margin-top: 10px;
	padding: 22px 20px;
	background: var(--tb-bw-navy-2);
	color: #ffffff;
}

.tb-booking-summary > strong {
	display: block;
	margin-bottom: 12px;
	color: #ffffff;
	font-size: 24px;
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.tb-booking-summary__line {
	margin: 4px 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	line-height: 1.5;
}

.tb-booking-summary__note {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.55;
}

.tb-booking-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.tb-booking-summary__unavailable {
	flex: 1 1 100%;
	padding: 12px 14px;
	border: 1px dashed rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.55;
}

.tb-booking-summary__go,
.tb-booking-summary__go:link,
.tb-booking-summary__go:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 18px;
	border: 1px solid var(--tb-bw-gold) !important;
	background: var(--tb-bw-gold) !important;
	color: var(--tb-bw-navy) !important;
	font-size: 14px;
	line-height: 1;
	font-weight: 900;
	text-decoration: none !important;
}

.tb-booking-summary__go:hover,
.tb-booking-summary__go:focus {
	background: var(--tb-bw-gold-hover) !important;
	border-color: var(--tb-bw-gold-hover) !important;
	color: var(--tb-bw-navy) !important;
	outline: none !important;
}

.tb-booking-summary__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.42) !important;
	background: transparent !important;
	color: #ffffff !important;
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	cursor: pointer;
}

.tb-booking-summary__back:hover,
.tb-booking-summary__back:focus {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #ffffff !important;
	outline: none !important;
}

/* ==========================================================================
   Staff choice
   ========================================================================== */

.tb-booking-staff-choice {
	margin-top: 10px;
	background: var(--tb-bw-navy-2);
	color: #ffffff;
	padding: 0 20px 20px;
}

.tb-booking-staff-choice__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0 !important;
	background: transparent !important;
	color: rgba(255, 255, 255, 0.88) !important;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.tb-booking-staff-choice__toggle:hover,
.tb-booking-staff-choice__toggle:focus {
	color: var(--tb-bw-gold) !important;
	outline: none !important;
}

.tb-booking-staff-choice__toggle span,
.tb-booking-widget__chevron {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 160ms ease;
}

.tb-booking-staff-choice.is-open .tb-booking-staff-choice__toggle span,
.tb-booking-widget__more-btn.is-open .tb-booking-widget__chevron,
.tb-booking-widget__accordion.is-open .tb-booking-widget__chevron {
	transform: rotate(-135deg);
}

.tb-booking-staff-choice__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.tb-booking-staff-choice__person {
	display: grid;
	gap: 3px;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	background: rgba(255, 255, 255, 0.055) !important;
	color: #ffffff !important;
	text-align: left;
	cursor: pointer;
}

.tb-booking-staff-choice__person:hover,
.tb-booking-staff-choice__person:focus {
	border-color: var(--tb-bw-gold) !important;
	background: rgba(201, 169, 107, 0.12) !important;
	outline: none !important;
}

.tb-booking-staff-choice__person strong {
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
}

.tb-booking-staff-choice__person small {
	color: rgba(255, 255, 255, 0.76);
	font-size: 12px;
	line-height: 1.4;
}

/* ==========================================================================
   Reset
   ========================================================================== */

.tb-booking-widget__reset {
	display: inline-flex;
	margin: 12px 17px 16px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: rgba(0, 23, 42, 0.76) !important;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.tb-booking-widget__reset:hover,
.tb-booking-widget__reset:focus {
	color: var(--tb-bw-text) !important;
	outline: none !important;
}

/* ==========================================================================
   Separate color funnel shortcode
   ========================================================================== */

.tb-color-funnel-section {
	width: 100%;
	margin: 0 auto;
	padding: 70px 0 30px;
	background: transparent;
	color: #ffffff;
}

.tb-color-funnel-section *,
.tb-color-funnel-section *::before,
.tb-color-funnel-section *::after {
	box-sizing: border-box;
}

.tb-color-funnel-section__intro {
	margin-bottom: 18px;
}

.tb-color-funnel-section__intro span {
	display: block;
	margin-bottom: 14px;
	color: var(--tb-bw-gold, #c9a96b);
	font-size: 10px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.tb-color-funnel-section__intro h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 3vw, 56px);
	font-weight: 200;
	line-height: 1;
	letter-spacing: -0.035em;
	font-family: 'PP Editorial',Georgia,serif;
}

.tb-color-funnel-section__intro h2 em {
	color: var(--tb-bw-gold, #c9a96b);
	font-style: italic;
}

.tb-color-funnel {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	padding: 28px 24px;
	background: #06141d;
	color: #ffffff;
}

.tb-color-funnel__step {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--tb-bw-gold, #c9a96b);
	font-size: 10px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.tb-color-funnel h3 {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: clamp(24px, 2.2vw, 38px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.025em;
	font-family: 'PP Editorial',Georgia,serif;
}

.tb-color-funnel p,
.tb-color-funnel-section__note {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.65;
}

.tb-color-funnel__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.tb-color-funnel__btn,
.tb-color-funnel__btn:link,
.tb-color-funnel__btn:visited {
	display: flex;
	align-items: center;
	min-height: 66px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-left: 2px solid var(--tb-bw-gold, #c9a96b) !important;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.055) !important;
	color: #ffffff !important;
	font-family: 'PP Editorial',Georgia,serif !important;
	font-size: 18px;
	line-height: 1.22;
	font-weight: 400;
	text-align: left;
	text-decoration: none !important;
	text-wrap: wrap;
}

.tb-color-funnel__btn:hover,
.tb-color-funnel__btn:focus {
	background: rgba(201, 169, 107, 0.13) !important;
	border-color: rgba(201, 169, 107, 0.75) !important;
	color: #ffffff !important;
	outline: none !important;
}


.tb-color-funnel[hidden] {
	display: none !important;
}

.tb-color-funnel__grid--three {
	grid-template-columns: repeat(3, 1fr);
}

.tb-color-funnel__grid--final {
	grid-template-columns: repeat(2, minmax(0, 245px));
}

.tb-color-funnel__back {
	margin-top: 24px;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
	color: rgba(255,255,255,0.9) !important;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

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

@media (max-width: 980px) {
	.tb-booking-widget__quick {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tb-booking-color-quick {
		grid-template-columns: 1fr 1fr;
	}

	.tb-booking-staff-choice__list {
		grid-template-columns: 1fr;
	}

	.tb-color-funnel-section {
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media (max-width: 640px) {
	.tb-booking-widget__quick {
		grid-template-columns: 1fr 1fr;
		gap: 7px;
		padding: 12px;
	}

	.tb-booking-widget__quick-btn {
		font-size: 12px;
	}
	
	.tb-booking-options {
	    flex-wrap: wrap !important;
	}

	.tb-booking-step {
		padding: 15px;
	}

	.tb-booking-step__head h3 {
		font-size: 24px;
	}

	.tb-booking-service-btn,
	.tb-booking-option,
	.tb-booking-widget__service-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tb-booking-service-btn em,
	.tb-booking-widget__service-price {
		text-align: left;
	}

	.tb-booking-color-quick,
	.tb-color-funnel__grid {
		grid-template-columns: 1fr;
	}

	.tb-booking-summary__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.tb-booking-summary__go,
	.tb-booking-summary__back {
		width: 100%;
	}

	.tb-color-funnel {
		padding: 22px 18px;
	}
}


/* Team Button Links Fixings */
.tb-booking-staff-choice__person,
.tb-booking-staff-choice__person:link,
.tb-booking-staff-choice__person:visited {
	display: grid;
	gap: 3px;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	background: rgba(255, 255, 255, 0.055) !important;
	color: #ffffff !important;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
}

.tb-booking-staff-choice__person:hover,
.tb-booking-staff-choice__person:focus {
	border-color: var(--tb-bw-gold) !important;
	background: rgba(201, 169, 107, 0.12) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	outline: none !important;
}