/* Fivva header/footer — site-wide (rendered via wp_body_open/wp_footer
   on every page, and directly by front-page.php on the front page), so
   these rules stay self-contained instead of depending on .mf-home.
   Colors are the same tokens as front-page.css, inlined as literals for
   the same reason mobile-tabbar.css inlines them. */

/* .mf-home resets box-sizing on the front page; these render outside it
   on every other page, so the reset is repeated here, scoped narrowly. */
.mf-header,
.mf-header *,
.mf-footer,
.mf-footer * {
	box-sizing: border-box;
}

/* Listeo's own Customizer typography setting outputs a direct rule
   (`body, h1, h2, ..., button, input { font-family: Outfit }`) in
   wp_head, site-wide — a direct declaration beats inheritance
   regardless of specificity, so this header/footer's h3s and buttons
   were silently rendering in Outfit instead of the system font stack
   below. font-family:inherit is itself a specificity-winning
   declaration here (one class beats Listeo's bare-tag selectors). */
.mf-header,
.mf-footer {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mf-header *,
.mf-footer * {
	font-family: inherit;
}

#header-container,
.mobile-navigation-wrapper,
#footer {
	/* Suppresses Listeo's native header/footer in favor of the ones
	   below. Listeo's own sticky-header JS toggles inline display styles
	   on #header-container on scroll, which would otherwise win over a
	   plain (non-!important) rule here regardless of stylesheet order. */
	display: none !important;
}

.mf-icon {
	inline-size: 20px;
	block-size: 20px;
	flex-shrink: 0;
}

.mf-wrap {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 780px) {
	.mf-wrap {
		padding-inline: 48px;
	}
}

/* Header */

.mf-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 60;
	border-block-end: 1px solid #eee;
	background: rgba(255, 255, 255, .93);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	/* position:sticky + backdrop-filter is a known Chrome compositing-bug
	   combo — it can repaint a blank strip under the header on scroll with
	   no actual gap in the DOM (confirmed via measurement: 0 unexplained
	   space). Forcing its own GPU layer avoids the glitch. Only shows up
	   on pages long enough to scroll past the sticky point, which is why
	   the short auth page never triggered it. */
	transform: translateZ(0);
	/* viewport-fit=cover puts the page under the notch / status bar when installed. */
	padding-block-start: env(safe-area-inset-top, 0px);
	padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
}

.mf-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 16px;
	gap: 16px;
}

.mf-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 20px;
	color: #1A2120;
	text-decoration: none;
}

.mf-brand-mark {
	inline-size: 24px;
	block-size: 32px;
	display: inline-block;
	flex-shrink: 0;
}

.mf-nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mf-text-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 48px;
	min-block-size: 48px;
	background: none;
	border: none;
	font: inherit;
	font-weight: 700;
	color: #1A2120;
	cursor: pointer;
	padding: 0;
}

.mf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-block-size: 48px;
	background: #CCFF00;
	color: #1A2120;
	border: none;
	border-radius: 999px;
	padding-block: 12px;
	padding-inline: 24px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.mf-nav-actions .mf-btn {
	background: #050810;
	color: #fff;
}

.mf-nav-actions .mf-btn-pro .mf-icon {
	display: none;
}

/* Matches the mobile tab bar's active-pill treatment exactly
   (.mf-mobile-tabbar a[aria-current="page"] in mobile-tabbar.css: 42px
   tall, 10px/16px padding, 12px/600 text, 22px icon) so "Espace pro" in
   the header and "Explorer" in the tab bar read as the same control. */
@media (max-width: 780px) {
	.mf-nav-actions .mf-btn-pro {
		min-block-size: 42px;
		padding-block: 10px;
		padding-inline: 16px;
		font-size: 12px;
		font-weight: 600;
		gap: 8px;
	}

	.mf-nav-actions .mf-btn-pro .mf-icon {
		display: inline-flex;
		inline-size: 22px;
		block-size: 22px;
		flex-shrink: 0;
	}
}

