/* Ta Bonne Pioche. Styles de la page reparation uniquement.
   Ne pas charger ailleurs: certaines regles masquent le titre de page.
*/

/* --- Icones et assistant --- */
.tbp-choice-icon--petit{background-image:url("../tbp-repair/icons/icon-petit-electro.png?v=2");}.tbp-choice-icon--gros{background-image:url("../tbp-repair/icons/icon-gros-electro.png?v=2");}.tbp-choice-icon--gros-depot{background-image:url("../tbp-repair/icons/icon-gros-electro-depot.png?v=2");}.tbp-choice-icon--gros-domicile{background-image:url("../tbp-repair/icons/icon-gros-electro-domicile.png?v=2");}.tbp-choice-icon{background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;}.tbp-repair-wizard #postcode_suggestions,.tbp-repair-wizard .tbp-postcode-suggestions{list-style:none!important;padding:10px!important;background:#f2f6ff!important;border:2px solid #b8c8f5!important;min-width:520px!important;box-shadow:0 20px 44px rgba(30,75,174,.22)!important;}.tbp-repair-wizard #postcode_suggestions li,.tbp-repair-wizard .tbp-postcode-suggestions li{list-style:none!important;padding-left:0!important;margin:0!important;}.tbp-repair-wizard .tbp-postcode-suggestion{display:flex!important;flex-wrap:nowrap!important;align-items:center;white-space:nowrap!important;min-height:48px;padding:12px 18px;margin-bottom:8px;border:1px solid #dce4fa!important;background:#fff!important;}.tbp-repair-wizard .tbp-postcode-suggestion__city{flex:1 1 auto;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;}.tbp-repair-wizard .tbp-postcode-suggestion__meta{margin-left:auto!important;padding-left:28px!important;white-space:nowrap!important;}.tbp-repair-wizard .tbp-postcode-suggestion__code{font-weight:700;color:#1e4bae;}.tbp-repair-wizard .tbp-postcode-suggestion__city{font-weight:600;color:#1c2650;}.tbp-repair-wizard .tbp-postcode-suggestion__meta{font-size:.8rem;color:#5c668a;text-align:right;white-space:nowrap;}.tbp-repair-wizard .tbp-repair-next-btn,.tbp-repair-wizard button.tbp-repair-next-btn[type=submit]{background:#1e4bae!important;border:0!important;color:#fff!important;}.tbp-repair-wizard .tbp-repair-next-btn:hover,.tbp-repair-wizard button.tbp-repair-next-btn[type=submit]:hover{background:#173f96!important;}.tbp-menu-repair{background:#1e4bae!important;}.tbp-menu-repair:hover{background:#173f96!important;}

/* --- Calendrier, samedi masque --- */
.tbp-repair-calendar-layout .tbp-cal-table th.tbp-cal-col-saturday,.tbp-repair-calendar-layout .tbp-cal-table td.tbp-cal-col-saturday{display:none!important}

/* --- Formules --- */
/* =====================================================================
   1. RÉDUCTION DE L'ESPACE entre hero et wizard
   (le CSS est déjà scopé à /reparation/ via is_page)
   ===================================================================== */
