/* =========================================================================
   Luxe Core — services list + booking flow.
   Self-contained tokens (so the UI looks right even outside the Luxe theme),
   matching the Luxe Detailing dark + electric-blue palette.
   ========================================================================= */

.luxe-services,
.luxe-booking-app {
	--lx-bg: oklch(0.13 0.02 260);
	--lx-card: oklch(0.17 0.025 260);
	--lx-card-2: oklch(0.2 0.025 260);
	--lx-fg: oklch(0.98 0.005 250);
	--lx-muted: oklch(0.7 0.02 255);
	--lx-primary: oklch(0.62 0.24 263);
	--lx-primary-fg: oklch(0.99 0 0);
	--lx-border: oklch(0.32 0.03 260 / 70%);
	--lx-input: oklch(0.25 0.03 260);
	--lx-radius: 0.85rem;

	color: var(--lx-fg);
	font-family: "Inter", system-ui, sans-serif;
}

.luxe-bk-icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Buttons (scoped, in case the theme button isn't present) ---------- */
.luxe-booking-app .luxe-btn,
.luxe-services .luxe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.7rem 1.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: opacity 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
	text-decoration: none;
	line-height: 1;
}
.luxe-booking-app .luxe-btn--primary,
.luxe-services .luxe-btn--primary { background: var(--lx-primary); color: var(--lx-primary-fg); }
.luxe-booking-app .luxe-btn--primary:hover,
.luxe-services .luxe-btn--primary:hover { opacity: 0.9; }
.luxe-booking-app .luxe-btn--ghost {
	background: transparent;
	border-color: var(--lx-border);
	color: var(--lx-fg);
}
.luxe-booking-app .luxe-btn--ghost:hover { border-color: var(--lx-primary); }
.luxe-booking-app .luxe-btn--glow,
.luxe-services .luxe-btn--glow { box-shadow: 0 16px 40px -16px oklch(0.62 0.24 263 / 65%); }
.luxe-booking-app .luxe-btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* =========================================================================
   Services list ([luxe_services])
   ========================================================================= */
.luxe-services__search {
	position: relative;
	max-width: 26rem;
	margin: 0 auto 2.5rem;
}
.luxe-services__search .luxe-bk-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--lx-muted);
}
.luxe-services__search-input {
	width: 100%;
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: 9999px;
	color: var(--lx-fg);
	padding: 0.8rem 1rem 0.8rem 2.75rem;
	font-size: 0.95rem;
	outline: none;
}
.luxe-services__search-input:focus { border-color: var(--lx-primary); }

.luxe-services__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
.luxe-svc {
	display: flex;
	flex-direction: column;
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius);
	padding: 1.5rem;
	transition: border-color 0.3s, transform 0.3s;
}
.luxe-svc:hover { border-color: oklch(0.62 0.24 263 / 50%); transform: translateY(-2px); }
.luxe-svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.luxe-svc__title { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 1.25rem; font-weight: 700; margin: 0; }
.luxe-svc__dur {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	color: var(--lx-muted);
	white-space: nowrap;
	background: var(--lx-card-2);
	border: 1px solid var(--lx-border);
	padding: 0.3rem 0.65rem;
	border-radius: 9999px;
}
.luxe-svc__desc { color: var(--lx-muted); font-size: 0.9rem; line-height: 1.6; margin: 0.9rem 0 1.25rem; flex: 1; }
.luxe-svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.luxe-svc__price { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--lx-fg); }
.luxe-services__empty { text-align: center; color: var(--lx-muted); margin-top: 2rem; }

/* =========================================================================
   Booking app ([luxe_booking])
   ========================================================================= */
.luxe-booking-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: var(--lx-muted);
	padding: 3rem 1rem;
}
.luxe-booking-loading .luxe-bk-icon { color: var(--lx-primary); animation: luxe-spin 1.4s linear infinite; }
@keyframes luxe-spin { to { transform: rotate(360deg); } }

.luxe-bk-shell {
	background: oklch(0.15 0.022 260 / 70%);
	border: 1px solid var(--lx-border);
	border-radius: 1.25rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	backdrop-filter: blur(8px);
}

/* Stepper */
.luxe-bk-steps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.luxe-bk-step {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--lx-muted);
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: 9999px;
	padding: 0.4rem 0.9rem;
}
.luxe-bk-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 9999px;
	background: var(--lx-card-2);
	font-size: 0.7rem;
}
.luxe-bk-step.is-active { color: var(--lx-fg); border-color: oklch(0.62 0.24 263 / 60%); }
.luxe-bk-step.is-active .luxe-bk-step__num { background: var(--lx-primary); color: var(--lx-primary-fg); }
.luxe-bk-step.is-done .luxe-bk-step__num { background: oklch(0.62 0.24 263 / 25%); color: var(--lx-primary); }

