/*
 * SuperIntech Booking — frontend widget styles.
 * v1.0.4: sidebar stepper + inline calendar + country-code phone input.
 * All selectors prefixed under .superintech-booking-app to avoid theme conflicts.
 */

.superintech-booking-app {
	--sl-primary: #ee357a;
	--sl-primary-dark: #c52761;
	--sl-primary-soft: #fce7ef;
	--sl-primary-softer: #fdf2f7;
	--sl-bg: #fff;
	--sl-fg: #1f2937;
	--sl-muted: #6b7280;
	--sl-border: #e5e7eb;
	--sl-border-soft: #f1f1f4;
	--sl-success: #1f7a3a;
	--sl-error: #c0392b;
	--sl-warning: #d97706;
	--sl-radius: 12px;
	--sl-radius-sm: 8px;
	--sl-gap: 16px;
	--sl-shadow-soft: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .04);

	max-width: 1080px;
	margin: 32px auto;
	padding: 0;
	background: transparent;
	color: var(--sl-fg);
	font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}
.superintech-booking-app *,
.superintech-booking-app *::before,
.superintech-booking-app *::after { box-sizing: border-box; }

.superintech-booking-app h2 {
	/* v1.3.9 — step heading nudged back to 1.35rem so step titles
	   ("Service", "Your details", "Pick a date and time", "Summary") read
	   with proper weight. (1.3.6 dropped to 1.15, intermediate 1.25 was
	   still too soft per the client.) !important because Elementor's
	   .elementor-widget-container h2 typography otherwise wins. */
	font-size: 1.35rem !important;
	margin: 0 !important; /* v1.3.3 — margin-bottom 0; was 0 0 18px */
	font-weight: 700;
	color: var(--sl-fg);
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}
.superintech-booking-app h2:focus,
.superintech-booking-app h2:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}
.superintech-booking-app h3 {
	font-size: 1rem;
	margin: 0 0 10px;
	font-weight: 600;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
.superintech-booking-app h3 {
	font-size: 1rem;
	margin: 0 0 10px;
	font-weight: 600;
}
.superintech-booking-app p { margin: 0 0 8px !important; }

/* v1.3.3 — typographic rhythm: headings sit tighter (1.3em), body/content
   reads looser (1.6em). !important so theme/Elementor line-heights can't leak in. */
.superintech-booking-app h1,
.superintech-booking-app h2,
.superintech-booking-app h3,
.superintech-booking-app h4,
.superintech-booking-app h5,
.superintech-booking-app h6 {
	line-height: 1.3em !important;
}
.superintech-booking-app p,
.superintech-booking-app li,
.superintech-booking-app dd,
.superintech-booking-app dt,
.superintech-booking-app label,
.superintech-booking-app span,
.superintech-booking-app small,
.superintech-booking-app a {
	line-height: 1.6em !important;
}
.superintech-muted { color: var(--sl-muted); }
.superintech-booking-empty {
	max-width: 720px; margin: 32px auto;
	background: #fff; border: 1px solid var(--sl-border); border-radius: var(--sl-radius);
	padding: 40px 16px; text-align: center; color: var(--sl-muted);
}

/* Error bar */
.superintech-booking-error {
	background: #fdecea;
	color: var(--sl-error);
	border: 1px solid #f5c2c0;
	border-radius: var(--sl-radius);
	padding: 10px 14px;
	margin: 0 0 16px;
	font-size: 0.9rem;
}

/* Shell: sidebar + content.
 * align-items: start so the content panel sizes to its actual content
 * (instead of stretching to match the sidebar's height — which produced
 * a big empty area on short steps like Persons).
 */
.superintech-booking-shell {
	display: grid !important;
	/* v1.1.43: sidebar shrunk from 260px to 200px so the Date & Time step's
	   slot column gets enough room to render two-line pills on one line. */
	grid-template-columns: 200px 1fr !important;
	gap: 24px !important;
	align-items: start !important;
}

/* ---------- Sidebar ---------- */
.superintech-booking-sidebar {
	background: #fff;
	border: 1px solid var(--sl-border);
	border-radius: var(--sl-radius);
	padding: 14px;
	box-shadow: var(--sl-shadow-soft);
	position: sticky;
	top: 24px;
}
.superintech-sidebar-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.superintech-sidebar-step {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: var(--sl-radius-sm);
	color: var(--sl-muted);
	font-weight: 500;
	transition: background .15s ease, color .15s ease;
	cursor: default;
}
.superintech-sidebar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border-radius: 8px;
	background: var(--sl-border-soft);
	color: var(--sl-muted);
}
.superintech-sidebar-icon svg { width: 18px; height: 18px; }
.superintech-sidebar-label { font-size: 0.95rem; }

/* Done state: pink-soft background, pink text on icon */
.superintech-sidebar-step.is-done .superintech-sidebar-icon {
	background: var(--sl-primary-soft);
	color: var(--sl-primary);
}
.superintech-sidebar-step.is-done { color: var(--sl-fg); }

/* Active step: solid pink icon, pink text */
.superintech-sidebar-step.is-active {
	background: transparent;
	color: var(--sl-primary);
}
.superintech-sidebar-step.is-active .superintech-sidebar-icon {
	background: var(--sl-primary);
	color: #fff;
	box-shadow: 0 4px 12px rgba(238, 53, 122, .25);
}
.superintech-sidebar-step.is-active .superintech-sidebar-label {
	font-weight: 600;
}

