/* Promo detail sheet: bottom sheet on mobile, centred modal on desktop. */
html.mfps-lock {
	overflow: hidden;
}

.mfps {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #202733;
}

.mfps[hidden] {
	display: none;
}

.mfps-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 26, 36, .5);
	opacity: 0;
	transition: opacity .18s ease;
}

.mfps.is-open .mfps-backdrop {
	opacity: 1;
}

.mfps-sheet {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	display: flex;
	flex-direction: column;
	max-block-size: 88dvh;
	background: #fff;
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
	transform: translateY(100%);
	transition: transform .22s ease;
	outline: none;
}

.mfps.is-open .mfps-sheet {
	transform: none;
}

.mfps-handle {
	flex: none;
	inline-size: 40px;
	block-size: 4px;
	margin: 10px auto 0;
	border-radius: 4px;
	background: #d6dbd3;
}

.mfps-x {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-end: 12px;
	inline-size: 40px;
	block-size: 40px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #f2f4ef;
	color: #202733;
	cursor: pointer;
}

.mfps-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 22px 20px 12px;
	-webkit-overflow-scrolling: touch;
}

.mfps-footer {
	flex: none;
	display: grid;
	gap: 10px;
	padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid #eef0ea;
	background: #fff;
}

.mfps-footer[hidden] {
	display: none;
}

.mfps h2 {
	margin: 0 44px 8px 0;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -.4px;
}

.mfps h3 {
	margin: 20px 0 8px;
	font-size: 15px;
}

.mfps p {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.5;
	color: #4b5560;
}

.mfps-pro {
	display: grid;
	gap: 2px;
	margin-block-end: 14px;
}

.mfps-pro strong {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
}

.mfps-pro span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #66706d;
}

.mfps-pro a {
	justify-self: start;
	margin-block-start: 4px;
	font-size: 14px;
	font-weight: 700;
	color: #202733;
}

.mfps-value {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #eef4e2;
}

.mfps-value b {
	font-size: 28px;
	letter-spacing: -.6px;
	color: #3d5a14;
}

.mfps-value span {
	font-size: 15px;
	color: #3d5a14;
}

.mfps-note {
	margin: 10px 0 0;
}

.mfps-note del {
	color: #8a928e;
}

.mfps-note strong {
	color: #202733;
}

.mfps-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-block-start: 12px;
}

.mfps-tag {
	padding: 5px 10px;
	border-radius: 999px;
	background: #f2f4ef;
	font-size: 12px;
	font-weight: 700;
}

.mfps-tag-time {
	background: #fde9e7;
	color: #b3261e;
}

.mfps-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.mfps-steps li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.mfps-steps svg,
.mfps-ok svg {
	flex: none;
	color: #3d5a14;
}

.mfps-cond,
.mfps-small {
	font-size: 13px !important;
	color: #66706d !important;
}