.entry-content.wp-block-post-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.tbp-repair-wizard {
	max-width: 1020px !important;
	margin-top: 4px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: 0 !important;
}
@media (max-width: 768px) {
	.tbp-repair-wizard {
		max-width: 100% !important;
	}
}
.tbp-repair-step.tbp-step-0 {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Garantit que le bouton Retour est cliquable et visible sur toutes les étapes */
.tbp-repair-back-btn {
	pointer-events: auto !important;
	position: relative !important;
	z-index: 5 !important;
	cursor: pointer !important;
}

/* =====================================================================
   2. (H2 retiré à la demande)
   On masque aussi tous les sous-titres (intro + section formules)
   ===================================================================== */
.tbp-repair-step.tbp-step-0 .tbp-repair-step-subtitle {
	display: none !important;
}

/* =====================================================================
   3. SECTION FORMULES (anciennement .tbp-step-0-diagnostics)
   ===================================================================== */
.tbp-step-0-diagnostics {
	max-width: 1020px;
	margin: 0 auto;
	padding: clamp(20px, 3vw, 36px) 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
	position: relative;
}
.tbp-formules-eyebrow {
	display: block;
	text-align: center;
	color: #1e4bae;
	font-size: clamp(0.78rem, 1vw, 0.9rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 auto 14px;
	max-width: 720px;
	line-height: 1.4;
}
.tbp-step-0-diagnostics .tbp-repair-step-title {
	font-size: clamp(1.5rem, 2.6vw, 2.125rem) !important;
	line-height: 1.15 !important;
	color: #1e4bae !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em !important;
	text-align: center !important;
	margin: 0 0 10px !important;
}
.tbp-step-0-diagnostics .tbp-repair-step-subtitle {
	font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
	color: #475569 !important;
	text-align: center !important;
	margin: 0 auto 36px !important;
	max-width: 640px !important;
	line-height: 1.5 !important;
}

/* Grid des 3 cartes */
.tbp-step-0-diagnostics .tbp-choice-grid--diagnostic {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 20px !important;
	margin: 0 !important;
	align-items: stretch !important;
}

/* Card de base (label englobe le radio) */
.tbp-step-0-diagnostics .tbp-diagnostic-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	background: #f5f8ff !important;
	border: 2px solid #e3ebfa !important;
	border-radius: 20px !important;
	padding: 26px 22px 24px !important;
	margin: 0 !important;
	text-align: center !important;
	cursor: pointer !important;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
	box-shadow: 0 1px 2px rgba(30, 75, 174, 0.04) !important;
	overflow: hidden !important;
	height: 100%;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card:hover,
.tbp-step-0-diagnostics .tbp-diagnostic-card:focus-within {
	transform: translateY(-4px) !important;
	border-color: #c7d4ee !important;
	box-shadow: 0 14px 36px rgba(30, 75, 174, 0.12) !important;
	background: #ffffff !important;
}

/* Radio masqué visuellement (cliquable via le label) */
.tbp-step-0-diagnostics .tbp-diagnostic-card input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
}

/* Icône d'illustration : le fichier fait ~1000 px, il faut le centrer et le réduire */
.tbp-step-0-diagnostics .tbp-choice-icon {
	width: 90px !important;
	height: 90px !important;
	margin: 0 auto 14px !important;
	flex: 0 0 90px !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
}

/* Wrapper texte : flex column pour pousser le CTA en bas */
.tbp-step-0-diagnostics .tbp-choice-button-text {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	width: 100% !important;
	flex: 1 1 auto !important;
}

/* Titre de la carte */
.tbp-step-0-diagnostics .tbp-choice-button-label {
	display: block !important;
	font-size: 1.125rem !important;
	font-weight: 800 !important;
	color: #1e4bae !important;
	line-height: 1.2 !important;
	margin: 0 0 10px !important;
	letter-spacing: -0.005em !important;
}

/* Badge mode (sous le titre) */
.tbp-step-0-diagnostics .tbp-diagnostic-mode {
	display: inline-block !important;
	background: #ffffff !important;
	border: 1px solid #d8e3f7 !important;
	color: #1e4bae !important;
	padding: 5px 12px !important;
	border-radius: 999px !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	margin: 0 0 16px !important;
	line-height: 1.3 !important;
}

/* Description */
.tbp-step-0-diagnostics .tbp-choice-button-desc {
	display: block !important;
	color: #475569 !important;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	margin: 0 0 18px !important;
}

/* Prix pill */
.tbp-step-0-diagnostics .tbp-diagnostic-price {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #1e4bae !important;
	color: #ffffff !important;
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	padding: 9px 22px !important;
	border-radius: 999px !important;
	margin: auto 0 18px !important;
	box-shadow: 0 6px 16px rgba(30, 75, 174, 0.20) !important;
	letter-spacing: -0.005em !important;
}

/* Bouton "Choisir cette formule" */
.tbp-formule-cta {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	padding: 11px 20px !important;
	background: transparent !important;
	border: 2px solid #1e4bae !important;
	color: #1e4bae !important;
	font-weight: 700 !important;
	font-size: 0.9375rem !important;
	border-radius: 14px !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
	margin-top: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.005em !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card:hover .tbp-formule-cta,
.tbp-step-0-diagnostics .tbp-diagnostic-card:focus-within .tbp-formule-cta {
	background: #1e4bae !important;
	color: #ffffff !important;
}

/* Carte recommandée (--domicile) */
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile {
	border-color: #e34fa5 !important;
	background: linear-gradient(180deg, #fff5fa 0%, #ffffff 100%) !important;
	box-shadow: 0 8px 24px rgba(227, 79, 165, 0.10) !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile:hover,
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile:focus-within {
	border-color: #e34fa5 !important;
	box-shadow: 0 18px 40px rgba(227, 79, 165, 0.20) !important;
	background: #ffffff !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile .tbp-diagnostic-mode {
	background: #e34fa5 !important;
	border-color: #e34fa5 !important;
	color: #ffffff !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile .tbp-diagnostic-price {
	background: #e34fa5 !important;
	box-shadow: 0 6px 16px rgba(227, 79, 165, 0.30) !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile .tbp-formule-cta {
	border-color: #e34fa5 !important;
	color: #e34fa5 !important;
}
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile:hover .tbp-formule-cta,
.tbp-step-0-diagnostics .tbp-diagnostic-card--domicile:focus-within .tbp-formule-cta {
	background: #e34fa5 !important;
	color: #ffffff !important;
}

/* Badge "Le plus demandé" */
.tbp-formule-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	background: #e34fa5;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(227, 79, 165, 0.25);
	line-height: 1.2;
	z-index: 2;
}

/* Note réassurance sous les cartes */
.tbp-formules-note {
	display: block;
	text-align: center;
	margin: 28px auto 0;
	max-width: 720px;
	color: #475569;
	font-size: 0.9375rem;
	line-height: 1.55;
}
.tbp-formules-note strong { color: #1e4bae; font-weight: 700; }

/* =====================================================================
   4. SECTION "Comment ça marche ?" (intro déplacée en bas du wizard)
   ===================================================================== */
.tbp-rep-howto {
	max-width: 1020px;
	margin: 56px auto 16px;
	padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
	background: #f5f8ff;
	border: 1px solid #e3ebfa;
	border-radius: 24px;
	box-sizing: border-box;
}
.tbp-rep-howto__title {
	font-size: clamp(1.375rem, 2.4vw, 1.875rem);
	font-weight: 800;
	color: #1e4bae;
	margin: 0 0 6px;
	text-align: center;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.tbp-rep-howto__subtitle {
	text-align: center;
	color: #475569;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 auto 28px;
	max-width: 620px;
}

/* On laisse la timeline et warranty hériter du style du wizard, mais en plus aéré */
.tbp-rep-howto .tbp-repair-timeline {
	margin-top: 0 !important;
}
.tbp-rep-howto .tbp-tl-item {
	margin-bottom: 14px !important;
}
.tbp-rep-howto .tbp-tl-card {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}
.tbp-rep-howto .tbp-repair-warranty {
	margin-top: 18px !important;
}

/* =====================================================================
   5. RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
	.tbp-step-0-diagnostics .tbp-choice-grid--diagnostic {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
		max-width: 520px;
		margin: 0 auto !important;
	}
	.tbp-step-0-diagnostics .tbp-diagnostic-card {
		padding: 24px 22px 22px !important;
	}
	.tbp-rep-section-title {
		margin: 18px auto 14px;
	}
}
@media (max-width: 640px) {
	.tbp-step-0-diagnostics {
		padding: 26px 18px !important;
		border-radius: 22px !important;
	}
	.tbp-step-0-diagnostics .tbp-choice-icon {
		width: 78px !important;
		height: 78px !important;
		flex: 0 0 78px !important;
	}
	.tbp-formules-eyebrow {
		font-size: 0.72rem;
	}
	.tbp-step-0-diagnostics .tbp-diagnostic-price {
		font-size: 1.375rem !important;
	}
	.tbp-formule-badge {
		top: 12px;
		right: 12px;
		font-size: 0.65rem;
		padding: 4px 9px;
	}
	.tbp-rep-howto {
		margin: 36px auto 8px;
		padding: 24px 18px;
		border-radius: 20px;
	}
}

/* --- Hero reparation --- */
/* Masquer l'ancien H1 "Réparation" du thème (sur cette page uniquement) */
.page-id-reparation .wp-block-post-title,
body:has(.tbp-rep-hero) > .wp-site-blocks .wp-block-post-title,
.tbp-rep-hero ~ * .wp-block-post-title.hostinger-ai-page-title {
	display: none !important;
}
/* Fallback générique : si le H1 = exactement "Réparation" on le cache */
h1.hostinger-ai-page-title {
	display: none !important;
}

/* Masque la bande rose pleine largeur (bloc Gutenberg vide avec couleur "light" = #e34fa5) */
main .wp-block-group.alignfull.has-light-background-color.has-background:empty {
	display: none !important;
}

/* Masque l'introduction "Comment fonctionne..." (étape 0 du wizard) — on garde seulement le choix de diagnostic */
.tbp-repair-step.tbp-step-0 > .tbp-repair-step-title:first-of-type,
.tbp-repair-step.tbp-step-0 > .tbp-repair-step-subtitle:first-of-type,
.tbp-repair-step.tbp-step-0 > .tbp-repair-timeline,
.tbp-repair-step.tbp-step-0 > .tbp-repair-warranty {
	display: none !important;
}

.tbp-rep-hero {
	display: flex;
	justify-content: center;
	padding: 36px 16px;
	box-sizing: border-box;
}
.tbp-rep-hero *,
.tbp-rep-hero *::before,
.tbp-rep-hero *::after {
	box-sizing: border-box;
}

.tbp-rep-hero__card {
	width: 100%;
	max-width: 1020px;
	background-color: #f5f8ff;
	background-image:
		linear-gradient(180deg, rgba(245, 248, 255, 0.92) 0%, rgba(245, 248, 255, 0.88) 100%),
		url('https://tabonnepioche.fr/wp-content/uploads/2026/03/tbp-seo-reparation-20260327-scaled.jpg');
	background-size: auto, cover;
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	border: 1px solid #e3ebfa;
	border-radius: 24px;
	padding: clamp(26px, 4.5vw, 52px) clamp(22px, 4vw, 52px);
	text-align: center;
	box-shadow: 0 1px 2px rgba(30, 75, 174, 0.04);
	position: relative;
	overflow: hidden;
}

.tbp-rep-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #d8e3f7;
	color: #1e4bae;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 22px;
	letter-spacing: 0.005em;
	white-space: nowrap;
	max-width: 100%;
}
.tbp-rep-hero__badge-icon {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

.tbp-rep-hero__title {
	font-family: inherit;
	font-size: clamp(1.875rem, 3.9vw, 3.25rem);
	font-weight: 800;
	color: #1e4bae;
	line-height: 1.05;
	letter-spacing: -0.012em;
	margin: 0 0 8px;
	text-wrap: balance;
}

.tbp-rep-hero__tagline {
	font-size: clamp(1.125rem, 2vw, 1.625rem);
	font-weight: 700;
	color: #e34fa5;
	line-height: 1.25;
	letter-spacing: -0.005em;
	margin: 0 0 22px;
}

.tbp-rep-hero__subtitle {
	font-size: clamp(1.0625rem, 1.2vw, 1.18rem);
	line-height: 1.55;
	color: #334155;
	margin: 0 auto 30px;
	max-width: 680px;
}
.tbp-rep-hero__subtitle strong {
	color: #1e4bae;
	font-weight: 600;
}

.tbp-rep-hero__actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.tbp-rep-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
	cursor: pointer;
	min-height: 50px;
}
.tbp-rep-hero__btn:active { transform: translateY(1px); }

.tbp-rep-hero__btn--primary {
	background: #1e4bae;
	color: #ffffff !important;
	border: 2px solid #1e4bae;
}
.tbp-rep-hero__btn--primary:hover,
.tbp-rep-hero__btn--primary:focus-visible {
	background: #163880;
	border-color: #163880;
	color: #ffffff !important;
}

.tbp-rep-hero__btn--secondary {
	background: #ffffff;
	color: #1e4bae !important;
	border: 2px solid #1e4bae;
}
.tbp-rep-hero__btn--secondary:hover,
.tbp-rep-hero__btn--secondary:focus-visible {
	background: #1e4bae;
	color: #ffffff !important;
}

.tbp-rep-hero__btn-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

.tbp-rep-hero__features {
	list-style: none;
	padding: 0;
	margin: 36px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	text-align: left;
}
.tbp-rep-hero__feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #ffffff;
	border: 1px solid #e3ebfa;
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 1px 2px rgba(30, 75, 174, 0.04);
}
.tbp-rep-hero__feature-icon {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: #1e4bae;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
	margin-top: 1px;
}
.tbp-rep-hero__feature-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.tbp-rep-hero__feature-text strong {
	color: #1e4bae;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.25;
}
.tbp-rep-hero__feature-text span {
	color: #475569;
	font-size: 0.875rem;
	line-height: 1.35;
}

@media (max-width: 840px) {
	.tbp-rep-hero__features {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 28px;
	}
}

@media (max-width: 640px) {
	.tbp-rep-hero { padding: 22px 12px; }
	.tbp-rep-hero__card { padding: 32px 22px; border-radius: 20px; }
	.tbp-rep-hero__badge {
		font-size: clamp(0.68rem, 3.1vw, 0.8125rem);
		padding: 6px 12px;
		gap: 6px;
		margin-bottom: 18px;
	}
	.tbp-rep-hero__badge-icon { width: 14px; height: 14px; }
	.tbp-rep-hero__title {
		letter-spacing: -0.008em;
		line-height: 1.08;
		margin-bottom: 6px;
	}
	.tbp-rep-hero__tagline {
		font-size: 1.05rem;
		margin-bottom: 18px;
	}
	.tbp-rep-hero__subtitle {
		font-size: 1rem;
		line-height: 1.5;
		margin-bottom: 24px;
	}
	.tbp-rep-hero__actions {
		flex-direction: column;
		gap: 10px;
	}
	.tbp-rep-hero__btn {
		width: 100%;
		padding: 14px 18px;
	}
}

/* --- Titres des etapes --- */
/* Titre : un poil plus petit pour éviter que le "?" passe à la ligne */
        .tbp-step-0 .tbp-repair-step-title{
            font-size: 1.45em;
            line-height: 1.2;
            letter-spacing: -0.2px;
        }
        .tbp-step-0 .tbp-repair-step-subtitle{
            margin-top: 6px;
            color:#667;
            font-size: 0.95em;
            line-height: 1.35;
        }

        .tbp-step-0-diagnostics .tbp-diagnostic-fee-hint{
            display:block;
            margin: 8px 0 0;
            font-size: 0.86rem;
            line-height: 1.35;
            color: #475569;
        }
        .tbp-step-0-diagnostics .tbp-diagnostic-fee-hint strong{
            color: #1e4bae;
            font-weight: 800;
        }

        .tbp-repair-timeline{
            position:relative;
            padding-left: 18px;
            margin-top: 14px;
        }
        .tbp-repair-timeline:before{
            content:"";
            position:absolute;
            left: 24px;
            top: 6px;
            bottom: 6px;
            width:2px;
            background:#e0e4f2;
            border-radius:2px;
        }

        .tbp-tl-item{
            display:flex;
            gap:12px;
            align-items:flex-start;
            margin-bottom: 12px;
            position:relative;
        }

        /* Pastilles 1/2/3/4 : bleu TBP + texte blanc */
        .tbp-tl-dot{
            width:34px;
            height:34px;
            border-radius:999px;
            display:flex;
            align-items:center;
            justify-content:center;
            font-weight:800;
            color:#fff;
            background: #1e4bae;
            border:none;
            box-shadow: 0 12px 24px rgba(30,75,174,0.18);
            flex:0 0 34px;
            z-index:2;
        }

        .tbp-tl-card{
            flex:1;
            border:1px solid #e0e4f2;
            border-radius:16px;
            padding: 12px 14px;
            background:#fff;
            box-shadow: 0 10px 26px rgba(0,0,0,0.05);
        }
        .tbp-tl-title{
            font-weight:800;
            color:#0f1b3a;
            margin-bottom: 4px;
        }
        .tbp-tl-text{
            color:#334;
            line-height:1.45;
            font-size:0.95em;
        }

        .tbp-repair-warranty{
            margin-top: 14px;
            border:1px solid #e0e4f2;
            border-radius:16px;
            padding: 12px 14px;
            background: linear-gradient(180deg, rgba(227,79,165,0.10), rgba(122,255,245,0.10));
        }
        .tbp-warranty-title{
            font-weight:800;
            color:#0f1b3a;
            margin-bottom: 2px;
        }
        .tbp-warranty-text{
            color:#334;
            line-height:1.45;
            font-size:0.95em;
        }

/* --- Calendrier, samedi attenue --- */
.tbp-repair-calendar-layout .tbp-cal-table th:nth-child(6),
                .tbp-repair-calendar-layout .tbp-cal-table td:nth-child(6) {
                    opacity: 0.55;
                }

/* =====================================================================
   Étapes après le choix de formule : commune, calendrier, créneaux, appareil
   ===================================================================== */
.tbp-repair-wizard:not(:has(.tbp-step-0)) {
	max-width: 860px !important;
	background: #ffffff;
	border: 1px solid #edf1ff;
	border-radius: 24px;
	padding: 28px 28px 32px !important;
	box-shadow: 0 14px 45px rgba(30, 75, 174, 0.06);
}

.tbp-repair-wizard .tbp-repair-step-title {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 800;
	color: #1e4bae;
	line-height: 1.2;
	margin: 4px 0 18px;
}

.tbp-repair-wizard .tbp-repair-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid #d7ddf4;
	background: #f7f8ff;
	color: #273461;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.tbp-repair-wizard .tbp-repair-back-btn:hover {
	background: #edf0ff;
	border-color: #c6cff3;
}

.tbp-repair-wizard .tbp-repair-errors,
.tbp-repair-wizard .tbp-repair-info {
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.tbp-repair-wizard .tbp-repair-errors {
	border: 1px solid #ffb3c1;
	background: #fff5f7;
	color: #9b1031;
}

.tbp-repair-wizard .tbp-repair-info {
	border: 1px solid #b3d4ff;
	background: #f4f7ff;
	color: #123067;
}

.tbp-repair-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	color: #192647;
	font-size: 0.95rem;
}

.tbp-repair-form .tbp-required {
	color: #e34fa5;
	font-weight: 700;
	margin-left: 2px;
}

.tbp-repair-form .tbp-postcode-help {
	display: block;
	margin: 0 0 10px;
	color: #4a5274;
	font-size: 0.9rem;
	line-height: 1.45;
}

.tbp-repair-form .tbp-postcode-field {
	margin-bottom: 22px;
}

.tbp-field-hidden {
	display: none !important;
}

.tbp-repair-wizard .tbp-postcode-suggestions:not(.is-open),
.tbp-repair-wizard #postcode_suggestions:not(.is-open) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	box-shadow: none !important;
}

.tbp-repair-form input[type="text"],
.tbp-repair-form input[type="email"],
.tbp-repair-form input[type="tel"],
.tbp-repair-form textarea,
.tbp-repair-form select {
	width: 100%;
	box-sizing: border-box;
	border-radius: 12px;
	border: 1px solid #d6def7;
	padding: 12px 14px;
	font-size: 1rem;
	background: #fdfdff;
	color: #1c2650;
}

.tbp-repair-form textarea {
	resize: vertical;
	min-height: 110px;
}

.tbp-repair-form input[type="text"]:focus,
.tbp-repair-form input[type="email"]:focus,
.tbp-repair-form input[type="tel"]:focus,
.tbp-repair-form textarea:focus,
.tbp-repair-form select:focus {
	outline: none;
	border-color: #1e4bae;
	box-shadow: 0 0 0 3px rgba(30, 75, 174, 0.18);
	background: #ffffff;
}

.tbp-repair-calendar-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	margin-top: 8px;
	align-items: flex-start;
}

.tbp-cal-container {
	flex: 1 1 320px;
	max-width: 420px;
	border-radius: 18px;
	padding: 16px 16px 18px;
	box-sizing: border-box;
	border: 1px solid #dfe6ff;
	background: #f7faff;
}

.tbp-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.tbp-cal-month-label {
	font-weight: 800;
	text-transform: capitalize;
	color: #1e4bae;
	font-size: 1rem;
}

.tbp-cal-nav {
	border: none;
	background: #ffffff;
	color: #1e4bae;
	border-radius: 999px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(30, 75, 174, 0.08);
}

.tbp-cal-nav:hover {
	background: #eaf0ff;
}

.tbp-cal-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	font-size: 0.9rem;
}