/* ---------- Content panel ---------- */
.superintech-booking-content {
	background: #fff;
	border: 1px solid var(--sl-border);
	border-radius: var(--sl-radius);
	padding: 28px;
	box-shadow: var(--sl-shadow-soft);
	display: flex;
	flex-direction: column;
}
.superintech-booking-step {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ---------- Cards (location + service) ----------
 * Defensive !important on layout properties — Elementor and many WP themes
 * inject very aggressive button rules that override plugin CSS. We're not
 * touching theme-cosmetic properties, just the structural ones the plugin
 * needs to render correctly.
 */
.superintech-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: var(--sl-gap) !important;
	align-items: stretch !important;
	align-content: start !important;
	width: 100%;
}
.superintech-services-list {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
	gap: var(--sl-gap) !important;
	align-items: stretch !important;
	align-content: start !important;
	width: 100%;
}
.superintech-booking-app .superintech-card {
	all: unset;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	cursor: pointer !important;
	padding: 18px !important;
	border: 1.5px solid var(--sl-border) !important;
	border-radius: var(--sl-radius) !important;
	background: #fff !important;
	color: var(--sl-fg) !important;
	font: inherit !important;
	text-align: left !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	box-shadow: none !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: 1.5 !important;
	transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.superintech-booking-app .superintech-card > strong,
.superintech-booking-app .superintech-card > small,
.superintech-booking-app .superintech-card > .superintech-card-meta {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
}
.superintech-booking-app .superintech-card > strong { font-weight: 700 !important; font-size: 1rem !important; color: var(--sl-fg) !important; margin-bottom: 6px !important; }
.superintech-booking-app .superintech-card > small  { color: var(--sl-muted) !important; font-size: 0.9rem !important; line-height: 1.45 !important; margin-bottom: 8px !important; font-weight: 400 !important; }
/* Card states — ALWAYS keep a white (or very pale pink) background so the
 * text stays readable. The only thing that changes on hover/select is the
 * border color and a soft outer glow. No background fills under any state.
 */
.superintech-booking-app .superintech-card:hover,
.superintech-booking-app .superintech-card:focus,
.superintech-booking-app .superintech-card:focus-visible,
.superintech-booking-app .superintech-card:active {
	background: #fff !important;
	color: var(--sl-fg) !important;
	border-color: var(--sl-primary) !important;
	outline: none !important;
	box-shadow: 0 4px 12px rgba(238, 53, 122, .08) !important;
}
.superintech-booking-app .superintech-card.is-selected,
.superintech-booking-app .superintech-card.is-selected:hover,
.superintech-booking-app .superintech-card.is-selected:focus,
.superintech-booking-app .superintech-card.is-selected:focus-visible,
.superintech-booking-app .superintech-card.is-selected:active {
	background: #fff !important;
	color: var(--sl-fg) !important;
	border: 2px solid var(--sl-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(238, 53, 122, .15) !important;
	padding: 17px !important; /* compensate for the +0.5px border */
}
/* Explicit text colors for every text element inside a card, so theme
 * descendant selectors (like `button strong { color: pink }`) can't change them. */
.superintech-booking-app .superintech-card > strong,
.superintech-booking-app .superintech-card-body strong { color: var(--sl-fg) !important; font-weight: 700 !important; }
.superintech-booking-app .superintech-card > small,
.superintech-booking-app .superintech-card-body small,
.superintech-booking-app .superintech-card-meta { color: var(--sl-muted) !important; font-weight: 400 !important; }
/* Service description (rendered HTML from wp_kses_post). */
.superintech-booking-app .superintech-card-desc { color: var(--sl-muted) !important; font-size: 0.9rem !important; line-height: 1.5 !important; margin-bottom: 10px !important; width: 100% !important; }
.superintech-booking-app .superintech-card-desc p { margin: 0 0 0.6em !important; color: inherit !important; }
.superintech-booking-app .superintech-card-desc p:last-child { margin-bottom: 0 !important; }
.superintech-booking-app .superintech-card-desc strong { color: var(--sl-fg) !important; font-weight: 600 !important; }
.superintech-booking-app .superintech-card-desc em { font-style: italic !important; }
.superintech-booking-app .superintech-card-desc ul,
.superintech-booking-app .superintech-card-desc ol { margin: 0.4em 0 !important; padding-left: 1.4em !important; }
.superintech-booking-app .superintech-card-desc li { margin: 0.2em 0 !important; color: inherit !important; }
.superintech-booking-app .superintech-card-desc a { color: var(--sl-primary) !important; text-decoration: underline !important; }
/* Card-thumb stays in soft state by default, pink/white only when selected. */
.superintech-booking-app .superintech-card.is-selected .superintech-card-thumb {
	background: var(--sl-primary) !important;
	color: #fff !important;
}
.superintech-booking-app .superintech-card,
.superintech-booking-app .superintech-card * {
	overflow-wrap: anywhere;
	word-break: break-word;
}
.superintech-booking-app .superintech-card.is-selected {
	border-color: var(--sl-primary) !important;
	background: var(--sl-primary-softer) !important;
}
.superintech-booking-app .superintech-card.is-selected .superintech-card-thumb {
	background: var(--sl-primary) !important;
	color: #fff !important;
}
.superintech-booking-app .superintech-card--icon {
	flex-direction: row !important;
	align-items: center !important;
	gap: 14px !important;
}
.superintech-booking-app .superintech-card-thumb {
	flex: 0 0 48px !important;
	width: 48px !important;
	height: 48px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--sl-border-soft) !important;
	color: var(--sl-muted) !important;
	border-radius: 10px !important;
	margin: 0 !important;
	transition: background .15s ease, color .15s ease;
}
.superintech-booking-app .superintech-card-thumb svg { width: 22px !important; height: 22px !important; }
.superintech-booking-app .superintech-card-body {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-align: left !important;
}
.superintech-booking-app .superintech-card-body strong { display: block !important; font-size: 1rem !important; font-weight: 700 !important; margin-bottom: 2px !important; color: var(--sl-fg) !important; line-height: 1.3 !important; }
.superintech-booking-app .superintech-card-body small  { display: block !important; color: var(--sl-muted) !important; font-size: 0.875rem !important; line-height: 1.4 !important; font-weight: 400 !important; }
.superintech-card-meta { color: var(--sl-muted); margin-top: 6px; font-size: 0.875rem; }

/* ---------- Persons ---------- */
.superintech-persons-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 8px;
	max-width: 320px;
}
.superintech-persons-dec,
.superintech-persons-inc {
	all: unset;
	cursor: pointer;
	/* v1.3.4 — flex-center the −/+ glyph. `all: unset` dropped display to
	   inline (so width/height were ignored and the glyph baseline-aligned).
	   inline-flex + center fixes both sizing and alignment. */
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 44px !important;
	height: 44px !important;
	border: 1.5px solid var(--sl-primary);
	border-radius: var(--sl-radius-sm);
	background: #fff;
	color: var(--sl-primary);
	text-align: center;
	font-size: 22px !important;
	line-height: 1 !important;
	transition: background .15s ease, color .15s ease;
}
.superintech-persons-dec:hover,
.superintech-persons-inc:hover { background: var(--sl-primary); color: #fff; }
.superintech-persons-input {
	flex: 1;
	height: 44px;
	text-align: center;
	font-size: 1rem;
	border: 1.5px solid var(--sl-border);
	border-radius: var(--sl-radius-sm);
}
.superintech-persons-input:focus { outline: none; border-color: var(--sl-primary); }
.superintech-total-preview { font-weight: 600; font-size: 1.05rem; }
.superintech-package-info {
	margin: 8px 0 14px;
	padding: 10px 14px;
	background: var(--sl-primary-softer);
	border: 1px solid var(--sl-primary-soft);
	border-radius: var(--sl-radius-sm);
	font-size: 0.95rem;
	color: var(--sl-fg);
}
.superintech-package-info strong { color: var(--sl-primary-dark); font-weight: 700; }
.superintech-attendees-preview { margin-top: 6px; font-size: 0.95rem; }
.superintech-attendees-preview strong { color: var(--sl-primary); }

/* ---------- Date & time (calendar + slots) ----------
 * Hard-grid layout: each child explicitly assigned to its grid column.
 * `overflow: hidden` on both columns prevents any content from spilling
 * sideways into the neighbouring column under any circumstance.
 */
.superintech-booking-app .superintech-datetime-grid {
	display: grid !important;
	/* v1.1.43: rebalanced from 7fr/3fr (calendar 70 / slots 30) to 5fr/4fr.
	   The new 2-column slot pills with "10:00 am – 10:20 am" + "30 slots
	   left" subtext need ~160px per pill to not wrap onto multiple lines. */
	grid-template-columns: 5fr 4fr !important;
	column-gap: 24px !important;
	row-gap: 0 !important;
	/* v1.3.6 update: kept align-items: start; height matching happens in JS
	   (syncSlotsColHeight in booking-flow.js). Tried `stretch` first, but a
	   CSS Grid row sizes to the TALLER child, which made the calendar grow
	   instead of the slots column shrinking. */
	align-items: start !important;
	justify-items: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
}
.superintech-booking-app .superintech-calendar-wrap {
	grid-column: 1 !important;
	grid-row: 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	overflow: hidden !important;
	/* v1.3.8 — 10px breathing room moved onto .superintech-calendar (the inner
	   card) so the space is visibly *under the calendar box*. Margin on the
	   wrap put the space below the entire block (below the "Selected:" line)
	   which the customer never noticed. */
}
.superintech-booking-app .superintech-slots-col {
	grid-column: 2 !important;
	grid-row: 1 !important;
	/* v1.3.6 — flex column so the inner .superintech-slots-list can grow to fill
	   the remaining space below the "Time Slot" heading. */
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}
.superintech-booking-app .superintech-calendar {
	border: 1px solid var(--sl-border);
	border-radius: var(--sl-radius);
	padding: 16px;
	background: #fff;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	/* v1.3.8 — 10px below the calendar card. Sits *inside* .superintech-calendar-wrap
	   so it's included in offsetHeight; the JS height match on the slots column
	   picks it up automatically and both columns still align at the bottom. */
	margin-bottom: 10px !important;
}

@media (max-width: 760px) {
	.superintech-booking-app .superintech-datetime-grid {
		grid-template-columns: 1fr !important;
	}
	.superintech-booking-app .superintech-calendar-wrap,
	.superintech-booking-app .superintech-slots-col {
		grid-column: 1 !important;
	}
	.superintech-booking-app .superintech-slots-col {
		grid-row: 2 !important;
	}
}
.superintech-booking-app .superintech-cal-header {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-bottom: 12px !important;
	min-height: 36px !important;
}
.superintech-booking-app .superintech-cal-title {
	flex: 1 1 auto !important;
	font-weight: 700 !important;
	color: var(--sl-fg) !important;
	font-size: 1rem !important;
	text-align: center !important;
	line-height: 36px !important;
	margin: 0 !important;
}
.superintech-booking-app .superintech-cal-nav {
	all: unset;
	cursor: pointer !important;
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 8px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: var(--sl-primary) !important;
	background: var(--sl-primary-softer) !important;
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	border: 0 !important;
}
.superintech-booking-app .superintech-cal-nav:hover { background: var(--sl-primary-soft) !important; }
.superintech-booking-app .superintech-cal-nav[disabled] {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
	background: var(--sl-border-soft) !important;
	color: var(--sl-muted) !important;
}

.superintech-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	margin-top: 6px;
}
.superintech-cal-dow {
	text-align: center;
	font-size: 0.7rem;
	color: var(--sl-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 6px 0 4px;
}
/* Day cells render as <div role="button"> (not <button>) to dodge theme
   button styles. Every property below is force-set with !important so
   themes that style [role=button] or generic .button can't bleed in. */
.superintech-booking-app .superintech-cal-day {
	all: unset !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
	height: 38px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	color: var(--sl-fg) !important;
	background: transparent !important;
	transition: background .12s ease, color .12s ease, border-color .12s ease !important;
}
/* Hover: soft-pink background + DARK text so the date number is always
   readable. (Pink on pink was the bug.) */
.superintech-booking-app .superintech-cal-day:hover:not(.is-disabled):not(.is-empty),
.superintech-booking-app .superintech-cal-day:focus-visible:not(.is-disabled):not(.is-empty) {
	background: var(--sl-primary-softer) !important;
	color: var(--sl-fg) !important;
	border-color: var(--sl-primary) !important;
	outline: none !important;
}
.superintech-booking-app .superintech-cal-day.is-today {
	font-weight: 700 !important;
	color: var(--sl-primary) !important;
}
.superintech-booking-app .superintech-cal-day.is-selected,
.superintech-booking-app .superintech-cal-day.is-selected:hover {
	background: var(--sl-primary) !important;
	color: #fff !important;
	border-color: var(--sl-primary) !important;
	font-weight: 700 !important;
}
/* v1.3.35 — calendar days that already have at least one
   confirmed/pending booking get a soft amber fill + a small dot
   below the day number, so it's easy to see at a glance which
   dates are filling up. The hover tint deepens slightly. When the
   day is also the selected one, the pink .is-selected rule wins
   (it appears earlier — but its !important + later override rule
   below pins the selected style). The dot remains visible. */
/* v1.3.37 — fill bar variant. The dot used in 1.3.35 was too easy
   to miss; the bar shows actual fullness (booked/(booked+left)).
   The width is driven by --superintech-fill set per-cell by the JS. */
.superintech-booking-app .superintech-cal-day.is-booked {
	position: relative !important;
	font-weight: 600 !important;
}
.superintech-booking-app .superintech-cal-day.is-booked:not(.is-selected):not(.is-disabled):not(.is-empty) {
	background: #fff7e0 !important;
	border-color: #fcd58c !important;
	color: #92400e !important;
}
.superintech-booking-app .superintech-cal-day.is-booked:hover:not(.is-disabled):not(.is-empty):not(.is-selected) {
	background: #fde9b8 !important;
	border-color: #f59e0b !important;
}
/* The fill bar itself — a horizontal track at the bottom of the
   cell with width = --superintech-fill (0-100%). Falls back to 30% if
   the JS hasn't set the variable yet. */
.superintech-booking-app .superintech-cal-day.is-booked::after {
	content: "" !important;
	position: absolute !important;
	bottom: 3px !important;
	left: 12% !important;
	height: 3px !important;
	width: calc((var(--superintech-fill, 30%)) * 0.76) !important;
	background: #f59e0b !important;
	border-radius: 999px !important;
}
/* Half-full days get a slightly amber tint, more-than-85% full days
   get a stronger red-amber tint so heavy days pop. */
.superintech-booking-app .superintech-cal-day.is-booked-half:not(.is-selected)::after { background: #f97316 !important; }
.superintech-booking-app .superintech-cal-day.is-booked-full:not(.is-selected) {
	background: #fee2e2 !important;
	border-color: #fca5a5 !important;
	color: #991b1b !important;
}
.superintech-booking-app .superintech-cal-day.is-booked-full:not(.is-selected)::after {
	background: #dc2626 !important;
}
/* When the booked day is selected, the pink selection wins and the
   bar turns white for contrast. */
.superintech-booking-app .superintech-cal-day.is-booked.is-selected,
.superintech-booking-app .superintech-cal-day.is-booked.is-selected:hover {
	background: var(--sl-primary) !important;
	color: #fff !important;
	border-color: var(--sl-primary) !important;
}
.superintech-booking-app .superintech-cal-day.is-booked.is-selected::after {
	background: #fff !important;
}
.superintech-booking-app .superintech-cal-day.is-other-month {
	color: var(--sl-muted) !important;
	cursor: default !important;
	opacity: 0.55 !important;
}
.superintech-booking-app .superintech-cal-day.is-disabled {
	color: var(--sl-muted) !important;
	cursor: not-allowed !important;
	opacity: 0.55 !important;
	background: transparent !important;
}
.superintech-booking-app .superintech-cal-day.is-empty {
	cursor: default !important;
	background: transparent !important;
	border-color: transparent !important;
}

.superintech-selected-date {
	margin-top: 18px !important;
	margin-bottom: 0 !important;
	font-size: 0.9rem;
	color: var(--sl-muted) !important;
}

.superintech-slots-col {}
/* v1.1.42: heading is now a normal bold title ("Time Slot") instead of the
   uppercase muted label from v1.1.7. Timezone note becomes a small block
   line under it so the customer still sees Eastern / Pacific / etc. */
.superintech-slots-heading {
	font-size: 1.15rem !important; /* v1.3.9 — bumped from 0.95rem so the "Time Slot" heading reads stronger next to the calendar */
	color: var(--sl-fg);
	margin: 0 0 14px 0;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.2;
	flex: 0 0 auto; /* v1.3.6 — heading stays its natural height inside the flex slots-col */
}
.superintech-tz-note {
	display: block;
	margin: 4px 0 0 0;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--sl-muted);
	font-size: 0.78rem;
}
/* v1.1.42: slots-list is now a vertical stack of bucket sections (Morning /
   Afternoon / Evening), each containing its own 2-column grid. Old single
   1-column grid behaviour preserved for the empty / loading / no-slots
   states via the .superintech-no-slots full-width row below. */
.superintech-slots-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 18px !important;
	margin-bottom: 0;
	/* v1.3.6 — slots list fills the height left by the calendar. The parent
	   .superintech-slots-col gets an explicit height from JS (syncSlotsColHeight),
	   so this list grows via flex: 1 inside it and scrolls when content
	   exceeds that height. The 480px max-height is a pre-JS fallback so the
	   first paint is not absurdly tall on a cold cache. */
	flex: 1 1 auto !important;
	min-height: 0 !important;
	max-height: 480px !important;
	overflow-y: auto !important;
	width: 100%;
	padding-right: 6px;             /* leave space for scrollbar */
	/* Firefox: subtle pink scrollbar */
	scrollbar-width: thin;
	scrollbar-color: var(--sl-primary-soft) transparent;
}
.superintech-booking-app .superintech-slot-bucket {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}
.superintech-booking-app .superintech-slot-bucket-heading {
	all: unset;
	display: block !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: var(--sl-fg) !important;
	margin: 0 0 2px 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.superintech-booking-app .superintech-slot-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 10px !important;
}
@media (max-width: 540px) {
	.superintech-booking-app .superintech-slot-grid {
		grid-template-columns: 1fr !important;
	}
}
/* WebKit / Chromium scrollbar styling */
.superintech-slots-list::-webkit-scrollbar { width: 6px; }
.superintech-slots-list::-webkit-scrollbar-track { background: transparent; }
.superintech-slots-list::-webkit-scrollbar-thumb {
	background: var(--sl-primary-soft);
	border-radius: 3px;
}
.superintech-slots-list::-webkit-scrollbar-thumb:hover {
	background: var(--sl-primary);
}
.superintech-booking-app .superintech-slot {
	all: unset;
	cursor: pointer;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 2px !important;
	padding: 10px 12px !important;
	border: 1.5px solid var(--sl-border) !important;
	border-radius: var(--sl-radius-sm) !important;
	background: #fff !important;
	text-align: left !important;
	color: var(--sl-fg) !important;
	transition: border-color .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
	box-sizing: border-box;
	width: 100%;
}
.superintech-booking-app .superintech-slot-range {
	font-size: 0.79rem !important; /* v1.3.6 — 2px smaller (was 0.92rem) */
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: inherit !important;
	/* v1.1.43: keep "10:00 am – 10:20 am" on one line. If the column ever
	   becomes too narrow, the 2-col grid collapses to 1-col at <540px (see
	   .superintech-slot-grid media query) — one-line ranges stay readable in
	   both cases. */
	white-space: nowrap !important;
}
/* v1.1.43: bump the 2-col → 1-col collapse breakpoint so narrow desktop
   columns also fall back to single-column rather than wrap. 660px matches
   the point where a 4fr column inside a 1024px viewport drops below ~160px. */
