/* ==========================================================================
   Fribourg360 Annuaire — composants
   Les couleurs et la typographie sont pilotées par des variables CSS
   (le thème Fribourg360 les redéfinit depuis l'outil de personnalisation).
   ========================================================================== */

:root {
	--f360-accent: #eb4826;
	--f360-accent-strong: #d13d20;
	--f360-accent-soft: #fdede9;
	--f360-blue: #3d8fe8;
	--f360-blue-strong: #2a74c9;
	--f360-text: #1f2328;
	--f360-muted: #5f6670;
	--f360-border: #e5e7ea;
	--f360-bg: #ffffff;
	--f360-bg-alt: #f6f6f7;
	--f360-success: #1a7f37;
	--f360-danger: #b42318;
	--f360-radius-sm: 6px;
	--f360-radius: 10px;
	--f360-radius-lg: 16px;
	--f360-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--f360-shadow: 0 8px 24px rgba(16, 24, 40, .10);
	--f360-shadow-lg: 0 18px 40px rgba(16, 24, 40, .16);
	--f360-container: 1180px;
	--f360-focus: 0 0 0 3px #fff, 0 0 0 5px var(--f360-accent-strong);
}

.f360-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

.f360-container { max-width: var(--f360-container); margin: 0 auto; padding: 0 20px; }
.f360-muted { color: var(--f360-muted); }
.f360-hp { position: absolute; left: -9999px; }