.tbp-cal-table th {
	padding: 6px 0;
	font-weight: 700;
	color: #70779b;
}

.tbp-cal-table td {
	padding: 3px 0;
	height: 40px;
}

.tbp-cal-day {
	width: 34px;
	height: 34px;
	line-height: 34px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	background: transparent;
	color: #1c2650;
	font-size: 0.92rem;
}

.tbp-cal-day:hover {
	background: #e4edff;
}

.tbp-cal-day-selected {
	background: #1e4bae;
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 0 0 3px rgba(30, 75, 174, 0.2);
}

.tbp-slots-container {
	flex: 1 1 240px;
	max-width: 340px;
}

.tbp-slots-title {
	font-weight: 800;
	margin-bottom: 4px;
	color: #1e4bae;
	font-size: 1.05rem;
}

.tbp-slots-subtitle {
	font-size: 0.88rem;
	color: #64748b;
	margin-bottom: 12px;
}

.tbp-slots-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tbp-slot-btn {
	flex: 1 1 46%;
	min-width: 110px;
	padding: 10px 8px;
	border-radius: 999px;
	border: 1px solid #d7def3;
	background: #ffffff;
	cursor: pointer;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: center;
	color: #1c2650;
}

.tbp-slot-btn:hover:not(.is-disabled) {
	background: #f2f5ff;
	border-color: #1e4bae;
}