@media (max-width: 660px) {
	.superintech-booking-app .superintech-slot-grid {
		grid-template-columns: 1fr !important;
	}
}
.superintech-booking-app .superintech-slot-seats {
	font-size: 0.62rem !important; /* v1.3.6 — 2px smaller (was 0.75rem) */
	font-weight: 500 !important;
	color: var(--sl-muted) !important;
	line-height: 1.2 !important;
}
.superintech-booking-app .superintech-slot:hover {
	border-color: var(--sl-primary) !important;
	color: var(--sl-primary) !important;
	box-shadow: 0 2px 8px rgba(238, 53, 122, .08) !important;
}
.superintech-booking-app .superintech-slot[aria-pressed="true"] {
	border-color: var(--sl-primary) !important;
	background: var(--sl-primary) !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(238, 53, 122, .20) !important;
}
.superintech-booking-app .superintech-slot[aria-pressed="true"] .superintech-slot-range {
	color: #fff !important;
	font-weight: 700 !important;
}
.superintech-booking-app .superintech-slot[aria-pressed="true"] .superintech-slot-seats {
	color: rgba(255, 255, 255, .85) !important;
}
.superintech-booking-app .superintech-slot[disabled] { opacity: 0.4 !important; cursor: not-allowed !important; }
.superintech-no-slots { color: var(--sl-muted); font-style: italic; }