.luxe-bk-h { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 1.5rem; font-weight: 700; margin: 0 0 1.25rem; }
.luxe-bk-sub { color: var(--lx-muted); font-size: 0.9rem; margin: -0.75rem 0 1.5rem; }

.luxe-bk-layout { display: grid; gap: 1.5rem; }

/* Service step list */
.luxe-bk-list { display: grid; gap: 0.85rem; }
.luxe-bk-svc {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius);
	padding: 1.1rem 1.25rem;
	transition: border-color 0.2s, background-color 0.2s;
}
.luxe-bk-svc:hover { border-color: oklch(0.62 0.24 263 / 45%); }
.luxe-bk-svc__info { min-width: 0; }
.luxe-bk-svc__name { font-weight: 700; font-size: 1.05rem; }
.luxe-bk-svc__meta { display: flex; align-items: center; gap: 0.35rem; color: var(--lx-muted); font-size: 0.8rem; margin-top: 0.25rem; }
.luxe-bk-svc__desc { color: var(--lx-muted); font-size: 0.85rem; line-height: 1.55; margin-top: 0.5rem; }

/* Selected chip / summary cards */
.luxe-bk-chip {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius);
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
}
.luxe-bk-chip__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.6rem; height: 1.6rem; border-radius: 9999px;
	background: var(--lx-primary); color: var(--lx-primary-fg);
	font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.luxe-bk-chip__body { flex: 1; min-width: 0; }
.luxe-bk-chip__title { font-weight: 700; }
.luxe-bk-chip__meta { color: var(--lx-muted); font-size: 0.8rem; display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.2rem; }
.luxe-bk-chip__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.luxe-bk-remove {
	background: transparent; border: none; color: var(--lx-muted);
	cursor: pointer; padding: 0.25rem; border-radius: 0.4rem;
}
.luxe-bk-remove:hover { color: var(--lx-fg); }

/* Staff options */
.luxe-bk-staff { display: grid; gap: 0.75rem; }
.luxe-bk-staff__opt {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: var(--lx-card); border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius); padding: 1rem 1.15rem; cursor: pointer;
	transition: border-color 0.2s;
}
.luxe-bk-staff__opt:hover { border-color: oklch(0.62 0.24 263 / 45%); }
.luxe-bk-staff__opt.is-selected { border-color: var(--lx-primary); background: oklch(0.62 0.24 263 / 8%); }
.luxe-bk-staff__id { display: flex; align-items: center; gap: 0.75rem; }
.luxe-bk-avatar {
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; object-fit: cover;
	background: var(--lx-card-2); display: inline-flex; align-items: center; justify-content: center;
	color: var(--lx-primary); font-weight: 700; border: 1px solid var(--lx-border);
}
.luxe-bk-staff__name { font-weight: 600; }
.luxe-bk-staff__hint { color: var(--lx-muted); font-size: 0.78rem; }

/* Date & time */
.luxe-bk-grid2 { display: grid; gap: 1.5rem; }
.luxe-bk-cal { background: var(--lx-card); border: 1px solid var(--lx-border); border-radius: var(--lx-radius); padding: 1.25rem; }
.luxe-bk-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.luxe-bk-cal__title { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.luxe-bk-cal__nav { display: flex; gap: 0.4rem; }
.luxe-bk-cal__nav button {
	width: 2rem; height: 2rem; border-radius: 0.5rem; border: 1px solid var(--lx-border);
	background: transparent; color: var(--lx-fg); cursor: pointer; display: inline-flex;
	align-items: center; justify-content: center;
}
.luxe-bk-cal__nav button:hover:not([disabled]) { border-color: var(--lx-primary); }
.luxe-bk-cal__nav button[disabled] { opacity: 0.35; cursor: not-allowed; }
.luxe-bk-dow, .luxe-bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.luxe-bk-dow span { text-align: center; font-size: 0.7rem; color: var(--lx-muted); padding: 0.3rem 0; text-transform: uppercase; letter-spacing: 0.05em; }
.luxe-bk-day {
	aspect-ratio: 1; border: 1px solid transparent; border-radius: 0.5rem;
	background: transparent; color: var(--lx-fg); cursor: pointer; font-size: 0.85rem;
	display: inline-flex; align-items: center; justify-content: center;
}
.luxe-bk-day:hover:not([disabled]) { background: var(--lx-card-2); }
.luxe-bk-day[disabled] { color: oklch(0.5 0.02 260); cursor: not-allowed; }
.luxe-bk-day.is-empty { cursor: default; }
.luxe-bk-day.is-selected { background: var(--lx-primary); color: var(--lx-primary-fg); font-weight: 700; }
.luxe-bk-day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1px oklch(0.62 0.24 263 / 50%); }