.mfps-cta {
	min-block-size: 52px;
	border: 0;
	border-radius: 999px;
	background: #202733;
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.mfps-cta:disabled {
	opacity: .7;
	cursor: progress;
}

.mfps-cta.is-busy::before {
	content: "";
	display: inline-block;
	inline-size: 15px;
	block-size: 15px;
	margin-inline-end: 9px;
	border: 2px solid rgba(128, 128, 128, .35);
	border-top-color: currentColor; /* contrasts with whatever the button colour is (lime consumer CTA included) */
	border-radius: 50%;
	vertical-align: -2px;
	animation: mfps-spin .8s linear infinite;
}

@keyframes mfps-spin {
	to {
		transform: rotate(360deg);
	}
}

.mfps-foot {
	margin: 0 !important;
	text-align: center;
	font-size: 13px !important;
	color: #66706d !important;
}

.mfps-link {
	border: 0;
	background: none;
	padding: 6px;
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	color: #202733;
	text-align: center;
	text-decoration: underline;
	cursor: pointer;
}

.mfps-err {
	margin: 0 !important;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fde9e7;
	color: #b3261e !important;
	font-size: 14px !important;
}

.mfps-label {
	display: block;
	margin: 14px 0 6px;
	font-size: 13px;
	font-weight: 700;
}

.mfps-input {
	inline-size: 100%;
	min-block-size: 52px;
	padding: 0 14px;
	border: 1px solid #d9dfd3;
	border-radius: 14px;
	font: inherit;
	font-size: 16px;
	background: #fff;
	color: #202733;
}

.mfps-x::after {
	content: "";
	position: absolute;
	inset: -2px; /* 44x44 touch target, the visible 40px circle is unchanged */
}

/* Listeo's `input[type="email"]` (15px) outranks `.mfps-input`; below 16px iOS zooms the page when the field is focused. */
.mfps-input.mfps-input {
	font-size: 16px;
}

.mfps-input:focus {
	outline: 0;
	border-color: #7e9c3f;
	box-shadow: 0 0 0 3px #f1f8d6;
}

.mfps-code {
	letter-spacing: 8px;
	text-align: center;
}

.mfps-ok {
	display: grid;
	place-items: center;
	inline-size: 52px;
	block-size: 52px;
	margin-block-end: 12px;
	border-radius: 50%;
	background: #e5ff37;
}

.mfps-ok svg {
	inline-size: 26px;
	block-size: 26px;
	color: #202733;
}

.mfps-sub {
	margin-block-end: 14px !important;
}

/* Comment ça marche ? — compact, three automated steps. */
.mfps-how { margin-block-start: 14px; }
.mfps-how h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #202733; }
.mfps-how ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mfps-how li { display: flex; align-items: flex-start; gap: 10px; }
.mfps-how b { flex: none; display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; background: #eef3e8; color: #3f5e1a; font-size: 12px; }
.mfps-how span { display: grid; gap: 1px; min-inline-size: 0; }
.mfps-how strong { font-size: 14px; font-weight: 600; line-height: 1.3; color: #202733; }
.mfps-how small { font-size: 13px; line-height: 1.35; color: #626c66; }

/* Success title: one inline green ✓ circle before the words (no standalone icon, no second ✓). */
.mfps-done-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.mfps-tick {
	display: inline-grid;
	place-items: center;
	flex: none;
	inline-size: 34px;
	block-size: 34px;
	border-radius: 50%;
	background: #2e9e4f;
	color: #fff;
}

.mfps-tick svg {
	inline-size: 18px;
	block-size: 18px;
}

.mfps-code[aria-label] {
	margin: 4px 0 14px;
	padding: 16px;
	border: 2px dashed #b9cb6c;
	border-radius: 16px;
	background: #f6f8f0;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 5px;
	text-align: center;
	color: #202733;
}

.mfps-qr {
	display: block;
	margin: 0 auto 12px;
	border-radius: 12px;
}

.mfps-actions {
	display: grid;
	gap: 10px;
}

.mfps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-block-size: 52px;
	border: 1px solid #202733;
	border-radius: 999px;
	background: #fff;
	color: #202733;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}

.mfps-btn-primary {
	background: #202733;
	color: #fff;
}

@media (min-width: 768px) {
	.mfps-sheet {
		inset-block-end: auto;
		inset-block-start: 50%;
		inset-inline: 0;
		inline-size: min(460px, calc(100vw - 32px));
		margin-inline: auto;
		max-block-size: min(88vh, 720px);
		border-radius: 22px;
		transform: translateY(-46%);
		opacity: 0;
		transition: transform .2s ease, opacity .2s ease;
	}

	.mfps.is-open .mfps-sheet {
		transform: translateY(-50%);
		opacity: 1;
	}

	.mfps-handle {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mfps-sheet,
	.mfps-backdrop {
		transition: none;
	}
}

/* Cards that open the sheet */
[data-mf-promo] {
	cursor: pointer;
}

.mfps-chev {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Refinement: benefit block as the hero, compact rhythm */
.mfps-body { padding: 18px 20px 8px; }
.mfps h2 { font-size: 20px; margin-bottom: 6px; }
.mfps h3 { margin: 14px 0 6px; font-size: 14px; }
.mfps-pro { margin-block-end: 10px; }
.mfps-value { display: grid; gap: 6px; padding: 12px 14px; }
.mfps-value-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.mfps-value .mfps-note { font-size: 15px; color: #3d5a14; }
.mfps-value .mfps-note del { color: #6f8a47; }
.mfps-value .mfps-note strong { color: #202733; font-size: 17px; }
.mfps-value .mfps-tags { margin: 2px 0 0; }
.mfps-tag { background: rgba(255, 255, 255, .75); }
.mfps-steps { gap: 6px; }
.mfps-steps li { font-size: 14px; }
.mfps-pay { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 !important; color: #202733 !important; font-size: 14px !important; }
.mfps-pay svg { flex: none; color: #3d5a14; }
.mfps-more { margin-top: 10px; font-size: 14px; }
.mfps-more summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.mfps-more p { margin: 4px 0 0; font-size: 14px; }
.mfps-footer { gap: 6px; padding-top: 10px; }
.mfps-cta { min-block-size: 50px; }
.mfps-tag-elig{background:#fff;border:1px solid #c9de8f;color:#3d5a14}
.mfps-tag:not(.mfps-tag-time):not(.mfps-tag-elig){color:#4b5560}

/* ---- Review in the sheet ---- */
.mfrv-stars { display: flex; justify-content: center; gap: 6px; margin: 14px 0 6px; }
.mfrv-star { inline-size: 52px; block-size: 52px; padding: 6px; border: 0; background: transparent; cursor: pointer; }
.mfrv-stars.is-small { margin: 8px 0 2px; gap: 2px; }
.mfrv-stars.is-small .mfrv-star { inline-size: 44px; block-size: 44px; }
.mfrv-word { text-align: center; font-weight: 700; min-block-size: 22px; margin: 0 0 8px; }
.mfrv-text { min-block-size: 110px; resize: vertical; }
.mfrv-photo { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.mfrv-photo-btn, .mfrv-more { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 14px; border: 1px solid #d5dae1; border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mfrv-more { border: 0; padding: 0; background: transparent; color: #4b5563; }
.mfrv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mfrv-row .mfrv-stars { margin: 0; justify-content: flex-end; }
.mfrv-row .mfrv-stars.is-small .mfrv-star { inline-size: 36px; block-size: 36px; }
/* Detailed ratings: a soft, obviously tappable row (never a second primary action). */
.mfrv-more { display: flex; align-items: center; gap: 12px; inline-size: 100%; min-block-size: 56px; margin: 10px 0; padding: 8px 14px; border: 1px solid #cfe08a; border-radius: 14px; background: #f6f9e6; color: #3f5e1a; text-align: start; font: inherit; cursor: pointer; }
.mfrv-more-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mfrv-more-txt strong { font-size: 15px; color: #202733; }
.mfrv-more-txt small { font-size: 13px; color: #5b6472; }
.mfrv-more-sign { font-size: 24px; line-height: 1; }

/* ---- Booking in the sheet ---- */
.mfbk-list { display: grid; gap: 8px; margin: 12px 0; }
.mfbk-opt { display: flex; align-items: center; gap: 10px; min-block-size: 52px; padding: 10px 14px; border: 1px solid #d5dae1; border-radius: 14px; cursor: pointer; }
.mfbk-opt:has(input:checked) { border-color: #7c9500; background: #f6f9e6; }
.mfbk-opt-name { flex: 1; font-weight: 600; }
.mfbk-opt-price { font-weight: 700; }
.mfbk-mode { display: inline-block; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; background: #eef3e6; color: #3c4a1d; font-size: 12px; font-weight: 650; white-space: nowrap; }
.mfbk-modeline { color: #3c4a1d; font-weight: 650; }
.mfbk-format { border: 0; margin: 0 0 12px; padding: 0; min-inline-size: 0; display: grid; gap: 8px; }
.mfbk-format legend { font-weight: 700; margin-block-end: 8px; padding: 0; }
.mfbk-svc { margin: 4px 0 10px; font-weight: 600; }
.mfbk-change { margin-inline-start: 6px; }
.mfbk-days { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 10px; scrollbar-width: none; }
.mfbk-day, .mfbk-slot { flex: 0 0 auto; min-block-size: 44px; padding: 0 16px; border: 1px solid #d5dae1; border-radius: 999px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mfbk-day.is-on, .mfbk-slot.is-on { background: #202733; border-color: #202733; color: #fff; }
.mfbk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; min-block-size: 56px; }
.mfbk-slots .mfps-small { grid-column: 1 / -1; }
.mfbk-card { display: grid; gap: 4px; margin: 12px 0; padding: 14px 16px; border: 1px solid #e5e8ec; border-radius: 14px; background: #fff; }
.mfbk-pay { color: #3f5e1a; font-weight: 600; }
/* Booking result + details */
.mfbk-status { display: inline-flex; align-items: center; justify-content: center; min-block-size: 36px; padding: 0 16px; margin: 4px auto 8px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: default; user-select: none; }
.mfbk-status.is-pending { background: #fff4e0; color: #8a5a00; }
.mfbk-status.is-confirmed { background: #e4f2b8; color: #3f5e1a; }
.mfbk-promo { color: #3f5e1a; font-weight: 600; }
.mfbk-pay del, .mfbk-opt-price del { color: #8b94a3; font-weight: 500; margin-inline-end: 4px; }
.mfcb-badge { display: inline-flex; align-items: center; min-block-size: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #eef0f3; color: #202733; }
.mfcb-pending { background: #fff4e0; color: #8a5a00; }
.mfcb-confirmed { background: #e4f2b8; color: #3f5e1a; }
.mfcb-refused, .mfcb-cancelled { background: #fde8e8; color: #9b1c1c; }
.mfcb-done { background: #eef0f3; color: #4b5563; }
.mfcb-service { margin: 0 0 10px; font-weight: 600; }
.mfcb-list { display: grid; gap: 0; margin: 8px 0; }
.mfcb-pay { display: grid; gap: 6px; margin: 12px 0; padding: 12px 14px; border: 1px solid #e3e8e0; border-radius: 14px; background: #f7f9f5; }
.mfcb-pay p { margin: 0; }
#mfcb-iban { overflow-wrap: anywhere; letter-spacing: .02em; }
.mfcb-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-block-end: 1px solid #eef0f3; }
.mfcb-row > span { color: #6b7380; }
.mfcb-row > div { text-align: end; }
.mfcb-row del { color: #8b94a3; margin-inline-end: 4px; }
.mfcb-cancel { color: #9b1c1c; }


/* Promo flag: shown on the profile card only (listing-profile.css); hidden wherever else this ticket renders. */
.mf-promo-flag { display: none; }
#mf-listing-promos .mf-promo-flag { display: inline-flex; }