.superintech-lock-info {
	padding: 10px 14px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--sl-radius-sm);
	font-size: 0.9rem;
	margin-top: 12px !important;
	width: 100%;
}
.superintech-lock-info p { margin: 0 !important; }
.superintech-lock-countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--sl-warning); }

/* ---------- Form ---------- */
.superintech-details-form { margin-top: 6px; }
.superintech-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--sl-gap);
}
.superintech-form-stack,
.superintech-form-row label {
	display: block;
	margin-bottom: 14px;
}
.superintech-form-row label span,
.superintech-form-stack span,
.superintech-form-stack > .superintech-form-label {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--sl-fg);
}
.superintech-details-form input,
.superintech-details-form select,
.superintech-details-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	border: 1.5px solid var(--sl-border);
	border-radius: var(--sl-radius-sm);
	background: #fff;
	color: var(--sl-fg);
}
.superintech-details-form input:focus,
.superintech-details-form select:focus,
.superintech-details-form textarea:focus {
	outline: none;
	border-color: var(--sl-primary);
	box-shadow: 0 0 0 3px rgba(238, 53, 122, .12);
}
.superintech-form-row label em,
.superintech-form-stack em { color: var(--sl-error); font-style: normal; }

/* v1.2.31 — inline field-level validation: highlight the invalid field red
   (replaces the page-top error banner on the Your-details step). */