/* Unified interaction states for every pill CTA, regardless of its own
   background color — a fixed brightness/lift treatment instead of a
   bespoke hover color per button, so "Espace pro" (dark), the wine
   Espace Femmes CTA, and the lime pro CTA all behave identically even
   though they look different. hover:hover keeps touch devices from
   getting stuck in a hover state; reduced-motion drops the lift/scale
   but keeps the color change. */
.mf-btn {
	transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

@media (hover: hover) {
	.mf-btn:hover {
		filter: brightness(0.93);
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
	}
}

.mf-btn:active {
	filter: brightness(0.87);
	transform: translateY(0) scale(0.98);
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	.mf-btn {
		transition: filter .15s ease;
	}

	.mf-btn:hover,
	.mf-btn:active {
		transform: none;
	}
}

/* Plain text/link-style controls — no background to darken, so a simple
   opacity dip signals the same "something will happen" affordance. */
.mf-text-btn,
.mf-footer-columns a,
.mf-footer-social a,
.mf-mobile-menu a,
.mf-mobile-menu button {
	transition: opacity .15s ease;
}

@media (hover: hover) {
	.mf-text-btn:hover,
	.mf-footer-columns a:hover,
	.mf-footer-social a:hover,
	.mf-mobile-menu a:hover,
	.mf-mobile-menu button:hover {
		opacity: .65;
	}
}

/* One focus-visible ring for every button/link style above — lime shows
   up clearly against both light section backgrounds and the dark panels
   some of these buttons sit on. */
.mf-btn:focus-visible,
.mf-text-btn:focus-visible,
.mf-footer-columns a:focus-visible,
.mf-footer-social a:focus-visible,
.mf-mobile-menu a:focus-visible,
.mf-mobile-menu button:focus-visible {
	outline: 2px solid #CCFF00;
	outline-offset: 2px;
	border-radius: 4px;
}

.mf-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: #1A2120;
}

.mf-mobile-menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px 20px;
	border-block-start: 1px solid #dfe4de;
}

.mf-mobile-menu[hidden] {
	display: none;
}

.mf-mobile-menu a,
.mf-mobile-menu button {
	background: none;
	border: none;
	text-align: start;
	font: inherit;
	color: #1A2120;
	text-decoration: none;
	padding-block: 10px;
	cursor: pointer;
}

.mf-logout-btn {
	color: #b3261e !important;
}

@media (max-width: 780px) {
	.mf-nav-actions .mf-text-btn {
		display: none;
	}

	.mf-menu-toggle {
		display: none;
	}
}

/* Footer */

.mf-footer {
	background: #F2F5EB;
	color: #1A2120;
	padding-block: 48px 24px;
}

@media (max-width: 780px) {
	/* Reserves space so the fixed mobile tab bar (mobile-tabbar.css)
	   never covers trailing content — confirmed it was covering this
	   footer's copyright line. calc(83px + safe-area) matches the
	   bar's measured footprint (offset + height) plus breathing room. */
	.mf-footer {
		padding-bottom: calc(24px + 83px + env(safe-area-inset-bottom, 0px));
	}
}

.mf-footer .mf-brand {
	color: #1A2120;
}

.mf-footer-intro p {
	color: #596472;
	max-inline-size: 320px;
}

.mf-footer-install {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-block-start: 28px;
	padding: 16px 20px;
	background: var(--mf-white, #fff);
	border: 1px solid #dfe4de;
	border-radius: 16px;
	/* Never let the label wrap into two lines on narrow screens — the
	   button stays a fixed pill and the text truncates instead. */
	flex-wrap: nowrap;
}

.mf-footer-install-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	inline-size: 40px;
	block-size: 40px;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--mf-sage, #E4EEDA);
	color: #1A2120;
}

.mf-footer-install-icon {
	inline-size: 20px;
	block-size: 20px;
}

.mf-footer-install-text {
	min-inline-size: 0;
	flex: 1 1 auto;
}