.luxe-bk-times__tz { display: flex; align-items: center; gap: 0.4rem; color: var(--lx-muted); font-size: 0.78rem; margin-bottom: 0.85rem; }
.luxe-bk-times__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.5rem; max-height: 22rem; overflow-y: auto; padding-right: 0.25rem; }
.luxe-bk-time {
	border: 1px solid var(--lx-border); background: var(--lx-card); color: var(--lx-fg);
	border-radius: 0.6rem; padding: 0.6rem 0.4rem; font-size: 0.85rem; cursor: pointer; text-align: center;
	transition: border-color 0.15s, background-color 0.15s;
}
.luxe-bk-time:hover { border-color: var(--lx-primary); }
.luxe-bk-time.is-selected { background: var(--lx-primary); color: var(--lx-primary-fg); border-color: var(--lx-primary); font-weight: 600; }
.luxe-bk-empty { color: var(--lx-muted); font-size: 0.9rem; padding: 1rem 0; }

/* Info form */
.luxe-bk-form { display: grid; gap: 1rem; }
.luxe-bk-field { display: flex; flex-direction: column; gap: 0.35rem; }
.luxe-bk-field label { font-size: 0.82rem; font-weight: 600; color: var(--lx-fg); }
.luxe-bk-field label .req { color: var(--lx-primary); }
.luxe-bk-field input,
.luxe-bk-field select,
.luxe-bk-field textarea {
	width: 100%;
	background: var(--lx-input);
	border: 1px solid var(--lx-border);
	border-radius: 0.6rem;
	color: var(--lx-fg);
	padding: 0.7rem 0.85rem;
	font-size: 0.92rem;
	outline: none;
	font-family: inherit;
}
.luxe-bk-field input:focus,
.luxe-bk-field select:focus,
.luxe-bk-field textarea:focus { border-color: var(--lx-primary); }
.luxe-bk-field input.has-error,
.luxe-bk-field select.has-error,
.luxe-bk-field textarea.has-error { border-color: oklch(0.62 0.24 25); }
.luxe-bk-field textarea { resize: vertical; min-height: 4.5rem; }
.luxe-bk-field__hint { font-size: 0.74rem; color: var(--lx-muted); }
.luxe-bk-row2 { display: grid; gap: 1rem; }
.luxe-bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Summary panel */
.luxe-bk-summary {
	background: var(--lx-card);
	border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius);
	padding: 1.25rem;
	align-self: start;
}
.luxe-bk-summary__row { display: flex; align-items: center; gap: 0.5rem; color: var(--lx-fg); font-size: 0.9rem; padding: 0.45rem 0; }
.luxe-bk-summary__row .luxe-bk-icon { color: var(--lx-primary); }
.luxe-bk-summary__row.muted { color: var(--lx-muted); font-size: 0.8rem; }
.luxe-bk-summary__change { background: none; border: none; color: var(--lx-primary); cursor: pointer; font-size: 0.78rem; padding: 0; text-decoration: underline; }
.luxe-bk-summary hr { border: none; border-top: 1px solid var(--lx-border); margin: 0.85rem 0; }
.luxe-bk-summary__service { font-weight: 700; font-family: "Space Grotesk", sans-serif; }

/* Footer actions */
.luxe-bk-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.luxe-bk-error {
	background: oklch(0.62 0.24 25 / 12%);
	border: 1px solid oklch(0.62 0.24 25 / 40%);
	color: oklch(0.85 0.12 25);
	padding: 0.7rem 0.9rem; border-radius: 0.6rem; font-size: 0.85rem; margin-bottom: 1rem;
}

/* Confirmation */
.luxe-bk-done { text-align: center; padding: 1.5rem 0; }
.luxe-bk-done__icon {
	width: 4rem; height: 4rem; border-radius: 9999px; margin: 0 auto 1.25rem;
	display: inline-flex; align-items: center; justify-content: center;
	background: oklch(0.62 0.24 263 / 15%); box-shadow: inset 0 0 0 1px oklch(0.62 0.24 263 / 40%);
	color: var(--lx-primary);
}
.luxe-bk-done__icon .luxe-bk-icon { width: 2rem; height: 2rem; }
.luxe-bk-done h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.75rem; margin: 0 0 0.5rem; }
.luxe-bk-done p { color: var(--lx-muted); }
.luxe-bk-done__card {
	text-align: left; max-width: 28rem; margin: 1.5rem auto;
	background: var(--lx-card); border: 1px solid var(--lx-border);
	border-radius: var(--lx-radius); padding: 1.25rem;
}

/* Responsive */
@media (min-width: 700px) {
	.luxe-services__grid { grid-template-columns: repeat(2, 1fr); }
	.luxe-bk-row2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
	.luxe-services__grid { grid-template-columns: repeat(3, 1fr); }
	.luxe-bk-grid2 { grid-template-columns: 1fr 1fr; }
	.luxe-bk-layout--info { grid-template-columns: 1.4fr 1fr; }
}