.superintech-details-form input.superintech-field-invalid,
.superintech-details-form select.superintech-field-invalid,
.superintech-details-form textarea.superintech-field-invalid {
	border-color: var(--sl-error) !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.superintech-details-form input.superintech-field-invalid:focus,
.superintech-details-form select.superintech-field-invalid:focus,
.superintech-details-form textarea.superintech-field-invalid:focus {
	border-color: var(--sl-error) !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .2);
}
.superintech-field-error-msg {
	/* v1.3.9 — !important on every property because the message <span> is
	   appended inside a <label> and the broader `.superintech-form-row label span`
	   rule (display: block; font-size: 0.85rem; font-weight: 600; color:
	   var(--sl-fg)) wins on specificity. That selector was making errors
	   render dark-grey at label-size instead of small red. */
	display: block !important;
	margin: 5px 0 0 !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important; /* v1.3.10 — was 500; client wants regular weight, no bold/semibold */
	line-height: 1.4 !important;
	color: var(--sl-error) !important;
}
.superintech-details-form-error {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid #f5c2c0;
	border-radius: var(--sl-radius-sm);
	background: #fdecea;
	color: var(--sl-error);
	font-size: 0.85rem;
	font-weight: 600;
}

/* v1.3.0 — Extras (add-ons) on the Persons step. */
.superintech-extras {
	margin: 18px 0 6px;
}
.superintech-extras-heading {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--sl-fg);
}
/* v1.3.3 — tighten the extras list spacing. */
.superintech-booking-app .superintech-extras-list {
	margin: 10px 0 0 !important;
}
/* v1.3.3 — the step-5 (Extras) service-name <p> is never populated by JS,
   so it rendered as an empty muted paragraph taking up blank space. Hide any
   empty .superintech-service-name so it never reserves vertical space. */
.superintech-booking-app .superintech-service-name:empty {
	display: none !important;
}
.superintech-extra-row {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--sl-border);
	border-radius: var(--sl-radius);
	padding: 12px 16px;
	margin-bottom: 10px;
}
.superintech-extra-name {
	flex: 1 1 auto;
	font-weight: 600;
	color: var(--sl-fg);
}
.superintech-extra-price {
	flex: 0 0 auto;
	font-weight: 700;
	color: var(--sl-primary);
}
.superintech-extra-stepper {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--sl-border);
	border-radius: var(--sl-radius-sm);
	overflow: hidden;
}
.superintech-extra-stepper button {
	/* v1.3.4 — flex-center the −/+ glyph so it sits dead-center, not baseline. */
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 36px !important;
	height: 36px !important;
	border: 0;
	background: #fff;
	color: var(--sl-fg);
	font-size: 18px !important;
	line-height: 1 !important;
	cursor: pointer;
}
.superintech-extra-stepper button:hover {
	/* v1.3.5 — the soft-pink hover was barely visible against white. Use the
	   solid primary + white glyph (matches the Persons stepper) for a clear
	   hover state. */
	background: var(--sl-primary) !important;
	color: #fff !important;
}
.superintech-extra-qty {
	min-width: 42px;
	text-align: center;
	font-weight: 600;
	line-height: 36px;
	border-left: 1px solid var(--sl-border);
	border-right: 1px solid var(--sl-border);
	padding: 0 8px;
}

/* v1.3.1 — keep the booking widget on the site's Poppins font and stop it
   from inheriting the theme/Elementor heading fonts unevenly. Everything is
   scoped under .superintech-booking-app, so the rule never leaks out to the rest
   of the page (the widget doesn't touch Elementor's global styles). */
