/* ==========================================================================
   Naiella — Booknetic skin
   The booking panel ([booknetic]) and the Customer Panel ([booknetic-cp]) in
   the theme's look. Only --h-* tokens, so the skin follows the active look and
   the Elementor kit.

   Booknetic prints its Appearance stylesheet (theme_<id>.css) inside the page
   body, after this file, with "#booknetic_theme_<id> …" selectors. Every rule
   here starts with
       body :is(#h-bkn, [id^="booknetic_theme_"])
   which scores one id, one attribute and one element: enough to win without
   knowing the id. !important is used only where Booknetic uses it.
   ========================================================================== */

/* ---------- Panel frame ---------- */
.h-booking { padding-bottom: 110px; }
.h-booking > p:empty { display: none; }

body :is(#h-bkn, [id^="booknetic_theme_"]) {
	margin-inline: auto;
	max-width: 100%;
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-xl);
	box-shadow: none;
	overflow: hidden;
	color: var(--h-ink);
	-webkit-font-smoothing: antialiased;
}
body :is(#h-bkn, [id^="booknetic_theme_"]),
body :is(#h-bkn, [id^="booknetic_theme_"]) * {
	font-family: var(--h-font-body) !important;
}

/* ---------- Steps column ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps {
	background: var(--h-soft);
	border-right: 1px solid var(--h-line);
	border-radius: 0;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_body { padding: 28px 20px 0; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element {
	margin-bottom: 6px !important;
	padding: 10px 12px;
	border-radius: var(--h-r-md);
	color: var(--h-muted);
	font-size: 15px;
	line-height: 24px;
	word-break: normal;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_step_title,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_footer_txt1 { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_badge {
	position: relative;
	width: 28px; height: 28px; margin-right: 10px;
	background: var(--h-ph);
	color: var(--h-muted);
	font-size: 13px; font-weight: 500; line-height: 28px;
	border-radius: 999px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_step { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_step .booknetic_step_title { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_step > .booknetic_badge { background: var(--h-btn); color: var(--h-btn-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_step > .booknetic_badge::after {
	background-color: var(--h-btn);
	background-image: none;
}
/* Done steps: a check drawn in the button's text colour. */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_step > .booknetic_badge::before {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: var(--h-btn-ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step { background: var(--h-surface); color: var(--h-ink); box-shadow: inset 0 0 0 1px var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step .booknetic_step_title { color: var(--h-ink); font-weight: 500; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step > .booknetic_badge,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step .booknetic_badge { background: var(--h-accent); color: var(--h-accent-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step > .booknetic_badge::before,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step > .booknetic_badge::after { display: none; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_footer { border-top: 1px solid var(--h-line); color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_footer_txt2 { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_branding { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_branding a { color: var(--h-ink); }

/* ---------- Container: header, body, footer ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container { background: var(--h-bg); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header {
	background: var(--h-surface);
	border-bottom: 1px solid var(--h-line);
	color: var(--h-ink) !important;
	font-family: var(--h-font-head) !important;
	font-weight: var(--h-head-weight);
	text-transform: var(--h-head-case);
	letter-spacing: var(--h-head-track);
	font-size: 20px;
	line-height: 30px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header * { font-family: inherit !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header .booknetic_appointment_container_header_cart > div { background: var(--h-soft); border: 1px solid var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header .booknetic_appointment_container_header_cart > div span { background: var(--h-accent); color: var(--h-accent-ink); font-family: var(--h-font-body) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer {
	background: var(--h-surface);
	border-top: 1px solid var(--h-line);
	align-items: center;
	height: auto; min-height: 75px;
	padding: 14px 24px;
}

/* ---------- Buttons ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_btn_primary, .booknetic_btn_secondary, .booknetic_btn_success, .booknetic_btn_cancel, .booknetic_btn_warning, .booknetic_btn_danger) {
	min-height: 46px;
	padding: 0 24px !important;
	border-radius: var(--h-r-btn) !important;
	font-size: 14px !important; font-weight: 600; line-height: 20px !important; letter-spacing: 0; text-transform: none !important;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--h-ease-out);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_btn_primary, .booknetic_btn_secondary, .booknetic_btn_success):active { transform: scale(.97); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_btn_primary, .booknetic_btn_success) {
	background-color: var(--h-btn) !important;
	color: var(--h-btn-ink) !important;
	border: 1px solid var(--h-btn) !important;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_btn_primary:hover {
		background-color: var(--h-btn) !important;
		color: var(--h-btn-ink) !important;
		border: 1px solid var(--h-btn) !important;
	}
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_btn_secondary {
	background-color: transparent !important;
	color: var(--h-ink) !important;
	border: 1px solid var(--h-line-2) !important;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_btn_secondary:hover { border-color: var(--h-ink) !important; }
}
body.h-look-chrome :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header_cart img { filter: invert(1); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_text_primary { color: var(--h-accent) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_text_secondary { color: var(--h-muted) !important; }

/* ---------- Warning, loading ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_warning_message {
	height: auto; min-height: 36px;
	padding: 6px 12px;
	background-color: var(--h-ink);
	color: var(--h-bg);
	border-radius: var(--h-r-sm);
	box-shadow: none;
	white-space: normal;
	margin-bottom: 0;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_loading_layout { background: color-mix(in srgb, var(--h-surface) 55%, transparent); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_preloader_card1, .booknetic_preloader_card2, .booknetic_preloader_card3_box) {
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-md);
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_preloader_card1_image, .booknetic_preloader_card1_description, .booknetic_preloader_card2_image, .booknetic_preloader_card2_description)::before,
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_preloader_card1_image, .booknetic_preloader_card1_description, .booknetic_preloader_card2_image, .booknetic_preloader_card2_description, .booknetic_preloader_card3)::after,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_preloader_card3::before {
	background: var(--h-soft);
	animation-name: h-bkn-pulse;
}
@keyframes h-bkn-pulse {
	0%, 100% { background: var(--h-soft); }
	50% { background: var(--h-line); }
}
#booknetic_progress { background: var(--h-accent); }
#booknetic_progress dd, #booknetic_progress dt { box-shadow: var(--h-accent) 1px 0 6px 1px; }

/* ---------- Cards: staff, service, extras, ASAP, payment, products ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card, .booknetic_service_card, .booknetic_service_extra_card, .booknetic_asap_card, .booknetic_payment_method, .booknetic-product-item, .booknetic_empty_box) {
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-md);
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card, .booknetic_service_card, .booknetic_service_extra_card, .booknetic_asap_card, .booknetic_payment_method):hover { border-color: var(--h-line-2); }
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card_selected, .booknetic_service_card_selected, .booknetic_service_extra_card_selected, .booknetic_payment_method_selected),
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-product-item.booknetic_service_extra_card_selected,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_asap_card.booknetic_card_selected {
	border: 1px solid var(--h-ink) !important;
	box-shadow: inset 0 0 0 1px var(--h-ink) !important;
	background: var(--h-surface);
}
/* Booknetic's hatched strip under unselected cards. */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card:not(.booknetic_card_selected)::after,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_preloader_card1::after { display: none; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card_image, .booknetic_service_card_image, .booknetic_service_extra_card_image, .booknetic-product-image) { background: var(--h-ph); }
/* Booknetic's grey "no photo" avatar is too bright on the dark look. */
body.h-look-chrome :is(#h-bkn, [id^="booknetic_theme_"]) img[src*="no-photo"],
body.h-look-chrome .booknetic-body img[src*="no-photo"] { filter: invert(.88) hue-rotate(180deg); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card_title, .booknetic_asap_card_title, .booknetic_service_extra_card_title > span:first-child, .booknetic_service_card_title > span:first-child, .booknetic-product-info h3) {
	color: var(--h-ink);
	font-weight: 500;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_card_description, .booknetic_asap_card_description, .booknetic_service_card_description, .booknetic_service_card_title > span:last-child, .booknetic-product-info p, .booknetic_empty_box > span) { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_service_card_price, .booknetic_service_extra_card_price, .booknetic-product-price, .booknetic_sum_price) {
	color: var(--h-ink) !important;
	font-weight: 500;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_service_duration_wrapper > span, .booknetic_service_extra_card_title > span:last-child:not(:empty)) {
	background-color: var(--h-tint);
	color: var(--h-ink);
	border-radius: 999px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_service_extra_card_selected .booknetic_service_extra_card_price { color: var(--h-ink) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_free_badge { color: var(--h-accent) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_view_more_service_notes_button, .booknetic_view_less_service_notes_button) { color: var(--h-accent); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_service_category, .booknetic_location_category, .booknetic_service_extra_title, .booknetic-products-header) {
	color: var(--h-accent) !important;
	font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_category_accordion :is(.booknetic_service_category, .booknetic_service_extra_title) span { background: var(--h-accent) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_service_search_input {
	background-color: var(--h-surface);
	border: 1px solid var(--h-line-2);
	border-radius: var(--h-r-btn);
	color: var(--h-ink);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_service_search_input::placeholder { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_service_search_input:focus { border-color: var(--h-ink); background-color: var(--h-surface); }

/* Extras quantity, "bring people" counters */
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_service_extra_quantity_inc, .booknetic_service_extra_quantity_dec, .booknetic_number_of_brought_customers_inc, .booknetic_number_of_brought_customers_dec) {
	background-color: var(--h-soft);
	border: 1px solid var(--h-line-2);
	color: var(--h-ink);
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_service_extra_quantity_input, .booknetic_number_of_brought_customers_quantity_input) {
	background: var(--h-surface) !important;
	color: var(--h-ink) !important;
	border-color: var(--h-line-2) !important;
}

/* ---------- Date & time ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) #booknetic_calendar_area,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times {
	background-color: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-md);
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_head > .booknetic_month_name,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_head { color: var(--h-ink); font-weight: 500; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_next_month, .booknetic_prev_month) { color: var(--h-ink); }
body.h-look-chrome :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_next_month, .booknetic_prev_month) img { filter: invert(1); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_week_names > .booknetic_td { color: var(--h-muted); border-bottom: 1px solid var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_days > div {
	background-color: var(--h-soft);
	color: var(--h-ink);
	border-radius: var(--h-r-sm);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_days.booknetic_calendar_empty_day > div {
	background-color: transparent;
	color: color-mix(in srgb, var(--h-muted) 65%, transparent);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_days.booknetic_calendar_selected_day > div,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_selected_day > div {
	background: var(--h-btn) !important;
	color: var(--h-btn-ink) !important;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_days > div > span > i[a] { background: var(--h-accent); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_days > div > span > i[b] { background: var(--h-line-2); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_calendar_selected_day > div > span > i[a] { background: var(--h-btn-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_title {
	color: var(--h-ink) !important;
	border-bottom: 1px solid var(--h-line);
	font-weight: 500;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_list > div {
	background-color: var(--h-surface);
	color: var(--h-ink);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-sm);
	box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_list > div:hover { border-color: var(--h-ink); }
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_list > div.booknetic_selected_time,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_selected_time {
	background: var(--h-btn) !important;
	color: var(--h-btn-ink) !important;
	border-color: var(--h-btn) !important;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_list::-webkit-scrollbar-thumb { background: var(--h-line-2); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_time_group_num { background: var(--h-accent); color: var(--h-accent-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_list > div.booknetic_selected_time .booknetic_time_group_num { background: var(--h-btn-ink); color: var(--h-btn); box-shadow: none; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_recurring_div_title) { color: var(--h-accent); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_recurring_div_c { background-color: var(--h-surface); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_copy_time_to_all, .booknetic_days_txt) { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_times_days_of_week_area { border-top: 1px solid var(--h-line); }

/* Date pickers used by recurring and the customer panel */
.datepicker td, .datepicker th { color: var(--h-ink); }
.datepicker .day::before { background: var(--h-soft); }
.datepicker .day.active::before { background: var(--h-btn); }
@media (hover: hover) and (pointer: fine) {
	.datepicker .day:hover::before { background: var(--h-btn); }
}
.datepicker .active { color: var(--h-btn-ink) !important; }
@media (hover: hover) and (pointer: fine) {
	.datepicker .day:hover { color: var(--h-btn-ink) !important; }
}
.datepicker .dow { color: var(--h-muted); border-bottom-color: var(--h-line) !important; }
.datepicker .datepicker-switch, .datepicker .prev, .datepicker .next { color: var(--h-ink); }

/* ---------- Information form ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-row label,
body :is(#h-bkn, [id^="booknetic_theme_"]) label {
	color: var(--h-ink);
	font-size: 12px; font-weight: 600;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control,
body :is(#h-bkn, [id^="booknetic_theme_"]) .select2-container--bootstrap .select2-selection {
	min-height: 46px;
	background-color: var(--h-surface) !important;
	border: 1px solid var(--h-line-2) !important;
	border-radius: var(--h-r-input, 14px) !important;
	color: var(--h-ink);
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) textarea.form-control { min-height: 96px; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.form-control, input).booknetic_input_error { border-color: #E5484D !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control::placeholder { color: var(--h-muted); opacity: 1; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control:focus {
	border-color: var(--h-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--h-accent) 18%, transparent) !important;
	background-color: var(--h-surface) !important;
	color: var(--h-ink);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control-plaintext,
body :is(#h-bkn, [id^="booknetic_theme_"]) .select2-container--bootstrap .select2-selection--single .select2-selection__rendered,
body :is(#h-bkn, [id^="booknetic_theme_"]) .iti__selected-dial-code { color: var(--h-ink) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control[type="file"] ~ .form-control { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .form-control[type="file"] ~ .form-control::after { background: var(--h-btn); color: var(--h-btn-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) input[type="checkbox"] {
	background: var(--h-surface) !important;
	border: 1px solid var(--h-line-2) !important;
	border-radius: 4px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) input[type="checkbox"]:checked {
	background: var(--h-btn) !important;
	border-color: var(--h-btn) !important;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) input[type="radio"] {
	background: var(--h-surface) !important;
	border: 1px solid var(--h-line-2) !important;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) input[type="radio"]:checked { border: 6px solid var(--h-btn) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(input[type="radio"], input[type="checkbox"]) ~ label { color: var(--h-muted); font-weight: 400; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(input[type="radio"], input[type="checkbox"]):checked ~ label { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc-information-step-info-container {
	background: var(--h-tint);
	border-radius: var(--h-r-md);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc-information-step-info-container label { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_portlet {
	background-color: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-md);
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .help-text { color: var(--h-muted); }

/* ---------- Cart ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-col { background: var(--h-bg) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item {
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-md);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item.active {
	border-color: var(--h-ink) !important;
	box-shadow: inset 0 0 0 1px var(--h-ink);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic-cart-item .booknetic-cart-item-header, .booknetic-cart-item-body-row .booknetic-cart-item-body-cell, .booknetic-cart-item-btns button span, .booknetic-cart-item-info-details-row .booknetic-cart-item-info-details-cell) { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-body-row .booknetic-cart-item-body-cell.amount,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-body-cell.amount { color: var(--h-ink) !important; font-weight: 600; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-header .booknetic-cart-item-btns {
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-sm);
	box-shadow: 0 12px 28px -16px rgba(0, 0, 0, .35);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-info-details { background: var(--h-soft); border-radius: var(--h-r-sm); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-info-details-arrow { border-color: var(--h-soft) transparent transparent transparent; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic-cart-item-info-details-cell.details-cell-success { color: var(--h-accent); }
body :is(#h-bkn, [id^="booknetic_theme_"]) button.bkntc_again_booking {
	background: var(--h-surface) !important;
	border: 1px dashed var(--h-line-2) !important;
	border-radius: var(--h-r-md) !important;
	box-shadow: none !important;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) button.bkntc_again_booking:hover { border-color: var(--h-ink) !important; }
}
body :is(#h-bkn, [id^="booknetic_theme_"]) button.bkntc_again_booking span { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) button.bkntc_again_booking img { background: var(--h-tint); }
body.h-look-chrome :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic-cart-item-more, .booknetic-cart-item-info) img { filter: invert(1); }

/* ---------- Confirmation, coupon, payment ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_details::before { border-color: var(--h-line-2); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_details > .booknetic_confirm_details_title { background: var(--h-surface); color: var(--h-body); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_details > .booknetic_confirm_details_price,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_details_price:not([data-price-id="discount"] .booknetic_confirm_details_price) {
	background: var(--h-surface);
	color: var(--h-ink) !important;
	font-weight: 500;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) [data-price-id="discount"] > :is(.booknetic_confirm_details_title, .booknetic_confirm_details_price) { color: var(--h-accent) !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_sum_price,
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_confirm_sum_price .booknetic_sum_price {
	background-color: var(--h-tint);
	color: var(--h-ink) !important;
	border-radius: var(--h-r-sm);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_deposit_price { background-color: var(--h-soft); color: var(--h-ink); border-radius: var(--h-r-sm); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_select_method_txt, .booknetic_deposit_radios) { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_add_coupon, .booknetic_add_giftcard) {
	background-color: var(--h-surface);
	border: 1px solid var(--h-line-2);
	border-radius: var(--h-r-sm);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_add_coupon, .booknetic_add_giftcard) input { color: var(--h-ink); background: transparent !important; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_add_coupon, .booknetic_add_giftcard) input::placeholder { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_payment_methods_footer { background-color: var(--h-tint); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_hr { border-top: 1px solid var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_dashed_border {
	background: linear-gradient(to right, var(--h-line-2) 50%, transparent 0%), linear-gradient(var(--h-line-2) 50%, transparent 0%), linear-gradient(to right, var(--h-line-2) 50%, transparent 0%), linear-gradient(var(--h-line-2) 50%, transparent 0%);
	background-position: top, right, bottom, left;
	background-repeat: repeat-x, repeat-y;
	background-size: 10px 1px, 1px 10px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_table_gray { background: var(--h-surface); box-shadow: none; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_table_gray thead th { background-color: var(--h-soft); color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_table_gray tbody tr td:not(:last-child) { border-right-color: var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_table_gray tbody tr:not(:last-child) td { border-bottom-color: var(--h-line); }

/* ---------- Finished ---------- */
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_appointment_finished, .booknetic_appointment_finished_with_error) {
	background: var(--h-surface);
	border-radius: 0;
	box-shadow: none;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_title {
	color: var(--h-ink);
	font-family: var(--h-font-head) !important;
	font-weight: var(--h-head-weight);
	text-transform: var(--h-head-case);
	letter-spacing: var(--h-head-track);
	font-size: 26px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_appointment_finished_subtitle, .booknetic_appointment_finished_with_error > div) { color: var(--h-muted); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_code { color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_icon img { filter: none; }
/* Finish step: four actions in a 2x2 grid; buttons grow with their text instead of spilling out of a fixed pill. */
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_actions {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_actions > :is(button, a) {
	width: auto !important;
	height: auto !important;
	min-height: 44px;
	margin: 0 !important;
	padding: 10px 18px !important;
	gap: 8px;
	justify-content: center;
	align-items: center;
	text-align: center;
	white-space: normal;
	line-height: 1.25;
	font-size: 13px;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_finished_actions > :is(button, a) img { flex: none; margin: 0 !important; }

body :is(#h-bkn, [id^="booknetic_theme_"]) .nice-scrollbar-primary::-webkit-scrollbar-thumb { background: var(--h-line-2); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_powered_by { background: var(--h-ink); color: var(--h-bg); box-shadow: none; }

/* Selects rendered outside the panel (select2, phone codes) */
body .select2-container--bootstrap .select2-dropdown {
	background: var(--h-surface);
	border-color: var(--h-line-2);
	color: var(--h-ink);
}
body .select2-container--bootstrap .select2-results__option--highlighted[aria-selected] { background: var(--h-btn); color: var(--h-btn-ink); }
body .iti__country-list { background: var(--h-surface); color: var(--h-ink); border-color: var(--h-line-2); }
body .iti__country.iti__highlight { background: var(--h-soft); }

/* ---------- Mobile (Booknetic switches layout at 1000px) ---------- */
@media only screen and (max-width: 1000px) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) { border-radius: var(--h-r-lg); }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps { border-right: 0; border-bottom: 1px solid var(--h-line); }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_body { padding: 14px 16px; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element { padding: 0; margin-bottom: 0 !important; background: transparent; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_badge { margin-right: 0; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header { font-size: 18px; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer { padding: 12px 16px; gap: 10px; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_btn_primary, .booknetic_btn_secondary) { padding: 0 18px; }
}

/* ==========================================================================
   Customer Panel ([booknetic-cp]) — it reads --booknetic-* variables, so the
   look is mostly a remap; a few rules fix places where one variable serves
   both the dark header and the light body.
   ========================================================================== */
body .booknetic-body {
	--booknetic-primary-design-color: var(--h-inv);
	--booknetic-secondary-design-color: var(--h-inv-accent);
	--booknetic-primary-bg-color: var(--h-bg);
	--booknetic-secondary-bg-color: var(--h-surface);
	--booknetic-tertiary-bg-color: var(--h-line-2);
	--booknetic-primary-text-color: var(--h-ink);
	--booknetic-secondary-text-color: var(--h-muted);
	--booknetic-tertiary-text-color: var(--h-muted);
	--booknetic-quaternary-text-color: var(--h-inv-ink);
	--booknetic-primary-border-color: var(--h-line);
	--booknetic-secondary-border-color: var(--h-inv-line);
	--booknetic-primary-btn-color: var(--h-btn);
	--booknetic-secondary-btn-color: var(--h-surface);
	--booknetic-quaternary-btn-color: color-mix(in srgb, var(--h-inv-ink) 10%, transparent);
	--booknetic-primary-font-family: var(--h-font-body);
	background: transparent;
}
body .booknetic-body .booknetic-cp-container {
	max-width: none !important;
	padding: 0 !important;
	background: var(--h-bg);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-xl);
	overflow: hidden;
}
body .booknetic-body .booknetic-cp-header-customer-card-info p,
body .booknetic-body .booknetic-cp-header-logout-btn span,
body .booknetic-body .booknetic-cp-header-logout-btn i,
body .booknetic-body .booknetic-cp-tabs .booknetic-cp-tab-item i,
body .booknetic-body .booknetic-cp-tabs .booknetic-cp-tab-item > div .booknetic-cp-tab-item-name,
body .booknetic-body .booknetic-cp-tabs .booknetic-cp-sidebar-toggle i { color: var(--h-inv-muted); }
body .booknetic-body .booknetic-cp-tabs .booknetic-cp-tab-item.active i { color: var(--h-inv-accent); }
body .booknetic-body .booknetic-cp-tabs .booknetic-cp-tab-item.active > div .booknetic-cp-tab-item-name,
body .booknetic-body .booknetic-cp-header-customer-card-info h2 { color: var(--h-inv-ink); }
body .booknetic-body .booknetic-cp-header-customer-card-info h2 {
	font-family: var(--h-font-head);
	font-weight: var(--h-head-weight);
	text-transform: var(--h-head-case);
	letter-spacing: var(--h-head-track);
}
body .booknetic-body .booknetic-cp-tab .booknetic-cp-tab-footer { box-shadow: none; border-top: 1px solid var(--h-line); }
body .booknetic-body .booknetic-cp-tab .booknetic-cp-tab-footer button { border-radius: var(--h-r-btn); color: var(--h-ink); }
body .booknetic-body .booknetic-cp-tab .booknetic-cp-tab-footer button.booknetic-profile-save { color: var(--h-btn-ink); }
body .booknetic-body .booknetic-cp-tab .booknetic-cp-tab-footer button.booknetic-profile-delete { color: #FFFFFF; }
body .booknetic-body .booknetic_elegant_table > tbody > tr { box-shadow: inset 0 0 0 1px var(--h-line); }
@media (hover: hover) and (pointer: fine) {
	body .booknetic-body .booknetic_elegant_table > tbody > tr:hover { box-shadow: inset 0 0 0 1px var(--h-line); }
}
body .booknetic-body .booknetic_elegant_table > tbody > tr > td { color: var(--h-ink); }
body .booknetic-body .booknetic_elegant_table > thead > tr > th { color: var(--h-muted); }
body .booknetic-body .booknetic_elegant_table > thead > tr > th > i { color: var(--h-line-2); }
body .booknetic-body :is(.booknetic_pay_now_btn, .booknetic_reschedule_btn, .booknetic_change_status_btn) {
	background-color: var(--h-tint) !important;
	color: var(--h-ink) !important;
	border-radius: var(--h-r-btn);
}
body .booknetic-body form :is(input, select).bookentic-cp-form-control,
body .booknetic-body .form-control {
	background-color: var(--h-surface);
	border: 1px solid var(--h-line-2);
	border-radius: var(--h-r-sm) !important;
	color: var(--h-ink);
}
body .booknetic-body :is(.form-control, .bookentic-cp-form-control):is([readonly], :disabled) { background-color: var(--h-surface) !important; color: var(--h-ink); }
body .booknetic-body :is(.booknetic_appointment_status_approved, .booknetic_appointment_status_canceled, .booknetic_appointment_status_pending, .booknetic_appointment_status_rejected) { font-weight: 500; }
/* Booknetic's status colours, pulled towards the text colour so they read on both looks. */
body .booknetic-body .booknetic_appointment_status_approved { color: color-mix(in srgb, #52C068 60%, var(--h-ink)); }
body .booknetic-body .booknetic_appointment_status_canceled { color: color-mix(in srgb, #FB3E6E 65%, var(--h-ink)); }
body .booknetic-body .booknetic_appointment_status_pending { color: color-mix(in srgb, #E09B22 60%, var(--h-ink)); }
body .booknetic-body .booknetic_appointment_status_rejected { color: var(--h-muted); }
body .booknetic-body form :is(input, select).bookentic-cp-form-control:focus,
body .booknetic-body .form-control:focus {
	border-color: var(--h-ink);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--h-accent) 25%, transparent) !important;
}
body .booknetic-body .form-row label,
body .booknetic-body form label.bookentic-cp-form-label { color: var(--h-ink); }
body .booknetic-body .booknetic-cp-need-help a { color: var(--h-ink); }
body .booknetic_popup > .booknetic_popup_body {
	background-color: var(--h-surface);
	color: var(--h-ink);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-lg);
}
body .booknetic_popup .booknetic_btn_primary,
body .booknetic-body .booknetic_btn_primary {
	background-color: var(--h-btn) !important;
	color: var(--h-btn-ink) !important;
	border-radius: var(--h-r-btn) !important;
}
body .booknetic_popup .booknetic_btn_secondary,
body .booknetic-body .booknetic_btn_secondary {
	background-color: transparent !important;
	color: var(--h-ink) !important;
	border: 1px solid var(--h-line-2) !important;
	border-radius: var(--h-r-btn) !important;
}
body .booknetic_cp_cancel_icon > div { background: var(--h-soft); border-color: var(--h-line); }
body #booknetic-toastr { background: var(--h-surface); color: var(--h-ink); border: 1px solid var(--h-line); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45); }
body #booknetic-toastr > .booknetic-toast-details > .booknetic-toast-description { color: var(--h-muted); }
body .flatpickr-calendar { background: var(--h-surface); border-color: var(--h-line); border-radius: var(--h-r-md); }
body .flatpickr-calendar .flatpickr-day { color: var(--h-ink); }
body .flatpickr-calendar .flatpickr-day.selected { background: var(--h-btn); border-color: var(--h-btn); color: var(--h-btn-ink); }
body .flatpickr-calendar :is(.flatpickr-months .flatpickr-month, .flatpickr-current-month span.cur-month, .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month) { color: var(--h-ink); fill: var(--h-ink); }

@media (prefers-reduced-motion: reduce) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) * { transition: none !important; }
}

/* ==========================================================================
   Booking popup (Booknetic's modal) — the mockup's booking dialog:
   a 672px card with a title bar, a one-line step bar, the step, and
   Back / Continue at the bottom. Booknetic's own markup, re-laid out:
     .bkntc_booking_modal > .content > (.close_icon, .body > .booknetic_appointment)
     .booknetic_appointment > .booknetic_appointment_steps (step bar)
                            + .booknetic_appointment_container (header, body, footer)
   The title comes from --h-bkn-title (inc/booknetic.php).
   ========================================================================== */
.bkntc_booking_modal {
	padding: 12px;
	background-color: rgba(0, 0, 0, .65) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.bkntc_booking_modal .content {
	flex-direction: column;
	width: min(672px, 100%) !important;
	max-width: none !important;
	max-height: 90vh;
	max-height: 90svh;
	overflow: hidden;
	background: var(--h-surface);
	color: var(--h-ink);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-xl);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
/* Title bar: accent dot + title; Booknetic's close button sits on its right. */
.bkntc_booking_modal .content::before {
	content: var(--h-bkn-title, "");
	display: block; flex: none;
	padding: 16px 64px 16px 44px;
	border-bottom: 1px solid var(--h-line);
	background: radial-gradient(circle at 29px 50%, var(--h-accent) 0 5px, transparent 5.5px) no-repeat;
	font-family: var(--h-font-head); font-size: 16px; font-weight: 700; line-height: 24px;
	text-transform: var(--h-sub-case, none); letter-spacing: var(--h-head-track);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bkntc_booking_modal .close_icon {
	top: 8px !important; right: 12px !important;
	width: 40px !important; height: 40px !important;
	background-color: transparent !important;
	color: var(--h-ink);
	border: 0;
	box-shadow: none;
	transition: opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	.bkntc_booking_modal .close_icon:hover { opacity: .7; }
}
.bkntc_booking_modal .close_icon svg { fill: currentColor !important; }
.bkntc_booking_modal .close_icon svg path { fill: currentColor; }
.bkntc_booking_modal .close_icon:focus-visible { outline: 2px solid var(--h-accent); outline-offset: -2px; border-radius: 999px; }
.bkntc_booking_modal .content .body {
	flex: 1 1 auto; min-height: 0;
	max-height: none;
	overflow-y: auto; overscroll-behavior: contain;
	border-radius: 0;
}

/* The panel fills the card: step bar on top, then the step. */
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]).booknetic_appointment {
	flex-direction: column;
	min-width: 0 !important;
	width: 100% !important;
	height: min(620px, calc(90vh - 58px));
	height: min(620px, calc(90svh - 58px));
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: var(--h-surface);
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps {
	flex: none;
	width: 100%; height: auto !important;
	background: var(--h-soft);
	border-right: 0;
	border-bottom: 1px solid var(--h-line);
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) :is(.booknetic_appointment_steps_footer, .booknetic_company_logo) { display: none !important; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_body {
	display: flex; align-items: center; justify-content: flex-start;
	max-height: none;
	padding: 12px 24px;
	overflow-x: auto; overflow-y: hidden;
	scrollbar-width: none;
	word-break: normal;
	/* When the steps don't fit (many steps, long translations) the bar
	   scrolls sideways: the edges fade and naiella.js keeps the current step in view. */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_body::-webkit-scrollbar { display: none; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element {
	flex: none;
	margin: 0 !important;
	padding: 0;
	background: none;
	box-shadow: none;
	border-radius: 0;
	color: var(--h-ink);
	opacity: .6;
	font-size: 12px; font-weight: 500; line-height: 20px;
	white-space: nowrap;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element .booknetic_step_title { display: inline !important; color: inherit; font-weight: inherit; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step { opacity: 1; font-weight: 700; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step .booknetic_step_title { text-decoration: underline; text-underline-offset: 4px; color: inherit; font-weight: inherit; }
/* Numbers as text ("1. Service"), no circles, no check marks. */
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element .booknetic_badge,
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element > .booknetic_badge {
	display: inline; position: static;
	width: auto; height: auto; margin: 0;
	background: none !important;
	color: inherit;
	font-size: inherit; font-weight: inherit; line-height: inherit;
	border-radius: 0;
	vertical-align: baseline;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element > .booknetic_badge::before { display: none; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element > .booknetic_badge::after {
	content: ". ";
	display: inline !important; position: static;
	width: auto; height: auto;
	background: none !important;
	border-radius: 0;
	white-space: pre;
}
/* An arrow before every shown step but the first, centred in the space
   between the steps (the step grows; the arrow's auto margins share it).
   Booknetic shows a step with an inline display:block and hides it with
   display:none or .booknetic_menu_hidden, so only shown steps match. */
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element[style*="block"]:not(.booknetic_menu_hidden) { display: inline-flex !important; align-items: baseline; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element[style*="block"] ~ .booknetic_appointment_step_element[style*="block"] { flex: 1 0 auto; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element[style*="block"] ~ .booknetic_appointment_step_element[style*="block"]::before {
	content: "\2192";
	display: inline-block;
	margin: 0 auto;
	padding: 0 8px;
	opacity: .67;
	font-weight: 400;
	text-decoration: none;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_active_step[style*="block"]::before { opacity: .4; }

/* The step: its title as a heading, the content, then the buttons. */
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container {
	display: flex; flex-direction: column;
	flex: 1 1 auto; min-height: 0;
	width: 100%; height: auto;
	background: var(--h-surface);
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header {
	flex: none;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	height: auto;
	padding: 20px 24px 0;
	background: transparent;
	border-bottom: 0;
	font-family: var(--h-font-body) !important;
	font-size: 18px; font-weight: 700; line-height: 28px;
	text-transform: none; letter-spacing: 0;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_body {
	flex: 1 1 auto; min-height: 0;
	height: auto;
	padding: 16px 24px 24px;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer {
	flex: none;
	min-height: 0;
	padding: 16px 24px;
	gap: 12px;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer :is(.booknetic_btn_primary, .booknetic_btn_secondary, .booknetic_btn_success) {
	min-height: 40px;
	padding: 0 22px !important;
	font-size: 14px !important; font-weight: 600; letter-spacing: 0; text-transform: none !important;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer .booknetic_next_step_btn::after {
	content: "\2192";
	display: inline-block;
	margin-left: 6px;
}

/* Staff: two cards a row, photo on the left, as in the mockup. */
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card {
	flex-direction: row; align-items: center; gap: 16px;
	width: auto; height: auto; min-height: 0;
	margin: 0; padding: 16px;
	float: none !important;
	text-align: left;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_image {
	flex: none; width: 48px; height: 48px; margin: 0;
	border-radius: 999px; overflow: hidden;
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_image img { width: 48px; height: 48px; object-fit: cover; border-radius: 999px; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_title { flex: 1 1 auto; min-width: 0; width: auto; margin: 0; text-align: left; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_title * { text-align: left; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_title_first { font-size: 14px; font-weight: 700; line-height: 20px; }
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container > .booknetic_card .booknetic_card_description { margin-top: 2px; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
@media only screen and (max-width: 640px) {
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_card_container { grid-template-columns: minmax(0, 1fr); }
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer .booknetic_btn_secondary { font-size: 12px !important; padding: 0 20px !important; }
@media (hover: hover) and (pointer: fine) {
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer .booknetic_btn_secondary:hover { background-color: var(--h-soft) !important; border-color: var(--h-line) !important; }
}
.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer .booknetic_btn_secondary { border-color: var(--h-line) !important; }

/* Phones: numbers for every step, the title for the current one. */
@media only screen and (max-width: 640px) {
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element:not(.booknetic_active_step) .booknetic_step_title { display: none !important; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_step_element:not(.booknetic_active_step) > .booknetic_badge::after { content: none; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_steps_body { padding: 12px 20px; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_header { padding: 16px 20px 0; font-size: 17px; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_body { padding: 14px 20px 20px; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer { padding: 14px 20px; }
	.bkntc_booking_modal .content::before { padding-left: 40px; background-position: -4px 50%; }
}
/* Booknetic stacks the panel below 1000px wide and lets it grow; in the
   popup it keeps the card's height, so Back / Continue stay in view and the
   step scrolls. */
@media only screen and (max-width: 1000px) {
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]).booknetic_appointment {
		height: min(620px, calc(90vh - 58px)) !important;
		height: min(620px, calc(90svh - 58px)) !important;
	}
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_body { display: block; min-height: 0; padding-bottom: 24px; }
	.bkntc_booking_modal :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_appointment_container_footer { position: relative; }
}

/* Popup motion: the backdrop fades, the card rises 16px from 98% (a dialog
   stays centred). Leaving is shorter and is driven by Naiella Core's
   booking.js (.is-closing), which lets Booknetic's own close run once the
   exit has played. */
.bkntc_booking_modal { animation: h-bkn-modal-in .25s ease; }
.bkntc_booking_modal .content { animation: h-bkn-panel-in .25s var(--h-ease-out); }
.bkntc_booking_modal.is-closing { animation: h-bkn-modal-out .15s var(--h-ease-out) forwards; pointer-events: none; }
.bkntc_booking_modal.is-closing .content { animation: h-bkn-panel-out .15s var(--h-ease-out) forwards; }
@keyframes h-bkn-modal-in { from { opacity: 0; } }
@keyframes h-bkn-panel-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes h-bkn-modal-out { to { opacity: 0; } }
@keyframes h-bkn-panel-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
	/* Keep the fade, drop the movement. */
	.bkntc_booking_modal .content, .bkntc_booking_modal.is-closing .content { animation: none; }
}

/* ==========================================================================
   Custom Durations add-on: the "hair length" sheet inside the panel.
   ========================================================================== */
body :is(#h-bkn, [id^="booknetic_theme_"]) .popup-overlay { background-color: rgba(0, 0, 0, .45); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_custom_duration_popup {
	padding: 28px 24px 24px;
	background: var(--h-surface);
	color: var(--h-ink);
	border-top: 1px solid var(--h-line);
	border-radius: var(--h-r-xl) var(--h-r-xl) 0 0;
	box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .35);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_popup-x {
	display: flex; align-items: center; justify-content: center;
	top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px;
	transition: background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_popup-x:hover { background: var(--h-soft); }
}
body.h-look-chrome :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_popup-x img { filter: invert(1); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .booknetic_custom_duration_popup_header {
	margin: 0 32px 16px 0;
	color: var(--h-ink);
	font-size: 16px; font-weight: 700; line-height: 24px;
	text-align: left;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration.booknetic_custom_duration_popup_body { justify-content: flex-start; margin: 0 -5px; }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.bkntc_custom_durations, .bkntc_custom_durations_labels) {
	margin: 0 0 8px;
	background: var(--h-surface);
	border: 1px solid var(--h-line);
	border-radius: var(--h-r-input, 14px);
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease;
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_durations { margin: 0 5px 10px; }
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.bkntc_custom_durations, .bkntc_custom_durations_labels):hover { border-color: var(--h-ink); background: var(--h-soft); }
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_time { border-right: 1px solid var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_time > span { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_time > p { border-left: 1px solid var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.bkntc_custom_duration_p, .bkntc_custom_duration_p_labels) { color: var(--h-muted); font-size: 13px; font-weight: 500; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_price {
	background: var(--h-soft);
	color: var(--h-ink);
	font-weight: 700;
	border-radius: var(--h-r-btn);
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_line { margin: 8px 0 16px; color: var(--h-muted); font-size: 12px; }
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_line::before,
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_line::after { border-bottom-color: var(--h-line); }
body :is(#h-bkn, [id^="booknetic_theme_"]) #bkntc_custom_duration_continue.bkntc_custom_duration_continue {
	min-height: 48px;
	padding: 6px 20px;
	background-color: transparent !important;
	color: var(--h-ink) !important;
	border: 1px solid var(--h-line) !important;
	border-radius: var(--h-r-btn) !important;
	font-size: 14px; font-weight: 600;
	transition: background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) #bkntc_custom_duration_continue.bkntc_custom_duration_continue:hover { background-color: var(--h-soft) !important; }
}
body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_continue .bkntc_custom_duration_default_price {
	background: var(--h-soft);
	color: var(--h-ink);
	font-weight: 600;
	border-radius: var(--h-r-btn);
}
/* The card the visitor picked last time. */
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.bkntc_custom_durations, .bkntc_custom_durations_labels)[style*="border"] { border: 1px solid var(--h-ink) !important; box-shadow: inset 0 0 0 1px var(--h-ink); }
body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.bkntc_custom_durations, .bkntc_custom_durations_labels)[style*="border"] .bkntc_custom_duration_p { color: var(--h-ink) !important; }
/* Phones: keep each length on one row (label · time · price). */
@media only screen and (max-width: 768px) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_content { flex-direction: row; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_time { width: auto; flex: 1 1 auto; min-width: 0; border-bottom: 0; border-right: 1px solid var(--h-line); }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_time > span { padding: 12px; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_p_labels { min-width: 76px; padding: 12px 8px; }
	body :is(#h-bkn, [id^="booknetic_theme_"]) .bkntc_custom_duration_price_wrapper_labels { min-width: 0; padding: 8px 12px; }
}

/* A phone zooms into a field under 16px and stays zoomed — in the middle of booking. */
@media (pointer: coarse) {
	body :is(#h-bkn, [id^="booknetic_theme_"]) :is(.form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], textarea, select) { font-size: 16px !important; }
}
