/*
 * Escape Lab Lyon — sélecteur de créneaux (fiche produit).
 * Ce style est celui du marchand, pas celui de Spliink (voir spliink.css).
 * Toutes les couleurs sont ici :
 */
.elb-booking,
.elb-badges {
	--elb-accent: #1e1b3a;
	--elb-accent-contrast: #ffffff;
	--elb-border: #dcdbe6;
	--elb-muted: #6b6980;
	--elb-bg-soft: #f6f5fa;
	--elb-full-bg: #f1f1f4;
	--elb-full-text: #9a99a8;
	--elb-radius: 12px;
}

/* Badges (durée, joueurs, âge) */
.elb-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.elb-badge {
	margin: 0;
	padding: 4px 12px;
	border: 1px solid var(--elb-border);
	border-radius: 999px;
	background: var(--elb-bg-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

.elb-price small {
	font-size: 0.7em;
	color: var(--elb-muted, #6b6980);
}

/* Étapes */
.elb-booking {
	display: grid;
	gap: 20px;
	margin: 0 0 20px;
	width: 100%;
}

.elb-step {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.elb-step__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
	font-weight: 600;
	font-size: 1rem;
}

.elb-step__num {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--elb-accent);
	color: var(--elb-accent-contrast);
	font-size: 0.8rem;
}

/* Pastilles jour / heure */
.elb-days,
.elb-hours {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.elb-days {
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 4px;
	scroll-snap-type: x proximity;
}

.elb-booking .elb-chip {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 72px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--elb-border);
	border-radius: var(--elb-radius);
	background: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	scroll-snap-align: start;
	transition: border-color 0.15s, background 0.15s;
}

.elb-booking .elb-chip:hover:not(:disabled) {
	border-color: var(--elb-accent);
}

.elb-booking .elb-chip:focus-visible {
	outline: 2px solid var(--elb-accent);
	outline-offset: 2px;
}

.elb-booking .elb-chip.is-selected {
	border-color: var(--elb-accent);
	background: var(--elb-accent);
	color: var(--elb-accent-contrast);
}

.elb-booking .elb-chip.is-full {
	background: var(--elb-full-bg);
	color: var(--elb-full-text);
	cursor: not-allowed;
}

.elb-booking .elb-chip.is-full .elb-chip__main {
	text-decoration: line-through;
}

.elb-chip__main {
	font-weight: 600;
}

.elb-days .elb-chip__main {
	text-transform: capitalize;
}

.elb-chip__sub {
	font-size: 0.75rem;
	opacity: 0.8;
}

/* Joueurs */
.elb-players {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.elb-booking .elb-players__btn {
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--elb-border);
	border-radius: 50%;
	background: #fff;
	color: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.elb-players select {
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--elb-border);
	border-radius: var(--elb-radius);
	background: #fff;
	font: inherit;
}

/* Récapitulatif */
.elb-summary {
	padding: 14px 16px;
	border-radius: var(--elb-radius);
	background: var(--elb-bg-soft);
}

.elb-summary__line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 1rem;
}

.elb-summary__line strong {
	font-size: 1.25rem;
}

.elb-hint {
	margin: 6px 0 0;
	color: var(--elb-muted);
	font-size: 0.875rem;
}

.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