.tbp-slot-btn.is-selected {
	border-color: #1e4bae;
	background: #1e4bae;
	color: #ffffff;
	font-weight: 800;
}

.tbp-slot-btn.is-disabled {
	cursor: not-allowed;
	opacity: 0.45;
	background: #f2f3f7;
	border-style: dashed;
}

.tbp-repair-form .tbp-repair-actions {
	margin-top: 22px;
}

.tbp-repair-wizard .tbp-repair-next-btn,
.tbp-repair-wizard button.tbp-repair-next-btn[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 168px !important;
	margin-top: 6px !important;
	padding: 14px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #1e4bae !important;
	color: #ffffff !important;
	font-family: Poppins, sans-serif !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.01em !important;
	box-shadow: 0 10px 24px rgba(30, 75, 174, 0.28) !important;
	cursor: pointer !important;
	transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
}

.tbp-repair-wizard .tbp-repair-next-btn:hover,
.tbp-repair-wizard button.tbp-repair-next-btn[type="submit"]:hover {
	background: #173f96 !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 14px 28px rgba(30, 75, 174, 0.34) !important;
}

.tbp-repair-step > p {
	color: #334155;
	line-height: 1.5;
}

@media (max-width: 768px) {
	.tbp-repair-wizard:not(:has(.tbp-step-0)) {
		max-width: 100% !important;
		padding: 20px 16px 24px !important;
		border-radius: 18px;
	}

	.tbp-repair-calendar-layout {
		flex-direction: column;
	}

	.tbp-cal-container,
	.tbp-slots-container {
		max-width: 100%;
	}
}