/* ---------- Boutons ---------- */
.f360-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .65em 1.35em;
	border: 2px solid var(--f360-accent-strong); border-radius: 999px;
	background: var(--f360-accent-strong); color: #fff !important;
	font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none !important; cursor: pointer;
	transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.f360-btn:hover { background: #b8341a; border-color: #b8341a; box-shadow: 0 6px 16px rgba(209, 61, 32, .28); }
.f360-btn:active { transform: translateY(1px); }
.f360-btn--ghost { background: #fff; color: var(--f360-text) !important; border-color: var(--f360-border); }
.f360-btn--ghost:hover { background: var(--f360-bg-alt); border-color: #cfd3d8; box-shadow: none; }
.f360-btn--sm { min-height: 36px; padding: .4em 1em; font-size: .85rem; }
.f360-btn--lg { min-height: 52px; padding: .8em 1.8em; font-size: 1rem; }
.f360-btn--block { display: flex; width: 100%; }
.f360-btn[hidden] { display: none; }
.f360-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: var(--f360-radius-sm);
	border: 1px solid var(--f360-border); background: #fff; color: var(--f360-muted); cursor: pointer;
	transition: all .15s;
}
.f360-icon-btn:hover { color: var(--f360-text); border-color: #cfd3d8; }
.f360-icon-btn.is-active { color: var(--f360-accent-strong); border-color: var(--f360-accent); background: var(--f360-accent-soft); }
.f360-link-btn {
	display: inline-flex; align-items: center; gap: .35em;
	background: none; border: 0; padding: .3em 0; color: var(--f360-accent-strong);
	font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.f360-link-btn--danger { color: var(--f360-danger); }
.f360-link { color: var(--f360-accent-strong); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.f360-link:hover { text-decoration: underline; text-underline-offset: 3px; }

:where(.f360-btn, .f360-icon-btn, .f360-link-btn, .f360-chip, .f360-card__link, .f360-tag, .f360-tabs a, .f360-input, .f360-carousel__track, .f360-gallery__item):focus-visible {
	outline: none; box-shadow: var(--f360-focus);
}

/* ---------- Badges, pastilles ---------- */
.f360-verified { display: inline-flex; color: #fff; }
.f360-verified .f360-icon { width: 1.05em; height: 1.05em; fill: var(--f360-blue); stroke: #fff; }
.f360-verified--lg .f360-icon { width: .85em; height: .85em; }
.f360-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--f360-accent-strong); color: #fff; font-size: .75rem; font-weight: 700; }
.f360-badge[hidden] { display: none; }
.f360-pill { display: inline-flex; align-items: center; gap: .3em; padding: .2em .7em; border-radius: 999px; font-size: .78rem; font-weight: 600; vertical-align: middle; }
.f360-pill--ok { background: #e7f6ec; color: var(--f360-success); }
.f360-pill--wait { background: #fff4e5; color: #8a4b00; }
.f360-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: .45em; flex: none; }
.f360-status { display: inline-flex; align-items: center; font-weight: 600; font-size: .9rem; margin: 0; }
.f360-status.is-open { color: var(--f360-success); }
.f360-status.is-closed { color: var(--f360-danger); }

.f360-stars { display: inline-flex; gap: 1px; color: #d0d4d9; font-size: .95rem; line-height: 1; letter-spacing: 0; }
.f360-stars.is-lg { font-size: 1.25rem; }
.f360-star.is-full { color: #f5a623; }
.f360-star.is-half { background: linear-gradient(90deg, #f5a623 50%, #d0d4d9 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Recherche ---------- */
.f360-search { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; }
.f360-search__form {
	position: relative; display: flex; align-items: center; gap: 8px;
	background: #fff; border-radius: var(--f360-radius); padding: 8px 8px 8px 16px;
	box-shadow: var(--f360-shadow); border: 1px solid var(--f360-border);
}
.f360-search__icon { color: var(--f360-muted); display: flex; }
.f360-search__input {
	flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
	font: inherit; font-size: 1rem; color: var(--f360-text); padding: 10px 4px !important; outline: none; border-radius: 6px;
	-webkit-appearance: none; appearance: none;
}
.f360-search__input::-webkit-search-cancel-button { display: none; }
.f360-search__input::placeholder { color: #80868e; }
.f360-search__clear { border: 0; background: var(--f360-bg-alt); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--f360-muted); }
.f360-search__clear[hidden] { display: none; }
.f360-search__submit { flex: none; border-radius: var(--f360-radius-sm); }
.f360-search__panel {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1200;
	background: #fff; border-radius: var(--f360-radius); box-shadow: var(--f360-shadow-lg);
	border: 1px solid var(--f360-border); max-height: min(70vh, 560px); overflow: auto; padding: 8px;
	text-align: left;
}
.f360-search__panel[hidden] { display: none; }
.f360-suggest__group { padding: 6px 0; }
.f360-suggest__group + .f360-suggest__group { border-top: 1px solid var(--f360-border); }
.f360-suggest__title { margin: 4px 10px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--f360-muted); }
.f360-suggest__item {
	display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px;
	color: var(--f360-text); text-decoration: none; cursor: pointer;
}
.f360-suggest__item:hover, .f360-suggest__item[aria-selected="true"] { background: var(--f360-accent-soft); }
.f360-suggest__thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--f360-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--f360-accent-strong); }
.f360-suggest__thumb--icon { background: var(--f360-accent-soft); }
.f360-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.f360-suggest__text strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f360-suggest__text strong mark { background: none; color: var(--f360-accent-strong); }
.f360-suggest__text span { font-size: .85rem; color: var(--f360-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f360-suggest__count { margin-left: auto; font-size: .8rem; color: var(--f360-muted); flex: none; }
.f360-suggest__all { display: flex; justify-content: center; padding: 10px; font-weight: 600; color: var(--f360-accent-strong); text-decoration: none; border-radius: 8px; }
.f360-suggest__all:hover, .f360-suggest__all[aria-selected="true"] { background: var(--f360-accent-soft); }
.f360-suggest__empty { padding: 14px; color: var(--f360-muted); margin: 0; }

/* ---------- Annuaire ---------- */
.f360-directory { position: relative; }
.f360-directory__map-wrap { position: relative; }
.f360-directory__map { height: clamp(320px, 46vh, 480px); }
.f360-directory__inner { max-width: var(--f360-container); margin: 0 auto; padding: 0 20px 48px; position: relative; }
.f360-directory__searchbar { position: relative; z-index: 500; margin-top: -32px; }
.f360-directory:not(:has(.f360-directory__map-wrap)) .f360-directory__searchbar { margin-top: 24px; }
.f360-directory__header { margin: 32px 0 8px; }
.f360-directory__title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 600; }
.f360-directory__desc { color: var(--f360-muted); margin: 8px 0 0; max-width: 70ch; }
.f360-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--f360-muted); margin-bottom: 8px; }
.f360-breadcrumb a { color: var(--f360-muted); text-decoration: none; }
.f360-breadcrumb a:hover { color: var(--f360-accent-strong); text-decoration: underline; }

.f360-map { background: #e8eef1; z-index: 1; }
.f360-map.leaflet-container { font: inherit; }

.f360-chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 2px 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.f360-chip {
	display: inline-flex; align-items: center; gap: .45em; white-space: nowrap;
	padding: .5em 1em; border-radius: 999px; border: 1px solid var(--f360-border); background: #fff;
	color: var(--f360-text); text-decoration: none; font-size: .9rem; font-weight: 500; transition: all .15s;
}
.f360-chip .f360-icon { color: var(--f360-accent-strong); }
.f360-chip:hover { border-color: var(--f360-accent); color: var(--f360-text); }
.f360-chip.is-active { background: var(--f360-text); border-color: var(--f360-text); color: #fff; }
.f360-chip.is-active .f360-icon { color: #fff; }
.f360-chip__count { font-size: .75rem; color: var(--f360-muted); background: var(--f360-bg-alt); border-radius: 999px; padding: 0 .55em; margin-left: .1em; }
.f360-chip.is-active .f360-chip__count { background: rgba(255,255,255,.18); color: #fff; }

.f360-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.f360-toolbar__left, .f360-toolbar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.f360-toolbar__count { margin: 0; color: var(--f360-muted); font-size: .92rem; }
.f360-layout-toggle { display: inline-flex; gap: 6px; }
.f360-select select, .f360-input {
	font: inherit; font-size: .95rem; color: var(--f360-text);
	border: 1px solid var(--f360-border); border-radius: var(--f360-radius-sm); background-color: #fff;
	padding: .6em .8em; min-height: 44px; max-width: 100%;
}
.f360-select select { padding-right: 2em; cursor: pointer; }
.f360-input { width: 100%; box-sizing: border-box; }
.f360-input:focus, .f360-select select:focus { border-color: var(--f360-accent); outline: none; box-shadow: 0 0 0 3px rgba(235, 72, 38, .18); }
textarea.f360-input { min-height: 120px; resize: vertical; line-height: 1.5; }
.f360-input--time { width: auto; min-width: 7.2em; }

.f360-toggle { display: inline-flex; align-items: center; gap: .55em; cursor: pointer; font-size: .92rem; font-weight: 500; user-select: none; position: relative; }
.f360-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f360-toggle__ui { width: 40px; height: 24px; border-radius: 999px; background: #c9ced4; position: relative; transition: background .2s; flex: none; }
.f360-toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.f360-toggle input:checked + .f360-toggle__ui { background: var(--f360-success); }
.f360-toggle input:checked + .f360-toggle__ui::after { transform: translateX(16px); }
.f360-toggle input:focus-visible + .f360-toggle__ui { box-shadow: var(--f360-focus); }
.f360-toggle--sm .f360-toggle__ui { width: 34px; height: 20px; }
.f360-toggle--sm .f360-toggle__ui::after { width: 14px; height: 14px; }
.f360-toggle--sm input:checked + .f360-toggle__ui::after { transform: translateX(14px); }

.f360-filters { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 20px 28px; padding: 20px; margin-bottom: 20px; background: var(--f360-bg-alt); border-radius: var(--f360-radius); }
.f360-filters[hidden] { display: none; }
.f360-filters__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.f360-filters__title { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.f360-filters__features { display: flex; flex-wrap: wrap; gap: 8px; }
.f360-filters__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; }
.f360-check-chip { position: relative; display: inline-flex; cursor: pointer; }
.f360-check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f360-check-chip span { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border: 1px solid var(--f360-border); border-radius: 999px; background: #fff; font-size: .88rem; transition: all .15s; }
.f360-check-chip span .f360-icon { color: var(--f360-muted); }
.f360-check-chip input:checked + span { border-color: var(--f360-accent-strong); background: var(--f360-accent-soft); color: #8f2a14; font-weight: 600; }
.f360-check-chip input:checked + span .f360-icon { color: var(--f360-accent-strong); }
.f360-check-chip input:focus-visible + span { box-shadow: var(--f360-focus); }

/* ---------- Cartes ---------- */
.f360-results { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); transition: opacity .2s; }
.f360-results[aria-busy="true"] { opacity: .45; pointer-events: none; }
.f360-card { position: relative; min-width: 0; }
.f360-card__link { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: var(--f360-radius); }
.f360-card__media { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--f360-radius); overflow: hidden; background: #2b2f36; }
.f360-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.f360-card__link:hover .f360-card__media img { transform: scale(1.05); }
.f360-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); background: linear-gradient(135deg, #f26a4b, #c8351a); }
.f360-card__placeholder .f360-icon { width: 30%; height: 30%; max-width: 72px; max-height: 72px; stroke-width: 1.4; transform: translateY(-38%); opacity: .9; }
.f360-card__rating {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: .25em; padding: .2em .65em;
	border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.7);
	color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px);
}
.f360-card__rating span { color: #ffc24b; }
.f360-results.is-grid .f360-card__body, .f360-carousel .f360-card__body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 48px 16px 14px; color: #fff; border-radius: 0 0 var(--f360-radius) var(--f360-radius);
	background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,0) 100%);
}
.f360-card__cat { display: inline-block; font-size: .72rem; font-weight: 600; padding: .15em .7em; border: 1px solid currentColor; border-radius: 999px; margin-bottom: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-card__title { display: flex; align-items: center; gap: .35em; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: inherit; }
.f360-card__title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-card__address { margin: 3px 0 0; font-size: .8rem; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-card__status { display: flex; align-items: center; margin: 4px 0 0; font-size: .78rem; font-weight: 600; }
.f360-results.is-grid .f360-card__status.is-open, .f360-carousel .f360-card__status.is-open { color: #7ee2a0; }
.f360-results.is-grid .f360-card__status.is-closed, .f360-carousel .f360-card__status.is-closed { color: #ffb4a8; }
.f360-card.is-highlight .f360-card__media { box-shadow: 0 0 0 3px var(--f360-accent); }

/* Vue liste */
.f360-results.is-list { grid-template-columns: 1fr; gap: 14px; }
.f360-results.is-list .f360-card__link { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--f360-border); padding: 10px; transition: box-shadow .2s, border-color .2s; }
.f360-results.is-list .f360-card__link:hover { box-shadow: var(--f360-shadow); border-color: transparent; }
.f360-results.is-list .f360-card__media { border-radius: var(--f360-radius-sm); }
.f360-results.is-list .f360-card__body { color: var(--f360-text); padding: 4px 8px 4px 0; }
.f360-results.is-list .f360-card__cat { color: var(--f360-accent-strong); border-color: #f4b9aa; background: var(--f360-accent-soft); }
.f360-results.is-list .f360-card__title { font-size: 1.15rem; }
.f360-results.is-list .f360-card__address { font-size: .9rem; color: var(--f360-muted); white-space: normal; }
.f360-results.is-list .f360-card__status { font-size: .85rem; }
.f360-results.is-list .f360-card__status.is-open { color: var(--f360-success); }
.f360-results.is-list .f360-card__status.is-closed { color: var(--f360-danger); }

/* Couleurs des visuels par défaut, par grande catégorie */
[data-top="bars-cafes"] .f360-card__placeholder { background: linear-gradient(135deg, #6d4bd8, #3b2a8f); }
[data-top="restauration"] .f360-card__placeholder { background: linear-gradient(135deg, #f26a4b, #c8351a); }
[data-top="culture-loisirs"] .f360-card__placeholder { background: linear-gradient(135deg, #e0518d, #9c2a5c); }
[data-top="achats"] .f360-card__placeholder { background: linear-gradient(135deg, #2f9e8f, #1b6158); }
[data-top="bien-etre"] .f360-card__placeholder { background: linear-gradient(135deg, #5fae5a, #2f6e34); }
[data-top="beaute"] .f360-card__placeholder { background: linear-gradient(135deg, #d4719b, #8e3e64); }
[data-top="entretien-mobilite"] .f360-card__placeholder { background: linear-gradient(135deg, #4c6a8a, #263a52); }
[data-top="formations"] .f360-card__placeholder { background: linear-gradient(135deg, #f0a12b, #b26a00); }
[data-top="demarches"] .f360-card__placeholder { background: linear-gradient(135deg, #3d8fe8, #1f5aa6); }
[data-top="independants"] .f360-card__placeholder { background: linear-gradient(135deg, #3a3f47, #15181c); }

.f360-empty { text-align: center; padding: 48px 20px; color: var(--f360-muted); }
.f360-empty[hidden] { display: none; }
.f360-empty .f360-icon { width: 40px; height: 40px; color: #b9bec5; }
.f360-empty p { margin: 6px 0; }
.f360-more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Marqueurs et popups ---------- */
.f360-marker { background: none; border: 0; }
.f360-pin {
	position: relative; width: 38px; height: 38px; border-radius: 50% 50% 50% 0;
	background: var(--f360-accent); border: 2.5px solid #fff; transform: rotate(-45deg);
	box-shadow: 0 4px 10px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center;
	transition: transform .18s ease, background .18s;
}
.f360-pin svg { transform: rotate(45deg); width: 18px; height: 18px; color: #fff; stroke-width: 2.2; }
.f360-marker:hover .f360-pin, .f360-marker.is-active .f360-pin { transform: rotate(-45deg) scale(1.18); background: var(--f360-text); z-index: 1000; }
.f360-marker.is-active { z-index: 1000 !important; }
.f360-cluster { background: none; }
.f360-cluster div {
	width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--f360-accent); color: #fff; font-weight: 700; font-size: .9rem;
	box-shadow: 0 0 0 6px rgba(235, 72, 38, .25), 0 4px 10px rgba(0,0,0,.25); border: 2px solid #fff;
}
.f360-cluster.is-lg div { width: 54px; height: 54px; font-size: 1rem; }
.leaflet-popup.f360-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--f360-shadow-lg); }
.leaflet-popup.f360-popup .leaflet-popup-content { margin: 0; width: 260px !important; font: inherit; }
.leaflet-popup.f360-popup a.leaflet-popup-close-button { color: #fff; background: rgba(0,0,0,.45); border-radius: 50%; width: 26px; height: 26px; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.f360-pop__img { display: block; height: 130px; background: #2b2f36 center / cover no-repeat; }
.f360-pop__body { padding: 12px 14px 14px; }
.f360-pop__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--f360-accent-strong); margin: 0 0 4px; }
.f360-pop__title { font-size: 1rem; font-weight: 600; margin: 0 0 4px; display: flex; gap: .3em; align-items: center; line-height: 1.3; }
.leaflet-container .f360-pop__title a { color: var(--f360-text); text-decoration: none; }
.leaflet-container .f360-pop__actions a.f360-btn { color: #fff; }
.leaflet-container .f360-pop__actions a.f360-btn--ghost { color: var(--f360-text); }
.f360-directory__map .leaflet-bottom { bottom: 36px; }
.f360-pop__title .f360-icon { fill: var(--f360-blue); stroke: #fff; width: 1em; height: 1em; }
.f360-pop__addr { margin: 0 0 10px !important; color: var(--f360-muted); font-size: .85rem; }
.f360-pop__actions { display: flex; gap: 8px; }
.f360-pop__actions .f360-btn { flex: 1; min-height: 36px; padding: .4em .8em; font-size: .82rem; }
.f360-map-ctrl { display: flex; flex-direction: column; gap: 6px; }
.f360-map-ctrl button {
	width: 40px; height: 40px; border-radius: 10px; border: 0; background: #fff; color: var(--f360-text);
	box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.f360-map-ctrl button:hover { color: var(--f360-accent-strong); }
.f360-map-ctrl button:focus-visible { outline: none; box-shadow: var(--f360-focus); }
.f360-map-area {
	position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 600;
	background: #fff; border: 0; border-radius: 999px; padding: .55em 1.1em; font: inherit; font-weight: 600; font-size: .88rem;
	box-shadow: 0 4px 14px rgba(0,0,0,.18); cursor: pointer; display: inline-flex; gap: .4em; align-items: center; color: var(--f360-text);
}
.f360-map-area[hidden] { display: none; }
.leaflet-control-zoom a { border-radius: 10px !important; width: 40px !important; height: 40px !important; line-height: 40px !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 2px 8px rgba(0,0,0,.18) !important; border-radius: 10px !important; }
.f360-map.is-fullscreen { position: fixed !important; inset: 0; z-index: 100000; height: 100vh !important; border-radius: 0 !important; }

/* ---------- Carrousel ---------- */
.f360-section { padding: 56px 0; }
.f360-section--alt { background: var(--f360-bg-alt); }
.f360-section__title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 600; margin: 0 0 32px; position: relative; padding-bottom: 14px; }
.f360-section__title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--f360-accent); transform: translateX(-50%); }
.f360-section__more { text-align: center; margin: 28px 0 0; }
.f360-carousel { position: relative; }
.f360-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; border-radius: var(--f360-radius); }
.f360-carousel__track::-webkit-scrollbar { display: none; }
.f360-carousel__track > * { scroll-snap-align: start; }
.f360-carousel__nav {
	position: absolute; top: calc(50% - 26px); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: #fff; color: var(--f360-text); box-shadow: var(--f360-shadow); cursor: pointer;
	display: flex; align-items: center; justify-content: center; transition: opacity .2s, transform .15s;
}
.f360-carousel__nav:hover { transform: scale(1.06); color: var(--f360-accent-strong); }
.f360-carousel__nav--prev { left: -18px; }
.f360-carousel__nav--next { right: -18px; }
.f360-carousel__nav[disabled] { opacity: 0; pointer-events: none; }

.f360-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.f360-tile a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; text-align: center; background: #fff; border: 1px solid var(--f360-border); border-radius: var(--f360-radius); text-decoration: none; color: var(--f360-text); transition: all .2s; height: 100%; box-sizing: border-box; }
.f360-tile a:hover { border-color: transparent; box-shadow: var(--f360-shadow); transform: translateY(-3px); }
.f360-tile a:focus-visible { outline: none; box-shadow: var(--f360-focus); }
.f360-tile__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--f360-accent-soft); color: var(--f360-accent-strong); }
.f360-tile__icon .f360-icon { width: 26px; height: 26px; }
.f360-tile__name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.f360-tile__count { font-size: .8rem; color: var(--f360-muted); }

/* ---------- Fiche ---------- */
.f360-single { padding: 32px 0 64px; }
.f360-single__header { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-bottom: 24px; }
.f360-single__logo { width: 84px; height: 84px; border-radius: 12px; border: 1px solid var(--f360-border); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--f360-accent-strong); }
.f360-single__logo img { width: 100%; height: 100%; object-fit: cover; }
.f360-single__logo .f360-icon { width: 36px; height: 36px; stroke-width: 1.6; }
.f360-tags { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.f360-tag { display: inline-block; padding: .2em .75em; border: 1px solid var(--f360-accent); border-radius: 6px; font-size: .78rem; font-weight: 500; color: #a8301a; text-decoration: none; transition: all .15s; }
.f360-tag:hover { background: var(--f360-accent-strong); border-color: var(--f360-accent-strong); color: #fff; }
.f360-tag--muted { border-color: var(--f360-border); color: var(--f360-muted); }
.f360-single__title { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 600; line-height: 1.2; display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
.f360-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 8px 0 0; color: var(--f360-muted); font-size: .92rem; }
.f360-single__meta > span { display: inline-flex; align-items: center; gap: .35em; }
.f360-single__rating { display: inline-flex; align-items: center; gap: .4em; color: var(--f360-text); text-decoration: none; }
.f360-single__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.f360-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(260px, 48vw, 480px); margin-bottom: 32px; border-radius: var(--f360-radius-lg); overflow: hidden; }
.f360-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.f360-gallery--2 { grid-template-rows: 1fr; }
.f360-gallery__item { display: block; overflow: hidden; background: #2b2f36; }
.f360-gallery__item:first-child { grid-row: 1 / -1; }
.f360-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.f360-gallery__item:hover img { transform: scale(1.04); }
.f360-gallery__more { position: absolute; right: 16px; bottom: 16px; background: rgba(0,0,0,.6); color: #fff; padding: .3em .8em; border-radius: 999px; font-weight: 600; pointer-events: none; }

.f360-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.f360-tabs { position: sticky; top: var(--f360-sticky-offset, 0px); z-index: 20; display: flex; gap: 24px; background: #fff; border-bottom: 1px solid var(--f360-border); margin-bottom: 24px; overflow-x: auto; }
.f360-tabs a { padding: 14px 0 12px; color: var(--f360-muted); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.f360-tabs a:hover { color: var(--f360-text); }
.f360-tabs a.is-active { color: var(--f360-accent-strong); border-bottom-color: var(--f360-accent); }
.f360-block { margin-bottom: 40px; scroll-margin-top: calc(var(--f360-sticky-offset, 0px) + 64px); }
.f360-block__title { font-size: 1.25rem; font-weight: 600; margin: 0 0 16px; }
.f360-prose { line-height: 1.7; color: #383d44; }
.f360-prose p { margin: 0 0 1em; }
.f360-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 18px; }
.f360-features li { display: flex; align-items: center; gap: .6em; font-size: .93rem; }
.f360-features .f360-icon { color: var(--f360-accent-strong); width: 20px; height: 20px; }
.f360-map--single { height: 340px; border-radius: var(--f360-radius); overflow: hidden; }
.f360-map--standalone { border-radius: var(--f360-radius); overflow: hidden; }
.f360-place { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; color: var(--f360-muted); font-size: .92rem; }
.f360-place > span { display: inline-flex; gap: .35em; align-items: center; }

.f360-single__aside { position: sticky; top: calc(var(--f360-sticky-offset, 0px) + 20px); display: flex; flex-direction: column; gap: 16px; }
.f360-certified { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; border-radius: var(--f360-radius-sm); background: var(--f360-blue-strong); color: #fff; font-weight: 600; }
.f360-box { background: var(--f360-bg-alt); border-radius: var(--f360-radius); padding: 20px 22px; }
.f360-box--soft { background: var(--f360-accent-soft); }
.f360-box--soft p { margin: 0 0 6px; }
.f360-box__title { display: flex; align-items: center; gap: .5em; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--f360-border); font-size: 1.02rem; font-weight: 600; }
.f360-hours { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 8px; }
.f360-hours th, .f360-hours td { padding: 9px 0; border-bottom: 1px solid var(--f360-border); text-align: left; font-weight: 500; }
.f360-hours td { text-align: right; color: var(--f360-muted); }
.f360-hours tr.is-today th, .f360-hours tr.is-today td { color: var(--f360-text); font-weight: 700; }
.f360-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .93rem; }
.f360-contact li { display: flex; align-items: center; gap: .6em; min-width: 0; }
.f360-contact .f360-icon { color: var(--f360-accent-strong); }
.f360-contact a { color: var(--f360-text); text-decoration: none; overflow-wrap: anywhere; }
.f360-contact a:hover { color: var(--f360-accent-strong); text-decoration: underline; }
.f360-socials { display: flex; gap: 8px; margin-top: 14px; }

/* Avis */
.f360-reviews__summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 20px 22px; background: var(--f360-bg-alt); border-radius: var(--f360-radius); margin-bottom: 20px; }
.f360-reviews__score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.f360-reviews__score strong { font-size: 2.6rem; line-height: 1; font-weight: 700; }
.f360-reviews__score > span:last-child { color: var(--f360-muted); font-size: .85rem; }
.f360-reviews__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .85rem; }
.f360-reviews__bars li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; color: var(--f360-muted); }
.f360-bar { height: 8px; border-radius: 4px; background: #e2e5e9; overflow: hidden; }
.f360-bar span { display: block; height: 100%; background: #f5a623; border-radius: 4px; }
.f360-reviews__list { list-style: none; margin: 0 0 24px; padding: 0; }
.f360-review { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--f360-border); }
.f360-review.is-reported { opacity: .8; }
.f360-review__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--f360-accent-soft); color: var(--f360-accent-strong); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.f360-review__body { flex: 1; min-width: 0; }
.f360-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 6px; }
.f360-review__head time { color: var(--f360-muted); font-size: .82rem; }
.f360-review__text p { margin: 0 0 .6em; line-height: 1.6; }
.f360-review__reply { margin-top: 10px; padding: 12px 14px; background: var(--f360-bg-alt); border-left: 3px solid var(--f360-accent); border-radius: 0 8px 8px 0; font-size: .92rem; }
.f360-review__reply p { margin: 0 0 .4em; }
.f360-review__actions { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; }
.f360-details > summary { list-style: none; }
.f360-details > summary::-webkit-details-marker { display: none; }
.f360-details[open] { flex-basis: 100%; }
.f360-details[open] > form { margin-top: 10px; padding: 16px; background: #fff; border: 1px solid var(--f360-border); border-radius: var(--f360-radius-sm); }

.f360-review-form .comment-form, .f360-form { display: flex; flex-direction: column; gap: 14px; }
.f360-review-form p { margin: 0; }
.f360-field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.f360-field > label, .f360-field > legend, .f360-field > span:first-child { font-weight: 600; font-size: .9rem; padding: 0; }
.f360-field--grow { flex: 1; }
.f360-field--auto { flex: none; justify-content: flex-end; }
.f360-field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.f360-field-row > .f360-field { flex: 1 1 220px; }
.f360-help { font-size: .84rem; color: var(--f360-muted); margin: 0; }
.f360-check, .f360-radio { display: flex; align-items: flex-start; gap: .5em; font-size: .9rem; margin: 0; }
.f360-check input, .f360-radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--f360-accent-strong); flex: none; }
.f360-radio { margin-bottom: 4px; }

.f360-rating-input { border: 0; margin: 0; padding: 0; }
.f360-rating-input legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 4px; }
.f360-rating-input__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.f360-rating-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f360-rating-input__stars label { font-size: 2rem; line-height: 1; color: #d0d4d9; cursor: pointer; padding: 0 2px; transition: color .1s, transform .1s; }
.f360-rating-input__stars label:hover, .f360-rating-input__stars label:hover ~ label,
.f360-rating-input__stars input:checked ~ label { color: #f5a623; }
.f360-rating-input__stars label:hover { transform: scale(1.12); }
.f360-rating-input__stars input:focus-visible + label { outline: 2px solid var(--f360-accent-strong); outline-offset: 2px; border-radius: 4px; }

/* Lightbox */
.f360-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(10, 12, 15, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.f360-lightbox::backdrop { background: rgba(10, 12, 15, .94); }
.f360-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.f360-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.f360-lightbox button:hover { background: rgba(255,255,255,.24); }
.f360-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.f360-lightbox__close { top: 12px; right: 12px; }
.f360-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.f360-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.f360-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--f360-text); color: #fff; padding: .7em 1.2em; border-radius: 999px; z-index: 100002; font-weight: 600; font-size: .9rem; box-shadow: var(--f360-shadow-lg); }

/* ---------- Espace gérant ---------- */
.f360-dashboard { max-width: var(--f360-container); margin: 0 auto; padding: 8px 0 48px; }
.f360-notice { padding: 14px 18px; border-radius: var(--f360-radius-sm); margin: 0 0 20px; font-weight: 500; border-left: 4px solid; }
.f360-notice--success { background: #e7f6ec; border-color: var(--f360-success); color: #135c28; }
.f360-notice--error { background: #fdecea; border-color: var(--f360-danger); color: #8c1d13; }
.f360-notice--info { background: #eaf3fd; border-color: var(--f360-blue-strong); color: #1d4f8c; }
.f360-auth__intro { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.f360-auth__intro h2 { margin: 0 0 8px; font-size: 1.8rem; font-weight: 600; }
.f360-auth__intro p { color: var(--f360-muted); margin: 0; }
.f360-auth__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.f360-auth .f360-box { background: #fff; border: 1px solid var(--f360-border); box-shadow: var(--f360-shadow-sm); padding: 26px; }
.f360-dash__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--f360-border); }
.f360-dash__hello { margin: 0; color: var(--f360-muted); }
.f360-dash__title { margin: 4px 0 0; font-size: 1.7rem; font-weight: 600; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.f360-dash__header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.f360-dash__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
.f360-dash__nav { position: sticky; top: calc(var(--f360-sticky-offset, 0px) + 20px); display: flex; flex-direction: column; gap: 16px; }
.f360-dash__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.f360-dash__nav ul a { display: flex; align-items: center; gap: .6em; padding: 11px 14px; border-radius: var(--f360-radius-sm); color: var(--f360-text); text-decoration: none; font-weight: 500; }
.f360-dash__nav ul a:hover { background: var(--f360-bg-alt); }
.f360-dash__nav ul a.is-active { background: var(--f360-accent-soft); color: #a8301a; font-weight: 600; }
.f360-dash__nav ul a .f360-chip__count { margin-left: auto; }
.f360-dash__content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.f360-dash__content .f360-box, .f360-listing-form .f360-box { background: #fff; border: 1px solid var(--f360-border); padding: 24px; }
.f360-listing-form { gap: 20px; }
.f360-dash__rating { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.f360-cat-picker { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.f360-cat-picker__group { border: 1px solid var(--f360-border); border-radius: var(--f360-radius-sm); }
.f360-cat-picker__group summary { padding: 12px 14px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: .6em; }
.f360-cat-picker__group summary .f360-icon { color: var(--f360-accent-strong); }
.f360-cat-picker__group[open] summary { border-bottom: 1px solid var(--f360-border); }
.f360-cat-picker__items { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.f360-cat-picker.is-full .f360-check-chip input:not(:checked) + span { opacity: .45; }
.f360-map--picker { height: 320px; border-radius: var(--f360-radius-sm); overflow: hidden; margin: 12px 0 8px; }
.f360-uploads { display: grid; grid-template-columns: 170px repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.f360-upload { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.f360-upload__label { font-weight: 600; font-size: .88rem; }
.f360-upload__preview { width: 100%; aspect-ratio: 1; border: 2px dashed var(--f360-border); border-radius: var(--f360-radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #b9bec5; background: var(--f360-bg-alt); }
.f360-upload__preview--wide { aspect-ratio: 16 / 11; }
.f360-upload__preview img { width: 100%; height: 100%; object-fit: cover; }
.f360-upload__preview .f360-icon { width: 32px; height: 32px; }
.f360-upload label.f360-btn { cursor: pointer; }
.f360-upload label.f360-btn:focus-within { box-shadow: var(--f360-focus); }
.f360-upload__remove { font-size: .82rem; color: var(--f360-danger); }
.f360-hours-editor { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: flex-start; }
.f360-hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; border: 0; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--f360-border); width: 100%; }
.f360-hours-row legend { float: left; width: 96px; font-weight: 600; padding: 0; }
.f360-hours-slot { display: inline-flex; align-items: center; gap: 6px; }
.f360-hours-slot.is-empty { display: none; }
.f360-hours-row.is-closed .f360-hours-slot, .f360-hours-row.is-closed [data-f360-add-slot] { display: none; }
.f360-savebar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border: 1px solid var(--f360-border); border-radius: var(--f360-radius); box-shadow: var(--f360-shadow); }
.f360-savebar p { margin: 0; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.f360-single__layout { grid-template-columns: 1fr; }
	.f360-single__aside { position: static; }
	.f360-carousel__track { grid-auto-columns: calc((100% - 22px) / 2); }
}
@media (max-width: 900px) {
	.f360-dash__layout { grid-template-columns: 1fr; }
	.f360-dash__nav { position: static; }
	.f360-dash__nav ul { flex-direction: row; overflow-x: auto; }
	.f360-dash__nav ul a { white-space: nowrap; }
	.f360-uploads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.f360-single__header { grid-template-columns: auto 1fr; }
	.f360-single__actions { grid-column: 1 / -1; justify-content: flex-start; }
	.f360-filters { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.f360-search__form { padding: 6px 6px 6px 12px; }
	.f360-search__submit { padding: .65em .9em; }
	.f360-search--large .f360-search__submit { font-size: 0; gap: 0; width: 44px; padding: 0; }
	.f360-search--large .f360-search__submit::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
	.f360-results { grid-template-columns: 1fr; }
	.f360-results.is-list .f360-card__link { grid-template-columns: 112px 1fr; gap: 12px; padding: 8px; }
	.f360-results.is-list .f360-card__media { aspect-ratio: 1; }
	.f360-results.is-list .f360-card__title { font-size: 1rem; }
	.f360-results.is-list .f360-card__rating { top: 6px; left: 6px; }
	.f360-carousel__track { grid-auto-columns: 82%; gap: 14px; }
	.f360-carousel__nav { display: none; }
	.f360-toolbar__right { width: 100%; justify-content: space-between; }
	.f360-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 260px; }
	.f360-gallery__item:not(:first-child) { display: none; }
	.f360-reviews__summary { grid-template-columns: 1fr; }
	.f360-single__logo { width: 64px; height: 64px; }
	.f360-uploads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.f360-hours-row legend { float: none; width: 100%; }
	.f360-box { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.f360-search__input:focus-visible { box-shadow: none !important; outline: none; }
.f360-search__form:focus-within { border-color: var(--f360-accent); box-shadow: var(--f360-shadow), 0 0 0 3px rgba(235, 72, 38, .2); }

/* Connexion / inscription (espace gérant) */
.f360-auth { max-width: 1040px; margin: 8px auto 40px; }
.f360-auth__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--f360-border); border-radius: 22px; box-shadow: 0 18px 50px rgba(31, 35, 40, .08); overflow: hidden; }
.f360-auth__brand { position: relative; padding: 44px 40px; color: #fff; background: linear-gradient(150deg, #eb4826 0%, #c7361a 100%); overflow: hidden; }
.f360-auth__brand::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 46px solid rgba(255, 255, 255, .09); pointer-events: none; }
.f360-auth__logo { display: block; width: 200px; height: auto; margin-bottom: 36px; }
.f360-auth__brand h2 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 600; color: #fff; }
.f360-auth__brand > p { margin: 0 0 26px; opacity: .92; }
.f360-auth__brand ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.f360-auth__brand li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.f360-auth__brand li .f360-icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.f360-auth__free { margin: 30px 0 0 !important; font-weight: 600; }
.f360-auth__main { padding: 36px 44px 40px; }
.f360-auth__tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 26px; background: var(--f360-bg-alt); border-radius: 999px; }
.f360-auth__tabs button { flex: 1; font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--f360-muted); cursor: pointer; transition: background .2s, color .2s; }
.f360-auth__tabs button[aria-selected="true"] { background: #fff; color: var(--f360-text); box-shadow: 0 1px 4px rgba(31, 35, 40, .12); }
.f360-auth__tabs button:focus-visible { outline: 3px solid var(--f360-accent); outline-offset: 2px; }
.f360-auth__title { margin: 0 0 4px; font-size: 1.35rem; font-weight: 600; }
.f360-auth__panel > .f360-muted { margin: 0 0 20px; }
.f360-auth__panel .f360-input { min-height: 48px; border-radius: 12px; }
.f360-auth__panel .f360-btn--block { min-height: 50px; font-size: 1rem; }
@media (max-width: 820px) {
	.f360-auth__card { grid-template-columns: 1fr; border-radius: 18px; }
	.f360-auth__brand { padding: 28px 24px; }
	.f360-auth__brand ul, .f360-auth__free { display: none !important; }
	.f360-auth__logo { width: 170px; margin-bottom: 18px; }
	.f360-auth__brand h2 { font-size: 1.4rem; }
	.f360-auth__brand > p { margin: 0; }
	.f360-auth__main { padding: 24px 20px 28px; }
}

/* Suppression de fiche */
.f360-danger { border-color: #f1d3cc !important; }
.f360-danger__summary { cursor: pointer; font-weight: 600; color: #8c1d13; display: flex; align-items: center; gap: .5em; }
.f360-danger[open] .f360-danger__summary { margin-bottom: 14px; }
.f360-btn--danger { background: #b42318; border-color: #b42318; }
.f360-btn--danger:hover { background: #8f1c13; border-color: #8f1c13; }

/* Éditeur de description */
.f360-rte { border: 1px solid var(--f360-border); border-radius: var(--f360-radius); background: #fff; overflow: hidden; }
.f360-rte:focus-within { border-color: var(--f360-accent); box-shadow: 0 0 0 3px rgba(235, 72, 38, .15); }
.f360-rte__bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--f360-border); background: var(--f360-bg-alt); }
.f360-rte__btn { min-width: 36px; height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--f360-text); font: inherit; font-size: .95rem; cursor: pointer; }
.f360-rte__btn:hover { background: #fff; }
.f360-rte__btn.is-on { background: #fff; color: var(--f360-accent-strong); box-shadow: inset 0 0 0 1px var(--f360-border); }
.f360-rte__btn:focus-visible { outline: 2px solid var(--f360-accent); outline-offset: 1px; }
.f360-rte__editor.f360-input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-height: 200px; max-height: 480px; overflow-y: auto; padding: 14px 16px; line-height: 1.6; outline: 0; }
.f360-rte__editor p { margin: 0 0 .8em; }
.f360-rte__editor ul, .f360-rte__editor ol { margin: 0 0 .8em; padding-left: 1.4em; }
.f360-rte__editor a { color: var(--f360-accent-strong); }
.f360-rte__editor:empty::before { content: "Présentez votre commerce…"; color: var(--f360-muted); }

/* ==========================================================================
   Espace gérant (application à part : menu latéral sombre)
   ========================================================================== */
body.f360-app-body { margin: 0; background: #f3f4f6; padding: 0 !important; }
body.f360-app-body .f360-dashboard { max-width: none; margin: 0; padding: 0; }
.f360-dash { --f360-side: 258px; display: grid; grid-template-columns: var(--f360-side) minmax(0, 1fr); min-height: 100vh; color: var(--f360-text); }
.f360-dash__side {
	position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px;
	padding: 22px 14px 18px; background: #17191d; color: #c9ced6;
}
.f360-dash__brand { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 4px; }
.f360-dash__brand img { display: block; width: 150px; height: auto; }
.f360-dash__brand span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #8b929c; font-weight: 600; }
.f360-dash__current { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-dash__switch select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #22252b; color: #fff; font: inherit; font-weight: 600; font-size: .9rem; }
.f360-dash .f360-dash__nav { position: static; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.f360-dash .f360-dash__nav ul { flex-direction: column; gap: 2px; overflow: visible; }
.f360-dash__group { margin: 14px 12px 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #7d848e; font-weight: 600; }
.f360-dash .f360-dash__nav ul a, .f360-dash__side-footer a {
	display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #c9ced6; text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap;
}
.f360-dash .f360-dash__nav ul a:hover, .f360-dash__side-footer a:hover { background: rgba(255,255,255,.07); color: #fff; }
.f360-dash .f360-dash__nav ul a.is-active, .f360-dash__side-footer a.is-active { background: var(--f360-accent); color: #fff; font-weight: 600; }
.f360-dash .f360-dash__nav ul a.is-boost:not(.is-active) { color: #ffb59f; }
.f360-dash .f360-dash__nav .f360-icon, .f360-dash__side-footer .f360-icon { width: 18px; height: 18px; }
.f360-dash__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .75rem; text-align: center; }
.f360-dash__lock { margin-left: auto; opacity: .7; display: inline-flex; }
.f360-dash__lock .f360-icon { width: 14px !important; height: 14px !important; }
.f360-dash__side-footer { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.f360-dash__side-footer a { font-size: .87rem; padding: 8px 12px; }
.f360-dash__main { min-width: 0; display: flex; flex-direction: column; }
.f360-dash__top {
	position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	padding: 18px 32px; background: rgba(243,244,246,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--f360-border);
}
.f360-dash__heading { flex: 1; min-width: 0; }
.f360-dash .f360-dash__hello { margin: 0; font-size: .85rem; color: var(--f360-muted); }
.f360-dash .f360-dash__title { margin: 2px 0 0; font-size: 1.5rem; font-weight: 600; }
.f360-dash__top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f360-dash__burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--f360-border); align-items: center; justify-content: center; cursor: pointer; }
.f360-dash__overlay { display: none; }
.f360-dash .f360-dash__content { padding: 28px 32px 56px; max-width: 1180px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; }
.f360-dash .f360-dash__content .f360-box { background: #fff; border: 1px solid var(--f360-border); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.f360-plan-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none; }
.f360-plan-pill .f360-icon { width: 15px; height: 15px; }
.f360-plan-pill--free { background: linear-gradient(135deg, #f26a4b, #d13d20); color: #fff; box-shadow: 0 4px 14px rgba(209,61,32,.3); }
.f360-plan-pill--free:hover { color: #fff; filter: brightness(1.06); }
.f360-plan-pill--boost { background: #eaf3fd; color: #1d4f8c; }
.f360-plan-pill--pro { background: #17191d; color: #fff; }
.f360-plan-pill--vitrine { background: linear-gradient(135deg, #f7c948, #e2a400); color: #3b2a00; }
.f360-pill--off { background: #eef0f2; color: var(--f360-muted); }
.f360-btn--light { background: #fff; color: var(--f360-accent-strong) !important; border-color: #fff; }
.f360-btn--light:hover { background: #fff4f1; border-color: #fff4f1; }
.f360-btn.is-disabled { pointer-events: none; opacity: .7; }
.f360-lead { margin: 0; font-size: 1rem; color: var(--f360-muted); max-width: 75ch; line-height: 1.6; }
.f360-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.f360-field-row--3 > .f360-field { flex: 1 1 160px; }

/* KPI */
.f360-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.f360-kpi { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--f360-border); border-radius: 14px; }
.f360-kpi__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--f360-accent-soft); color: var(--f360-accent-strong); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.f360-kpi__label { font-size: .85rem; color: var(--f360-muted); font-weight: 500; }
.f360-kpi__value { font-size: 1.9rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.f360-kpi__sub { font-size: .8rem; color: var(--f360-muted); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
a.f360-kpi__sub { color: var(--f360-accent-strong); font-weight: 600; text-decoration: none; }
.f360-blur { filter: blur(7px); user-select: none; }
.f360-trend { font-weight: 700; font-size: .78rem; padding: 1px 6px; border-radius: 6px; }
.f360-trend.is-up { color: var(--f360-success); background: #e7f6ec; }
.f360-trend.is-down { color: var(--f360-danger); background: #fdecea; }

/* Vue d'ensemble */
.f360-ov { display: flex; flex-direction: column; gap: 20px; }
.f360-ov__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.f360-ov__col { display: flex; flex-direction: column; gap: 20px; }
.f360-ov__col .f360-box p { margin: 0 0 14px; }
.f360-ov__review { padding: 10px 0; border-bottom: 1px solid var(--f360-border); }
.f360-ov__review:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.f360-ov__review strong { margin-left: 6px; font-size: .9rem; }
.f360-ov__review p { margin: 4px 0 0 !important; font-size: .9rem; color: var(--f360-muted); }
.f360-progress { height: 10px; border-radius: 999px; background: #eceef1; overflow: hidden; margin: 4px 0 10px; }
.f360-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f26a4b, var(--f360-accent-strong)); transition: width .6s ease; }
.f360-checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.f360-checks li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .92rem; border-bottom: 1px dashed var(--f360-border); }
.f360-checks li:last-child { border-bottom: 0; }
.f360-checks li .f360-icon { color: var(--f360-accent-strong); }
.f360-checks li.is-done { color: var(--f360-muted); }
.f360-checks li.is-done span { text-decoration: line-through; }
.f360-checks li.is-done .f360-icon { color: var(--f360-success); }
.f360-checks a { color: var(--f360-text); font-weight: 600; text-decoration: none; }
.f360-checks a:hover { color: var(--f360-accent-strong); }
.f360-boost-cta { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 22px; border-radius: 14px; color: #fff; background: radial-gradient(500px 200px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #f26a4b, #b8341a); }
.f360-boost-cta > .f360-icon { width: 34px; height: 34px; }
.f360-boost-cta h2 { margin: 0 0 4px; font-size: 1.1rem; color: #fff; }
.f360-boost-cta p { margin: 0; opacity: .92; font-size: .9rem; }
.f360-boost-cta .f360-btn { grid-column: 1 / -1; justify-self: start; }

/* Bons plans et emplois (gestion) */
.f360-offers { display: flex; flex-direction: column; gap: 20px; }
.f360-offer-list { display: flex; flex-direction: column; gap: 10px; }
.f360-offer-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--f360-border); border-radius: 12px; }
.f360-offer-row__img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--f360-accent-soft); color: var(--f360-accent-strong); display: flex; align-items: center; justify-content: center; }
.f360-offer-row__img img { width: 100%; height: 100%; object-fit: cover; }
.f360-offer-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.f360-offer-row__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-offer-row__main .f360-muted { font-size: .84rem; }
.f360-offer-row__actions { display: flex; gap: 6px; }
.f360-offer-row__actions form { margin: 0; }
.f360-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.f360-thumbs:empty { display: none; }
.f360-thumb { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.f360-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }

/* Statistiques */
.f360-stats { display: flex; flex-direction: column; gap: 16px; }
.f360-stats .f360-chips { padding-top: 0; }
.f360-stats__wrap { position: relative; display: flex; flex-direction: column; gap: 20px; }
.f360-stats.is-locked .f360-stats__wrap > .f360-kpis, .f360-stats.is-locked .f360-chart { filter: blur(6px); opacity: .7; pointer-events: none; user-select: none; }
.f360-chart svg { width: 100%; height: 240px; display: block; overflow: visible; }
.f360-chart__grid { stroke: #eceef1; stroke-width: 1; }
.f360-chart__v { fill: #f7b4a5; }
.f360-chart__a { fill: var(--f360-accent-strong); }
.f360-chart__label { fill: var(--f360-muted); font-size: 11px; text-anchor: middle; }
.f360-chart__legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 0 12px; font-size: .82rem; color: var(--f360-muted); }
.f360-chart__legend span { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 10px; }
.f360-chart__legend span:first-child { margin-left: 0; }
.f360-chart__legend .is-v { background: #f7b4a5; }
.f360-chart__legend .is-a { background: var(--f360-accent-strong); }
.f360-locked { position: absolute; inset: 40px 0 auto; margin: 0 auto; max-width: 480px; text-align: center; padding: 30px 28px; background: #fff; border-radius: 18px; box-shadow: var(--f360-shadow-lg); z-index: 5; }
.f360-locked > .f360-icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--f360-accent-soft); color: var(--f360-accent-strong); }
.f360-locked h2 { margin: 12px 0 8px; font-size: 1.25rem; }
.f360-locked p { margin: 0 0 18px; color: var(--f360-muted); line-height: 1.55; }

/* Forfaits */
.f360-booster { display: flex; flex-direction: column; gap: 20px; }
.f360-period { display: inline-flex; align-self: center; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--f360-border); }
.f360-period label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.f360-period input { position: absolute; opacity: 0; pointer-events: none; }
.f360-period label:has(input:checked) { background: var(--f360-text); color: #fff; }
.f360-period label:focus-within { box-shadow: var(--f360-focus); }
.f360-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.f360-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 20px 20px; background: #fff; border: 1px solid var(--f360-border); border-radius: 16px; }
.f360-plan.is-popular { border: 2px solid var(--f360-accent); box-shadow: 0 14px 34px rgba(209,61,32,.14); }
.f360-plan.is-current { background: #fafbfc; }
.f360-plan--vitrine { background: linear-gradient(180deg, #fffaf0, #fff 40%); }
.f360-plan__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--f360-accent); color: #fff; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.f360-plan__name { margin: 0; font-size: 1.2rem; }
.f360-plan__tag { margin: 0; font-size: .85rem; color: var(--f360-muted); min-height: 2.6em; }
.f360-plan__price { margin: 8px 0 10px; font-size: .9rem; color: var(--f360-muted); }
.f360-plan__price strong { font-size: 1.7rem; color: var(--f360-text); letter-spacing: -.01em; }
.f360-plan__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; font-size: .86rem; }
.f360-plan__list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.f360-plan__list .f360-icon { color: var(--f360-success); margin-top: 1px; width: 16px; height: 16px; }
.f360-plan__list li.is-off { color: #a3a9b1; }
.f360-plan__list li.is-off .f360-icon { color: #c4c9cf; }
.f360-plan form { margin: 0; }
.f360-hero-offer { display: flex !important; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #1f2328, #3a2a24) !important; color: #fff; border: 0 !important; }
.f360-hero-offer .f360-box__title { color: #fff; border-color: rgba(255,255,255,.15); }
.f360-hero-offer p { margin: 0; opacity: .9; max-width: 62ch; }
.f360-hero-offer form { margin: 0; }
.f360-booster__foot { text-align: center; font-size: .84rem; margin: 0; }

/* Mobile : menu latéral en tiroir */
@media (max-width: 1100px) {
	.f360-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.f360-ov__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.f360-dash { grid-template-columns: 1fr; }
	.f360-dash__side { position: fixed; z-index: 100; left: 0; top: 0; bottom: 0; width: min(82vw, 290px); transform: translateX(-100%); transition: transform .25s ease; }
	.f360-dash__toggle:checked ~ .f360-dash__side { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.4); }
	.f360-dash__toggle:checked ~ .f360-dash__overlay { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.45); }
	.f360-dash__burger { display: inline-flex; }
	.f360-dash__top { padding: 12px 16px; gap: 10px; }
	.f360-dash .f360-dash__title { font-size: 1.2rem; }
	.f360-dash .f360-dash__hello { display: none; }
	.f360-dash__top-actions { width: 100%; }
	.f360-dash__top-actions .f360-btn--sm span { display: none; }
	.f360-dash .f360-dash__content { padding: 18px 16px 48px; }
}
@media (max-width: 600px) {
	.f360-plans { grid-template-columns: 1fr; }
	.f360-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.f360-kpi { padding: 14px; }
	.f360-kpi__value { font-size: 1.5rem; }
	.f360-offer-row { grid-template-columns: 52px minmax(0, 1fr); }
	.f360-offer-row__img { width: 52px; height: 52px; }
	.f360-offer-row .f360-pill, .f360-offer-row__actions { grid-column: 2; justify-self: start; }
	.f360-locked { inset: 20px 0 auto; padding: 24px 18px; }
}

/* ==========================================================================
   Bons plans (public)
   ========================================================================== */
.f360-promo { min-width: 0; }
.f360-promo__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--f360-border); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.f360-promo__link:hover { box-shadow: var(--f360-shadow); transform: translateY(-2px); color: inherit; }
.f360-promo__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #f26a4b, #c8351a); overflow: hidden; }
.f360-promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.f360-promo__link:hover .f360-promo__media img { transform: scale(1.05); }
.f360-promo__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); }
.f360-promo__placeholder .f360-icon { width: 48px; height: 48px; }
.f360-promo__badge { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px; background: #ffd400; color: #1f2328; font-weight: 800; font-size: .85rem; letter-spacing: -.01em; }
.f360-promo__media .f360-promo__badge { position: absolute; top: 12px; left: 12px; transform: rotate(-3deg); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.f360-promo__ends { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: .76rem; font-weight: 600; backdrop-filter: blur(4px); }
.f360-promo__ends.is-soon { background: var(--f360-accent-strong); }
.f360-promo__ends .f360-icon { width: 13px; height: 13px; }
.f360-promo__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.f360-promo__place { font-size: .78rem; color: var(--f360-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f360-promo__title { margin: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.f360-promo__products { margin: 0; font-size: .86rem; color: var(--f360-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f360-promo__price { margin: auto 0 0; padding-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.f360-promo__price strong { font-size: 1.2rem; color: var(--f360-accent-strong); }
.f360-promo__price s { color: var(--f360-muted); font-size: .9rem; }
.f360-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.f360-carousel .f360-promo { height: 100%; }
.f360-section__title .f360-icon { color: var(--f360-accent-strong); vertical-align: -.12em; }

.f360-deals, .f360-jobs { display: flex; flex-direction: column; gap: 18px; }
.f360-deals__filters { padding-top: 6px; }
.f360-deals__count { margin: 0; font-size: .9rem; }
.f360-deals__pro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 20px 22px; border-radius: 14px; background: var(--f360-accent-soft); margin-top: 12px; }
.f360-deals__pro p { margin: 0; }
.f360-empty { text-align: center; padding: 48px 20px; color: var(--f360-muted); background: var(--f360-bg-alt); border-radius: 14px; }
.f360-empty .f360-icon { width: 40px; height: 40px; color: #c4c9cf; }
.f360-empty p { margin: 10px 0 0; }

/* Bon plan du jour */
.f360-dotd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #17191d; color: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--f360-shadow-lg); }
.f360-dotd__media { position: relative; min-height: 300px; background: linear-gradient(135deg, #f26a4b, #c8351a); }
.f360-dotd__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f360-dotd__flag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #ffd400; color: #1f2328; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.f360-dotd__flag .f360-icon { width: 16px; height: 16px; }
.f360-dotd__body { display: flex; flex-direction: column; gap: 8px; padding: 32px; }
.f360-dotd__place { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #ffb59f; font-weight: 600; }
.f360-dotd__title { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; }
.f360-dotd__products { margin: 0; color: #c9ced6; }
.f360-dotd__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.f360-dotd__price strong { font-size: 2rem; color: #fff; }
.f360-dotd__price s { color: #8b929c; font-size: 1.05rem; }
.f360-dotd__badge { padding: 4px 10px; border-radius: 8px; background: var(--f360-accent); font-weight: 700; font-size: .85rem; }
.f360-dotd__footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: auto; padding-top: 20px; }
.f360-dotd__timer { margin: 0; display: flex; flex-direction: column; font-size: .8rem; color: #8b929c; }
.f360-dotd__timer strong { font-size: 1.4rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* Offres d'emploi */
.f360-job-list { display: flex; flex-direction: column; gap: 10px; }
.f360-job { background: #fff; border: 1px solid var(--f360-border); border-radius: 12px; }
.f360-job[open] { box-shadow: var(--f360-shadow-sm); }
.f360-job__summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.f360-job__summary::-webkit-details-marker { display: none; }
.f360-job__logo { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--f360-accent-soft); color: var(--f360-accent-strong); display: flex; align-items: center; justify-content: center; }
.f360-job__logo img { width: 100%; height: 100%; object-fit: cover; }
.f360-job__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.f360-job__title { font-size: 1rem; }
.f360-job__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .84rem; color: var(--f360-muted); }
.f360-job__chev { transition: transform .2s; color: var(--f360-muted); }
.f360-job[open] .f360-job__chev { transform: rotate(180deg); }
.f360-job__body { padding: 0 16px 16px 78px; font-size: .93rem; line-height: 1.6; }
.f360-job__body p { margin: 0 0 .7em; }
.f360-job__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }

/* Fiche publique : bons plans, badge, barre d'actions */
.f360-deal { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--f360-border); border-radius: 14px; background: #fff; margin-bottom: 14px; }
.f360-deal:not(:has(.f360-deal__media)) { grid-template-columns: 1fr; }
.f360-deal__media { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; grid-auto-rows: 80px; }
.f360-deal__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.f360-deal__media img:first-child { grid-column: 1 / -1; grid-row: span 2; }
.f360-deal__media--1 img:first-child { grid-row: span 2; }
.f360-deal__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f360-deal__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.f360-deal__ends { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--f360-muted); }
.f360-deal__ends.is-soon { color: var(--f360-accent-strong); }
.f360-deal__title { margin: 0; font-size: 1.1rem; }
.f360-deal__products { margin: 0; color: var(--f360-muted); font-size: .92rem; }
.f360-deal__text { font-size: .9rem; color: var(--f360-text); }
.f360-deal__text p { margin: 4px 0 0; }
.f360-block--deals { background: linear-gradient(180deg, var(--f360-accent-soft), transparent 140px); border-radius: 16px; padding: 18px; margin-left: -18px; margin-right: -18px; }
.f360-block__title .f360-icon { color: var(--f360-accent-strong); }
.f360-plan-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; vertical-align: middle; background: #17191d; color: #fff; }
.f360-plan-badge--vitrine { background: linear-gradient(135deg, #f7c948, #e2a400); color: #3b2a00; }
.f360-plan-badge .f360-icon { width: 14px; height: 14px; }
.f360-actionbar { display: none; }
.f360-card__deal { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: .25em .7em; border-radius: 8px; background: #ffd400; color: #1f2328; font-size: .75rem; font-weight: 800; }
.f360-card__deal .f360-icon { width: 13px; height: 13px; }
.f360-card__sponsored { margin-left: 4px; padding-left: 6px; border-left: 1px solid currentColor; opacity: .9; }
.f360-card__call { position: absolute; z-index: 3; right: 12px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: #fff; color: var(--f360-accent-strong); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.f360-card__call:hover { background: var(--f360-accent); color: #fff; }
.f360-card__call .f360-icon { width: 18px; height: 18px; }
.f360-results.is-grid .f360-card__call, .f360-carousel .f360-card__call { display: inline-flex; }
.f360-results.is-grid .f360-card__body, .f360-carousel .f360-card__body { padding-right: 60px; }

@media (max-width: 760px) {
	.f360-dotd { grid-template-columns: 1fr; }
	.f360-dotd__media { min-height: 200px; }
	.f360-dotd__body { padding: 22px; }
	.f360-deal { grid-template-columns: 1fr; }
	.f360-job__body { padding-left: 16px; }
	.f360-actionbar {
		position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; padding: 6px;
		background: rgba(255,255,255,.96); border: 1px solid var(--f360-border); border-radius: 999px; box-shadow: var(--f360-shadow-lg); backdrop-filter: blur(8px);
	}
	.f360-actionbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; color: var(--f360-text); text-decoration: none; font-weight: 600; font-size: .9rem; }
	.f360-actionbar a.f360-actionbar__main { background: var(--f360-accent-strong); color: #fff; flex: 1.3; }
	.f360-single { padding-bottom: 80px; }
}
@media print { .f360-actionbar, .f360-dash__side { display: none !important; } }
.f360-plan .f360-btn--block { justify-content: center; text-align: center; }
.f360-single__main, .f360-single__aside { min-width: 0; }
@media (max-width: 760px) { .f360-block--deals { margin-left: 0; margin-right: 0; padding: 14px; } }
