/*
 * GH Shot — booking UI adjustments on top of GemBooking 1.6.0.
 * Visual redesign is scoped to .ghs-booking (Bania / Paintball / Rezerwacja).
 * Do not edit GemBooking or WooCommerce for styling.
 */

/*
 * GemBooking bug: the inline booking step is fixed at width:950px with no
 * mobile rule (only its block stylesheet uses 100%), so on phones the
 * calendar and time slots are cut off. Make it fluid.
 */
.gembk-inline-booking,
.gembk-inline-booking.gembk-package-flow--inline {
	width: 100%;
	max-width: 950px;
}

/*
 * Kadence's global button styles (padding 20px 40px, brand background)
 * leak into GemBooking's small round +/- buttons in the "Number of
 * attendees" control, squeezing its label to one letter per line.
 */
.gembk-inline-booking button.h-8.w-8 {
	width: 2rem;
	min-width: 2rem;
	height: 2rem;
	padding: 0;
	background: transparent;
	color: var(--gembooking-text-color, #1a202c);
	box-shadow: none;
	line-height: 1;
}

/*
 * Group bookings: GemBooking renders a name + e-mail row for every
 * participant (paintball max 6). Names are optional server-side —
 * only the count matters — so keep the counter and hide the per-person rows.
 */
.gembk-inline-booking .flex.flex-col.gap-3:has(> .grid > input.gembooking-input) {
	display: none;
}

/*
 * Same leak on the step footer (Back / Confirm): Kadence's button padding
 * and display font squeeze the "Total amount" block to one letter per line.
 * Restore GemBooking's own sizing for its buttons.
 */
.gembk-inline-booking .gembooking-book-schedule__previous,
.gembk-inline-booking .gembooking-book-schedule__next {
	padding: 10px 16px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: normal;
	white-space: nowrap;
}

/*
 * Form fields — colours come from CSS variables remapped under .ghs-booking.
 */
.gembk-inline-booking input[type="text"],
.gembk-inline-booking input[type="email"],
.gembk-inline-booking input[type="tel"],
.gembk-inline-booking input[type="number"],
.gembk-inline-booking textarea {
	background: var(--gembk-c-input-bg, #fff);
	color: var(--gembk-c-input-text, #1a202c);
	border-color: var(--gembk-c-input-border, #cbd1d7);
	width: 100%;
	box-sizing: border-box;
}

/* Per-person price (see assets/js/booking.js). */
.gembk-footer-amount.ghs-per-person > :not(.gembk-footer-amount__label):not(.ghs-price) {
	display: none;
}
/*
 * Footer amount must keep a readable width. Collapsing to ~1ch (seen when a
 * wide sibling like .ghs-terms was wrongly placed inside .gembk-footer-bottom)
 * stacks price text vertically character-by-character.
 */
.gembk-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.gembk-footer-amount {
	flex: 1 1 auto;
	min-width: min(100%, 11rem);
	max-width: 100%;
}
.ghs-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
	min-width: max-content;
	max-width: 100%;
	writing-mode: horizontal-tb;
}
.ghs-price strong,
.ghs-price small,
.gembk-footer-amount__label {
	writing-mode: horizontal-tb;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}
.ghs-price strong {
	font-size: 1.5rem;
}
.ghs-price small {
	font-size: 0.8125rem;
	opacity: 0.75;
}
.ghs-per-person-suffix {
	font-weight: 400;
	white-space: nowrap;
}
/* If Terms ever lands inside the footer flex row, force full-width row. */
.gembk-footer-bottom > .ghs-terms {
	flex: 1 1 100%;
	width: 100%;
	order: -1;
}

.ghs-hidden {
	display: none !important;
}

/*
 * Narrow screens: the step footer (amount + Back/Continue) and the "pending
 * payment" banner are laid out in one row by GemBooking and squeeze their
 * text to a few pixels on phones. Stack them.
 */
@media (max-width: 600px) {
	.gembk-inline-booking {
		padding: 16px 12px;
	}
	.gembk-footer-bottom {
		flex-wrap: wrap;
		gap: 12px;
	}
	.gembk-footer-amount {
		flex: 1 1 100%;
		min-width: 0;
	}
	.gembk-footer-nav {
		flex: 1 1 100%;
		justify-content: space-between;
	}
	.gembk-pending-payment__banner {
		grid-template-columns: 1fr;
		justify-items: start;
		gap: 8px;
	}
	/*
	 * Details step on narrow phones (esp. 360×780): GemBooking’s Tailwind
	 * gaps leave the first fields below the fold. Focusing a field then
	 * triggers the browser’s focus-scroll and jumps the page under the
	 * sticky header / action bar. Tighten vertical rhythm so name/email
	 * stay visible after the stage scroll — without changing GemBooking JS.
	 */
	.gembk-inline-booking .gembk-step-body > .mb-6 {
		margin-bottom: 0.75rem;
	}
	.gembk-inline-booking .gembk-step-body .pb-6 {
		padding-bottom: 0.5rem;
	}
	.gembk-inline-booking .gembk-step-body .gap-6 {
		gap: 0.75rem;
	}
	.gembk-inline-booking .gembk-step-body .gap-4 {
		gap: 0.5rem;
	}
	.gembk-inline-booking .gembk-step-body .gap-3 {
		gap: 0.5rem;
	}
	.gembk-inline-booking .gembk-step-body .py-1\.5 {
		padding-top: 0.25rem;
		padding-bottom: 0.25rem;
	}
	.gembk-inline-booking .gembooking-book-schedule__header {
		margin-bottom: 0.5rem;
	}
}

/* Primary "pay" call to action in the brand style (dark text on neon green). */
.gembk-pending-payment__pay-btn {
	background: #39ff14;
	border-color: #39ff14;
	color: #1a202c;
}
.gembk-pending-payment__pay-btn:hover,
.gembk-pending-payment__pay-btn:focus-visible {
	background: #2fd610;
	border-color: #2fd610;
	color: #1a202c;
}

/*
 * Timezone picker on the date step: every GH Shot service happens on site in
 * Rzeszów, so times are always Europe/Warsaw; the picker only adds a way to
 * misread the schedule.
 */
.gembk-inline-booking .flex.flex-col.gap-2.mb-6:has(> .gembooking-select--width-full) {
	display: none;
}

/*
 * GemBooking's front-end stylesheet sets
 *   h1,h2,h3,p,span,button { font-family: var(--gembooking-primary-font) }
 * without any scope, replacing the site's typography on every page that
 * contains a booking widget. Restore the theme fonts, and keep GemBooking's
 * font inside its own containers.
 */
h1,
h2,
h3 {
	font-family: var(--global-heading-font-family, inherit);
}
p,
span {
	font-family: inherit;
}
.gembk-container :is(h1, h2, h3, p, span, button),
.gembk-inline-booking :is(h1, h2, h3, p, span, button) {
	font-family: var(--gembooking-primary-font);
}

/*
 * Month calendar (react-date-range) keeps a fixed width; on phones the
 * "next month" arrow ends up outside the card. Let it shrink to the card.
 */
.gembk-inline-booking .rdrCalendarWrapper,
.gembk-inline-booking .rdrMonths,
.gembk-inline-booking .rdrMonth {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.gembk-inline-booking .rdrMonthAndYearWrapper {
	padding-left: 0;
	padding-right: 0;
}
.gembk-inline-booking .rdrMonthAndYearPickers {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
}
/* Kadence's global <select> styling (padding, width) makes the month/year
 * pickers too wide and pushes the "next month" arrow out of the calendar. */
.gembk-inline-booking .rdrMonthAndYearPickers select {
	width: auto;
	min-width: 0;
	max-width: 100%;
	padding: 4px 16px 4px 4px;
	font-size: 14px;
	border: 0;
	background-color: transparent;
}
.gembk-inline-booking .rdrNextPrevButton {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin: 0 4px;
}

/*
 * The booking flow is rendered client-side after load; without reserved
 * space everything below it (footer) jumps down (CLS ≈ 0.2 measured).
 */
.gembk-flow-wrap:empty,
.gembk-flow-wrap {
	min-height: 560px;
}

/* Booking UI in the site's body font (GemBooking's Google-hosted Inter is not loaded). */
:root {
	--gembooking-primary-font: var(--global-body-font-family, sans-serif);
}
.gembk-flow-back,
.gembk-flow-catalog,
.gembk-container {
	font-family: var(--global-body-font-family, sans-serif);
}

/*
 * Contrast (axe, WCAG 1.4.3). The catalogue heading/count sit on the page's
 * dark background, outside the booking card.
 */
.gembk-flow-catalog > .gembk-flow-heading,
.gembk-flow-catalog .gembk-flow-catalog__count,
.gembk-flow-catalog__head .gembk-flow-heading {
	color: var(--global-palette3, #fff);
}
/* Service-type badge: white on light green (2.5:1) and redundant — only services are offered. */
.gembk-flow-catalog .gembk-flow-card__badge--service {
	display: none;
}
/*
 * Card "Continue" button: white on light purple (2.8:1) → brand CTA.
 * GemBooking sets it with !important via --gembk-cat-purple; override the
 * variable and (same specificity, loaded later) the text colour.
 */
.gembk-flow-catalog {
	--gembk-cat-purple: #39ff14;
	--gembk-cat-purple-dark: #2fd610;
}
.gembk-flow-catalog .gembk-flow-card .gembk-flow-continue {
	color: #1a202c !important;
}

/*
 * Phones: the step rail (steps + contact box) took ~250 px above the
 * calendar. The service name and total stay visible in the widget and the
 * phone number is in the site's bottom action bar.
 */
@media (max-width: 600px) {
	.gembk-inline-booking .gembk-step-sidebar {
		display: none;
	}
}

/*
 * Service picker (catalogue) — compact on phones: long catalogues (rezerwacja)
 * use thumbnail beside the title; location row hidden; whole card stays one tap.
 */
@media (max-width: 600px) {
	.gembk-flow-catalog .gembk-flow-card {
		display: grid;
		grid-template-columns: 88px 1fr;
		align-items: stretch;
	}
	.gembk-flow-catalog .gembk-flow-card__media {
		height: 100%;
		min-height: 88px;
	}
	.gembk-flow-catalog .gembk-flow-card__img {
		height: 100%;
		width: 100%;
		object-fit: cover;
		aspect-ratio: auto;
	}
	.gembk-flow-catalog .gembk-flow-card__body {
		padding: 12px;
	}
	.gembk-flow-catalog .gembk-flow-card__title {
		font-size: 1rem;
		line-height: 1.25;
	}
	.gembk-flow-catalog .gembk-flow-card__metarow:has(+ .gembk-flow-card__metarow),
	.gembk-flow-catalog .gembk-flow-card__metarow:last-child:not(:first-child) {
		display: none;
	}
	.gembk-flow-catalog .gembk-flow-card__metarow:first-child {
		display: inline-flex;
	}
	.gembk-flow-catalog .gembk-flow-card__foot {
		padding-top: 8px;
		margin-top: 8px;
	}
}

/* Inside GH Shot's own booking section the section H2 already names the step. */
.ghs-booking .gembk-flow-catalog > .gembk-flow-heading {
	display: none;
}
@media (max-width: 600px) {
	.gembk-flow-catalog .gembk-flow-card__topline {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.ghs-booking .gembk-flow-catalog {
		padding-top: 0;
		margin-top: 0;
	}
}

/*
 * Inside GH Shot's booking sections the widget follows our own heading and
 * lead: drop GemBooking's container top padding, the empty toolbar (search /
 * filters are switched off) and the "Wolne – N usług" counter.
 */
.ghs-booking .gembk-container.gembk-flow {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}
.ghs-booking .gembk-flow-toolbar:not(:has(input, select, button)),
.ghs-booking .gembk-flow-catalog__count {
	display: none;
}

/*
 * Outer “widget frame”: GemBooking wraps the card grid in
 * .gembk-flow-catalog__main with a 1px lavender border + radius + padding.
 * That reads as a foreign panel on GH Shot’s dark section — remove it.
 * Keep borders on individual .gembk-flow-card elements.
 */
.ghs-booking .gembk-flow-catalog__main {
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0;
	max-width: none;
}
.ghs-booking .gembk-flow-wrap,
.ghs-booking .gembk-flow-catalog {
	max-width: none;
	width: 100%;
}

/* Section heading rhythm (Kadence H2 + lead above the shortcode). */
.ghs-booking .kt-inside-inner-col > .wp-block-heading {
	margin-top: 0;
	margin-bottom: 0.35em;
	color: var(--global-palette3, #fff);
}
.ghs-booking .kt-inside-inner-col > p {
	margin-top: 0;
	margin-bottom: 1.75rem;
	max-width: 40rem;
	color: var(--global-palette4, #f7fafc);
	opacity: 0.92;
}

/* ==========================================================================
 * FULL VISUAL REDESIGN — dark GH Shot theme for .ghs-booking
 * Tokens: palette1 #39ff14, palette3 #fff, palette7 #1a202c, palette9 #2d3748
 * ========================================================================== */

.ghs-booking {
	/* Core GemBooking tokens → dark graphite + neon green */
	--gembooking-background: #1f2733;
	--gembooking-text-color: #f7fafc;
	--gembooking-subtitle-color: #a0aec0;
	--gembooking-border-color: #3d4a5c;
	--gembooking-primary-color: #39ff14;
	--gembooking-primary-strong: #39ff14;
	--gembooking-secondary-color: #252c39;
	--gembooking-primary-font: var(--global-body-font-family, "Maven Pro", sans-serif);

	--gembk-c-surface: #252c39;
	--gembk-c-card-bg: #1f2733;
	--gembk-c-card-border: #3d4a5c;
	--gembk-c-input-bg: #161b24;
	--gembk-c-input-border: #4a5568;
	--gembk-c-input-text: #f7fafc;
	--gembk-c-heading: #ffffff;
	--gembk-c-text: #f7fafc;
	--gembk-c-primary: #39ff14;
	--gembk-c-success: #39ff14;
	--gembk-c-error: #fc8181;
	--gembk-c-muted: #a0aec0;
	--gembk-c-bg: #1a202c;
	--gembk-c-border: #3d4a5c;
	--gembk-c-card-text: #f7fafc;
	--gembk-c-btn-bg: #39ff14;
	--gembk-c-btn-text: #1a202c;
	--gembk-c-btn-sec-bg: #252c39;
	--gembk-c-btn-sec-text: #f7fafc;
	--gembk-c-primary-text: #1a202c;
	--gembk-c-price: #39ff14;
	--gembk-c-input-placeholder: #718096;
	--gembk-c-cal-available: #39ff14;
	--gembk-c-cal-selected: #39ff14;
	--gembk-c-cal-disabled: #5a6578;
	--gembk-c-sidebar-bg: #1f2733;
	--gembk-c-sidebar-text: #f7fafc;
	--gembk-c-radius: 12px;
	--gembk-c-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);

	--gembk-cat-purple: #39ff14;
	--gembk-cat-purple-dark: #2fd610;

	/* Local aliases */
	--ghs-book-surface: #1f2733;
	--ghs-book-elevated: #252c39;
	--ghs-book-input: #161b24;
	--ghs-book-border: #3d4a5c;
	--ghs-book-muted: #a0aec0;
	--ghs-book-ink: #f7fafc;
	--ghs-book-green: var(--global-palette1, #39ff14);
	--ghs-book-green-hover: #2fd610;
	--ghs-book-ink-on-green: var(--global-palette7, #1a202c);
}

/* --------------------------------------------------------------------------
 * Catalogue cards
 * -------------------------------------------------------------------------- */
.ghs-booking .gembk-flow-cards--grid {
	gap: 1.5rem;
}
.ghs-booking .gembk-flow-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--ghs-book-border);
	border-radius: 12px;
	background: var(--ghs-book-surface);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
	.ghs-booking .gembk-flow-card:hover {
		transform: translateY(-2px);
		border-color: var(--ghs-book-green);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
	}
}
.ghs-booking .gembk-flow-card:focus-within {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: 3px;
}
.ghs-booking .gembk-flow-card__media {
	margin: 0;
	border: 0;
	line-height: 0;
}
.ghs-booking .gembk-flow-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	background: var(--global-palette9, #2d3748);
}
.ghs-booking .gembk-flow-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.1rem 1.2rem 1.25rem;
	gap: 0.65rem;
	background: transparent;
	color: var(--ghs-book-ink);
}
.ghs-booking .gembk-flow-card__topline {
	align-items: flex-start;
	gap: 0.75rem;
}
.ghs-booking .gembk-flow-card__title {
	font-family: var(--global-heading-font-family, Teko, sans-serif);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--global-palette3, #fff);
	text-decoration: none;
}
.ghs-booking .gembk-flow-card__title:hover,
.ghs-booking .gembk-flow-card__title:focus-visible {
	color: var(--ghs-book-green);
}
.ghs-booking .gembk-flow-card__price {
	flex: 0 0 auto;
	background: rgba(57, 255, 20, 0.12);
	color: var(--ghs-book-green);
	border: 1px solid rgba(57, 255, 20, 0.4);
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.35rem 0.75rem;
	white-space: nowrap;
}
.ghs-booking .gembk-flow-card__meta,
.ghs-booking .gembk-flow-card__metarow {
	color: var(--ghs-book-muted);
}
.ghs-booking .gembk-flow-card__metarow svg {
	color: var(--ghs-book-muted);
	opacity: 0.9;
}
.ghs-booking .gembk-flow-card__foot {
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--ghs-book-border);
}
.ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue {
	font-family: var(--global-heading-font-family, Teko, sans-serif) !important;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	min-height: 44px;
	padding: 0.65rem 1.5rem;
	border-radius: 0;
	background: var(--ghs-book-green) !important;
	color: var(--ghs-book-ink-on-green) !important;
	border: 0;
	box-shadow: none;
}
.ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue:hover,
.ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue:focus-visible {
	background: var(--global-palette2, #fc7b2d) !important;
	color: #fff !important;
}
.ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue:focus-visible {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
 * Inline booking shell (calendar / times / form / summary)
 * -------------------------------------------------------------------------- */
.ghs-booking .gembk-inline-booking {
	border: 1px solid var(--ghs-book-border);
	border-radius: 12px;
	background: var(--ghs-book-surface);
	color: var(--ghs-book-ink);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
	overflow: hidden;
}
.ghs-booking .gembk-inline-booking,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule,
.ghs-booking .gembk-inline-booking .gembk-step-body,
.ghs-booking .gembk-inline-booking .gembk-step-sidebar {
	background: var(--ghs-book-surface);
	color: var(--ghs-book-ink);
}
.ghs-booking .gembooking-book-schedule__heading,
.ghs-booking .gembooking-book-schedule__select-member {
	font-family: var(--global-heading-font-family, Teko, sans-serif);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--global-palette3, #fff);
}
.ghs-booking .gembooking-book-schedule__content,
.ghs-booking .gembooking-book-schedule__timer {
	color: var(--ghs-book-muted);
}
.ghs-booking .gembooking-book-schedule__header,
.ghs-booking .gembooking-book-schedule__left-top,
.ghs-booking .gembk-card-divider,
.ghs-booking .gembk-card-footer,
.ghs-booking .gembk-summary-strip {
	border-color: var(--ghs-book-border);
}
.ghs-booking .gembk-footer-amount__label,
.ghs-booking .gembk-summary-strip__label {
	color: var(--ghs-book-muted);
}
.ghs-booking .gembk-footer-price-paid,
.ghs-booking .gembk-summary-strip__value,
.ghs-booking .ghs-price strong {
	color: var(--ghs-book-green);
}

/* Step sidebar */
.ghs-booking .gembk-step-sidebar__item {
	color: var(--ghs-book-muted);
	border-color: var(--ghs-book-border);
	background: transparent;
}
.ghs-booking .gembk-step-sidebar__item.is-current {
	color: var(--global-palette3, #fff);
	border-color: var(--ghs-book-green);
}
.ghs-booking .gembk-step-sidebar__item.is-done {
	color: var(--ghs-book-green);
}
.ghs-booking .gembk-stepper__dot.is-active,
.ghs-booking .gembk-stepper__dot.is-done {
	background: var(--ghs-book-green);
	color: var(--ghs-book-ink-on-green);
}
.ghs-booking .gembk-stepper__dot.is-pending {
	background: var(--ghs-book-elevated);
	color: var(--ghs-book-muted);
	border: 1px solid var(--ghs-book-border);
}
.ghs-booking .gembk-stepper__connector {
	background: var(--ghs-book-border);
}
.ghs-booking .gembk-stepper__label {
	color: var(--ghs-book-muted);
}

/* Nav / CTA buttons inside inline flow */
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__previous,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next,
.ghs-booking .gembk-flow-back {
	font-family: var(--global-heading-font-family, Teko, sans-serif);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border-radius: 0;
	min-height: 44px;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next {
	background: var(--ghs-book-green) !important;
	border-color: var(--ghs-book-green) !important;
	color: var(--ghs-book-ink-on-green) !important;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next:hover,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next:focus-visible {
	background: var(--ghs-book-green-hover) !important;
	border-color: var(--ghs-book-green-hover) !important;
	color: var(--ghs-book-ink-on-green) !important;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next:disabled,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next[aria-disabled="true"] {
	background: #2d3748 !important;
	border-color: #2d3748 !important;
	color: #718096 !important;
	cursor: not-allowed;
	opacity: 1;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__previous,
.ghs-booking .gembk-flow-back {
	background: transparent !important;
	border: 1px solid var(--ghs-book-border) !important;
	color: var(--ghs-book-ink) !important;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__previous:hover,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__previous:focus-visible,
.ghs-booking .gembk-flow-back:hover,
.ghs-booking .gembk-flow-back:focus-visible {
	border-color: var(--ghs-book-green) !important;
	color: var(--ghs-book-green) !important;
	background: rgba(57, 255, 20, 0.06) !important;
}
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__previous:focus-visible,
.ghs-booking .gembk-inline-booking .gembooking-book-schedule__next:focus-visible,
.ghs-booking .gembk-flow-back:focus-visible {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: 3px;
}

/* Attendee +/- (dark context) */
.ghs-booking .gembk-inline-booking button.h-8.w-8 {
	color: var(--ghs-book-ink);
	border: 1px solid var(--ghs-book-border);
	border-radius: 4px;
}
.ghs-booking .gembk-inline-booking button.h-8.w-8:hover,
.ghs-booking .gembk-inline-booking button.h-8.w-8:focus-visible {
	border-color: var(--ghs-book-green);
	color: var(--ghs-book-green);
}

/* --------------------------------------------------------------------------
 * Calendar (react-date-range)
 * -------------------------------------------------------------------------- */
.ghs-booking .gembooking-calendar,
.ghs-booking .rdrCalendarWrapper {
	background: var(--ghs-book-elevated) !important;
	color: var(--ghs-book-ink);
	border: 1px solid var(--ghs-book-border);
	border-radius: 12px;
	padding: 8px;
}
.ghs-booking .rdrMonthAndYearWrapper,
.ghs-booking .rdrMonthName {
	color: var(--global-palette3, #fff);
}
.ghs-booking .rdrMonthAndYearPickers select {
	color: var(--global-palette3, #fff) !important;
	background-color: transparent !important;
}
.ghs-booking .rdrMonthAndYearPickers select option {
	background: var(--ghs-book-surface);
	color: var(--ghs-book-ink);
}
.ghs-booking .rdrNextPrevButton {
	background: var(--ghs-book-input) !important;
	border: 1px solid var(--ghs-book-border);
	border-radius: 6px;
}
.ghs-booking .rdrNextPrevButton:hover,
.ghs-booking .rdrNextPrevButton:focus-visible {
	border-color: var(--ghs-book-green);
	background: rgba(57, 255, 20, 0.1) !important;
}
.ghs-booking .rdrNextPrevButton:focus-visible {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: 2px;
}
.ghs-booking .rdrNextPrevButton i {
	border-color: var(--ghs-book-ink);
}
.ghs-booking .rdrPprevButton i {
	border-color: transparent var(--ghs-book-ink) transparent transparent;
}
.ghs-booking .rdrNextButton i {
	border-color: transparent transparent transparent var(--ghs-book-ink);
}
.ghs-booking .rdrWeekDays {
	border-bottom: 1px solid var(--ghs-book-border);
	margin-bottom: 4px;
}
.ghs-booking .rdrWeekDay {
	color: var(--ghs-book-muted) !important;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.04em;
}
.ghs-booking .rdrDay {
	color: var(--ghs-book-ink);
	background: transparent;
}
.ghs-booking .rdrDayNumber span {
	color: var(--ghs-book-ink) !important;
}
/* Available (enabled) days — subtle elevated surface */
.ghs-booking .rdrDay:not(.rdrDayDisabled):not(.rdrDayPassive) .rdrDayNumber {
	border-radius: 8px;
}
.ghs-booking .rdrDay:not(.rdrDayDisabled):not(.rdrDayPassive):hover .rdrDayNumber,
.ghs-booking .rdrDay:not(.rdrDayDisabled):not(.rdrDayPassive):focus-visible .rdrDayNumber {
	background: rgba(57, 255, 20, 0.12);
}
.ghs-booking .rdrDay:not(.rdrDayDisabled):not(.rdrDayPassive):focus-visible {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: -2px;
	border-radius: 8px;
}
/* Unavailable / other-month */
.ghs-booking .rdrDayDisabled,
.ghs-booking .rdrDayPassive {
	opacity: 1;
}
.ghs-booking .rdrDayDisabled .rdrDayNumber span,
.ghs-booking .rdrDayPassive .rdrDayNumber span {
	color: #5a6578 !important;
	text-decoration: none;
}
.ghs-booking .rdrDayDisabled {
	background: transparent !important;
}
/* Selected day — green accent (overrides inline blue currentColor) */
.ghs-booking .rdrDay .rdrSelected,
.ghs-booking .rdrDay .rdrStartEdge,
.ghs-booking .rdrDay .rdrEndEdge,
.ghs-booking .rdrDay .rdrInRange {
	background: var(--ghs-book-green) !important;
	color: var(--ghs-book-green) !important;
}
.ghs-booking .rdrDay:has(.rdrSelected),
.ghs-booking .rdrDay:has(.rdrStartEdge) {
	color: var(--ghs-book-green) !important;
}
.ghs-booking .rdrSelected ~ .rdrDayNumber span,
.ghs-booking .rdrStartEdge ~ .rdrDayNumber span,
.ghs-booking .rdrEndEdge ~ .rdrDayNumber span {
	color: var(--ghs-book-ink-on-green) !important;
	font-weight: 700;
}
.ghs-booking .rdrSelected ~ .rdrDayNumber span:after,
.ghs-booking .rdrStartEdge ~ .rdrDayNumber span:after,
.ghs-booking .rdrEndEdge ~ .rdrDayNumber span:after {
	background: var(--ghs-book-ink-on-green) !important;
}
/* Today marker */
.ghs-booking .rdrDayToday .rdrDayNumber span:after {
	background: var(--ghs-book-green) !important;
	height: 3px;
	width: 16px;
}
.ghs-booking .rdrDayToday:not(:has(.rdrSelected)) .rdrDayNumber {
	box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.45);
	border-radius: 8px;
}
/* Kill Kadence/theme leaks painting days orange */
.ghs-booking .rdrDay,
.ghs-booking .rdrDayToday {
	background-image: none !important;
}
.ghs-booking .rdrDayToday:not(:has(.rdrSelected)) {
	background-color: transparent !important;
}

/* --------------------------------------------------------------------------
 * Time slots
 *
 * GemBooking marks state via Tailwind arbitrary classes on the button
 * (no aria-pressed). Confirmed in DOM:
 *   available → border-[var(--gembk-c-cal-available)] + bg-[var(--gembk-c-surface)]
 *   selected  → border-[var(--gembk-c-cal-selected)]  + bg-[var(--gembk-c-cal-selected)]
 *               + text-[var(--gembk-c-primary-text)]
 *   disabled  → gembooking-btn--disabled + text-[var(--gembk-c-cal-disabled)]
 *
 * Do NOT match [class*="bg-[var(--gembk-c-cal-selected)]"] alone — available
 * buttons also contain hover:bg-[var(--gembk-c-cal-selected)].
 * -------------------------------------------------------------------------- */
.ghs-booking .gembk-inline-booking button.w-full.px-4.py-2 {
	min-height: 44px;
	border-radius: 8px !important;
	font-size: 0.9375rem;
	font-weight: 600;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* Available (not yet chosen) */
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-available)]"] {
	border: 1px solid var(--ghs-book-border) !important;
	background: var(--ghs-book-input) !important;
	color: var(--ghs-book-ink) !important;
	box-shadow: none;
}
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-available)]"]:hover {
	border-color: var(--ghs-book-green) !important;
	background: rgba(57, 255, 20, 0.1) !important;
	color: var(--ghs-book-ink) !important;
}
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-available)]"]:focus-visible {
	outline: 2px solid var(--ghs-book-green);
	outline-offset: 2px;
}

/*
 * Selected — unique marker is border-[var(--gembk-c-cal-selected)]
 * (available uses cal-available; hover:bg alone must not count as selected).
 * Solid green + dark text so the choice is unmistakable on the dark UI.
 */
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-selected)]"] {
	background: var(--ghs-book-green) !important;
	border: 2px solid var(--ghs-book-green) !important;
	color: var(--ghs-book-ink-on-green) !important;
	font-weight: 700;
	box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.35);
	text-decoration: none;
}
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-selected)]"]:hover,
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-selected)]"]:focus-visible {
	background: var(--ghs-book-green-hover) !important;
	border-color: var(--ghs-book-green-hover) !important;
	color: var(--ghs-book-ink-on-green) !important;
}
.ghs-booking .gembk-inline-booking button.w-full[class*="border-[var(--gembk-c-cal-selected)]"]:focus-visible {
	outline: 2px solid var(--global-palette3, #fff);
	outline-offset: 3px;
}

/* Unavailable */
.ghs-booking .gembk-inline-booking button.w-full:disabled,
.ghs-booking .gembk-inline-booking button.w-full[disabled],
.ghs-booking .gembk-inline-booking button.w-full.gembooking-btn--disabled,
.ghs-booking .gembk-inline-booking button.w-full[class*="text-[var(--gembk-c-cal-disabled)]"] {
	background: #151a22 !important;
	border: 1px solid #2a3340 !important;
	color: #5a6578 !important;
	cursor: not-allowed;
	opacity: 1;
	box-shadow: none;
	font-weight: 500;
}
.ghs-booking .gembk-inline-booking button.w-full:disabled:hover,
.ghs-booking .gembk-inline-booking button.w-full[disabled]:hover,
.ghs-booking .gembk-inline-booking button.w-full.gembooking-btn--disabled:hover {
	background: #151a22 !important;
	border-color: #2a3340 !important;
	color: #5a6578 !important;
}

/* --------------------------------------------------------------------------
 * Customer form
 * -------------------------------------------------------------------------- */
.ghs-booking .gembk-inline-booking label,
.ghs-booking .gembk-inline-booking .gembooking-label,
.ghs-booking .gembk-inline-booking .gembooking-field__label {
	color: var(--ghs-book-ink);
}
.ghs-booking .gembk-inline-booking input[type="text"],
.ghs-booking .gembk-inline-booking input[type="email"],
.ghs-booking .gembk-inline-booking input[type="tel"],
.ghs-booking .gembk-inline-booking input[type="number"],
.ghs-booking .gembk-inline-booking input[type="password"],
.ghs-booking .gembk-inline-booking input:not([type]),
.ghs-booking .gembk-inline-booking textarea,
.ghs-booking .gembk-inline-booking select,
.ghs-booking .gembk-inline-booking .gembooking-input,
.ghs-booking .gembk-inline-booking .gembooking-select,
.ghs-booking .gembk-inline-booking .gembk-dropdown-button {
	background: var(--ghs-book-input) !important;
	color: var(--ghs-book-ink) !important;
	border: 1px solid var(--ghs-book-border) !important;
	border-radius: 8px;
	box-shadow: none;
}
.ghs-booking .gembk-inline-booking input::placeholder,
.ghs-booking .gembk-inline-booking textarea::placeholder {
	color: #718096;
	opacity: 1;
}
.ghs-booking .gembk-inline-booking input:focus,
.ghs-booking .gembk-inline-booking input:focus-visible,
.ghs-booking .gembk-inline-booking textarea:focus,
.ghs-booking .gembk-inline-booking textarea:focus-visible,
.ghs-booking .gembk-inline-booking select:focus,
.ghs-booking .gembk-inline-booking select:focus-visible,
.ghs-booking .gembk-inline-booking .gembooking-input:focus,
.ghs-booking .gembk-inline-booking .gembooking-input:focus-visible {
	border-color: var(--ghs-book-green) !important;
	outline: 2px solid rgba(57, 255, 20, 0.35);
	outline-offset: 1px;
	box-shadow: none;
}
.ghs-booking .gembk-inline-booking input[aria-invalid="true"],
.ghs-booking .gembk-inline-booking .gembooking-input.is-error,
.ghs-booking .gembk-inline-booking .gembooking-field--error input {
	border-color: #fc8181 !important;
}
.ghs-booking .gembk-inline-booking .gembooking-field__error,
.ghs-booking .gembk-inline-booking .gembooking-error,
.ghs-booking .gembk-inline-booking [role="alert"] {
	color: #feb2b2;
}
.ghs-booking .gembk-inline-booking input[type="checkbox"],
.ghs-booking .gembk-inline-booking input[type="radio"] {
	accent-color: var(--ghs-book-green);
	width: 1.125rem;
	height: 1.125rem;
}
.ghs-booking .gembooking-checkbox-switch__control:is(:checked, [data-checked], [aria-checked="true"], [data-state="checked"]) {
	background: var(--ghs-book-green) !important;
	border: 0;
}
.ghs-booking .gembk-inline-booking a {
	color: var(--ghs-book-green);
}
.ghs-booking .gembk-inline-booking a:hover,
.ghs-booking .gembk-inline-booking a:focus-visible {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
 * Summary / pending payment
 * -------------------------------------------------------------------------- */
.ghs-booking .gembk-pending-payment {
	background: var(--ghs-book-surface);
	color: var(--ghs-book-ink);
}
.ghs-booking .gembk-pending-payment__banner {
	background: linear-gradient(135deg, #3d3420 0%, #2d2818 100%);
	border: 1px solid #d69e2e;
	color: #fefcbf;
}
.ghs-booking .gembk-pending-payment__banner.is-expired {
	background: linear-gradient(135deg, #3b1c1c 0%, #2a1414 100%);
	border-color: #fc8181;
	color: #fed7d7;
}
.ghs-booking .gembk-pending-payment__banner-icon {
	background: rgba(0, 0, 0, 0.25);
}
.ghs-booking .gembk-pending-payment__countdown {
	background: var(--ghs-book-input);
	color: var(--ghs-book-green);
	border: 1px solid var(--ghs-book-border);
	border-radius: 8px;
	padding: 0.35rem 0.75rem;
}
.ghs-booking .gembk-pending-payment__summary,
.ghs-booking .gembk-event-details,
.ghs-booking .gembk-pricing-box,
.ghs-booking .gembk-sidebar-card,
.ghs-booking .gembk-host-about {
	background: var(--ghs-book-elevated) !important;
	border-color: var(--ghs-book-border) !important;
	color: var(--ghs-book-ink);
}
.ghs-booking .gembk-detail-value,
.ghs-booking .gembk-pending-payment__summary-value,
.ghs-booking .gembk-sidebar-price-value,
.ghs-booking .gembk-sidebar-item-value {
	color: var(--ghs-book-ink);
}
.ghs-booking .gembk-sidebar-price-value {
	color: var(--ghs-book-green);
}

/* Loading spinner */
.ghs-booking .gembooking-preloader svg path {
	color: var(--ghs-book-green);
}

/* --------------------------------------------------------------------------
 * Mobile: Bania + Paintball — single-column cards with photo on top
 * -------------------------------------------------------------------------- */
@media (max-width: 600px) {
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card__media,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card__media {
		height: auto;
		min-height: 0;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card__img,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card__img {
		height: auto;
		aspect-ratio: 16 / 10;
		object-fit: cover;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card__body,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card__body {
		padding: 1rem 1.1rem 1.15rem;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card__title,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card__title {
		font-size: 1.35rem;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card__metarow,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card__metarow {
		display: inline-flex;
	}
	body.page-id-1536 .ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue,
	body.page-id-1535 .ghs-booking .gembk-flow-catalog .gembk-flow-card .gembk-flow-continue {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.ghs-booking .gembk-flow-cards--grid.gembk-cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Prevent horizontal overflow in the booking section */
.ghs-booking,
.ghs-booking .gembk-inline-booking,
.ghs-booking .gembk-flow-catalog {
	max-width: 100%;
	overflow-x: clip;
}

/* Minimum booking lead time (120 min) — customer notice */
.gembk-inline-booking .ghs-lead-time-notice {
	margin: 0.75rem 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	border: 1px solid rgba(212, 168, 83, 0.35);
	background: rgba(212, 168, 83, 0.12);
	color: inherit;
	font-size: 0.9rem;
	line-height: 1.45;
}

/* Terms acceptance (Core) — above footer row / near details fields */
.ghs-terms {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 12px 0 16px;
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	font-size: 14px;
	line-height: 1.45;
	color: #1a202c;
}
.ghs-booking .ghs-terms {
	border-color: var(--ghs-book-border, #3d4a5c);
	background: var(--ghs-book-elevated, #252c39);
	color: var(--ghs-book-ink, #f7fafc);
}
.ghs-booking .ghs-terms__link {
	color: var(--ghs-book-green, #39ff14);
}
.ghs-booking .ghs-terms__unavailable,
.ghs-booking .ghs-terms__error {
	color: #fdba74;
}
.ghs-terms__label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-weight: 500;
}
.ghs-terms__label input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: #39FF14;
}
.ghs-terms__link {
	color: #0f766e;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ghs-terms__link:hover,
.ghs-terms__link:focus {
	color: #115e59;
}
.ghs-terms__error {
	margin: 8px 0 0;
	color: #b91c1c;
	font-size: 13px;
	font-weight: 600;
}
.ghs-terms__unavailable {
	margin: 0;
	color: #9a3412;
	font-weight: 600;
}
.ghs-terms--blocked {
	border-color: #fdba74;
	background: #fff7ed;
}
@media (max-width: 640px) {
	.ghs-terms {
		font-size: 13px;
		padding: 10px 12px;
	}
	.ghs-terms__label {
		gap: 8px;
	}
}
