/* Proxikdo : composants publics (marketplace et mini-sites). */
:root {
	--rdc-coral: #e85d4a;
	--rdc-coral-dark: #c9452f;
	--rdc-navy: #1e293b;
	--rdc-ink: #1e293b;
	--rdc-muted: #5f6b7a;
	--rdc-bg: #faf9f6;
	--rdc-line: #e2e8f0;
	--rdc-radius: 14px;
	--rdc-shadow: 0 6px 20px rgba(30, 41, 59, .08);
}

.rdc-page { background: var(--rdc-bg); color: var(--rdc-ink); padding-bottom: 48px; }
.rdc-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Boutons */
.rdc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--rdc-coral); color: #fff !important; border: 0; border-radius: 999px;
	padding: 10px 22px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
	transition: background .15s;
}
.rdc-btn:hover, .rdc-btn:focus-visible { background: var(--rdc-coral-dark); }
.rdc-btn--block { display: flex; width: 100%; }
.rdc-btn--lg { padding: 14px 30px; font-size: 16px; }

/* Bandeau d'accueil */
.rdc-hero {
	text-align: center; padding: 56px 20px 64px;
	background: linear-gradient(180deg, #fff 0%, var(--rdc-bg) 100%);
}
.rdc-hero__title { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15; color: var(--rdc-navy); margin: 0 0 14px; font-weight: 600; }
.rdc-hero__sub { color: var(--rdc-muted); font-size: 16px; margin: 0 0 28px; }

/* Recherche */
.rdc-search { display: flex; gap: 8px; max-width: 640px; margin: 0 auto 24px; background: #fff; border: 2px solid var(--rdc-line); border-radius: 999px; padding: 6px; }
.rdc-search--hero { border-color: var(--rdc-coral); box-shadow: 0 0 0 5px rgba(255, 107, 91, .15); }
.rdc-search input { flex: 1; border: 0 !important; background: transparent; padding: 10px 16px; font-size: 16px; outline: none; box-shadow: none !important; min-width: 0; }

/* Sections et grille */
.rdc-section { max-width: 1120px; margin: 0 auto; padding: 8px 20px 48px; }
.rdc-section__title { text-align: center; font-size: 26px; color: var(--rdc-navy); margin: 8px 0 24px; }
.rdc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

/* Cartes commerce */
.rdc-card { background: #fff; border-radius: var(--rdc-radius); overflow: hidden; box-shadow: var(--rdc-shadow); display: flex; flex-direction: column; }
.rdc-card__img { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #ffd9d4, #fbe9e6) center / cover no-repeat; }
.rdc-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rdc-card__title { font-size: 18px; margin: 0 0 2px; }
.rdc-card__title a { color: var(--rdc-navy); text-decoration: none; }
.rdc-card__meta { margin: 0; font-size: 14px; color: var(--rdc-muted); }
.rdc-card .rdc-btn { margin-top: auto; }
.rdc-card__body > .rdc-btn { margin-top: 12px; }

/* Petites icônes (sans dépendance externe) */
.rdc-ico-tag::before { content: "🏷️ "; }
.rdc-ico-pin::before { content: "📍 "; }
.rdc-ico-phone::before { content: "📞 "; }
.rdc-ico-clock::before { content: "🕒 "; }
.rdc-ico-check::before { content: "✅ "; }

/* Filtres */
.rdc-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; }
.rdc-chip { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rdc-line); color: var(--rdc-ink); text-decoration: none; font-size: 14px; }
.rdc-chip.is-active { background: var(--rdc-navy); border-color: var(--rdc-navy); color: #fff; }
.rdc-empty { text-align: center; color: var(--rdc-muted); }
.rdc-pagination { text-align: center; margin-top: 24px; }

/* Fiche commerce */
.rdc-banner {
	min-height: 320px; display: flex; align-items: center; justify-content: center;
	background: var(--rdc-navy) center / cover no-repeat; position: relative;
}
.rdc-banner__plaque {
	background: rgba(20, 20, 20, .72); color: #f5d38a; border: 1px solid rgba(245, 211, 138, .5);
	border-radius: 10px; padding: 16px 28px; text-align: center; margin: 20px;
}
.rdc-banner__plaque h1 { color: inherit; margin: 0; font-size: clamp(26px, 4vw, 40px); }
.rdc-banner__plaque p { margin: 6px 0 0; color: #eee; font-size: 15px; }
.rdc-fiche__grid { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }
@media (max-width: 860px) { .rdc-fiche__grid { grid-template-columns: 1fr; } }

.rdc-offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.rdc-offre {
	background: #fff; border: 2px solid #f4b0a8; border-radius: var(--rdc-radius); padding: 22px 16px 18px;
	text-align: center; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s;
}
.rdc-offre.is-selected { border-color: var(--rdc-coral); box-shadow: 0 0 0 4px rgba(255, 107, 91, .15); }
.rdc-offre__prix { font-size: 40px; font-weight: 300; color: #4f6178; line-height: 1.1; }
.rdc-offre--libre .rdc-offre__prix { font-size: 24px; font-weight: 600; }
.rdc-offre__label { font-size: 16px; color: var(--rdc-ink); flex: 1; }
.rdc-qty { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rdc-qty__btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--rdc-line); background: #f1f3f6; font-size: 18px; cursor: pointer; color: var(--rdc-ink); }
.rdc-qty input { width: 52px; text-align: center; border: 1px solid var(--rdc-line); border-radius: 8px; padding: 6px; font-size: 16px; }
.rdc-libre input { width: 110px; text-align: center; border: 1px solid var(--rdc-line); border-radius: 8px; padding: 8px; font-size: 16px; }

.rdc-infos { background: #fff; border-radius: var(--rdc-radius); padding: 6px 18px; box-shadow: var(--rdc-shadow); }
.rdc-infos__item { padding: 14px 0; border-bottom: 1px solid var(--rdc-line); font-size: 15px; line-height: 1.45; }
.rdc-infos__item:last-child { border-bottom: 0; }

.rdc-coord { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
@media (max-width: 700px) { .rdc-coord { grid-template-columns: 1fr; } }
.rdc-coord fieldset { background: #fff; border: 1px solid var(--rdc-line); border-radius: var(--rdc-radius); padding: 16px 18px; margin: 0; display: grid; gap: 10px; }
.rdc-coord legend { font-weight: 600; padding: 0 6px; color: var(--rdc-navy); }
.rdc-coord legend span { font-weight: 400; color: var(--rdc-muted); }
.rdc-coord label { display: grid; gap: 4px; font-size: 14px; color: var(--rdc-muted); }
.rdc-coord input, .rdc-coord textarea { border: 1px solid var(--rdc-line); border-radius: 8px; padding: 9px 10px; font-size: 15px; color: var(--rdc-ink); width: 100%; box-sizing: border-box; }

.rdc-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; background: #fff; border-radius: var(--rdc-radius); padding: 16px 20px; box-shadow: var(--rdc-shadow); font-size: 18px; }
.rdc-total strong { font-size: 24px; color: var(--rdc-navy); }
.rdc-securite { font-size: 13px; color: var(--rdc-muted); text-align: right; margin: 8px 4px 0; }
.rdc-hp { position: absolute; left: -9999px; }

.rdc-description { background: #fff; border-radius: var(--rdc-radius); padding: 20px 24px; margin-top: 28px; box-shadow: var(--rdc-shadow); }
.rdc-description h2 { margin-top: 0; color: var(--rdc-navy); font-size: 22px; }

/* Messages */
.rdc-notice { border-radius: 10px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; }
.rdc-notice--ok { background: #e6f5ea; color: #155d2b; }
.rdc-notice--info { background: #eef3fb; color: #23436e; }
.rdc-notice--error { background: #fdecea; color: #8a1f15; }

/* Horaires en tableau (jour du jour mis en avant) */
.rdc-horaires { border-collapse: collapse; margin-top: 6px; font-size: 14.5px; width: 100%; max-width: 360px; }
.rdc-horaires th, .rdc-horaires td { padding: 3px 0; text-align: left; vertical-align: top; }
.rdc-horaires th { font-weight: 500; width: 92px; color: var(--rdc-muted, #5B6676); }
.rdc-horaires td.is-closed { color: var(--rdc-muted, #8A94A3); }
.rdc-horaires tr.is-today th, .rdc-horaires tr.is-today td { font-weight: 600; color: var(--rdc-ink, #1E293B); }
.rdc-horaires tr.is-today th::after { content: " ·"; color: var(--rdc-coral, #E85D4A); }

/* Réseaux sociaux */
.rdc-ico-share::before { content: "💬 "; }
.rdc-reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rdc-reseaux a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #FFF1EF; color: #C9452F; transition: background .15s, color .15s; }
.rdc-reseaux a:hover, .rdc-reseaux a:focus-visible { background: #E85D4A; color: #fff; }
.rdc-reseaux--footer a { background: rgba(255,255,255,.1); color: #fff; }

/* Achat au nom d'une entreprise */
.rdc-pro { grid-column: 1 / -1; background: #fff; border: 1px solid var(--rdc-line); border-radius: var(--rdc-radius); padding: 14px 18px; }
.rdc-pro summary { cursor: pointer; font-weight: 600; color: var(--rdc-ink); }
.rdc-pro summary span { font-weight: 400; color: var(--rdc-muted, #5B6676); font-size: 14px; }
.rdc-pro__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 14px; }
@media (max-width: 700px) { .rdc-pro__fields { grid-template-columns: 1fr; } }
.rdc-pro__fields .rdc-coord__full, .rdc-pro__check { grid-column: 1 / -1; }
.rdc-pro__check { display: flex !important; gap: 8px; align-items: center; font-weight: 400; }
.rdc-pro__note { margin: 0; font-size: 13px; color: var(--rdc-muted, #5B6676); }
.rdc-pro__check input { width: 18px !important; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--rdc-coral, #E85D4A); }
.rdc-pro__check { justify-content: flex-start; color: var(--rdc-ink) !important; }
.rdc-coord fieldset { align-content: start; }

/* Encart « Carte de fidélité » du mini-site */
.rdc-fid-encart { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; background: #fff; border: 2px dashed var(--rdc-coral, #E85D4A); border-radius: var(--rdc-radius, 16px); padding: 18px 22px; }
.rdc-fid-encart > div { flex: 1 1 280px; }
.rdc-fid-encart strong { font-size: 18px; color: var(--rdc-ink, #1E293B); }
.rdc-fid-encart p { margin: 4px 0 0; color: var(--rdc-muted, #5B6676); }

/* Acheter en confiance (0.16) */
.rdc-confiance { margin: 12px 0 0; border: 1px solid #E2E8F0; border-radius: 10px; background: #F8FAFC; font-size: 14px; }
.rdc-confiance summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--rdc-ink, #1E293B); list-style: none; }
.rdc-confiance summary::-webkit-details-marker { display: none; }
.rdc-confiance summary::before { content: "🔒"; margin-right: 8px; }
.rdc-confiance summary::after { content: "+"; float: right; color: var(--rdc-muted, #5B6676); }
.rdc-confiance[open] summary::after { content: "−"; }
.rdc-confiance__in { padding: 0 14px 12px; color: var(--rdc-muted, #5B6676); line-height: 1.5; }
.rdc-confiance__in p { margin: 0 0 8px; }
.rdc-confiance__in ul { margin: 0 0 8px 18px; padding: 0; }
.rdc-confiance__in li { margin: 0 0 4px; }

/* Réseau (organisation) — 0.20 */
.rdc-banner__reseau { margin: 6px 0 0; font-size: 14px; }
.rdc-banner__reseau a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rdc-org__hero { background: #1E293B center/cover no-repeat; color: #fff; }
.rdc-org__voile { background: linear-gradient(180deg, rgba(15,23,42,.35), rgba(15,23,42,.8)); padding: 72px 0 56px; }
.rdc-org__logo { display: block; max-height: 72px; max-width: 220px; width: auto; margin: 0 0 18px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.rdc-org__hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); margin: 0 0 8px; }
.rdc-org__accroche { font-size: 18px; margin: 0 0 22px; max-width: 640px; opacity: .92; }
.rdc-org__cta { display: inline-block; background: var(--rdc-org, #E85D4A); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 12px; }
.rdc-org__texte { max-width: 760px; margin: 36px 0 0; }
.rdc-org__liste { margin: 36px 0; }
.rdc-org__liste h2 { margin: 0 0 18px; }
.rdc-org .rdc-card__title a:hover { color: var(--rdc-org, #E85D4A); }
.rdc-org__contact { display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: #F8FAFC; border: 1px solid #E2E8F0; border-left: 4px solid var(--rdc-org, #E85D4A); border-radius: 14px; padding: 22px 24px; margin: 0 0 48px; }
.rdc-org__contact h2 { margin: 0 0 6px; font-size: 20px; }
.rdc-org__contact p { margin: 0; color: #64748B; max-width: 560px; }
.rdc-org__contact ul { list-style: none; margin: 0; padding: 0; }
.rdc-org__contact li { display: flex; gap: 10px; align-items: center; margin: 4px 0; }
.rdc-org__contact .rdc-picto { color: var(--rdc-org, #E85D4A); }
.rdc-org__contact a { color: #1E293B; }

/* Accord « actualités et offres » à l'achat (facultatif, jamais coché d'avance) */
.rdc-coord label.rdc-optin, .rdc-optin { grid-column: 1 / -1; display: flex !important; gap: 10px; align-items: flex-start; margin: 0 2px; font-size: 13.5px; line-height: 1.5; color: var(--rdc-muted, #64748B); font-weight: 400; }
.rdc-coord .rdc-optin input, .rdc-optin input { width: 18px !important; padding: 0; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--rdc-coral, #E85D4A); }

/* Cases d'accord avant paiement : CGV (obligatoire) puis offres (facultatif) */
.rdc-accords { display: grid; gap: 12px; margin: 16px 0 4px; padding: 14px 16px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }
.rdc-accords .rdc-optin { margin: 0; }
.rdc-optin--requis { color: var(--rdc-ink, #1E293B) !important; }
.rdc-optin a { color: inherit; text-decoration: underline; }
.rdc-optin em { color: #64748B; font-style: normal; font-size: 12.5px; }

/* =========================================================================
   Carte cadeau (en ligne, comme le bon PDF) — v0.24
   ========================================================================= */
.rdc-cc {
	--rdc-cc-c: #1E293B; --rdc-cc-bg: none;
	position: relative; display: block; aspect-ratio: 1.586; border-radius: 16px; overflow: hidden; color: #fff;
	background: var(--rdc-cc-bg) center / cover no-repeat, linear-gradient(135deg, color-mix(in srgb, var(--rdc-cc-c) 88%, #000), color-mix(in srgb, var(--rdc-cc-c) 70%, #fff));
	background-color: var(--rdc-cc-c);
	box-shadow: 0 10px 24px rgba(15, 23, 42, .22); font-family: inherit; text-align: left; isolation: isolate;
}
.rdc-cc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(30, 41, 59, .08), rgba(15, 23, 42, .45)); }
.rdc-cc--photo::before { background: linear-gradient(160deg, rgba(30, 41, 59, .25), rgba(30, 41, 59, .78)); }
.rdc-cc__noeud { position: absolute; top: -6px; right: -10px; width: 36%; max-width: 160px; height: auto; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.rdc-cc__bande { position: absolute; top: 7%; left: 0; background: var(--rdc-coral); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 5px 13px 5px 15px; border-radius: 0 6px 6px 0; }
.rdc-cc__logo { position: absolute; left: 5%; top: 24%; width: 15%; aspect-ratio: 1; max-width: 56px; background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rdc-cc__logo img { width: 82%; height: 82%; object-fit: contain; }
.rdc-cc__pk { position: absolute; right: 5%; bottom: 31%; font-size: 10px; opacity: .78; letter-spacing: .02em; }
.rdc-cc__nom { position: absolute; left: 5%; bottom: 8%; max-width: 58%; font-weight: 600; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.rdc-cc__nom small { display: block; font-weight: 400; font-size: 12px; opacity: .85; margin-top: 3px; }
.rdc-cc__nom small:empty { display: none; }
.rdc-cc__mt { position: absolute; right: 5%; bottom: 6%; font-weight: 700; font-size: clamp(26px, 9cqw, 40px); letter-spacing: -.02em; white-space: nowrap; }
.rdc-cc { container-type: inline-size; }
.rdc-cc--sm { border-radius: 13px; box-shadow: 0 6px 16px rgba(15, 23, 42, .2); }
.rdc-cc--sm .rdc-cc__bande { font-size: 9px; padding: 4px 9px 4px 11px; }
.rdc-cc--sm .rdc-cc__logo { border-radius: 7px; }
.rdc-cc--sm .rdc-cc__pk { display: none; }
.rdc-cc--sm .rdc-cc__nom { font-size: 12.5px; bottom: 9%; }
.rdc-cc--sm .rdc-cc__nom small { font-size: 10.5px; }
.rdc-cc--sm .rdc-cc__mt { font-size: clamp(20px, 13cqw, 30px); }
.rdc-cc--libre { background: #fff; color: var(--rdc-ink); border: 1.5px dashed #CBD5E1; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; cursor: text; }
.rdc-cc--libre::before { display: none; }
.rdc-cc--libre small { color: var(--rdc-muted); font-size: 11.5px; }
.rdc-cc--libre .rdc-libre { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.rdc-cc--libre .rdc-libre input { width: 92px; font-size: 20px; font-weight: 700; text-align: center; padding: 4px; }

/* =========================================================================
   Parcours d'achat en 4 étapes
   ========================================================================= */
.rdc-tunnel { max-width: 640px; margin: 0 auto; }
.rdc-tunnel h2 { font-weight: 600; font-size: 22px; margin: 0 0 4px; color: var(--rdc-navy); outline: none; }
.rdc-etape__sub { color: var(--rdc-muted); font-size: 14px; margin: 0 0 16px; line-height: 1.45; }
.rdc-progression { display: none; gap: 6px; margin: 0 0 6px; }
.rdc-progression i { flex: 1; height: 4px; border-radius: 4px; background: var(--rdc-line); transition: background .2s; }
.rdc-progression i.on { background: var(--rdc-coral); }
.rdc-etape-n { display: none; font-size: 12.5px; color: var(--rdc-muted); margin: 0 0 4px; }
.rdc-tunnel.is-etapes .rdc-progression { display: flex; }
.rdc-tunnel.is-etapes .rdc-etape-n { display: block; }
.rdc-etape { margin: 0 0 28px; }
.rdc-tunnel.is-etapes .rdc-etape { margin: 0; animation: rdc-entree .25s ease; }
.rdc-etape[hidden] { display: none !important; }
@keyframes rdc-entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.rdc-tunnel .rdc-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 720px) { .rdc-tunnel .rdc-offres { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rdc-tunnel { max-width: 760px; } }
.rdc-tunnel .rdc-offre { background: none; border: 0; padding: 0; gap: 8px; text-align: left; }
.rdc-tunnel .rdc-offre .rdc-cc { transition: transform .15s; outline: 3px solid transparent; outline-offset: 3px; }
.rdc-tunnel .rdc-offre.is-selected { box-shadow: none; }
.rdc-tunnel .rdc-offre.is-selected .rdc-cc { outline-color: var(--rdc-coral); transform: translateY(-2px); }
.rdc-tunnel .rdc-qty { justify-content: space-between; background: #fff; border: 1px solid var(--rdc-line); border-radius: 10px; padding: 4px; }
.rdc-tunnel .rdc-offre.is-selected .rdc-qty { border-color: var(--rdc-coral); }
.rdc-tunnel .rdc-qty__btn { width: 32px; height: 32px; border: 0; background: #F1F5F9; }
.rdc-tunnel .rdc-qty input { border: 0; width: 44px; padding: 4px; font-weight: 600; -moz-appearance: textfield; }
.rdc-tunnel .rdc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.rdc-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rdc-line); }
.rdc-barre__total { font-size: 13px; color: var(--rdc-muted); }
.rdc-barre__total strong { display: block; font-size: 22px; color: var(--rdc-navy); }
.rdc-tunnel.is-etapes .rdc-etape[data-etape="1"] .rdc-barre { position: sticky; bottom: 0; background: var(--rdc-bg, #FAF9F6); padding-bottom: 12px; z-index: 2; }
.rdc-lien { background: none; border: 0; padding: 4px 0; color: #475569; font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rdc-tunnel:not(.is-etapes) .rdc-barre .rdc-btn, .rdc-tunnel:not(.is-etapes) .rdc-lien[data-rdc-retour] { display: none; }

.rdc-erreur { display: flex; gap: 10px; align-items: flex-start; background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0 0 14px; line-height: 1.45; }
.rdc-erreur svg { flex: 0 0 18px; margin-top: 1px; }
.rdc-erreur[hidden] { display: none; }

.rdc-apercu { margin: 0 0 14px; }
.rdc-apercu .rdc-cc { max-width: 420px; }
.rdc-styles { display: flex; align-items: center; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.rdc-styles legend { float: left; font-size: 13px; color: var(--rdc-muted); margin-right: 4px; padding: 0; }
.rdc-styles label { position: relative; cursor: pointer; }
.rdc-styles input { position: absolute; opacity: 0; }
.rdc-styles i { display: block; width: 30px; height: 30px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid #fff; box-shadow: 0 0 0 1px #CBD5E1; }
.rdc-styles input:checked + i { box-shadow: 0 0 0 2.5px var(--rdc-coral); }
.rdc-styles input:focus-visible + i { outline: 2px solid var(--rdc-navy); outline-offset: 3px; }

.rdc-seg { display: flex; background: #F1F5F9; border-radius: 10px; padding: 3px; gap: 3px; margin: 0 0 14px; }
.rdc-seg label { flex: 1; cursor: pointer; }
.rdc-seg input { position: absolute; opacity: 0; }
.rdc-seg span { display: block; text-align: center; font-size: 14px; padding: 9px; border-radius: 8px; color: var(--rdc-muted); }
.rdc-seg input:checked + span { background: #fff; color: var(--rdc-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.rdc-seg input:focus-visible + span { outline: 2px solid var(--rdc-navy); }

.rdc-champs { display: grid; gap: 12px; }
.rdc-champs[hidden] { display: none; }
.rdc-champs--2 { grid-template-columns: 1fr 1fr; gap: 10px; }
.rdc-champs--cp { grid-template-columns: 120px 1fr; gap: 10px; }
@media (max-width: 380px) { .rdc-champs--2 { grid-template-columns: 1fr; } }
.rdc-tunnel label { display: block; font-size: 13px; font-weight: 500; color: #334155; }
.rdc-tunnel label > input:not([type="checkbox"]):not([type="radio"]):not([type="number"]), .rdc-tunnel label > select, .rdc-tunnel label > textarea { display: block; margin-top: 5px; }
.rdc-tunnel input[type="text"], .rdc-tunnel input[type="email"], .rdc-tunnel input[type="tel"], .rdc-tunnel input[type="date"], .rdc-tunnel select, .rdc-tunnel textarea {
	width: 100%; box-sizing: border-box; background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--rdc-ink); font-weight: 400;
}
.rdc-tunnel input:focus, .rdc-tunnel select:focus, .rdc-tunnel textarea:focus { outline: none; border-color: var(--rdc-navy); box-shadow: 0 0 0 3px rgba(30, 41, 59, .12); }
.rdc-tunnel .is-invalide { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
.rdc-facultatif { color: #94A3B8; font-weight: 400; }
.rdc-tunnel .rdc-pro { margin-top: 14px; font-size: 14px; }
.rdc-tunnel .rdc-pro summary { cursor: pointer; color: #475569; }
.rdc-tunnel .rdc-pro summary span { color: #94A3B8; }
.rdc-tunnel .rdc-pro__fields { display: grid; gap: 10px; margin-top: 12px; }
.rdc-tunnel .rdc-pro__check { display: flex !important; gap: 8px; align-items: center; font-weight: 400; }

.rdc-recap { background: #fff; border: 1px solid var(--rdc-line); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 12px 0 14px; }
.rdc-recap__l { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--rdc-line); }
.rdc-recap__info { color: var(--rdc-muted); }
.rdc-recap__total { border-bottom: 0; font-weight: 700; font-size: 16px; color: var(--rdc-navy); }
.rdc-recap__qui { font-size: 13px; color: var(--rdc-muted); margin-top: 6px; line-height: 1.5; }
.rdc-recap .rdc-lien { font-size: 13px; }
.rdc-tunnel .rdc-conditions ul { margin: 6px 0 0 18px; padding: 0; }

/* Cases d'accord : CGV encadrée de rouge (verte une fois cochée), offres facultative */
.rdc-tunnel .rdc-accords { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; background: none; border: 0; }
.rdc-tunnel .rdc-optin { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; font-weight: 400; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--rdc-line); color: #475569; margin: 0; cursor: pointer; }
.rdc-tunnel .rdc-optin input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--rdc-coral); }
.rdc-tunnel .rdc-optin--requis { border: 2px solid #DC2626; color: var(--rdc-ink); }
.rdc-tunnel .rdc-optin--requis em { font-style: normal; color: #DC2626; font-weight: 600; font-size: 12px; }
.rdc-tunnel .rdc-optin--requis.is-ok { border-color: #16A34A; }
.rdc-tunnel .rdc-optin--requis.is-ok input { accent-color: #16A34A; }
.rdc-tunnel .rdc-optin--requis.is-ok em { color: #16A34A; }
.rdc-optin.is-secoue { animation: rdc-secoue .45s; }
@keyframes rdc-secoue { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.rdc-tunnel .rdc-btn--lg { border-radius: 12px; padding: 14px 22px; }
.rdc-tunnel [data-rdc-payer][disabled] { opacity: .55; cursor: not-allowed; }
.rdc-tunnel .rdc-securite { text-align: center; display: flex; gap: 6px; justify-content: center; align-items: center; }

/* Page « Merci » */
.rdc-merci { max-width: 520px; margin: 0 auto; text-align: center; padding: 18px 0 8px; }
.rdc-merci__ok { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.rdc-merci h2 { font-size: clamp(28px, 6vw, 36px); font-weight: 600; color: var(--rdc-navy); margin: 0 0 8px; }
.rdc-merci__sub { color: var(--rdc-muted); font-size: 15.5px; line-height: 1.5; margin: 0 0 6px; }
.rdc-merci__carte { margin: 22px 10px 22px; transform: rotate(-2deg); }
.rdc-merci__attente { color: var(--rdc-muted); font-size: 14px; }
.rdc-merci__box { background: #fff; border: 1px solid var(--rdc-line); border-radius: 14px; padding: 16px; text-align: left; margin-top: 14px; }
.rdc-merci__box h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: var(--rdc-navy); }
.rdc-merci__box p { color: var(--rdc-muted); font-size: 14px; margin: 0 0 12px; }
.rdc-btn--ghost { background: #fff !important; color: var(--rdc-ink) !important; border: 1px solid #CBD5E1; border-radius: 12px; }
.rdc-btn--ghost:hover { background: #F8FAFC !important; }
.rdc-merci .rdc-btn--lg { border-radius: 12px; }
.rdc-tunnel .rdc-btn, .rdc-merci .rdc-btn { gap: .4em; box-sizing: border-box; }

/* =========================================================================
   Onglets du mini-site : réseaux sociaux, QR code, fidélité (v0.25)
   ========================================================================= */
.rdc-pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto 24px; max-width: 1100px; }
.rdc-reseau__ico { display: inline-block; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.rdc-reseau { width: 42px; height: 42px; border-radius: 50%; background: var(--rdc-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; transition: transform .15s, background .15s; padding: 0; text-decoration: none; }
.rdc-reseau:hover, .rdc-reseau:focus-visible { transform: translateY(-2px); background: #334155; }
.rdc-reseau:focus-visible { outline: 2px solid var(--rdc-coral); outline-offset: 3px; }
.rdc-reseau--qr { background: var(--rdc-coral); }
.rdc-reseau--qr:hover { background: var(--rdc-coral-dark); }
.rdc-qr { border: 0; border-radius: 18px; padding: 26px 24px 22px; text-align: center; max-width: 320px; box-shadow: 0 20px 50px rgba(15, 23, 42, .3); }
.rdc-qr::backdrop { background: rgba(15, 23, 42, .55); }
.rdc-qr svg { display: block; margin: 8px auto; width: 220px; height: 220px; }
.rdc-qr__titre { font-weight: 600; color: var(--rdc-navy); margin: 0 0 4px; padding: 0 30px; }
.rdc-qr__fermer:focus { outline: none; } .rdc-qr__fermer:focus-visible { outline: 2px solid var(--rdc-navy); border-radius: 8px; }
.rdc-qr__url { font-size: 13px; color: var(--rdc-muted); margin: 4px 0 14px; word-break: break-all; }
.rdc-qr__fermer { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--rdc-muted); cursor: pointer; }
.rdc-qr .rdc-btn { display: inline-flex; border-radius: 12px; }

.rdc-fid-onglet { max-width: 560px; margin: 0 auto; }
.rdc-fid-carte { background: var(--rdc-navy); color: #fff; border-radius: 16px; padding: 18px; aspect-ratio: 1.586; display: flex; flex-direction: column; justify-content: space-between; max-width: 420px; margin: 0 0 20px; box-shadow: 0 10px 24px rgba(15, 23, 42, .2); }
.rdc-fid-carte__haut { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .06em; opacity: .85; }
.rdc-fid-carte__tampons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 300px; }
.rdc-fid-carte__tampons i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .45); }
.rdc-fid-carte__tampons i.on { background: var(--rdc-coral); border: 0; }
.rdc-fid-carte__bas { font-size: 13px; opacity: .9; }
.rdc-fid-form { max-width: none; }
.rdc-fid-mention { font-size: 12.5px; color: var(--rdc-muted); margin: 10px 0 0; text-align: center; }

/* Montant libre : une vraie carte, montant à saisir à la place du prix */
.rdc-cc__mt--saisie { display: flex; align-items: baseline; gap: 2px; }
.rdc-cc__mt--saisie input { width: 2.6em; background: rgba(255, 255, 255, .14); border: 0; border-bottom: 2px dashed rgba(255, 255, 255, .8); border-radius: 6px 6px 0 0; color: #fff; font: inherit; text-align: right; padding: 0 4px; -moz-appearance: textfield; }
.rdc-cc__mt--saisie input::-webkit-inner-spin-button, .rdc-cc__mt--saisie input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rdc-cc__mt--saisie input::placeholder { color: rgba(255, 255, 255, .75); }
.rdc-cc__mt--saisie input:focus { outline: none; background: rgba(255, 255, 255, .25); border-bottom-style: solid; }
.rdc-cc__mt--saisie input.is-invalide { border-bottom-color: #FCA5A5 !important; box-shadow: none !important; }
.rdc-libre__aide { margin: 0; font-size: 12.5px; color: var(--rdc-muted); text-align: center; padding: 9px 0; border: 1px dashed var(--rdc-line); border-radius: 10px; background: #fff; }
.rdc-tunnel .rdc-offre--libre.is-selected .rdc-libre__aide { border-color: var(--rdc-coral); border-style: solid; }
.rdc-offre--libre .rdc-cc { cursor: text; }
.rdc-tunnel .rdc-offre.rdc-offre--libre.is-selected .rdc-cc { outline-color: var(--rdc-coral); }
.rdc-offre--libre .rdc-cc__nom { max-width: 48%; }
.rdc-cc--sm .rdc-cc__mt--saisie input { width: 2.2em; }

/* Carte du réseau (page publique d'une organisation) */
.rdc-org__carte { margin: 32px 0 8px; }
.rdc-org__plan { height: 380px; border-radius: 16px; overflow: hidden; border: 1px solid #E2E8F0; z-index: 0; }
.rdc-org__pin span { display: block; width: 22px; height: 22px; margin: 3px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(15,23,42,.35); }
.rdc-org__carte .leaflet-popup-content { font: 14px/1.45 Inter, system-ui, sans-serif; margin: 12px 14px; }
.rdc-org__carte .leaflet-popup-content a { color: var(--rdc-org, #E85D4A); font-weight: 600; }
.rdc-org__pop-cat { color: #64748B; font-size: 13px; }
@media (max-width: 640px) { .rdc-org__plan { height: 300px; } }