.superintech-booking-app,
.superintech-booking-app h1,
.superintech-booking-app h2,
.superintech-booking-app h3,
.superintech-booking-app h4,
.superintech-booking-app p,
.superintech-booking-app a,
.superintech-booking-app span,
.superintech-booking-app label,
.superintech-booking-app small,
.superintech-booking-app button,
.superintech-booking-app input,
.superintech-booking-app select,
.superintech-booking-app textarea {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* Phone with country code */
.superintech-phone-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 8px;
}
.superintech-cc { font-size: 0.95rem; }
.superintech-phone-input { font-variant-numeric: tabular-nums; }
.superintech-help {
	/* v1.3.11 — moved above the phone-row (was below); reads as a hint under
	   the label. Italic + smaller so it doesn't compete with the label or
	   the input. !important on size + style because the `.superintech-form-row
	   label span` and Elementor typography otherwise override it.
	   v1.3.12 — negative top margin (-4px) eats into the label's 6px
	   bottom margin so the hint sits snugly under "Phone *" (net gap ≈ 2px,
	   was ≈ 8px). Bottom margin kept at 6px to give the input breathing room. */
	display: block !important;
	margin: -4px 0 6px !important;
	font-size: 0.72rem !important;
	font-style: italic !important;
	font-weight: 400 !important;
	color: var(--sl-muted) !important;
	line-height: 1.4 !important;
}

.superintech-opt-ins { border: 0; padding: 12px 0; margin: 0; }
.superintech-opt-ins label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 0.95rem;
	cursor: pointer;
}
.superintech-opt-ins input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--sl-primary);
	margin: 0;
}
.superintech-tcpa-note { margin-top: 8px; }

/* ---------- Summary panel ---------- */
.superintech-summary {
	background: var(--sl-primary-softer);
	border: 1px solid var(--sl-primary-soft);
	padding: 16px 18px;
	border-radius: var(--sl-radius);
	margin-bottom: 18px;
}
.superintech-summary h3 {
	color: var(--sl-primary-dark);
	margin-bottom: 10px;
	/* v1.3.9 — Elementor's .elementor-widget-container h3 rule was blowing
	   the "Order summary" heading up to ~2rem pink. Lock it small + !important
	   so it reads as a section label, not a hero title. */
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}
.superintech-summary dl {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 6px 12px;
	margin: 0;
	font-size: 0.95rem;
}
.superintech-summary dt { color: var(--sl-muted); }
.superintech-summary dd { margin: 0; font-weight: 600; color: var(--sl-fg); }
.superintech-summary-final {
	padding: 16px 18px;
	background: var(--sl-primary-softer);
	border: 1px solid var(--sl-primary-soft);
	border-radius: var(--sl-radius);
	margin-bottom: 18px;
}
.superintech-summary-final dl {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 6px 12px;
	margin: 0;
	font-size: 0.95rem;
}
.superintech-summary-final dt { color: var(--sl-muted); }
.superintech-summary-final dd { margin: 0; font-weight: 600; }

/* ---------- Buttons ---------- */
.superintech-step-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--sl-border-soft);
}
/* When the footer is the only child after a single action (no "Back"),
   keep the primary button right-aligned. The empty <span> placeholder we
   render in the location step takes care of that visually. */
.superintech-btn {
	all: unset;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	/* v1.3.3 — normalize every action button. line-height was previously
	   left to `all: unset` (→ inherited the theme's large value), which made
	   "← Back" / "Back to services" render as tall boxes. Lock the four
	   sizing props with !important so themes can't inflate them. */
	padding: 12px 30px !important;
	border-radius: var(--sl-radius-sm);
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	text-align: center;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.superintech-btn:focus-visible { outline: 2px solid var(--sl-primary); outline-offset: 2px; }
.superintech-btn-primary {
	background: var(--sl-primary);
	color: #fff;
	box-shadow: 0 4px 12px rgba(238, 53, 122, .20);
}
.superintech-btn-primary:hover:not([disabled]) { background: var(--sl-primary-dark); }
.superintech-btn-primary[disabled] {
	background: var(--sl-primary);
	color: #fff;
	cursor: not-allowed;
	opacity: 0.45;
	box-shadow: none;
}
.superintech-btn-ghost { background: transparent; color: var(--sl-muted); }
.superintech-btn-ghost:hover { color: var(--sl-fg); }

/* ---------- Payment ---------- */
.superintech-payment-area { margin-top: 12px; flex: 1; display: flex; flex-direction: column; }
.superintech-payment-loading { padding: 24px; text-align: center; }
.superintech-card-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--sl-fg);
}
.superintech-card-container {
	padding: 14px;
	border: 1.5px solid var(--sl-border);
	border-radius: var(--sl-radius-sm);
	background: #fff;
	min-height: 56px;
}
/* v1.3.23 — Phase 1b: Authorize.Net Accept.js inline card form. Two-column
   grid on desktop (card number spans both columns), single column on mobile. */
.superintech-booking-app .superintech-anet-card-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
	margin-top: 4px;
}
.superintech-booking-app .superintech-anet-field { display: flex !important; flex-direction: column; }
.superintech-booking-app .superintech-anet-field-full { grid-column: 1 / -1; }
.superintech-booking-app .superintech-anet-card-grid input[type="text"] {
	padding: 12px 14px !important;
	border: 1.5px solid var(--sl-border);
	border-radius: var(--sl-radius-sm);
	background: #fff;
	font-size: 15px !important;
	font-family: inherit;
	line-height: 1.4 !important;
	letter-spacing: 0.01em;
}
.superintech-booking-app .superintech-anet-card-grid input[type="text"]:focus {
	outline: none;
	border-color: var(--sl-primary);
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}
@media (max-width: 540px) {
	.superintech-booking-app .superintech-anet-card-grid { grid-template-columns: 1fr; }
	.superintech-booking-app .superintech-anet-field-full { grid-column: 1 / -1; }
}
.superintech-payment-error {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fdecea;
	color: var(--sl-error);
	border: 1px solid #f5c2c0;
	border-radius: var(--sl-radius-sm);
	font-size: 0.9rem;
}
.superintech-payment-trust { margin-top: 8px; }
.superintech-payment-unavailable {
	padding: 20px;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	border-radius: var(--sl-radius);
}
.superintech-bypass-banner {
	padding: 14px 16px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--sl-radius-sm);
	margin-bottom: 18px;
}

