/* AfroKounssi — réservation, carte des soins, contact. */
.afk-booking, .afk-menu, .afk-contact {
	--k-bx: var(--afk-bordeaux, #711213);
	--k-bx-deep: var(--afk-bordeaux-deep, #4d0b0c);
	--k-green: var(--afk-green, #2dcf42);
	--k-yellow: var(--afk-yellow, #efd109);
	--k-pink: var(--afk-pink, #e01f5a);
	--k-ink: var(--afk-ink, #2b1010);
	--k-muted: var(--afk-muted, #7a5a58);
	--k-line: var(--afk-line, #ecdcd9);
	--k-tint: var(--afk-tint, #fbf1ef);
	--k-paper: var(--afk-paper, #ffffff);
	--k-radius: 18px;
	color: var(--k-ink);
}

.afk-booking [hidden] { display: none !important; }

/* ---------- Étapes ---------- */
.afk-booking { max-width: 760px; margin: 0 auto; }
.afk-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: none; }
.afk-steps__item { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--k-tint); color: var(--k-muted); font-weight: 600; font-size: .95rem; }
.afk-steps__item.is-active { background: var(--k-bx); color: #fff; }
.afk-steps__item.is-done { color: var(--k-bx); }
.afk-steps__mark { display: inline-block; flex: none; }
.afk-steps__mark--green, .afk-steps__mark--yellow { width: 14px; height: 14px; border-radius: 50% 50% 0 50%; }
.afk-steps__mark--green { background: var(--k-green); }
.afk-steps__mark--yellow { background: var(--k-yellow); transform: scaleY(-1); }
.afk-steps__mark--pill { width: 20px; height: 9px; border-radius: 999px; background: var(--k-bx); }
.afk-steps__item.is-active .afk-steps__mark--pill { background: #fff; }

.afk-step__title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 18px; line-height: 1.2; outline: none; }
.afk-done .afk-step__title::after { content: ""; display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: var(--k-pink); }

/* ---------- Choix de prestation ---------- */
.afk-choices { border: 0; margin: 0 0 22px; padding: 0; }
.afk-choices legend { font-weight: 700; color: var(--k-bx); margin-bottom: 10px; font-size: 1.05rem; }
.afk-choice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--k-line); border-radius: var(--k-radius); margin-bottom: 8px; cursor: pointer; background: var(--k-paper); transition: border-color .15s, background-color .15s; }
.afk-choice:hover { border-color: var(--k-bx); }
.afk-choice input { accent-color: var(--k-bx); width: 20px; height: 20px; flex: none; margin: 0; }
.afk-choice:has(input:checked) { border-color: var(--k-bx); background: var(--k-tint); }
.afk-choice:has(input:focus-visible) { outline: 3px solid var(--k-pink); outline-offset: 2px; }
.afk-choice__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.afk-choice__title { font-weight: 650; }
.afk-choice__meta { color: var(--k-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.afk-choice__price { font-weight: 700; color: var(--k-bx); white-space: nowrap; }

/* ---------- Jours ---------- */
.afk-recap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; background: var(--k-tint); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; color: var(--k-muted); }
.afk-recap strong { color: var(--k-ink); }
.afk-days { display: flex; align-items: stretch; gap: 8px; margin-bottom: 18px; }
.afk-days__list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; flex: 1; scrollbar-width: thin; }
.afk-days__nav { flex: none; width: 40px; border: 1.5px solid var(--k-line); background: var(--k-paper); border-radius: 12px; font-size: 1.4rem; color: var(--k-bx); cursor: pointer; }
.afk-days__nav:disabled { opacity: .35; cursor: default; }
.afk-day { flex: none; scroll-snap-align: start; width: 74px; padding: 10px 4px; border: 1.5px solid var(--k-line); background: var(--k-paper); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; font: inherit; color: var(--k-ink); }
.afk-day__wd, .afk-day__m { font-size: .78rem; color: var(--k-muted); text-transform: capitalize; }
.afk-day__n { font-size: 1.45rem; font-weight: 750; line-height: 1.1; }
.afk-day__st { font-size: .72rem; margin-top: 4px; color: var(--k-bx); font-weight: 600; }
.afk-day:hover:not(:disabled) { border-color: var(--k-bx); }
.afk-day.is-selected { background: var(--k-bx); border-color: var(--k-bx); color: #fff; }
.afk-day.is-selected span { color: #fff; }
.afk-day.is-off { opacity: .45; cursor: not-allowed; background: transparent; }
.afk-slots__label { font-weight: 600; margin: 0 0 10px; }
.afk-slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.afk-slot { padding: 11px 6px; border: 1.5px solid var(--k-line); border-radius: 999px; background: var(--k-paper); font: inherit; font-weight: 650; cursor: pointer; color: var(--k-ink); }
.afk-slot:hover { border-color: var(--k-bx); }
.afk-slot.is-selected { background: var(--k-bx); border-color: var(--k-bx); color: #fff; }
.afk-loading, .afk-muted { color: var(--k-muted); margin: 8px 0; }

/* ---------- Champs ---------- */
.afk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.afk-field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; }
.afk-field--wide, .afk-field--place { grid-column: 1 / -1; }
.afk-field label, .afk-field legend { font-weight: 600; font-size: .95rem; }
.afk-field--place { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
.afk-field--place legend { width: 100%; margin-bottom: 6px; }
.afk-field--place label { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.afk-field--place input { accent-color: var(--k-bx); width: 18px; height: 18px; }
.afk-field input:not([type=radio]), .afk-field select, .afk-field textarea {
	font: inherit; width: 100%; min-height: 50px; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--k-line); border-radius: 12px; background: var(--k-paper); color: var(--k-ink);
}
.afk-field input:focus, .afk-field select:focus, .afk-field textarea:focus { outline: none; border-color: var(--k-bx); box-shadow: 0 0 0 3px rgba(113, 18, 19, .15); }
.afk-field.has-error input, .afk-field.has-error textarea { border-color: #b3261e; }
.afk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.afk-error { color: #b3261e; font-size: .9rem; margin: 4px 0 0; font-weight: 500; }
.afk-error--global { background: #fdecea; padding: 12px 14px; border-radius: 12px; }
.afk-small { font-size: .88rem; color: var(--k-muted); margin-top: 14px; }
.afk-note { background: var(--k-tint); padding: 16px 18px; border-radius: 14px; }

/* ---------- Boutons ---------- */
.afk-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-top: 22px; }
.afk-actions .afk-btn:only-child { margin-left: auto; }
.afk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s; }
.afk-booking .afk-btn--primary { background: var(--k-bx); color: #fff; }
.afk-booking .afk-btn--primary:hover { background: var(--k-bx-deep); color: #fff; }
.afk-booking .afk-btn--primary:disabled { opacity: .6; cursor: progress; }
.afk-booking .afk-btn--ghost { background: transparent; color: var(--k-bx); border-color: var(--k-line); }
.afk-booking .afk-btn--ghost:hover { border-color: var(--k-bx); }
.afk-booking .afk-btn--wa { background: #1f9d55; color: #fff; }
.afk-booking .afk-btn--wa:hover { background: #167a42; color: #fff; }
.afk-btn:focus-visible, .afk-slot:focus-visible, .afk-day:focus-visible, .afk-days__nav:focus-visible { outline: 3px solid var(--k-pink); outline-offset: 2px; }

/* ---------- Confirmation ---------- */
.afk-done { text-align: left; padding: 28px; border-radius: 24px; background: var(--k-tint); outline: none; }
.afk-done__mark { display: block; width: 44px; height: 44px; border-radius: 50% 50% 0 50%; background: var(--k-green); margin-bottom: 14px; }
.afk-done .afk-recap { background: var(--k-paper); }
.afk-booking__alt { text-align: center; }
.afk-booking__alt a { color: var(--k-bx); font-weight: 650; }

/* ---------- Carte des soins ---------- */
.afk-menu { list-style: none; margin: 0; padding: 0; }
.afk-menu__item { padding: 22px 0; border-bottom: 1px solid var(--k-line); }
.afk-menu__item:first-child { border-top: 1px solid var(--k-line); }
.afk-menu__head { display: flex; align-items: baseline; gap: 12px; }
.afk-menu__title { margin: 0; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.25; }
.afk-menu__leader { flex: 1; border-bottom: 2px dotted var(--k-line); transform: translateY(-5px); min-width: 20px; }
.afk-menu__price { font-weight: 750; color: var(--k-bx); white-space: nowrap; font-size: 1.05rem; }
.afk-menu__desc { margin: 6px 0 0; color: var(--k-muted); max-width: 62ch; }
.afk-menu__meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .9rem; color: var(--k-muted); }
.afk-menu__meta > span:first-child { font-weight: 650; color: var(--k-ink); }
.afk-menu__cta { margin-left: auto; font-weight: 700; color: var(--k-bx); text-decoration: none; padding: 8px 18px; border: 1.5px solid var(--k-bx); border-radius: 999px; }
.afk-menu__cta:hover { background: var(--k-bx); color: #fff; }
.afk-menu__note { margin: 18px 0 0; font-size: .92rem; color: var(--k-muted); padding-left: 14px; border-left: 3px solid var(--k-yellow); }
.afk-transport { margin: 0 0 6px; padding-left: 12px; border-left: 3px solid var(--k-yellow); }

/* ---------- Contact & horaires ---------- */
.afk-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.afk-contact__list { margin: 0; display: grid; gap: 18px; }
.afk-contact__list dt { font-weight: 700; color: var(--k-bx); font-size: .9rem; }
.afk-contact__list dd { margin: 2px 0 0; font-size: 1.05rem; }
.afk-contact__list a { color: inherit; }
.afk-contact__hours h3 { margin-top: 0; }
.afk-hours { width: 100%; border-collapse: collapse; }
.afk-hours th, .afk-hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--k-line); font-weight: 500; }
.afk-hours td { text-align: right; }
.afk-hours tr.is-today th, .afk-hours tr.is-today td { color: var(--k-bx); font-weight: 750; }

@media (max-width: 640px) {
	.afk-fields, .afk-contact { grid-template-columns: 1fr; }
	.afk-steps__item { font-size: .85rem; padding: 8px 12px 8px 10px; }
	.afk-days__nav { display: none; }
	.afk-choice { flex-wrap: wrap; }
	.afk-choice__price { margin-left: 34px; }
	.afk-menu__cta { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.afk-choice, .afk-btn { transition: none; }
}

/* ---------- Boutique : disponibilité ---------- */
.afk-avail { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 650; line-height: 1.3; margin: 2px 0 8px; color: var(--afk-ink, #2b1010); }
.afk-avail::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50% 50% 0 50%; background: var(--afk-green, #2dcf42); }
.afk-avail--pre::before { background: var(--afk-yellow, #efd109); transform: scaleY(-1); }
.afk-avail--out { color: var(--afk-muted, #7a5a58); }
.afk-avail--out::before { background: #c9b8b6; }
.afk-stockbox { margin: 20px 0 4px; padding: 16px 18px; border-radius: 14px; background: #eefbf0; border-left: 4px solid var(--afk-green, #2dcf42); }
.afk-stockbox p { margin: 0 0 6px; font-size: .95rem; }
.afk-stockbox p:last-child { margin-bottom: 0; }
.afk-stockbox__title { font-weight: 750; font-size: 1.02rem !important; }
.afk-stockbox__more { color: var(--afk-muted, #7a5a58); font-size: .88rem !important; }
.afk-stockbox--preorder { background: #fdf8dc; border-left-color: var(--afk-yellow, #efd109); }
.afk-stockbox--out { background: #f4eeed; border-left-color: #c9b8b6; }