.mf-footer-install-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1A2120;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mf-footer-install-subtitle {
	margin: 2px 0 0;
	font-size: 14px;
	color: #596472;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mf-footer-install-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	padding-inline: 20px;
	border: 1px solid #1A2120;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	color: #1A2120;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

@media (hover: hover) {
	.mf-footer-install-btn:hover {
		background: #1A2120;
		color: #fff;
	}
}

.mf-footer-install-btn:focus-visible {
	outline: 2px solid var(--mf-lime, #1A2120);
	outline-offset: 2px;
}

.mf-footer-install-qr {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #596472;
	text-align: center;
}

.mf-footer-install-qr img {
	display: block;
	inline-size: 80px;
	block-size: 80px;
	border-radius: 8px;
}

@media (max-width: 480px) {
	.mf-footer-install {
		padding: 12px 16px;
	}

	.mf-footer-install-subtitle {
		display: none;
	}
}

.mf-pwa-toast {
	position: fixed;
	inset-inline: 16px;
	inset-block-end: 16px;
	z-index: 80;
	margin-inline: auto;
	max-width: 380px;
	background: #1A2120;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	border-radius: 12px;
	padding-block: 14px;
	padding-inline: 18px;
	box-shadow: 0 12px 30px #20273328;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}

.mf-pwa-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mf-footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 24px;
	margin-block-start: 32px;
}

.mf-footer-columns h3 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #1A2120;
	margin: 0 0 12px;
}

.mf-footer-columns a {
	display: block;
	color: #1A2120;
	text-decoration: none;
	font-size: 14px;
	padding-block: 4px;
}

.mf-footer-columns .mf-footer-all {
	margin-block-start: 6px;
	font-weight: 700;
}

.mf-footer-contact {
	display: flex;
	gap: 20px;
	margin-block-start: 32px;
	padding-block-start: 25px;
	border-block-start: 1px solid #dfe4de;
	font-size: 14px;
	color: #596472;
}

.mf-footer-contact span,
.mf-footer-contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.mf-footer-social {
	display: flex;
	gap: 14px;
	margin-block-start: 20px;
}

.mf-footer-social a {
	display: inline-flex;
	color: #596472;
}

.mf-footer-social .mf-icon {
	inline-size: 22px;
	block-size: 22px;
}

/* The other social icons are placeholders (href="#"); WhatsApp is a real,
   working contact channel, so it gets a slight accent instead of the same
   flat muted gray. */
.mf-footer-social a.mf-footer-social-whatsapp {
	color: var(--mf-olive, #657900);
}

.mf-footer-copyright {
	margin-block-start: 24px;
	padding-block-start: 20px;
	border-block-start: 1px solid #dfe4de;
	font-size: 12px;
	color: #596472;
}

/* Certifié badge (single listing page, listeo/single-listing/tags hook —
   see includes/certification.php). Reuses Listeo's own .listing-tag pill
   styling, just adds the icon + accent color since ordinary tags have no
   icon child. Matches (rather than fights) Listeo's own
   "#titlebar.listing-titlebar span.listing-tag" specificity instead of
   reaching for !important. */
#titlebar.listing-titlebar span.listing-tag.mf-certified-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--mf-olive, #657900);
	background: #eef3e2;
}

.mf-certified-tag .mf-icon {
	inline-size: 15px;
	block-size: 15px;
}

/* Short-URL block (single listing page, listeo/single-listing/after-overview
   hook — see includes/short-url.php). Only rendered for Pro/Club listings
   with a slug set. */
.mf-short-url-block {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 10px 0 20px;
	padding: 10px 14px;
	background: #eef3e2;
	border-radius: 10px;
	font-size: 14px;
}

.mf-short-url-block .mf-icon {
	inline-size: 16px;
	block-size: 16px;
	color: var(--mf-olive, #657900);
	flex-shrink: 0;
}

.mf-short-url-block a {
	color: var(--mf-ink, #1A2120);
	font-weight: 600;
	text-decoration: none;
}

.mf-short-url-block a:hover {
	text-decoration: underline;
}

.mf-short-url-block .mf-short-url-qr {
	margin-inline-start: auto;
	font-weight: 500;
	font-size: 13px;
	color: var(--mf-olive, #657900);
}

/* Coupon claim block (single listing page, coupon-redemptions.php). */
.mf-coupon-block {
	margin: 20px 0;
	padding: 18px;
	border: 1px solid #dfe4de;
	border-radius: 12px;
}

.mf-coupon-block h3 {
	margin: 0 0 14px;
	font-size: 17px;
}

.mf-coupon-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid #eee;
}

.mf-coupon-card:first-of-type {
	border-top: none;
}

.mf-coupon-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mf-coupon-info span {
	font-size: 13px;
	color: #596472;
}

.mf-coupon-claim-btn {
	flex-shrink: 0;
	border: 1px solid var(--mf-olive, #657900);
	background: transparent;
	color: var(--mf-olive, #657900);
	font-weight: 600;
	font-size: 13px;
	padding: 8px 14px;
	border-radius: 8px;
	cursor: pointer;
}

.mf-coupon-claim-btn:disabled {
	opacity: .6;
	cursor: default;
}

.mf-coupon-result {
	margin-top: 14px;
}

.mf-coupon-claimed {
	text-align: center;
	padding: 16px;
	background: #f7faf2;
	border-radius: 10px;
}

.mf-coupon-qr {
	inline-size: 160px;
	block-size: 160px;
	margin: 0 auto 10px;
	display: block;
}

.mf-coupon-code {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 2px;
	margin: 0 0 6px;
}

.mf-coupon-hint {
	font-size: 13px;
	color: #596472;
	margin: 0;
}

.mf-coupon-error {
	color: #b3261e;
	font-size: 14px;
}

/* Coupon scanner page (coupon-redemptions.php's [mf_coupon_scanner]). */
.mf-coupon-scanner {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px 0;
}

.mf-coupon-scanner-camera {
	margin: 14px 0;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
}

.mf-coupon-scanner-camera video {
	inline-size: 100%;
	display: block;
}

.mf-coupon-manual-form {
	display: flex;
	gap: 8px;
	margin: 18px 0;
}

.mf-coupon-manual-form input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #dfe4de;
	border-radius: 8px;
	text-transform: uppercase;
}

#mf-coupon-scan-result {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 8px;
	font-weight: 600;
}

#mf-coupon-scan-result.mf-coupon-scan-valid {
	background: #eef3e2;
	color: var(--mf-olive, #657900);
}

#mf-coupon-scan-result.mf-coupon-scan-used,
#mf-coupon-scan-result.mf-coupon-scan-error {
	background: #fbeceb;
	color: #b3261e;
}

/* Dashboard greeting hint (template-dashboard.php override) — shown only
   when the account has no first name on file yet. */
.mf-dashboard-name-hint {
	margin: -6px 0 20px;
	font-size: 14px;
	color: #596472;
}

.mf-dashboard-name-hint a {
	color: var(--mf-olive, #6b7a3f);
	font-weight: 700;
}

/* The breadcrumb, same on every page: Fivva / Page */
.mf-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: #66706d;
}

.mf-crumb a {
	color: inherit;
	text-decoration: none;
}

.mf-crumb a:hover {
	text-decoration: underline;
}
/* Logo: one SVG, F body about 28 px high on mobile, 34 px on desktop, optically aligned on the F body. */
.mf-brand .mf-logo {
	display: block;
	inline-size: auto;
	block-size: 34px;
	transform: translateY(-8%);
}

@media (min-width: 781px) {
	.mf-brand .mf-logo {
		block-size: 41px;
	}
}

/* Footer logo: exactly the header's size (34 px on phones, 41 px on desktop). */
.mf-footer .mf-brand .mf-logo {
	block-size: 34px;
}

@media (min-width: 781px) {
	.mf-footer .mf-brand .mf-logo {
		block-size: 41px;
	}
}

/* Â« Espace pro Â» button: 44 px high, 15 px text, so the logo leads visually. */
.mf-nav-actions .mf-btn-pro {
	min-block-size: 44px;
	padding-block: 0;
	font-size: 15px;
	font-weight: 700;
}

.mf-nav-actions .mf-btn-pro .mf-pro-short {
	display: none;
}

@media (max-width: 359px) {
	.mf-nav-actions .mf-btn-pro .mf-pro-long {
		display: none;
	}

	.mf-nav-actions .mf-btn-pro .mf-pro-short {
		display: inline;
	}
}
/* Footer: logo + slogan share one band with the contact details and social icons, between two separator lines. */
.mf-footer-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-block-start: 32px;
	padding-block: 25px;
	border-block-start: 1px solid #dfe4de;
}
.mf-footer-brand p {
	margin: 8px 0 0;
	color: #596472;
	max-inline-size: 320px;
}
.mf-footer-band .mf-footer-contact {
	margin: 0;
	padding: 0;
	border: 0;
	flex-wrap: wrap;
}
.mf-footer-band .mf-footer-social {
	margin-block-start: 14px;
}
.mf-footer-band + .mf-footer-copyright {
	margin-block-start: 0;
}
@media (min-width: 781px) {
	.mf-footer-reach { text-align: end; }
	.mf-footer-band .mf-footer-contact, .mf-footer-band .mf-footer-social { justify-content: flex-end; }
}
/* The footer menu starts right under the header (no logo block above it any more). */
.mf-footer { padding-block-start: 20px; }
.mf-footer .mf-footer-columns { margin-block-start: 0; }
.mf-footer-install { margin-block-start: 0; margin-block-end: 20px; }

/* ---- 404 page (404.php) ---- */
.mf-404 { padding-block: 90px 48px; color: var(--mf-ink, #1A2120); }
.mf-404-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; max-inline-size: 1040px; }
.mf-404-art { position: relative; display: grid; place-items: center; min-block-size: 340px; overflow: hidden; border-radius: 36px; background: #f6f8ee; }
.mf-404-digits { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; font-size: 128px; font-weight: 800; letter-spacing: -11px; line-height: 1; }
.mf-404-zero { display: grid; place-items: center; inline-size: 109px; block-size: 109px; margin-inline: 7px; border-radius: 50%; background: var(--mf-lime, #CCFF00); letter-spacing: 0; transform: rotate(-12deg); }
.mf-404-zero svg { inline-size: 66px; block-size: 66px; stroke-width: 1.65; }
.mf-404 svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.mf-404-track { position: absolute; inline-size: 260px; block-size: 260px; border: 1px dashed #d3ddbd; border-radius: 50%; transform: rotate(25deg); }
.mf-404-track::before { content: ''; position: absolute; inset: 10px auto auto 60px; inline-size: 13px; block-size: 13px; border-radius: 50%; background: var(--mf-ink, #1A2120); }
.mf-404-note { position: absolute; inset-block-end: 38px; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #7b885c; }
.mf-404-code { display: block; margin-block-end: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #73815f; }
.mf-404 h1 { margin: 0 0 18px; font-size: 43px; font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; }
.mf-404-text p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: #737d76; }
.mf-404-primary { display: flex; align-items: center; justify-content: center; gap: 12px; inline-size: 100%; min-block-size: 54px; padding: 14px 20px; border-radius: 32px; background: var(--mf-lime, #CCFF00); color: var(--mf-ink, #1A2120); font-size: 15px; font-weight: 700; text-decoration: none; }
.mf-404-primary:hover { background: #d3f500; }
.mf-404-primary svg { inline-size: 20px; block-size: 20px; }
.mf-404-back { display: block; min-block-size: 44px; margin: 7px auto 0; padding: 12px 0; border: 0; background: none; color: #607052; font-size: 13px; cursor: pointer; }
.mf-404-back[hidden] { display: none; }
@media (max-width: 700px) {
	.mf-404 { padding-block: 45px 48px; }
	.mf-404-layout { display: flex; flex-direction: column; gap: 30px; align-items: stretch; }
	.mf-404-art { min-block-size: 200px; border-radius: 24px; }
	.mf-404-digits { font-size: 90px; letter-spacing: -7px; }
	.mf-404-zero { inline-size: 76px; block-size: 76px; margin-inline: 5px; }
	.mf-404-zero svg { inline-size: 46px; block-size: 46px; }
	.mf-404-track { inline-size: 190px; block-size: 190px; }
	.mf-404-note { display: none; }
	.mf-404-code { font-size: 10px; margin-block-end: 9px; }
	.mf-404 h1 { font-size: 36px; letter-spacing: -1.1px; margin-block-end: 13px; }
	.mf-404-text p { font-size: 14px; line-height: 1.65; margin-block-end: 21px; }
	.mf-404-primary { min-block-size: 52px; font-size: 14px; }
	.mf-404-back { font-size: 12px; margin-block-start: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
	.mf-404-zero { animation: mf-404-arrive .45s ease-out; }
	@keyframes mf-404-arrive { from { opacity: 0; transform: rotate(-22deg) scale(.85); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
}

/* Espace Femmes tags (single professional page only; listing cards are untouched). Filled pink = « 100% Femmes », outlined pink = « Créneaux Femmes ». */
.mf-fem-tagwrap { position: relative; display: inline-block; vertical-align: middle; }
#titlebar.listing-titlebar button.listing-tag.mf-fem-tag, button.listing-tag.mf-fem-tag { position: relative; display: inline-flex; align-items: center; min-block-size: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #b83a5e; font: inherit; font-weight: 700; cursor: pointer; line-height: 1; }
button.listing-tag.mf-fem-tag::after { content: ""; position: absolute; inset: -6px; }
button.listing-tag.mf-fem-tag.is-full { background: #b83a5e; color: #fff; }
button.listing-tag.mf-fem-tag.is-slots { background: #fff; color: #8f3350; }
.mf-fem-tip { position: absolute; inset-inline-start: 0; inset-block-start: calc(100% + 10px); z-index: 30; inline-size: min(280px, 80vw); padding: 12px 14px; border-radius: 14px; background: #fff; color: #3b2a30; border: 1px solid #f5d9df; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.4; display: grid; gap: 4px; text-align: start; }
.mf-fem-tip[hidden] { display: none; }
/* Basket entry (Boutique): 44px target, small count badge; hidden while the basket is empty. */
.mf-cart-link { position: relative; display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; color: #1A2120; border-radius: 50%; text-decoration: none; }
.mf-cart-link[hidden] { display: none; }
.mf-cart-link:focus-visible { outline: 2px solid #637d12; outline-offset: 2px; }
.mf-cart-count { position: absolute; inset-block-start: 2px; inset-inline-end: 0; min-inline-size: 18px; block-size: 18px; padding-inline: 5px; box-sizing: border-box; border-radius: 9px; background: #1A2120; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
/* Header: logo | cart | Pro / Club. The badge is absolutely positioned and the actions never wrap, so the cart cannot grow the header. */
.mf-nav-actions { flex-wrap: nowrap; gap: 8px; }
.mf-nav-actions .mf-btn-pro { white-space: nowrap; }
.mf-cart-link { flex: none; }
.mf-cart-count { min-inline-size: 16px; block-size: 16px; padding-inline: 4px; font-size: 10px; line-height: 16px; }
@media (max-width: 380px) { .mf-nav-actions .mf-btn-pro { padding-inline: 12px; font-size: 14px; } .mf-nav-actions .mf-btn-pro .mf-pro-long { display: none; } .mf-nav-actions .mf-btn-pro .mf-pro-short { display: inline; } }

/* « Espace pro » for a professional: a visible pill in the header on every screen size (the text buttons are hidden on a phone, which left a pro on the public home with no way into the workspace) */
.mf-nav-actions .mf-btn-space { white-space: nowrap; display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 14px; font-size: 14px; font-weight: 700; background: #fff; color: #1A2120; border: 1.5px solid #14201c; border-radius: 999px; text-decoration: none; }
@media (max-width: 380px) { .mf-nav-actions .mf-btn-space { padding-inline: 10px; font-size: 13px; } }