/* ---------- Confirmation ---------- */
.superintech-confirmation {
	padding: 18px 20px;
	background: #f0fff4;
	border: 1.5px solid #b7e4c7;
	border-radius: var(--sl-radius);
	margin-bottom: 18px;
}
.superintech-confirmation dl {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 8px 12px;
	font-size: 0.95rem;
}
.superintech-confirmation dt { color: var(--sl-muted); }
.superintech-confirmation dd { margin: 0; font-weight: 600; word-break: break-word; }
.superintech-ics-link { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
	.superintech-booking-shell { grid-template-columns: 1fr; }
	.superintech-booking-sidebar { position: static; }
	.superintech-sidebar-steps {
		flex-direction: row;
		overflow-x: auto;
		gap: 6px;
		padding-bottom: 4px;
	}
	.superintech-sidebar-step {
		flex: 0 0 auto;
		padding: 8px 10px;
	}
	.superintech-sidebar-label { font-size: 0.85rem; }
	.superintech-sidebar-icon { width: 28px; height: 28px; flex-basis: 28px; }
	.superintech-sidebar-icon svg { width: 15px; height: 15px; }
	.superintech-datetime-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.superintech-booking-app { margin: 16px 8px; }
	.superintech-booking-content { padding: 18px; }
	.superintech-form-row { grid-template-columns: 1fr; }
	.superintech-cards,
	.superintech-services-list { grid-template-columns: 1fr; }
	.superintech-phone-row { grid-template-columns: 110px 1fr; }
	.superintech-step-footer { flex-direction: column-reverse; align-items: stretch; }
	.superintech-step-footer .superintech-btn { width: 100%; justify-content: center; }
}

/* ===== v1.2.27 — Coupon field on Basic Details ===== */
.superintech-booking-app .superintech-coupon-row {
	margin-top: 14px !important;
}
.superintech-booking-app .superintech-coupon-input-row {
	display: flex !important;
	gap: 8px !important;
	align-items: stretch !important;
}
.superintech-booking-app .superintech-coupon-input {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
}
.superintech-booking-app .superintech-coupon-apply {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}
.superintech-booking-app .superintech-coupon-feedback {
	margin-top: 6px !important;
	font-size: 0.9rem !important;
	padding: 6px 10px !important;
	border-radius: 6px !important;
}
.superintech-booking-app .superintech-coupon-feedback.is-error {
	background: rgba(220,38,38,0.08) !important;
	color: #b91c1c !important;
}
.superintech-booking-app .superintech-coupon-feedback.is-success {
	background: rgba(16,185,129,0.08) !important;
	color: #047857 !important;
}
.superintech-booking-app .superintech-coupon-applied {
	margin-top: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	padding: 8px 12px !important;
	background: rgba(16,185,129,0.08) !important;
	color: #065f46 !important;
	border-radius: 6px !important;
	font-size: 0.92rem !important;
}
.superintech-booking-app .superintech-coupon-applied-line {
	font-weight: 500 !important;
}
.superintech-booking-app .superintech-coupon-remove {
	background: transparent !important;
	border: 0 !important;
	color: #047857 !important;
	cursor: pointer !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	padding: 4px 6px !important;
}

/* ===== v1.2.13 — Birthday service detail view + lightbox ===== */

/* v1.2.15 — hero image on birthday cards. Bleed to the card's edges
   (card padding is 18px) and round the top corners only so it sits
   flush against the card border. */
.superintech-booking-app .superintech-card-img {
	margin: -18px -18px 14px -18px !important;
	border-top-left-radius: var(--sl-radius) !important;
	border-top-right-radius: var(--sl-radius) !important;
	overflow: hidden !important;
	aspect-ratio: 16 / 10 !important;
	background: #f3f4f6 !important;
	width: calc(100% + 36px) !important;
}

.superintech-booking-app .superintech-card-img img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

/* v1.2.13 hint deprecated in v1.2.15. CSS retained in case it's still in DOM
   from a stale cache; visually hidden so it doesn't appear under the card. */
.superintech-booking-app .superintech-card-detail-hint { display: none !important; }

.superintech-booking-app .superintech-service-detail {
	display: block !important;
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px !important;
	padding: 22px !important;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}

/* v1.2.17 — title+meta on the left, Book Now on the right vertically
   centered to the whole left block. */
.superintech-booking-app .superintech-detail-header {
	display: grid !important;
	grid-template-columns: 1fr auto !important;
	column-gap: 16px !important;
	align-items: center !important;
	margin-bottom: 18px !important;
}

.superintech-booking-app .superintech-detail-head-info {
	min-width: 0 !important;
}

.superintech-booking-app .superintech-detail-title {
	margin: 0 !important;
	font-size: 1.45rem !important;
	line-height: 1.25 !important;
	color: #111 !important;
	font-weight: 700 !important;
}

.superintech-booking-app .superintech-detail-book {
	white-space: nowrap !important;
	align-self: center !important;
}

.superintech-booking-app .superintech-detail-meta {
	color: #6b7280 !important;
	font-size: 0.92rem !important;
	margin: 6px 0 0 0 !important;
	line-height: 1.4 !important;
}

.superintech-booking-app .superintech-detail-meta-price {
	color: #2563eb !important;
	font-weight: 600 !important;
}

.superintech-booking-app .superintech-detail-meta-rest {
	color: #6b7280 !important;
}

/* v1.2.19 — 80/20 column split with construction-equal heights.
   v1.2.20 — heights halved. Hero aspect 8/3 → height = width × 3/8 = 0.3 × gallery_width.
   Sidebar aspect 2/3 → height = width × 3/2 = 0.3 × gallery_width. Same by construction. */
.superintech-booking-app .superintech-detail-gallery {
	display: grid !important;
	grid-template-columns: 4fr 1fr !important;
	gap: 10px !important;
	margin-bottom: 20px !important;
}

.superintech-booking-app .superintech-detail-hero {
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #f3f4f6 !important;
	cursor: zoom-in !important;
	position: relative !important;
	aspect-ratio: 8 / 3 !important;
}

.superintech-booking-app .superintech-detail-hero img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: opacity 180ms ease !important;
}

.superintech-booking-app .superintech-detail-hero.is-loading img {
	opacity: 0.55 !important;
}

.superintech-booking-app .superintech-detail-hero.is-loading::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important; left: 50% !important;
	width: 36px !important; height: 36px !important;
	margin: -18px 0 0 -18px !important;
	border: 3px solid rgba(255,255,255,0.55) !important;
	border-top-color: #2563eb !important;
	border-radius: 50% !important;
	animation: superintech-spin 0.6s linear infinite !important;
}

@keyframes superintech-spin { to { transform: rotate(360deg); } }

/* v1.2.19 — sidebar uses aspect-ratio: 1/3 so its height = sidebar_width × 3
   = 0.6 × gallery_width, which matches the hero's height exactly. Inside,
   grid 1fr 1fr divides that height between the two thumbs. min-height: 0
   chain keeps the inner img from pushing cells taller than the grid wants. */
.superintech-booking-app .superintech-detail-thumbs {
	display: grid !important;
	grid-template-rows: 1fr 1fr !important;
	gap: 10px !important;
	aspect-ratio: 2 / 3 !important;
	min-height: 0 !important;
}

.superintech-booking-app .superintech-detail-thumb {
	border: 2px solid transparent !important;
	padding: 0 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #f3f4f6 !important;
	cursor: pointer !important;
	transition: border-color 120ms ease !important;
	width: 100% !important;
	min-height: 0 !important;
	position: relative !important;
}

.superintech-booking-app .superintech-detail-thumb img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	object-fit: cover !important;
}

.superintech-booking-app .superintech-detail-thumb.is-active {
	border-color: #2563eb !important;
	box-shadow: 0 0 0 2px rgba(37,99,235,0.18) !important;
}

.superintech-booking-app .superintech-detail-thumb:hover {
	border-color: #93c5fd !important;
}

/* v1.2.16 — overlay anchored at the bottom of the 2nd thumb with a top→bottom
   gradient (transparent at top, dark at bottom) so the image stays visible
   above and the text reads cleanly. */
.superintech-booking-app .superintech-detail-thumb-overlay {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.78) 0%,
		rgba(0,0,0,0.45) 60%,
		rgba(0,0,0,0)    100%
	) !important;
	color: #fff !important;
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
	font-weight: 600 !important;
	font-size: 0.78rem !important; /* v1.3.9 — was 0.95rem; smaller overlay reads less obtrusive on small thumbs */
	letter-spacing: 0.01em !important;
	pointer-events: none !important;
	text-align: center !important;
	padding: 28px 8px 12px 8px !important;
}

.superintech-booking-app .superintech-detail-view-all:hover {
	background: #f9fafb !important;
}

.superintech-booking-app .superintech-detail-about-label {
	display: inline-block !important;
	color: #2563eb !important;
	font-weight: 600 !important;
	font-size: 1.15rem !important; /* v1.3.9 — pinned + bumped so "About Service" reads as a proper section label, not body text */
	padding-bottom: 6px !important;
	border-bottom: 2px solid #2563eb !important;
	margin-bottom: 10px !important;
}

.superintech-booking-app .superintech-detail-about {
	color: #374151 !important;
	line-height: 1.55 !important;
	margin-bottom: 20px !important;
}

.superintech-booking-app .superintech-detail-about p {
	margin: 0 0 12px 0 !important;
	line-height: 1.6 !important;
}

.superintech-booking-app .superintech-detail-about p:last-child {
	margin-bottom: 0 !important;
}

.superintech-booking-app .superintech-detail-about ul,
.superintech-booking-app .superintech-detail-about ol {
	margin: 0 0 12px 0 !important;
	padding-left: 1.4em !important;
}

.superintech-booking-app .superintech-detail-about ul { list-style: disc !important; }
.superintech-booking-app .superintech-detail-about ol { list-style: decimal !important; }

.superintech-booking-app .superintech-detail-about li {
	margin-bottom: 6px !important;
	line-height: 1.55 !important;
}

.superintech-booking-app .superintech-detail-about strong { font-weight: 700 !important; }
.superintech-booking-app .superintech-detail-about em     { font-style: italic !important; }
.superintech-booking-app .superintech-detail-about br     { display: block !important; content: '' !important; margin-top: 6px !important; }

.superintech-booking-app .superintech-detail-footer {
	display: flex !important;
	justify-content: space-between !important;
	gap: 10px !important;
	padding-top: 6px !important;
	border-top: 1px solid #f3f4f6 !important;
	margin-top: 8px !important;
}

@media (max-width: 720px) {
	.superintech-booking-app .superintech-detail-header {
		grid-template-columns: 1fr !important;
		row-gap: 10px !important;
	}
	.superintech-booking-app .superintech-detail-book { justify-self: stretch !important; }
	.superintech-booking-app .superintech-detail-gallery { grid-template-columns: 1fr !important; }
	.superintech-booking-app .superintech-detail-thumbs {
		grid-template-rows: none !important;
		grid-template-columns: 1fr 1fr !important;
		aspect-ratio: auto !important;
	}
	.superintech-booking-app .superintech-detail-thumb {
		aspect-ratio: 1 / 1 !important;
	}
}

/* Lightbox overlay (lives on document.body, not under .superintech-booking-app, so
   no namespace prefix on these selectors). */
.superintech-lightbox-overlay {
	position: fixed !important;
	inset: 0 !important;
	background: rgba(0,0,0,0.92) !important;
	z-index: 999999 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.superintech-lightbox-stage {
	max-width: 92vw !important;
	max-height: 88vh !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.superintech-lightbox-img {
	max-width: 92vw !important;
	max-height: 88vh !important;
	object-fit: contain !important;
	display: block !important;
	box-shadow: 0 4px 28px rgba(0,0,0,0.4) !important;
}

.superintech-lightbox-close {
	position: absolute !important;
	top: 16px !important;
	right: 18px !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	border: 0 !important;
	background: rgba(255,255,255,0.12) !important;
	color: #fff !important;
	font-size: 22px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	/* v1.2.15 — flexbox-center the × glyph so it sits in the middle of the
	   circle (font baseline pushed it up before). */
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	font-family: Arial, sans-serif !important;
}

.superintech-lightbox-close:hover { background: rgba(255,255,255,0.22) !important; }

.superintech-lightbox-nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	border: 0 !important;
	background: rgba(255,255,255,0.12) !important;
	color: #fff !important;
	font-size: 20px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
}

.superintech-lightbox-nav:hover { background: rgba(255,255,255,0.22) !important; }
.superintech-lightbox-prev { left: 18px !important; }
.superintech-lightbox-next { right: 18px !important; }

.superintech-lightbox-counter {
	position: absolute !important;
	bottom: 18px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	color: #fff !important;
	font-size: 0.92rem !important;
	background: rgba(0,0,0,0.4) !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
}

@media (max-width: 560px) {
	.superintech-lightbox-nav { width: 38px !important; height: 38px !important; font-size: 18px !important; }
	.superintech-lightbox-prev { left: 8px !important; }
	.superintech-lightbox-next { right: 8px !important; }
}

/* v1.3.4 — the HTML `hidden` attribute must always win. Many rules above set
   `display: … !important` (e.g. .superintech-coupon-applied), which overrode the
   UA `[hidden]{display:none}` and left the empty green coupon box (with only
   "Remove") visible before any coupon was applied. This guard, last in the
   file with equal specificity, restores correct hide-when-hidden behavior
   everywhere the plugin toggles `hidden`. */
.superintech-booking-app [hidden] {
	display: none !important;
}
