.ayap-form-soumission p {
	margin-bottom: 1em;
}

.ayap-form-soumission label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.ayap-form-soumission input[type="text"],
.ayap-form-soumission input[type="number"],
.ayap-form-soumission select,
.ayap-form-soumission textarea {
	width: 100%;
	max-width: 480px;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ayap-map-picker {
	width: 100%;
	max-width: 640px;
	height: 320px;
	border-radius: 4px;
	margin-bottom: 0.5em;
}

.ayap-results-map {
	width: 100%;
	max-width: 720px;
	height: 360px;
	border-radius: 4px;
	margin-bottom: 1em;
}

.ayap-btn-submit {
	padding: 0.75em 1.5em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}

.ayap-notice {
	padding: 1em;
	border-radius: 4px;
	margin-bottom: 1.5em;
}

.ayap-notice-success {
	background: #eaf7ea;
	border: 1px solid #7cc47c;
}

.ayap-notice-error {
	background: #fbeaea;
	border: 1px solid #d98b8b;
}

.ayap-duplicate-alert {
	background: #fff8e5;
	border: 1px solid #e0c364;
	padding: 0.75em 1em;
	margin: 0.5em 0 1em;
	border-radius: 4px;
	font-size: 0.9em;
}

.ayap-duplicate-alert ul {
	margin: 0.5em 0 0;
	padding-left: 1.2em;
}

/* Champ piège à bots : hors écran plutôt que display:none, pour ne
   pas être filtré par les bots qui ignorent les champs masqués ainsi. */
.ayap-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	overflow: hidden;
}

/* ==========================================================================
   Page single (templates/single-listing.php)
   ========================================================================== */

.ayap-fiche-header {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin-bottom: 1.5em;
}

.ayap-fiche-photo {
	flex: 0 0 320px;
	max-width: 100%;
}

.ayap-fiche-photo img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.ayap-fiche-intro {
	flex: 1 1 320px;
}

.ayap-fiche-fil-ariane {
	font-size: 0.85em;
	margin: 0 0 0.5em;
}

.ayap-fiche-titre {
	margin: 0 0 0.5em;
}

.ayap-fiche-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.ayap-badge {
	display: inline-block;
	padding: 0.25em 0.75em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	background: #eee;
	color: #333;
}

.ayap-badge-plan-particulier {
	background: #e3f0ff;
	color: #1a5ba8;
}

.ayap-badge-plan-pro {
	background: #eee3ff;
	color: var(--ayap-c1,#09284e);
}

.ayap-badge-plan-business {
	background: #fff0d9;
	color: #a86a1a;
}

.ayap-badge-verifie {
	background: #eaf7ea;
	color: #2f7a2f;
}

.ayap-badge-ouvert {
	background: #eaf7ea;
	color: #2f7a2f;
}

.ayap-badge-ferme {
	background: #f2f2f2;
	color: #5b6775;
}

.ayap-badge-vedette {
	background: #fff4c2;
	color: #8a6d00;
}

.ayap-fiche-vues {
	margin: 0 0 1em;
	color: #5b6775;
	font-size: 0.9em;
}

/* Tableau de bord prestataire ([ayap_mon_espace]) */

.ayap-dashboard {
	display: grid;
	gap: 1.25em;
}

.ayap-dashboard-fiche {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 1.25em;
}

.ayap-dashboard-fiche-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 0.25em;
}

.ayap-dashboard-fiche-header h3 {
	margin: 0;
	font-size: 1.1em;
}

.ayap-dashboard-fiche-type {
	margin: 0 0 0.5em;
	color: #777;
	font-size: 0.9em;
}

.ayap-badge-statut-publish {
	background: #eaf7ea;
	color: #2f7a2f;
}

.ayap-badge-statut-pending {
	background: #fff4c2;
	color: #8a6d00;
}

.ayap-badge-statut-draft {
	background: #f2f2f2;
	color: #777;
}

.ayap-dashboard-fiche-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
	list-style: none;
	margin: 0 0 0.5em;
	padding: 0;
	color: #555;
	font-size: 0.9em;
}

.ayap-dashboard-fiche-plan {
	margin: 0 0 1em;
	font-weight: 600;
}

.ayap-dashboard-fiche-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
}

.ayap-dashboard-fiche-actions .ayap-btn-action {
	padding: 0.5em 1em;
	font-size: 0.9em;
}

.ayap-btn-secondaire {
	background: transparent;
	color: #a33;
	border: 1px solid #a33;
}

.ayap-btn-plan {
	background: transparent;
	color: var(--ayap-c1,#09284e);
	border: 1px solid var(--ayap-c1,#09284e);
}

.ayap-fiche-lieu {
	margin: 0 0 1em;
	color: #555;
}

.ayap-btn-favori {
	padding: 0.5em 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	font-weight: 600;
}

.ayap-btn-favori.is-active {
	background: #fff0d9;
	border-color: #a86a1a;
	color: #a86a1a;
}

.ayap-btn-favori:disabled {
	opacity: 0.6;
	cursor: wait;
}

.ayap-resultats li .ayap-btn-favori {
	padding: 0.25em 0.75em;
	font-size: 0.85em;
	margin-left: 0.5em;
}

.ayap-fiche-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
}

.ayap-btn-action {
	display: inline-block;
	padding: 0.6em 1.2em;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	background: var(--ayap-c1,#09284e);
	color: var(--ayap-c1t, #fff);
}

.ayap-btn-whatsapp {
	background: #25d366;
}

.ayap-btn-claim {
	background: transparent;
	color: var(--ayap-c1,#09284e);
	border: 1px solid var(--ayap-c1,#09284e);
}

.ayap-btn-report {
	background: transparent;
	color: #a00;
	border: 1px solid #a00;
	display: inline-block;
	padding: 0.5em 1em;
	border-radius: 3px;
	text-decoration: none;
	font-size: 0.9em;
}

.ayap-fil-ariane {
	font-size: 0.9em;
	color: #666;
	margin: 0.25em 0 1em;
}

.ayap-fil-ariane a {
	color: var(--ayap-c1,#09284e);
	text-decoration: none;
}

.ayap-fil-ariane a:hover {
	text-decoration: underline;
}

.ayap-fil-ariane-separateur {
	color: #6b7785;
	margin: 0 0.35em;
}

.ayap-localisation-cascade select:disabled {
	opacity: 0.6;
}

.ayap-avis-reponse {
	margin-top: 0.5em;
	padding: 0.75em 1em;
	background: #f7f7f7;
	border-left: 3px solid var(--ayap-c1,#09284e);
}

.ayap-avis-tri-actif {
	font-weight: bold;
	text-decoration: underline;
}

.ayap-btn-utile {
	background: none;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 0.25em 0.75em;
	cursor: pointer;
	margin-top: 0.5em;
}

.ayap-btn-utile:disabled {
	opacity: 0.6;
	cursor: default;
}

.ayap-form-reponse-avis {
	margin-top: 0.5em;
}

.ayap-form-reponse-avis textarea {
	width: 100%;
	max-width: 400px;
	display: block;
	margin-bottom: 0.35em;
}

/* Onglets : tous les panneaux restent visibles tant que le JS n'a pas
   confirmé sa présence (classe posée sur <html> par tabs.js), pour
   qu'aucun contenu ne disparaisse si le script ne charge pas. */
.ayap-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em;
	border-bottom: 2px solid #eee;
	margin-bottom: 1.5em;
}

.ayap-tab-btn {
	background: none;
	border: none;
	padding: 0.75em 1.25em;
	cursor: pointer;
	font-weight: 600;
	color: #5b6775;
	border-bottom: 3px solid transparent;
}

.ayap-tab-btn.is-active {
	color: var(--ayap-c1,#09284e);
	border-bottom-color: var(--ayap-c1,#09284e);
}

.ayap-tab-panel {
	margin-bottom: 2em;
}

html.ayap-js .ayap-tab-panel {
	display: none;
}

html.ayap-js .ayap-tab-panel.is-active {
	display: block;
}

.ayap-details-table {
	width: 100%;
	max-width: 640px;
	border-collapse: collapse;
}

.ayap-details-table th,
.ayap-details-table td {
	text-align: left;
	padding: 0.6em 1em 0.6em 0;
	border-bottom: 1px solid #eee;
}

.ayap-details-table th {
	width: 40%;
	color: #666;
	font-weight: 600;
}

.ayap-single-map {
	width: 100%;
	max-width: 720px;
	height: 320px;
	border-radius: 4px;
}

/* ==========================================================================
   Page d'archive (templates/archive-listing.php)
   ========================================================================== */

.ayap-archive-wrap {
	max-width: 1000px;
	margin: 0 auto;
}

.ayap-archive-header {
	margin-bottom: 1.5em;
}

.ayap-archive-titre {
	margin-bottom: 0.25em;
}

.ayap-archive-description {
	color: #555;
}

.ayap-form-recherche {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	align-items: flex-end;
	background: #f7f7f7;
	padding: 1em 1.25em;
	border-radius: 6px;
	margin-bottom: 1.5em;
}

.ayap-form-recherche p {
	margin: 0;
	flex: 1 1 180px;
}

.ayap-form-recherche label {
	display: block;
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.ayap-form-recherche input,
.ayap-form-recherche select {
	width: 100%;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ayap-resultats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
	gap: 1em;
}

.ayap-resultats li {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 1em;
}

.ayap-resultats li a {
	font-weight: 600;
	text-decoration: none;
}

.ayap-resultats li .ayap-meta {
	display: block;
	margin-top: 0.35em;
	font-size: 0.85em;
	color: #555;
}

.ayap-pagination {
	margin-top: 1.5em;
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

.ayap-pagination a {
	padding: 0.4em 0.9em;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
}

.ayap-pagination a.current {
	background: var(--ayap-c1,#09284e);
	color: var(--ayap-c1t, #fff);
	border-color: var(--ayap-c1,#09284e);
}

/* ==========================================================================
   Onglet Avis (module AYAP_Reviews, affiché dans le tab #ayap-tab-avis)
   ========================================================================== */

.ayap-avis-resume {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-bottom: 1.5em;
	font-size: 0.95em;
}

.ayap-avis-total {
	color: #777;
}

.ayap-avis-liste {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}

.ayap-avis-item {
	border-bottom: 1px solid #eee;
	padding: 1em 0;
}

.ayap-avis-item img {
	max-width: 160px;
	height: auto;
	border-radius: 4px;
	margin-top: 0.5em;
}

.ayap-form-avis select,
.ayap-form-avis textarea {
	width: 100%;
	max-width: 480px;
	padding: 0.5em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

/* ==========================================================================
   Galerie photos (formulaire de soumission + page single)
   ========================================================================== */

.ayap-galerie-existante {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-bottom: 1em;
}

.ayap-galerie-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35em;
	font-size: 0.85em;
	cursor: pointer;
}

.ayap-galerie-item img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 4px;
}

.ayap-fiche-galerie {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 140px, 1fr ) );
	gap: 0.75em;
	margin-bottom: 1.5em;
}

.ayap-galerie-vignette img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

/* ==========================================================================
   Horaires d'ouverture (formulaire de soumission + page single)
   ========================================================================== */

.ayap-horaires-champs {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.ayap-horaires-jour {
	display: flex;
	align-items: center;
	gap: 0.75em;
	flex-wrap: wrap;
}

.ayap-horaires-jour-nom {
	display: flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	min-width: 140px;
}

.ayap-horaires-jour input[type="time"] {
	width: auto;
	max-width: 120px;
	padding: 0.4em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ayap-horaires-table {
	width: 100%;
	max-width: 400px;
	border-collapse: collapse;
	margin-top: 1em;
}

.ayap-horaires-table th,
.ayap-horaires-table td {
	text-align: left;
	padding: 0.5em 1em 0.5em 0;
	border-bottom: 1px solid #eee;
}

.ayap-horaires-ferme {
	color: #6b7785;
}

.ayap-horaires-sep {
	color: #666;
}

.ayap-horaires-exceptions {
	margin-top: 1em;
}

.ayap-horaires-exceptions ul {
	margin: 0.4em 0 0;
	padding-left: 1.2em;
}

.ayap-exception-ligne {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
	margin-bottom: 0.5em;
}

.ayap-exception-ligne input[type="date"],
.ayap-exception-ligne input[type="text"] {
	width: auto;
	padding: 0.4em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ayap-exception-supprimer {
	background: none;
	border: 0;
	color: #b32d2e;
	cursor: pointer;
	font-size: 1.4em;
	line-height: 1;
	padding: 0 0.3em;
}

/* Champs de formulaire à choix multiples (radio, checkbox_group, multiselect)
   introduits en 1.4.0 — alignement en ligne avec un espacement lisible,
   plutôt que le style par défaut du navigateur, empilé et serré. */
.ayap-champ-radio,
.ayap-champ-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin: 0 1.2em 0.5em 0;
	font-weight: 400;
}

/* Recherche d'adresse avec autocomplétion (1.5.0) — liste de
   suggestions Nominatim positionnée sous le champ de recherche ;
   inutile avec Google Places, qui affiche sa propre liste native. */
.ayap-champ-recherche-adresse {
	position: relative;
	margin-bottom: 1em;
}

.ayap-adresse-suggestions {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	right: 0;
	max-width: 480px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 4px 4px;
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.1 );
}

.ayap-adresse-suggestions li {
	padding: 0.5em 0.75em;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.ayap-adresse-suggestions li:last-child {
	border-bottom: none;
}

.ayap-adresse-suggestions li:hover,
.ayap-adresse-suggestions li:focus {
	background: #f5f5f5;
}

/* Choix du plan après soumission (1.5.0) — grille de cartes, une par
   plan disponible (Gratuit + produits WooCommerce vendant un plan). */
.ayap-plans-grille {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 1em;
}

.ayap-plan-carte {
	flex: 1 1 220px;
	max-width: 280px;
	padding: 1.25em;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fafafa;
	text-align: center;
}

.ayap-plan-carte.ayap-plan-actif {
	border-color: #2271b1;
	background: #f0f6fc;
}

.ayap-plan-carte h3 {
	margin-top: 0;
}

.ayap-plan-prix {
	font-size: 1.2em;
	font-weight: 600;
}

.ayap-plan-badge-actif {
	display: inline-block;
	margin-bottom: 0.75em;
	padding: 0.2em 0.6em;
	font-size: 0.85em;
	border-radius: 3px;
	background: #2271b1;
	color: #fff;
}

/* ---- Contact du propriétaire et boîte de réception (AYAP_Messages) ---- */
.ayap-btn-message { background: var(--ayap-c1,#09284e); color: var(--ayap-c1t, #fff); }
.ayap-form-message p,
.ayap-form-reponse p { margin: 0 0 12px; }
.ayap-form-message label,
.ayap-form-reponse label { display: block; font-weight: 600; margin-bottom: 4px; }
.ayap-form-message input[type="text"],
.ayap-form-message input[type="email"],
.ayap-form-message input[type="tel"],
.ayap-form-message textarea,
.ayap-form-reponse textarea { width: 100%; max-width: 560px; box-sizing: border-box; }

.ayap-inbox { margin: 0 0 32px; }
.ayap-message { border: 1px solid #dcdcde; border-radius: 6px; margin: 0 0 10px; padding: 10px 14px; background: #fff; }
.ayap-message.is-non-lu { border-left: 4px solid var(--ayap-c1,#09284e); background: #f6f9ff; }
.ayap-message summary { cursor: pointer; }
.ayap-message-date { color: #646970; font-size: 13px; margin-left: 8px; }
.ayap-message-corps { margin: 10px 0; white-space: normal; }
.ayap-message-contact { font-size: 14px; color: #50575e; }
.ayap-message-reponse { background: #f0f0f1; border-radius: 4px; padding: 8px 12px; margin: 8px 0; }
.ayap-message-actions { font-size: 13px; margin: 8px 0 0; }
.ayap-badge-non-lus,
.ayap-badge-repondu { display: inline-block; font-size: 12px; line-height: 1; padding: 3px 7px; border-radius: 10px; margin-left: 6px; font-weight: 600; }
.ayap-badge-non-lus { background: var(--ayap-c1,#09284e); color: var(--ayap-c1t, #fff); }
.ayap-badge-repondu { background: #d1e7dd; color: #0a3622; }

/* ---- Plans réellement différenciés (AYAP_Plans) ---- */
.ayap-champ-verrouille { background: #f6f7f7; border: 1px dashed #c3c4c7; border-radius: 4px; padding: 8px 12px; }
.ayap-champ-verrouille .ayap-verrou { color: #646970; font-size: 13px; }
.ayap-categories { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0; }
.ayap-categories .ayap-champ-checkbox { font-weight: normal; display: inline-flex; align-items: center; gap: 4px; }
.ayap-categories input:disabled + * { opacity: .5; }
.ayap-lien-upgrade { display: inline-block; margin-top: 4px; font-size: 13px; }
.ayap-quota-fiches { font-size: 13px; color: #50575e; margin: 0 0 16px; }
.ayap-btn-danger { background: #b32d2e; color: #fff; }

/* ---- Icônes de catégorie et mots-clés (AYAP_Term_Meta, AYAP_CPT::TAXONOMY_TAGS) ---- */
.ayap-badge-categorie { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; text-decoration: none; color: #1d2327; font-size: 14px; }
.ayap-badge-categorie-icone { width: 24px; height: 24px; object-fit: cover; border-radius: 4px; }
.ayap-badge-categorie-pastille { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.ayap-resultats .ayap-badge-categorie { font-size: 12px; display: block; margin-bottom: 4px; }
.ayap-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.ayap-tags li a { display: inline-block; background: #f0f0f1; color: #50575e; border-radius: 14px; padding: 4px 12px; font-size: 13px; text-decoration: none; }
.ayap-tags li a:hover { background: #dcdcde; }

/* ---- Recherche avancée : autocomplétion et géolocalisation (AYAP_Search) ---- */
.ayap-champ-autocomplete { position: relative; }
.ayap-autocomplete-liste { position: absolute; z-index: 20; left: 0; right: 0; margin: 2px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.12); max-height: 240px; overflow-y: auto; }
.ayap-autocomplete-liste li { border-bottom: 1px solid #f0f0f1; }
.ayap-autocomplete-liste li:last-child { border-bottom: none; }
.ayap-autocomplete-liste a { display: block; padding: 8px 12px; color: #1d2327; text-decoration: none; font-size: 14px; }
.ayap-autocomplete-liste a:hover,
.ayap-autocomplete-liste a:focus { background: #f0f6fc; }
.ayap-champ-ville { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ayap-btn-geolocaliser { white-space: nowrap; }
.ayap-geolocaliser-statut { font-size: 12px; color: #646970; }

/* ---- Grilles de fiches réutilisables : widgets, blocs, shortcode [ayap_listings] ---- */
.ayap-listings-titre { margin: 0 0 12px; }
.ayap-listings-grille { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.ayap-listings-colonnes-1 { grid-template-columns: 1fr; }
.ayap-listings-colonnes-2 { grid-template-columns: repeat(2, 1fr); }
.ayap-listings-colonnes-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .ayap-listings-grille { grid-template-columns: 1fr; } }
.ayap-listing-carte { position: relative; border: 1px solid #dcdcde; border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow .15s ease; }
.ayap-listing-carte:hover { box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.ayap-listing-carte-lien { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.ayap-listing-image { display: block; height: 140px; background-size: cover; background-position: center; background-color: #f0f0f1; }
.ayap-listing-image-vide { background-image: none; }
.ayap-listing-corps { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; }
.ayap-listing-titre { font-weight: 600; }
.ayap-listing-note { font-size: 13px; color: #996800; }
.ayap-listings-vide { color: #646970; }

/* ---- Widget Catégories ---- */
.ayap-widget-categories { list-style: none; margin: 0; padding: 0; }
.ayap-widget-categories li { margin: 0 0 6px; }
.ayap-widget-categories a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.ayap-widget-categories-icone { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.ayap-widget-categories-compte { color: #646970; font-size: 12px; }

/* ---- Bloc Catégories (ayap/categories) ---- */
.ayap-block-categories { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ayap-block-categorie-carte { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; border: 1px solid #dcdcde; border-radius: 8px; padding: 14px 10px; text-align: center; }
.ayap-block-categorie-carte img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.ayap-block-categorie-pastille { display: inline-block; width: 28px; height: 28px; border-radius: 50%; }
.ayap-block-categorie-compte { font-size: 12px; color: #646970; }

/* (2.8.116) Catégories : présentation « liste » du bloc, « grille » du widget classique, pagination. */
.ayap-block-categories--liste { display: flex; flex-direction: column; gap: 8px; }
.ayap-block-categories--liste .ayap-block-categorie-carte { flex-direction: row; text-align: left; padding: 10px 14px; }
.ayap-block-categories--liste .ayap-block-categorie-nom { flex: 1; }
.ayap-widget-categories--grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ayap-widget-categories--grille li { margin: 0; }
.ayap-widget-categories--grille a { flex-direction: column; justify-content: center; text-align: center; border: 1px solid #dcdcde; border-radius: 8px; padding: 10px 8px; }
.ayap-cat-filtre { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
/* (2.8.120) Côté visiteur, les styles du thème / d'Elementor réduisaient le champ et colorraient le bouton en orange : règles renforcées. */
form.ayap-cat-filtre { display: flex !important; flex-wrap: wrap; align-items: stretch; gap: 8px; width: 100% !important; max-width: none !important; box-sizing: border-box; margin: 0 0 16px !important; padding: 0 !important; background: none !important; border: 0 !important; }
form.ayap-cat-filtre input[type="search"] { flex: 1 1 200px !important; width: auto !important; min-width: 0 !important; max-width: none !important; box-sizing: border-box; height: auto; margin: 0 !important; padding: 12px 16px; border: 1px solid #dcdcde; border-radius: 10px; font-size: 15px; line-height: 1.3; background: #fff; color: #1d2327; box-shadow: none; }
form.ayap-cat-filtre button[type="submit"] { flex: 0 0 auto; margin: 0 !important; padding: 12px 20px; border: 0; border-radius: 10px; background: var(--ayap-c1, #09284e) !important; color: var(--ayap-c1t, #fff) !important; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; cursor: pointer; box-shadow: none; }
form.ayap-cat-filtre button[type="submit"]:hover, form.ayap-cat-filtre button[type="submit"]:focus { background: var(--ayap-c2, #f9922c) !important; color: var(--ayap-c2t, #09284e) !important; }
.ayap-cat-filtre-reset { font-size: 14px; }
.ayap-cat-filtre-vide { margin: 8px 0; color: #646970; }
.ayap-cat-pag ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ayap-cat-pag li { margin: 0; }
.ayap-cat-pag a, .ayap-cat-pag span.page-numbers { display: inline-block; min-width: 34px; padding: 6px 10px; text-align: center; border: 1px solid #dcdcde; border-radius: 6px; text-decoration: none; color: inherit; line-height: 1.3; }
.ayap-cat-pag span.current { background: #1d2327; border-color: #1d2327; color: #fff; }
.ayap-cat-pag span.dots { border-color: transparent; }

/* ---- Comparateur et fiches récemment consultées (AYAP_Engagement) ---- */
.ayap-comparer-case { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.95); border-radius: 4px; padding: 4px 8px; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.ayap-comparer-case input { margin: 0; }

.ayap-barre-comparateur { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #1d2327; color: #fff; padding: 10px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: 0 -2px 10px rgba(0,0,0,.2); }
.ayap-barre-comparateur-compte { font-weight: 600; }
.ayap-barre-comparateur-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; font-size: 13px; color: #c3c4c7; }
.ayap-barre-comparateur-item { background: rgba(255,255,255,.1); border-radius: 10px; padding: 2px 10px; }
.ayap-barre-comparateur-comparer { background: var(--ayap-c1,#09284e); color: var(--ayap-c1t, #fff); border-color: var(--ayap-c1,#09284e); }
.ayap-barre-comparateur-vider { color: #c3c4c7; }

.ayap-apres-fiche { margin-top: 32px; }
.ayap-recemment-consultees { margin-top: 32px; }

.ayap-comparateur-table { width: 100%; border-collapse: collapse; }
.ayap-comparateur-table th,
.ayap-comparateur-table td { border: 1px solid #dcdcde; padding: 10px 12px; text-align: left; vertical-align: top; }
.ayap-comparateur-table th { background: #f6f7f7; white-space: nowrap; width: 1%; }
.ayap-comparateur-entetes td { text-align: center; }
.ayap-comparateur-image { display: block; width: 100%; max-width: 160px; height: 100px; object-fit: cover; border-radius: 6px; margin: 0 auto 8px; }
.ayap-comparateur-titre { font-weight: 600; text-decoration: none; }

/* ---- Médias et réseaux sociaux (AYAP_Post_Fields, AYAP_Engagement) ---- */
.ayap-fiche-reseaux-sociaux { display: flex; gap: 8px; margin-top: 10px; }
.ayap-reseau-social,
.ayap-btn-partage { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f1; color: #1d2327; text-decoration: none; border: none; cursor: pointer; }
.ayap-reseau-social:hover,
.ayap-btn-partage:hover { background: #dcdcde; }
.ayap-reseau-social .dashicons,
.ayap-btn-partage .dashicons { width: 18px; height: 18px; font-size: 18px; }

/* ---- Liens de visibilité d'une annonce boostée (AYAP_Premium::render_liens) ---- */
.ayap-liens-boost { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ayap-lien-boost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid #dcdcde; border-radius: 99px; background: #fff; color: #1d2327; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.ayap-lien-boost:hover,
.ayap-lien-boost:focus-visible { border-color: var(--ayap-c2,#f9922c); box-shadow: 0 2px 8px rgba(249, 146, 44, 0.25); color: #1d2327; }
.ayap-lien-boost .dashicons { width: 20px; height: 20px; font-size: 20px; }
.ayap-lien-boost-site .dashicons { color: #1d5fa8; }
.ayap-lien-boost-facebook .dashicons { color: #1877f2; }
.ayap-lien-boost-instagram .dashicons { color: #c13584; }
.ayap-lien-boost-youtube .dashicons { color: #e00; }
.ayap-lien-boost-linkedin .dashicons { color: #0a66c2; }
.ayap-lien-boost-tiktok .dashicons { color: #111; }
.ayap-lien-boost-email .dashicons { color: #a85a00; }
@media (max-width: 600px) {
	.ayap-liens-boost { display: grid; grid-template-columns: 1fr 1fr; }
	.ayap-lien-boost { min-height: 44px; padding: 8px 10px; }
	.ayap-lien-boost:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.ayap-boutons-partage { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.ayap-boutons-partage-label { font-size: 13px; color: #646970; margin-right: 2px; }
.ayap-btn-partage-facebook:hover { background: #1877f2; color: #fff; }
.ayap-btn-partage-whatsapp:hover { background: #25d366; color: #fff; }
.ayap-btn-partage-twitter:hover { background: #000; color: #fff; }
.ayap-btn-copier-lien.is-copie { background: #00a32a; color: #fff; }

.ayap-fiche-video { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; margin: 16px 0; overflow: hidden; border-radius: 8px; }
.ayap-fiche-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---- Devis, candidatures et espace des demandes (AYAP_Leads_Front) ---- */
.ayap-btn-devis { background: var(--ayap-c2,#f9922c); color: var(--ayap-c2t,#09284e); }
.ayap-btn-postuler { background: #15803d; color: #fff; }
.ayap-btn-secondaire { background: transparent; color: var(--ayap-c1,#09284e); border: 1px solid var(--ayap-c1,#09284e); }
.ayap-btn-action,
.ayap-btn-submit { min-height: 44px; box-sizing: border-box; }
.ayap-form-lead select,
.ayap-form-lead input[type="file"] { width: 100%; max-width: 560px; box-sizing: border-box; }
.ayap-form-lead .description { display: block; font-size: 13px; color: #646970; margin-top: 4px; }
.ayap-consentement label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.ayap-consentement input { margin-top: 4px; }
.ayap-btn-submit.is-envoi { opacity: .6; cursor: wait; }
.ayap-form-inline { display: inline-block; margin: 0 8px 8px 0; vertical-align: top; }
.ayap-case-inline { display: block; font-size: 13px; font-weight: 400; margin: 0 0 6px; }

.ayap-leads { margin: 0 0 32px; }
.ayap-leads-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ayap-filtre { padding: 6px 12px; border: 1px solid #dcdcde; border-radius: 16px; text-decoration: none; }
.ayap-filtre.is-active { background: var(--ayap-c1,#09284e); color: var(--ayap-c1t, #fff); border-color: var(--ayap-c1,#09284e); }
.ayap-leads-liste { list-style: none; margin: 0; padding: 0; }
.ayap-lead-carte { border: 1px solid #dcdcde; border-radius: 6px; margin: 0 0 10px; padding: 10px 14px; background: #fff; }
.ayap-lead-carte.is-non-lu { border-left: 4px solid var(--ayap-c1,#09284e); background: #f6f9ff; }
.ayap-lead-type { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #646970; }
.ayap-lead-detail .ayap-details-table { max-width: 560px; margin: 12px 0; }
.ayap-lead-contact { background: #f0f0f1; border-radius: 4px; padding: 8px 12px; margin: 10px 0; }
.ayap-lead-actions { margin: 16px 0; }
.ayap-lead-fichiers ul,
.ayap-lead-historique ul { margin: 6px 0 12px 18px; }

.ayap-badge-lead,
.ayap-badge-offre-ouverte,
.ayap-badge-offre-pourvue,
.ayap-badge-offre-cloturee,
.ayap-badge-offre-close { display: inline-block; font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: 10px; font-weight: 600; background: #e0e7ff; color: #1e3a8a; }
.ayap-badge-lead-nouveau,
.ayap-badge-lead-en_attente { background: var(--ayap-c1,#09284e); color: var(--ayap-c1t, #fff); }
.ayap-badge-lead-retenu,
.ayap-badge-lead-accepte,
.ayap-badge-lead-confirme,
.ayap-badge-offre-ouverte { background: #d1e7dd; color: #0a3622; }
.ayap-badge-lead-refuse,
.ayap-badge-lead-sans_suite,
.ayap-badge-lead-retire,
.ayap-badge-offre-cloturee,
.ayap-badge-offre-close,
.ayap-badge-offre-pourvue { background: #f1f1f1; color: #50575e; }
.ayap-offre-carte { border: 1px solid #dcdcde; border-radius: 6px; margin: 0 0 10px; padding: 10px 14px; background: #fff; }

@media (max-width: 600px) {
	.ayap-form-inline,
	.ayap-form-inline button { display: block; width: 100%; }
	.ayap-lead-actions .ayap-btn-action { width: 100%; text-align: center; }
}

/* ---- Rendez-vous (AYAP_Rdv_Front) ---- */
.ayap-btn-rdv { background: var(--ayap-c1h,#1b4b82); color: #fff; }
.ayap-rdv-creneaux { margin: 0 0 16px; }
.ayap-rdv-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; }
.ayap-rdv-periode { font-weight: 600; text-align: center; flex: 1; }
.ayap-rdv-nav button[disabled] { opacity: .4; cursor: not-allowed; }
.ayap-rdv-jour { margin: 0 0 12px; }
.ayap-rdv-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ayap-rdv-slot { min-width: 72px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ayap-c1h,#1b4b82); border-radius: 6px; background: #fff; color: var(--ayap-c1h,#1b4b82); font-size: 16px; cursor: pointer; }
.ayap-rdv-slot:hover,
.ayap-rdv-slot:focus-visible { background: #e8eef7; }
.ayap-rdv-slot.is-selected { background: var(--ayap-c1h,#1b4b82); color: #fff; }
.ayap-rdv-choix { font-weight: 600; min-height: 1.4em; }
.ayap-rdv-choix.is-erreur { color: #b32d2e; }
.ayap-rdv-reglages { border: 1px solid #dcdcde; border-radius: 6px; margin: 12px 0 0; padding: 8px 14px; background: #fafafa; }
.ayap-rdv-reglages > summary { cursor: pointer; font-weight: 600; }
.ayap-rdv-jours th { text-align: left; width: 110px; font-weight: 600; }
.ayap-rdv-jours input[type="time"] { min-height: 40px; }
.ayap-rdv-gestion h4 { margin: 20px 0 8px; }
.ayap-badge-lead-confirme { background: #d1e7dd; color: #0a3622; }
.ayap-badge-lead-annule,
.ayap-badge-lead-absent { background: #f1f1f1; color: #50575e; }
@media (max-width: 600px) {
	.ayap-rdv-slot { flex: 1 1 30%; }
	.ayap-rdv-jours td input[type="time"] { width: 44%; box-sizing: border-box; margin-bottom: 4px; }
}

/* Statistiques de contact (espace prestataire et espace demandeur) */
.ayap-stats-resume {
	margin: 0 0 1.5em;
	padding: 1em 1.2em;
	border: 1px solid #e2e6ea;
	border-radius: 6px;
	background: #f8f9fb;
}

.ayap-stats-resume h3 {
	margin: 0 0 0.6em;
}

.ayap-stats-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 0.6em;
	list-style: none;
	margin: 0 0 0.8em;
	padding: 0;
}

.ayap-stats-grille li {
	display: flex;
	flex-direction: column;
	padding: 0.6em 0.8em;
	border-radius: 4px;
	background: #fff;
	border: 1px solid #e2e6ea;
}

.ayap-stats-grille strong {
	font-size: 1.5em;
	line-height: 1.2;
	color: var(--ayap-c1,#09284e);
}

.ayap-stats-grille span {
	font-size: 0.85em;
	color: #666;
}

.ayap-stats-taux {
	margin: 0 0 0.4em;
	font-weight: 600;
}

.ayap-dashboard-fiche-30j {
	margin: 0 0 0.8em;
	color: #666;
	font-size: 0.85em;
}

/* ==========================================================================
   Boutons de contact principaux de la page d'une annonce (1.30.0)
   Couleurs : variables --ayap-c1 / --ayap-c2 (Réglages > Page d'une annonce).
   ========================================================================== */
.ayap-actions-principales {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 10px;
	margin: 16px 0 12px;
}

.ayap-actions-principales .ayap-btn-action,
.ayap-actions-principales .ayap-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	transition: filter 0.15s ease, transform 0.05s ease;
}

.ayap-actions-principales .ayap-btn-action:hover,
.ayap-actions-principales .ayap-btn-action:focus {
	color: #fff;
	filter: brightness(1.1);
}

.ayap-actions-principales .ayap-btn-action:active {
	transform: translateY(1px);
}

.ayap-actions-principales .ayap-btn-action:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
}

.ayap-actions-principales .ayap-btn-appeler {
	background: var(--ayap-c1,#09284e);
}

/* Vert de la marque WhatsApp, assombri pour rester lisible (texte blanc). */
.ayap-actions-principales .ayap-btn-whatsapp {
	background: #15803d;
}

.ayap-actions-principales .ayap-btn-devis,
.ayap-actions-principales .ayap-btn-postuler,
.ayap-actions-principales .ayap-btn-commander {
	background: var(--ayap-c2,#f9922c);
}

/* Offre pourvue / clôturée : étiquette à la place du bouton Postuler. */
.ayap-actions-principales .ayap-badge {
	background: #6b7280;
	box-shadow: none;
}

.ayap-fiche-actions-secondaires {
	margin-top: 4px;
}

/* Téléphone : barre fixée en bas de l'écran, à portée du pouce. */
@media (max-width: 700px) {
	.ayap-actions-principales {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		margin: 0;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid rgba(0, 0, 0, 0.12);
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
	}

	.ayap-actions-principales .ayap-btn-action,
	.ayap-actions-principales .ayap-badge {
		padding: 10px 6px;
		font-size: 0.95rem;
	}

	/* La barre ne doit jamais masquer la fin de la page. */
	body.ayap-has-actionbar {
		padding-bottom: 84px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ayap-actions-principales .ayap-btn-action {
		transition: none;
	}
}

/* Forfaits premium d'annonces : bloc « Mettre en vedette » du tableau de bord (1.33.0). */
.ayap-premium {
	flex-basis: 100%;
	margin-top: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-left: 4px solid var(--ayap-c2,#f9922c);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.02);
}

.ayap-premium-statut {
	margin: 0 0 8px;
	font-size: 0.95rem;
}

.ayap-premium .ayap-btn-premium {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 9px 14px;
	border-radius: 8px;
	background: var(--ayap-c2,#f9922c);
	color: var(--ayap-c2t, #fff);
	font-weight: 600;
	text-decoration: none;
}

.ayap-premium .ayap-btn-premium:hover,
.ayap-premium .ayap-btn-premium:focus {
	color: #fff;
	filter: brightness(1.1);
}

/* Pastille de disponibilité (horaires d'ouverture) */
.ayap-dispo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; vertical-align: middle; }
.ayap-dispo-point { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.ayap-dispo--ouvert { color: #17692e; }
.ayap-dispo--ouvert .ayap-dispo-point { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.ayap-dispo--ferme { color: #5b6775; }
.ayap-dispo--ferme .ayap-dispo-point { background: #b5b5b5; }

/* Badge « Diplômes vérifiés » (v1.43.0) */
.ayap-badge-diplomes{background:#e6f4ea;color:#14532d}
.ayap-fiche-logo{display:inline-block;margin:0 0 10px}
.ayap-fiche-logo-img{width:72px;height:72px;object-fit:cover;border-radius:50%}

/* ==========================================================================
   RENDU PROFESSIONNEL ET RESPONSIVE (v1.46.1)
   Ajout uniquement : aucune règle ci-dessus n'a été retirée.
   Points de rupture : mobile < 600 · tablette 600-1023 · portable 1024-1279
   · bureau >= 1280 · grand écran >= 1600.
   Couleurs de la marque : bleu marine var(--ayap-c1,#09284e), orange var(--ayap-c2,#f9922c).
   ========================================================================== */

/* ---- Bases communes : rien ne déborde, texte confortable ---- */
.ayap-fiche,
.ayap-archive-wrap,
.ayap-archive-localisation,
.ayap-dashboard,
.ayap-form-soumission,
.ayap-comparateur,
.ayap-inbox,
.ayap-leads {
	box-sizing: border-box;
	max-width: 100%;
}

.ayap-fiche *,
.ayap-archive-wrap *,
.ayap-archive-localisation *,
.ayap-dashboard *,
.ayap-form-soumission * {
	box-sizing: border-box;
}

.ayap-fiche img,
.ayap-archive-wrap img,
.ayap-dashboard img,
.ayap-comparateur img {
	max-width: 100%;
	height: auto;
}

.ayap-fiche iframe,
.ayap-fiche video {
	max-width: 100%;
}

.ayap-fiche-titre,
.ayap-archive-titre,
.ayap-resultats li a,
.ayap-dashboard-fiche-header h3 {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Zones tactiles confortables (44 px) et texte 16 px dans les champs :
   évite le zoom automatique d'iOS à la saisie. */
.ayap-form-soumission input[type="text"],
.ayap-form-soumission input[type="number"],
.ayap-form-soumission input[type="email"],
.ayap-form-soumission input[type="tel"],
.ayap-form-soumission input[type="url"],
.ayap-form-soumission input[type="date"],
.ayap-form-soumission input[type="datetime-local"],
.ayap-form-soumission select,
.ayap-form-recherche input[type="text"],
.ayap-form-recherche input[type="search"],
.ayap-form-recherche select,
.ayap-form-message input,
.ayap-form-lead input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.ayap-form-lead select,
.ayap-form-avis select {
	min-height: 44px;
	font-size: 16px;
	border-color: #cfd6de;
	border-radius: 8px;
}

.ayap-form-soumission textarea,
.ayap-form-message textarea,
.ayap-form-lead textarea,
.ayap-form-avis textarea,
.ayap-form-reponse textarea {
	font-size: 16px;
	border-color: #cfd6de;
	border-radius: 8px;
}

.ayap-form-soumission input:focus,
.ayap-form-soumission select:focus,
.ayap-form-soumission textarea:focus,
.ayap-form-recherche input:focus,
.ayap-form-recherche select:focus,
.ayap-form-message input:focus,
.ayap-form-message textarea:focus,
.ayap-form-lead input:focus,
.ayap-form-lead select:focus,
.ayap-form-lead textarea:focus,
.ayap-form-avis select:focus,
.ayap-form-avis textarea:focus {
	border-color: var(--ayap-c1,#09284e);
	outline: 3px solid rgba(249, 146, 44, 0.45);
	outline-offset: 0;
}

.ayap-btn-action,
.ayap-btn-submit,
.ayap-btn-favori,
.ayap-btn-report,
.ayap-btn-geolocaliser {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 44px;
	padding: 0.6em 1.2em;
	border-radius: 10px;
	line-height: 1.2;
	text-align: center;
	box-sizing: border-box;
	transition: filter 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ayap-btn-action:hover,
.ayap-btn-action:focus-visible,
.ayap-btn-submit:hover,
.ayap-btn-submit:focus-visible {
	filter: brightness(1.08);
}

.ayap-btn-action:focus-visible,
.ayap-btn-submit:focus-visible,
.ayap-btn-favori:focus-visible,
.ayap-tab-btn:focus-visible,
.ayap-pagination a:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
}

.ayap-btn-submit {
	background: var(--ayap-c1,#09284e);
	color: var(--ayap-c1t, #fff);
}

/* Messages */
.ayap-notice {
	border-radius: 10px;
	font-size: 0.95em;
	line-height: 1.5;
}

.ayap-notice-info {
	background: #eef4fb;
	border: 1px solid #b9cde6;
}

/* ---- Fiche d'une annonce (single) ---- */
.ayap-fiche {
	margin-left: auto;
	margin-right: auto;
	max-width: 1100px;
	padding-left: 12px;
	padding-right: 12px;
}

.ayap-fiche-header {
	align-items: flex-start;
	gap: 1.25em 2em;
}

.ayap-fiche-photo {
	flex: 0 0 min(42%, 440px);
}

.ayap-fiche-photo img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(9, 40, 78, 0.12);
}

.ayap-fiche-intro {
	flex: 1 1 320px;
	min-width: 0;
}

.ayap-fiche-titre {
	font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
	line-height: 1.2;
	color: var(--ayap-c1,#09284e);
}

.ayap-badge {
	line-height: 1.3;
}

.ayap-fiche-galerie {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
}

.ayap-galerie-vignette img {
	height: auto;
	aspect-ratio: 4 / 3;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ayap-galerie-vignette:hover img,
.ayap-galerie-vignette:focus-visible img {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(9, 40, 78, 0.18);
}

/* Onglets */
.ayap-tabs-nav {
	border-bottom: 2px solid #e3e8ef;
}

.ayap-tab-btn {
	min-height: 44px;
	font: inherit;
	font-weight: 600;
	white-space: nowrap;
	border-radius: 0;
}

.ayap-tab-btn:hover {
	color: var(--ayap-c1,#09284e);
	background: none;
}

.ayap-tab-btn.is-active {
	color: var(--ayap-c1,#09284e);
	border-bottom-color: var(--ayap-c2,#f9922c);
}

.ayap-tab-panel {
	line-height: 1.65;
}

/* Tableaux de détails et d'horaires */
.ayap-details-table,
.ayap-horaires-table {
	max-width: 760px;
}

.ayap-details-table th,
.ayap-details-table td,
.ayap-horaires-table th,
.ayap-horaires-table td {
	vertical-align: top;
	overflow-wrap: anywhere;
}

.ayap-details-table tr:last-child th,
.ayap-details-table tr:last-child td {
	border-bottom: 0;
}

.ayap-single-map {
	max-width: 100%;
	height: clamp(260px, 42vw, 440px);
	border-radius: 12px;
	isolation: isolate;
}

.ayap-fiche-video {
	max-width: 860px;
}

/* ---- Archive et résultats de recherche ---- */
.ayap-archive-wrap,
.ayap-archive-localisation {
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
}

.ayap-archive-localisation {
	max-width: 1200px;
}

.ayap-archive-titre {
	font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
	line-height: 1.2;
	color: var(--ayap-c1,#09284e);
}

.ayap-form-recherche {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 0.9em 1em;
	align-items: start;
	background: #f5f7fa;
	border: 1px solid #e3e8ef;
	border-radius: 14px;
	padding: 1.1em 1.25em;
}

.ayap-form-recherche p {
	flex: none;
	min-width: 0;
}

.ayap-form-recherche .ayap-btn-submit {
	width: 100%;
}

.ayap-form-recherche p:has(> .ayap-btn-submit) {
	align-self: end;
}

.ayap-champ-ville {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.ayap-champ-ville label,
.ayap-champ-ville .ayap-geolocaliser-statut {
	grid-column: 1 / -1;
}

.ayap-btn-geolocaliser {
	width: 100%;
	background: #fff;
	border: 1px solid #cfd6de;
	color: var(--ayap-c1,#09284e);
	cursor: pointer;
	white-space: normal;
}

.ayap-autocomplete-liste {
	z-index: 30;
}

.ayap-results-map {
	max-width: 100%;
	height: clamp(260px, 45vw, 460px);
	border-radius: 14px;
	border: 1px solid #e3e8ef;
	isolation: isolate;
}

.ayap-resultats {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 1.1em;
}

.ayap-resultats li {
	position: relative;
	border-color: #e3e8ef;
	border-radius: 14px;
	padding: 1.1em 1.15em;
	line-height: 1.5;
	overflow-wrap: anywhere;
	box-shadow: 0 1px 3px rgba(9, 40, 78, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ayap-resultats li:hover,
.ayap-resultats li:focus-within {
	border-color: var(--ayap-c2,#f9922c);
	box-shadow: 0 10px 24px rgba(9, 40, 78, 0.12);
	transform: translateY(-2px);
}

.ayap-resultats li > a {
	color: var(--ayap-c1,#09284e);
	font-size: 1.05em;
}

.ayap-resultats li .ayap-btn-favori {
	display: inline-flex;
	min-height: 36px;
	margin: 0.5em 0 0;
}

.ayap-pagination {
	justify-content: center;
	margin-top: 2em;
}

.ayap-pagination a,
.ayap-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.9em;
	border-radius: 10px;
	box-sizing: border-box;
}

.ayap-pagination a.current {
	background: var(--ayap-c1,#09284e);
	border-color: var(--ayap-c1,#09284e);
}

/* Grilles réutilisables (widgets, blocs, [ayap_listings]) */
.ayap-listing-image {
	height: auto;
	aspect-ratio: 16 / 10;
}

.ayap-listing-carte {
	border-radius: 14px;
	border-color: #e3e8ef;
}

.ayap-listing-carte:hover {
	box-shadow: 0 10px 24px rgba(9, 40, 78, 0.12);
}

/* ---- Formulaires de publication (soumission / prestation) ---- */
.ayap-form-soumission {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.ayap-form-soumission input[type="text"],
.ayap-form-soumission input[type="number"],
.ayap-form-soumission input[type="email"],
.ayap-form-soumission input[type="tel"],
.ayap-form-soumission input[type="url"],
.ayap-form-soumission select,
.ayap-form-soumission textarea {
	max-width: min(100%, 560px);
}

.ayap-form-soumission input[type="file"] {
	max-width: 100%;
}

.ayap-form-soumission .description {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.45;
	color: #5b6775;
}

.ayap-form-soumission .ayap-etape {
	min-width: 0;
}

.ayap-map-picker {
	max-width: 100%;
	height: clamp(260px, 50vw, 380px);
	isolation: isolate;
}

.ayap-adresse-suggestions {
	max-width: min(100%, 560px);
}

.ayap-champ-radio,
.ayap-champ-checkbox {
	min-height: 32px;
}

.ayap-horaires-jour input[type="time"],
.ayap-exception-ligne input[type="date"],
.ayap-exception-ligne input[type="text"] {
	min-height: 44px;
	font-size: 16px;
}

/* ---- Espace prestataire (tableau de bord, demandes, messages) ---- */
.ayap-dashboard {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	align-items: start;
}

.ayap-dashboard > :not(.ayap-dashboard-fiche) {
	grid-column: 1 / -1;
}

.ayap-dashboard-fiche {
	min-width: 0;
	border-color: #e3e8ef;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(9, 40, 78, 0.06);
}

.ayap-dashboard-fiche-header h3 {
	flex: 1 1 200px;
	min-width: 0;
	color: var(--ayap-c1,#09284e);
}

.ayap-leads-filtres {
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 6px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.ayap-leads-filtres .ayap-filtre {
	flex: none;
	white-space: nowrap;
}

.ayap-lead-carte,
.ayap-offre-carte,
.ayap-message {
	border-radius: 12px;
	overflow-wrap: anywhere;
}

.ayap-rdv-gestion table,
.ayap-lead-detail table {
	max-width: 100%;
}

/* ---- Comparateur : défilement horizontal, première colonne figée ---- */
.ayap-comparateur {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
}

.ayap-comparateur-table {
	min-width: 560px;
	border: 0;
}

.ayap-comparateur-table th {
	position: sticky;
	left: 0;
	z-index: 1;
}

.ayap-comparateur-table th,
.ayap-comparateur-table td {
	border-color: #e3e8ef;
}

/* ---- Barre du comparateur : au-dessus de la barre d'appel mobile ---- */
.ayap-barre-comparateur {
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

/* ---- Pastilles de partage : zones tactiles ---- */
.ayap-reseau-social,
.ayap-btn-partage {
	width: 40px;
	height: 40px;
}

.ayap-boutons-partage {
	flex-wrap: wrap;
}

/* ==========================================================================
   Grand écran (>= 1600) et bureau (>= 1280)
   ========================================================================== */
@media (min-width: 1280px) {
	.ayap-archive-wrap,
	.ayap-archive-localisation {
		max-width: 1200px;
	}

	.ayap-fiche {
		max-width: 1160px;
	}

	.ayap-dashboard {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	}
}

@media (min-width: 1600px) {
	.ayap-archive-wrap,
	.ayap-archive-localisation {
		max-width: 1360px;
	}

	.ayap-fiche {
		max-width: 1240px;
	}
}

/* ==========================================================================
   Portable et tablette large (<= 1279)
   ========================================================================== */
@media (max-width: 1279px) {
	.ayap-listings-colonnes-4 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   Tablette (<= 1023)
   ========================================================================== */
@media (max-width: 1023px) {
	.ayap-listings-colonnes-4,
	.ayap-listings-grille:not(.ayap-listings-colonnes-1) {
		grid-template-columns: repeat(2, 1fr);
	}

	.ayap-fiche-photo {
		flex: 0 0 min(46%, 360px);
	}

	.ayap-form-recherche {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ayap-form-recherche .ayap-champ-autocomplete {
		grid-column: 1 / -1;
	}

	.ayap-dashboard {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Mobile large et petite tablette (<= 767)
   ========================================================================== */
@media (max-width: 767px) {
	.ayap-fiche-header {
		flex-direction: column;
		gap: 1em;
	}

	.ayap-fiche-photo,
	.ayap-fiche-intro {
		flex: 1 1 auto;
		width: 100%;
	}

	.ayap-fiche-photo img {
		aspect-ratio: 16 / 10;
	}

	/* Onglets : une seule ligne défilante au doigt */
	.ayap-tabs-nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0;
		margin-left: -12px;
		margin-right: -12px;
		padding: 0 12px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.ayap-tabs-nav::-webkit-scrollbar {
		display: none;
	}

	.ayap-tab-btn {
		flex: none;
		padding: 0.75em 1em;
		scroll-snap-align: start;
	}

	/* Tableau des détails : libellé au-dessus de la valeur */
	.ayap-details-table,
	.ayap-details-table tbody,
	.ayap-details-table tr,
	.ayap-details-table th,
	.ayap-details-table td {
		display: block;
		width: 100%;
	}

	.ayap-details-table th {
		padding: 0.7em 0 0;
		border-bottom: 0;
		font-size: 0.85em;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.ayap-details-table td {
		padding: 0.15em 0 0.7em;
	}

	.ayap-horaires-table {
		max-width: 100%;
	}

	.ayap-fiche-actions .ayap-btn-action,
	.ayap-fiche-actions .ayap-btn-favori,
	.ayap-fiche-actions .ayap-btn-report {
		flex: 1 1 calc(50% - 0.4em);
	}

	/* Barre du comparateur au-dessus de la barre d'appel fixée en bas */
	body.ayap-has-actionbar .ayap-barre-comparateur {
		bottom: 72px;
	}

	.ayap-barre-comparateur {
		gap: 8px 10px;
	}

	.ayap-form-soumission {
		max-width: 100%;
	}

	.ayap-horaires-jour-nom {
		min-width: 100%;
	}

	.ayap-horaires-jour input[type="time"] {
		flex: 1 1 40%;
		max-width: none;
	}

	.ayap-exception-ligne input[type="date"],
	.ayap-exception-ligne input[type="text"] {
		flex: 1 1 100%;
		width: 100%;
	}

	.ayap-plan-carte {
		max-width: 100%;
	}

	.ayap-dashboard-fiche-actions .ayap-btn-action {
		flex: 1 1 calc(50% - 0.6em);
	}

	.ayap-premium .ayap-btn-premium {
		display: block;
		margin-right: 0;
		text-align: center;
	}

	.ayap-lead-actions .ayap-btn-action {
		width: 100%;
	}

	.ayap-rdv-nav {
		flex-wrap: wrap;
	}

	.ayap-message summary {
		line-height: 1.5;
	}
}

/* ==========================================================================
   Mobile (<= 599)
   ========================================================================== */
@media (max-width: 599px) {
	.ayap-form-recherche {
		grid-template-columns: 1fr;
		padding: 1em;
		border-radius: 12px;
	}

	.ayap-listings-colonnes-4,
	.ayap-listings-colonnes-2,
	.ayap-listings-grille:not(.ayap-listings-colonnes-1) {
		grid-template-columns: 1fr;
	}

	.ayap-fiche-actions .ayap-btn-action,
	.ayap-fiche-actions .ayap-btn-favori,
	.ayap-fiche-actions .ayap-btn-report {
		flex: 1 1 100%;
	}

	.ayap-dashboard-fiche-actions .ayap-btn-action {
		flex: 1 1 100%;
	}

	.ayap-dashboard-fiche {
		padding: 1em;
	}

	.ayap-stats-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ayap-fiche-galerie {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ayap-pagination a,
	.ayap-pagination span {
		min-width: 40px;
		padding: 0 0.7em;
	}

	.ayap-comparateur-table th {
		white-space: normal;
		min-width: 90px;
	}

	.ayap-notice {
		padding: 0.85em 1em;
	}

	.ayap-boutons-partage-label {
		flex: 1 1 100%;
	}
}

/* Très petits écrans (<= 360) */
@media (max-width: 360px) {
	.ayap-actions-principales .ayap-btn-action,
	.ayap-actions-principales .ayap-badge {
		font-size: 0.85rem;
		padding: 8px 4px;
	}
}

/* Préférences d'accessibilité et impression */
@media (prefers-reduced-motion: reduce) {
	.ayap-resultats li,
	.ayap-galerie-vignette img,
	.ayap-btn-action,
	.ayap-btn-submit {
		transition: none;
	}

	.ayap-resultats li:hover,
	.ayap-resultats li:focus-within,
	.ayap-galerie-vignette:hover img {
		transform: none;
	}
}

@media print {
	.ayap-actions-principales,
	.ayap-barre-comparateur,
	.ayap-tabs-nav {
		display: none;
	}

	html.ayap-js .ayap-tab-panel {
		display: block;
	}
}

/* ---- Vignette des cartes de résultats (v1.46.1) ---- */
.ayap-resultats li .ayap-resultat-vignette {
	display: block;
	margin: -1.1em -1.15em 0.9em;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
	background: #f0f2f5;
}

.ayap-resultats li .ayap-resultat-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ayap-resultats li:hover .ayap-resultat-vignette img {
	transform: scale(1.04);
}

.ayap-resultats li .ayap-comparer-case {
	top: 8px;
	right: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.ayap-resultats li .ayap-resultat-vignette img {
		transition: none;
	}

	.ayap-resultats li:hover .ayap-resultat-vignette img {
		transform: none;
	}
}

/* ---- Accessibilité (v1.46.2) ---- */
.ayap-tab-btn[aria-selected="true"] {
	color: var(--ayap-c1,#09284e);
}

.ayap-tab-panel:focus-visible,
.ayap-lead-carte summary:focus-visible,
.ayap-message summary:focus-visible,
.ayap-rdv-slot:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
}

.ayap-resultats li a:focus-visible,
.ayap-fil-ariane a:focus-visible,
.ayap-tags li a:focus-visible,
.ayap-listing-carte-lien:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
	border-radius: 4px;
}

.ayap-resultats li a,
.ayap-fil-ariane a {
	text-decoration-thickness: 1px;
}

/* ==========================================================================
   Mode sombre (v1.46.3) — suit le réglage de l'appareil du visiteur.
   Principe : chaque carte / formulaire du plugin porte sa propre surface
   sombre et son texte clair, donc reste lisible quel que soit le thème ;
   les textes posés directement sur la page (titres, fil d'Ariane…)
   reprennent la couleur du thème (inherit) au lieu du bleu marine.
   Désactivable : ajouter la classe .ayap-clair sur <body>.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
	body:not(.ayap-clair) {
		--ayap-d-surface: #121d2c;
		--ayap-d-surface2: #1a2a3f;
		--ayap-d-bord: #2e405a;
		--ayap-d-texte: #e8edf4;
		--ayap-d-muet: #aab6c6;
	}

	body:not(.ayap-clair) .ayap-fiche-titre,
	body:not(.ayap-clair) .ayap-archive-titre,
	body:not(.ayap-clair) .ayap-tab-btn.is-active,
	body:not(.ayap-clair) .ayap-tab-btn[aria-selected="true"],
	body:not(.ayap-clair) .ayap-tab-btn:hover,
	body:not(.ayap-clair) .ayap-fil-ariane a,
	body:not(.ayap-clair) .ayap-fiche-fil-ariane a {
		color: inherit;
	}

	body:not(.ayap-clair) .ayap-tab-btn,
	body:not(.ayap-clair) .ayap-fiche-vues,
	body:not(.ayap-clair) .ayap-archive-description,
	body:not(.ayap-clair) .ayap-fil-ariane,
	body:not(.ayap-clair) .ayap-fiche-lieu,
	body:not(.ayap-clair) .ayap-details-table th,
	body:not(.ayap-clair) .ayap-horaires-ferme,
	body:not(.ayap-clair) .ayap-quota-fiches {
		color: inherit;
		opacity: 0.8;
	}

	body:not(.ayap-clair) .ayap-tabs-nav,
	body:not(.ayap-clair) .ayap-details-table th,
	body:not(.ayap-clair) .ayap-details-table td,
	body:not(.ayap-clair) .ayap-horaires-table th,
	body:not(.ayap-clair) .ayap-horaires-table td,
	body:not(.ayap-clair) .ayap-avis-item {
		border-color: var(--ayap-d-bord);
	}

	/* Surfaces : cartes, formulaires, blocs */
	body:not(.ayap-clair) .ayap-resultats li,
	body:not(.ayap-clair) .ayap-listing-carte,
	body:not(.ayap-clair) .ayap-dashboard-fiche,
	body:not(.ayap-clair) .ayap-message,
	body:not(.ayap-clair) .ayap-lead-carte,
	body:not(.ayap-clair) .ayap-offre-carte,
	body:not(.ayap-clair) .ayap-block-categorie-carte,
	body:not(.ayap-clair) .ayap-widget-categories--grille a,
	body:not(.ayap-clair) .ayap-cat-filtre input[type="search"],
	body:not(.ayap-clair) .ayap-cat-pag a,
	body:not(.ayap-clair) .ayap-cat-pag span.page-numbers:not(.current),
	body:not(.ayap-clair) .ayap-stats-grille li,
	body:not(.ayap-clair) .ayap-adresse-suggestions,
	body:not(.ayap-clair) .ayap-autocomplete-liste,
	body:not(.ayap-clair) .ayap-rdv-reglages {
		background: var(--ayap-d-surface);
		border-color: var(--ayap-d-bord);
		color: var(--ayap-d-texte);
		box-shadow: none;
	}

	body:not(.ayap-clair) .ayap-form-recherche,
	body:not(.ayap-clair) .ayap-stats-resume,
	body:not(.ayap-clair) .ayap-premium,
	body:not(.ayap-clair) .ayap-programmation,
	body:not(.ayap-clair) .ayap-message-reponse,
	body:not(.ayap-clair) .ayap-lead-contact,
	body:not(.ayap-clair) .ayap-avis-reponse,
	body:not(.ayap-clair) .ayap-champ-verrouille {
		background: var(--ayap-d-surface2);
		border-color: var(--ayap-d-bord);
		color: var(--ayap-d-texte);
	}

	body:not(.ayap-clair) .ayap-message.is-non-lu,
	body:not(.ayap-clair) .ayap-lead-carte.is-non-lu {
		background: #17283f;
		border-left-color: var(--ayap-c2,#f9922c);
	}

	body:not(.ayap-clair) .ayap-resultats li > a,
	body:not(.ayap-clair) .ayap-resultats li a,
	body:not(.ayap-clair) .ayap-dashboard-fiche-header h3,
	body:not(.ayap-clair) .ayap-stats-grille strong,
	body:not(.ayap-clair) .ayap-comparateur-titre,
	body:not(.ayap-clair) .ayap-badge-categorie {
		color: var(--ayap-d-texte);
	}

	body:not(.ayap-clair) .ayap-resultats li .ayap-meta,
	body:not(.ayap-clair) .ayap-stats-grille span,
	body:not(.ayap-clair) .ayap-dashboard-fiche-type,
	body:not(.ayap-clair) .ayap-dashboard-fiche-stats,
	body:not(.ayap-clair) .ayap-dashboard-fiche-30j,
	body:not(.ayap-clair) .ayap-message-date,
	body:not(.ayap-clair) .ayap-message-contact,
	body:not(.ayap-clair) .ayap-lead-type,
	body:not(.ayap-clair) .ayap-listing-note,
	body:not(.ayap-clair) .ayap-block-categorie-compte,
	body:not(.ayap-clair) .ayap-widget-categories-compte,
	body:not(.ayap-clair) .ayap-form-soumission .description,
	body:not(.ayap-clair) .ayap-form-lead .description {
		color: var(--ayap-d-muet);
	}

	/* Champs */
	body:not(.ayap-clair) .ayap-form-soumission input[type="text"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="number"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="email"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="tel"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="url"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="date"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="time"],
	body:not(.ayap-clair) .ayap-form-soumission input[type="datetime-local"],
	body:not(.ayap-clair) .ayap-form-soumission select,
	body:not(.ayap-clair) .ayap-form-soumission textarea,
	body:not(.ayap-clair) .ayap-form-recherche input,
	body:not(.ayap-clair) .ayap-form-recherche select,
	body:not(.ayap-clair) .ayap-form-message input,
	body:not(.ayap-clair) .ayap-form-message textarea,
	body:not(.ayap-clair) .ayap-form-reponse textarea,
	body:not(.ayap-clair) .ayap-form-lead input,
	body:not(.ayap-clair) .ayap-form-lead select,
	body:not(.ayap-clair) .ayap-form-lead textarea,
	body:not(.ayap-clair) .ayap-form-avis select,
	body:not(.ayap-clair) .ayap-form-avis textarea,
	body:not(.ayap-clair) .ayap-form-reponse-avis textarea {
		background: #0d1624;
		color: var(--ayap-d-texte);
		border-color: var(--ayap-d-bord);
		color-scheme: dark;
	}

	body:not(.ayap-clair) .ayap-form-soumission label,
	body:not(.ayap-clair) .ayap-form-recherche label,
	body:not(.ayap-clair) .ayap-form-message label,
	body:not(.ayap-clair) .ayap-form-lead label {
		color: inherit;
	}

	/* Boutons */
	body:not(.ayap-clair) .ayap-btn-submit,
	body:not(.ayap-clair) .ayap-btn-action:not(.ayap-btn-whatsapp):not(.ayap-btn-devis):not(.ayap-btn-rdv):not(.ayap-btn-message):not(.ayap-btn-danger):not(.ayap-btn-claim):not(.ayap-btn-secondaire):not(.ayap-btn-plan) {
		background: var(--ayap-c1h,#1b4b82);
		color: #fff;
	}

	/* Boutons « contour » posés sur la page : couleur du thème */
	body:not(.ayap-clair) .ayap-btn-claim,
	body:not(.ayap-clair) .ayap-btn-secondaire,
	body:not(.ayap-clair) .ayap-btn-plan,
	body:not(.ayap-clair) .ayap-btn-report {
		color: inherit;
		border-color: currentColor;
	}

	body:not(.ayap-clair) .ayap-btn-favori,
	body:not(.ayap-clair) .ayap-btn-geolocaliser,
	body:not(.ayap-clair) .ayap-btn-utile {
		background: var(--ayap-d-surface2);
		color: var(--ayap-d-texte);
		border-color: var(--ayap-d-bord);
	}

	body:not(.ayap-clair) .ayap-pagination a {
		background: var(--ayap-d-surface);
		color: var(--ayap-d-texte);
		border-color: var(--ayap-d-bord);
	}

	body:not(.ayap-clair) .ayap-pagination a.current {
		background: var(--ayap-c2,#f9922c);
		border-color: var(--ayap-c2,#f9922c);
		color: var(--ayap-c2t, var(--ayap-c1,#09284e));
	}

	/* Badges */
	body:not(.ayap-clair) .ayap-badge {
		background: #25364d;
		color: #e8edf4;
	}

	body:not(.ayap-clair) .ayap-badge-verifie,
	body:not(.ayap-clair) .ayap-badge-ouvert,
	body:not(.ayap-clair) .ayap-badge-statut-publish {
		background: #12351f;
		color: #8fe0a6;
	}

	body:not(.ayap-clair) .ayap-badge-plan-particulier {
		background: #15304f;
		color: #9ec5f5;
	}

	body:not(.ayap-clair) .ayap-badge-plan-pro {
		background: #2d2150;
		color: #c9b6f5;
	}

	body:not(.ayap-clair) .ayap-badge-plan-business,
	body:not(.ayap-clair) .ayap-badge-vedette,
	body:not(.ayap-clair) .ayap-badge-statut-pending {
		background: #4a3410;
		color: #ffd28a;
	}

	body:not(.ayap-clair) .ayap-tags li a {
		background: var(--ayap-d-surface2);
		color: var(--ayap-d-texte);
	}

	/* Messages */
	body:not(.ayap-clair) .ayap-notice-success {
		background: #12351f;
		border-color: #2d6a43;
		color: #c8f1d5;
	}

	body:not(.ayap-clair) .ayap-notice-error {
		background: #3d1a1a;
		border-color: #8a3a3a;
		color: #ffd0d0;
	}

	body:not(.ayap-clair) .ayap-notice-info,
	body:not(.ayap-clair) .ayap-duplicate-alert {
		background: #17283f;
		border-color: var(--ayap-d-bord);
		color: var(--ayap-d-texte);
	}

	/* Comparateur */
	body:not(.ayap-clair) .ayap-comparateur,
	body:not(.ayap-clair) .ayap-comparateur-table td {
		background: var(--ayap-d-surface);
		color: var(--ayap-d-texte);
		border-color: var(--ayap-d-bord);
	}

	body:not(.ayap-clair) .ayap-comparateur-table th {
		background: var(--ayap-d-surface2);
		color: var(--ayap-d-texte);
		border-color: var(--ayap-d-bord);
	}

	/* Créneaux de rendez-vous */
	body:not(.ayap-clair) .ayap-rdv-slot {
		background: var(--ayap-d-surface2);
		color: #fff;
		border-color: #5d86bb;
	}

	body:not(.ayap-clair) .ayap-rdv-slot.is-selected {
		background: var(--ayap-c1h,#1b4b82);
	}

	body:not(.ayap-clair) .ayap-filtre {
		border-color: var(--ayap-d-bord);
		color: inherit;
	}

	body:not(.ayap-clair) .ayap-filtre.is-active {
		background: var(--ayap-c2,#f9922c);
		border-color: var(--ayap-c2,#f9922c);
		color: var(--ayap-c2t, var(--ayap-c1,#09284e));
	}

	/* Cartes : la case « Comparer » reste lisible sur la photo */
	body:not(.ayap-clair) .ayap-comparer-case {
		background: rgba(18, 29, 44, 0.92);
		color: #e8edf4;
	}

	/* Barre d'appel fixée en bas (mobile) */
	body:not(.ayap-clair) .ayap-actions-principales {
		background: var(--ayap-d-surface);
	}

	body:not(.ayap-clair) .ayap-lien-boost {
		background: var(--ayap-d-surface2);
		border-color: var(--ayap-d-bord, #2e405a);
		color: var(--ayap-d-texte);
	}

	body:not(.ayap-clair) .ayap-lien-boost-tiktok .dashicons { color: var(--ayap-d-texte); }

	body:not(.ayap-clair) .ayap-reseau-social,
	body:not(.ayap-clair) .ayap-btn-partage {
		background: var(--ayap-d-surface2);
		color: var(--ayap-d-texte);
	}
}

/* ==========================================================================
   PLEIN ÉCRAN (v1.46.4) — le contenu sort de la colonne étroite du thème et
   occupe toute la largeur de l'écran, avec une marge latérale fluide.
   Le calcul centre le bloc sur son parent : aucun JavaScript requis.
   ========================================================================== */
:root {
	--ayap-g: clamp(12px, 2.2vw, 40px);
	--ayap-w: min(2000px, calc(100vw - 2 * var(--ayap-g)));
}

html:has(.ayap-pf, .ayap-an, .ayap-tarifs, .ayap-fiche, .ayap-archive-wrap, .ayap-archive-localisation) {
	overflow-x: clip;
}

body .ayap-fiche,
body .ayap-archive-wrap,
body .ayap-archive-localisation {
	box-sizing: border-box;
	width: var(--ayap-w);
	max-width: none;
	margin-left: var(--ayap-dx, calc(50% - var(--ayap-w) / 2));
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

/* Formulaire : large, mais pas étiré sur toute la largeur (lisibilité) */
body .ayap-form-soumission {
	width: min(1000px, calc(100vw - 2 * var(--ayap-g)));
	max-width: none;
	margin-left: var(--ayap-dx, calc(50% - min(1000px, calc(100vw - 2 * var(--ayap-g))) / 2));
	margin-right: 0;
}

@media (max-width: 767px) {
	body .ayap-tabs-nav {
		margin-left: calc(-1 * var(--ayap-g));
		margin-right: calc(-1 * var(--ayap-g));
		padding-left: var(--ayap-g);
		padding-right: var(--ayap-g);
	}
}

@media (min-width: 1600px) {
	.ayap-fiche-photo {
		flex-basis: min(40%, 620px);
	}

	.ayap-resultats {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	}
}

/* ==========================================================================
   Onglets de la fiche (v1.46.5)
   Certains thèmes (Astra, Elementor…) donnent un fond plein aux <button> au
   survol / à la sélection : le texte, de la même couleur, devenait invisible.
   On neutralise ces fonds et on ajoute : zoom + titre orange.
   ========================================================================== */
body .ayap-tabs-nav .ayap-tab-btn,
body .ayap-tabs-nav .ayap-tab-btn:hover,
body .ayap-tabs-nav .ayap-tab-btn:focus,
body .ayap-tabs-nav .ayap-tab-btn:active,
body .ayap-tabs-nav .ayap-tab-btn.is-active,
body .ayap-tabs-nav .ayap-tab-btn[aria-selected="true"] {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body .ayap-tabs-nav .ayap-tab-btn {
	color: #5b6775 !important;
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 3px solid transparent !important;
	transform-origin: center bottom;
	transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	will-change: transform;
}

body .ayap-tabs-nav .ayap-tab-btn:hover,
body .ayap-tabs-nav .ayap-tab-btn:focus-visible {
	color: var(--ayap-c2,#f9922c) !important;
	transform: scale(1.1);
}

body .ayap-tabs-nav .ayap-tab-btn.is-active,
body .ayap-tabs-nav .ayap-tab-btn[aria-selected="true"] {
	color: var(--ayap-c2,#f9922c) !important;
	border-bottom-color: var(--ayap-c2,#f9922c) !important;
	transform: scale(1.08);
}

body .ayap-tabs-nav .ayap-tab-btn.is-active:hover {
	transform: scale(1.12);
}

body .ayap-tabs-nav .ayap-tab-btn:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
}

/* Mobile : la ligne défile, on réserve un peu de place pour que le zoom ne soit pas rogné */
@media (max-width: 767px) {
	body .ayap-tabs-nav {
		padding-top: 6px;
		padding-bottom: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .ayap-tabs-nav .ayap-tab-btn,
	body .ayap-tabs-nav .ayap-tab-btn:hover,
	body .ayap-tabs-nav .ayap-tab-btn.is-active {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   Boutons secondaires de la fiche (v1.46.6) : « Vous êtes le propriétaire ? »,
   « Signaler cette fiche », « Ajouter aux favoris » — même gabarit, et fond /
   texte protégés contre les styles de boutons imposés par certains thèmes.
   ========================================================================== */
body .ayap-fiche-actions .ayap-btn-claim,
body .ayap-fiche-actions .ayap-btn-report,
body .ayap-fiche-actions .ayap-btn-favori {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 0.6em 1.2em;
	border-width: 1px !important;
	border-style: solid !important;
	border-radius: 10px;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background: #fff !important;
	box-shadow: none !important;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body .ayap-fiche-actions .ayap-btn-claim {
	color: var(--ayap-c1,#09284e) !important;
	border-color: var(--ayap-c1,#09284e) !important;
}

body .ayap-fiche-actions .ayap-btn-report {
	color: #b3261e !important;
	border-color: #b3261e !important;
}

body .ayap-fiche-actions .ayap-btn-favori {
	color: var(--ayap-c1,#09284e) !important;
	border-color: #cfd6de !important;
}

body .ayap-fiche-actions .ayap-btn-favori.is-active {
	color: #a86a1a !important;
	border-color: var(--ayap-c2,#f9922c) !important;
	background: #fff4e3 !important;
}

body .ayap-fiche-actions .ayap-btn-claim:hover,
body .ayap-fiche-actions .ayap-btn-claim:focus-visible,
body .ayap-fiche-actions .ayap-btn-report:hover,
body .ayap-fiche-actions .ayap-btn-report:focus-visible,
body .ayap-fiche-actions .ayap-btn-favori:hover,
body .ayap-fiche-actions .ayap-btn-favori:focus-visible {
	color: var(--ayap-c1,#09284e) !important;
	background: #fff4e3 !important;
	border-color: var(--ayap-c2,#f9922c) !important;
	transform: translateY(-1px);
}

body .ayap-fiche-actions .ayap-btn-claim:focus-visible,
body .ayap-fiche-actions .ayap-btn-report:focus-visible,
body .ayap-fiche-actions .ayap-btn-favori:focus-visible {
	outline: 3px solid var(--ayap-c2,#f9922c);
	outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-claim,
	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-report,
	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-favori {
		background: #121d2c !important;
		color: #e8edf4 !important;
		border-color: #5d86bb !important;
	}

	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-report {
		color: #ffb4ab !important;
		border-color: #ffb4ab !important;
	}

	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-claim:hover,
	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-report:hover,
	body:not(.ayap-clair) .ayap-fiche-actions .ayap-btn-favori:hover {
		background: #1a2a3f !important;
		color: var(--ayap-c2,#f9922c) !important;
		border-color: var(--ayap-c2,#f9922c) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .ayap-fiche-actions .ayap-btn-claim:hover,
	body .ayap-fiche-actions .ayap-btn-report:hover,
	body .ayap-fiche-actions .ayap-btn-favori:hover {
		transform: none;
	}
}

/* Bloc « Métiers (catégories) » : supprime l'espace vide sous le libellé (sauts de ligne <br> parasites, dont ceux ajoutés par wpautop). */
.ayap-form-soumission p > br,
.ayap-form-soumission .ayap-champ-requis > br { display: none; }

/* ---- 1.78.24 : partage visible dans le bandeau de la fiche et dans l'onglet Détails ---- */
.ayap-boutons-partage { flex-wrap: wrap; }
.ayap-boutons-partage-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.ayap-boutons-partage-label .dashicons { width: 18px; height: 18px; font-size: 18px; }
.ayap-btn-partage-natif { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: #f0f0f1; color: #1d2327; font-weight: 600; cursor: pointer; }
.ayap-btn-partage-natif[hidden] { display: none; }
.ayap-btn-partage-natif:hover { background: #dcdcde; }
.ayap-btn-partage-natif .dashicons { width: 18px; height: 18px; font-size: 18px; }
body .ayap-fiche-header .ayap-boutons-partage-label { color: #fff; }
body .ayap-fiche-header .ayap-btn-partage,
body .ayap-fiche-header .ayap-btn-partage-natif { background: #fff; color: #1d2327; }
.ayap-boutons-partage-details { margin-top: 20px; padding-top: 14px; border-top: 1px solid #e3e8ef; }
.ayap-boutons-partage-details .ayap-boutons-partage-label { color: #1d2327; }

/* ---- 1.78.26 : vignette des cartes en <img> (chargement différé) ---- */
.ayap-listing-image { position: relative; overflow: hidden; }
.ayap-listing-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; max-width: none; }

/* ---- Formulaires Contacter, Devis, Commander et Postuler : mise en page en deux zones (AYAP_Form_Aside) ---- */
.ayap-fl { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.ayap-fl { justify-content: center; }
.ayap-fl .ayap-fl-form { flex: 1 1 auto; min-width: 0; max-width: 820px; }
.ayap-fl, .ayap-fl * { box-sizing: border-box; }

.ayap-fl-head h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.2; color: var(--ayap-c1,#09284e); }
.ayap-fl-head p { margin: 0; color: #4a5a6e; }
.ayap-fl-req { color: #b42318; }

.ayap-fl-sec { margin-top: 28px; padding-top: 26px; border-top: 1px solid #e6ecf3; }
.ayap-fl-sec-h { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 17px; font-weight: 700; color: var(--ayap-c1,#09284e); }
.ayap-fl-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ayap-c1,#09284e); color: var(--ayap-c1t,#fff); display: grid; place-items: center; font-size: 14px; font-weight: 700; }

.ayap-fl-grid { display: grid; gap: 18px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ayap-fl-grid + .ayap-fl-grid { margin-top: 18px; }
.ayap-fl-grid.ayap-fl-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ayap-fl-span { grid-column: 1 / -1; }
.ayap-fl-f { margin: 0; min-width: 0; }
.ayap-fl-f + .ayap-fl-f { margin-top: 20px; }
.ayap-fl-grid > .ayap-fl-f + .ayap-fl-f { margin-top: 0; }
.ayap-fl .ayap-fl-f label,
.ayap-fl .ayap-fl-lbl { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ayap-c1,#09284e); }

body .ayap-fl .ayap-fl-form .ayap-fl-f input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body .ayap-fl .ayap-fl-form .ayap-fl-f select,
body .ayap-fl .ayap-fl-form .ayap-fl-f textarea { display: block; width: 100%; max-width: none; min-height: 48px; padding: 11px 14px; font-size: 16px; background: #fff; border: 1.5px solid #b9c5d3; border-radius: 10px; }
body .ayap-fl .ayap-fl-form .ayap-fl-f textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
body .ayap-fl .ayap-fl-form .ayap-fl-f input:focus,
body .ayap-fl .ayap-fl-form .ayap-fl-f select:focus,
body .ayap-fl .ayap-fl-form .ayap-fl-f textarea:focus { outline: 3px solid color-mix(in srgb, var(--ayap-c2,#f9922c) 50%, transparent); border-color: var(--ayap-c1,#09284e); }
.ayap-fl .ayap-fl-form .ayap-fl-f input::placeholder,
.ayap-fl .ayap-fl-form .ayap-fl-f textarea::placeholder { color: #66768a; }
.ayap-fl-sel { position: relative; }
.ayap-fl .ayap-fl-sel select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.ayap-fl-sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ayap-c1,#09284e); border-bottom: 2px solid var(--ayap-c1,#09284e); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ayap-fl-hint { margin: 14px 0 0; font-size: 13px; color: #4a5a6e; }

/* Choix du canal de recontact */
.ayap-fl-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ayap-fl .ayap-fl-pill { position: relative; display: inline-block; margin: 0; }
.ayap-fl-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ayap-fl .ayap-fl-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1.5px solid #b9c5d3; border-radius: 999px; background: #fff; font-weight: 600; color: #1c2b3d; }
.ayap-fl-pill input:checked + span { background: var(--ayap-c1,#09284e); border-color: var(--ayap-c1,#09284e); color: var(--ayap-c1t,#fff); }
.ayap-fl-pill input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--ayap-c2,#f9922c) 55%, transparent); outline-offset: 2px; }

/* Pièces jointes */
.ayap-fl-files { margin-top: 20px; }
.ayap-fl .ayap-fl-form .ayap-fl-drop { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0; padding: 20px; border: 2px dashed #9fb0c3; border-radius: 12px; background: #f4f7fb; cursor: pointer; font-weight: 400; }
.ayap-fl-drop:hover { border-color: var(--ayap-c1,#09284e); }
.ayap-fl-drop:focus-within { outline: 3px solid color-mix(in srgb, var(--ayap-c2,#f9922c) 50%, transparent); outline-offset: 2px; }
.ayap-fl .ayap-fl-form .ayap-fl-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; cursor: pointer; }
.ayap-fl-drop-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid #e3e8ef; display: grid; place-items: center; color: var(--ayap-c1,#09284e); }
.ayap-fl-drop-t { flex: 1 1 120px; min-width: 0; }
.ayap-fl-drop-t strong { display: block; color: var(--ayap-c1,#09284e); }
.ayap-fl-drop-t .description { display: block; margin: 0; font-size: 13px; color: #4a5a6e; }
.ayap-fl-drop-sel { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ayap-c1,#09284e); overflow-wrap: anywhere; }
.ayap-fl-drop-b { flex: none; padding: 9px 18px; border-radius: 8px; border: 1.5px solid var(--ayap-c1,#09284e); color: var(--ayap-c1,#09284e); font-weight: 700; background: #fff; }
@media (min-width: 721px) { .ayap-fl .ayap-fl-form .ayap-fl-drop { flex-wrap: nowrap; } }

/* Consentement, note et bouton d'envoi */
.ayap-fl .ayap-consentement { margin: 28px 0 0; padding: 16px 18px; border-radius: 12px; background: #f4f7fb; border: 1px solid #e3e8ef; }
.ayap-fl .ayap-consentement label { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 15px; font-weight: 400; }
.ayap-fl .ayap-consentement input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ayap-c1,#09284e); }
.ayap-fl-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.ayap-fl .ayap-fl-note { display: flex; gap: 10px; align-items: flex-start; flex: 1 1 260px; max-width: 460px; margin: 0; font-size: 13px; color: #4a5a6e; }
.ayap-fl-note svg { flex: none; margin-top: 2px; color: #146c34; }
.ayap-fl .ayap-fl-foot .ayap-btn-submit { min-height: 54px; padding: 0 34px; border-radius: 12px; font-size: 17px; font-weight: 700; }

/* Bandeau destinataire (petit écran) */
.ayap-fl-mini { display: none; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; background: #f4f7fb; border: 1px solid #e3e8ef; }
.ayap-fl-av { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ayap-c1,#09284e); color: var(--ayap-c1t,#fff); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.ayap-fl-mini .ayap-fl-av { width: 40px; height: 40px; font-size: 15px; }
.ayap-fl-mini strong { color: var(--ayap-c1,#09284e); line-height: 1.3; font-size: 15px; overflow-wrap: anywhere; }

@media (max-width: 720px) {
	.ayap-fl-mini { display: flex; }
	.ayap-fl-grid, .ayap-fl-grid.ayap-fl-c3 { grid-template-columns: minmax(0, 1fr); }
	.ayap-fl .ayap-fl-foot .ayap-btn-submit { width: 100%; }
	.ayap-fl .ayap-fl-note { max-width: none; }
}

/* v1.88.7 — « Annonces similaires » : la section reste dans son propre bloc, sous la bannière de la fiche.
   Une carte (ou sa case « Comparer », posée en absolu) ne peut plus s'échapper vers le haut de la page
   ni se superposer à la bannière, même si le thème modifie le positionnement des cartes. */
body .ayap-apres-fiche {
	position: relative;
	z-index: 2;
	clear: both;
	isolation: isolate;
	contain: layout;
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	float: none;
	margin-top: 32px;
}

body .ayap-apres-fiche .ayap-listing-carte {
	position: relative !important;
	transform: none;
}

body .ayap-apres-fiche .ayap-listing-carte > .ayap-comparer-case {
	position: absolute;
	top: 10px;
	right: 10px;
	margin: 0;
	z-index: 3;
}

/* v1.88.9 — Fiche d'une annonce : barre latérale droite (4 annonces premium + formulaire de recherche).
   La grille est posée sur l'article : à gauche la bannière puis la colonne principale, à droite la barre
   latérale sur toute la hauteur (comme la maquette validée). La fiche occupe toute la largeur de l'écran. */
body .ayap-fiche.ayap-fiche-avec-laterale {
	--ayap-w: calc(var(--ayap-vw, 100vw) - 2 * var(--ayap-g));
}

body .ayap-fiche {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	grid-template-rows: auto 1fr auto;
	column-gap: 28px;
	row-gap: 0;
	align-items: start;
}

body .ayap-fiche > .ayap-fiche-header {
	grid-column: 1;
	grid-row: 1;
}

/* Avec la barre latérale, la bannière n'est plus pleine largeur d'écran : elle devient une carte arrondie
   dans la colonne de gauche (le texte et les boutons de la bannière ne changent pas). */
body .ayap-fiche.ayap-fiche-avec-laterale > .ayap-fiche-header {
	width: auto;
	margin-top: 0;
	margin-left: 0 !important;
	padding: clamp(20px, 3vw, 36px);
	border-radius: 18px;
}

body .ayap-fiche > .ayap-fiche-corps {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
}

body .ayap-fiche > .ayap-fiche-laterale {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
}

body .ayap-fiche > .ayap-apres-fiche {
	grid-column: 1 / -1;
	grid-row: 3;
}

/* Sans barre latérale (aucune annonce premium ni formulaire) : la colonne principale reprend toute la largeur. */
body .ayap-fiche:not(:has(> .ayap-fiche-laterale)) {
	grid-template-columns: minmax(0, 1fr);
}

/* Blocs de la barre latérale */
.ayap-lat-bloc {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(9, 40, 78, 0.07);
	overflow: hidden;
}

.ayap-lat-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 18px;
	border-bottom: 1px solid #eef2f6;
}

body .ayap-lat-bloc h2.ayap-lat-titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--ayap-c1, #09284e);
}

.ayap-lat-puce {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-size: 14px;
}

.ayap-lat-voir {
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--ayap-c2d, #c2610c);
	text-decoration: none;
}

.ayap-lat-voir:hover {
	text-decoration: underline;
}

.ayap-lat-liste {
	padding: 10px;
}

.ayap-lat-carte {
	display: flex;
	gap: 12px;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}

.ayap-lat-carte + .ayap-lat-carte {
	margin-top: 4px;
}

.ayap-lat-carte:first-child,
.ayap-lat-carte:hover,
.ayap-lat-carte:focus-visible {
	background: #fff8f0;
	border-color: #fde3c4;
}

.ayap-lat-vignette {
	position: relative;
	flex: 0 0 92px;
	height: 78px;
	border-radius: 12px;
	overflow: hidden;
	background: #dfe7f1;
}

.ayap-lat-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ayap-lat-vignette-vide {
	background: linear-gradient(135deg, var(--ayap-c1, #09284e), var(--ayap-c1h, #1b4b82));
	opacity: 0.9;
}

.ayap-lat-vignette em {
	position: absolute;
	left: 6px;
	top: 6px;
	padding: 2px 7px;
	border-radius: 99px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-size: 10px;
	font-weight: 800;
	font-style: normal;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ayap-lat-corps {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-width: 0;
}

.ayap-lat-cat {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ayap-c2d, #c2610c);
}

.ayap-lat-nom {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--ayap-c1, #09284e);
}

.ayap-lat-lieu {
	font-size: 12.5px;
	color: #5d6d82;
}

.ayap-lat-note {
	font-size: 12.5px;
	font-weight: 700;
	color: #b45f06;
}

/* Bloc recherche : carte marine, champs blancs (libellé dans le champ) */
.ayap-lat-recherche {
	position: relative;
	padding: 20px 18px 18px;
	background: var(--ayap-c1, #09284e);
	border: 0;
	color: var(--ayap-c1t, #fff);
}

.ayap-lat-recherche::before {
	content: "";
	position: absolute;
	right: -40px;
	top: -50px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--ayap-c2, #f9922c);
	opacity: 1;
	pointer-events: none;
}

.ayap-lat-recherche > * {
	position: relative;
}

body .ayap-lat-recherche h2.ayap-lat-titre-recherche {
	margin: 0 0 4px;
	padding: 0 70px 0 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--ayap-c1t, #fff);
}

.ayap-lat-recherche .ayap-lat-sous-titre {
	margin: 0 0 14px;
	font-size: 13px;
	color: #c6d3e4;
}

body .ayap-lat-recherche .ayap-form-recherche {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	max-width: none;
}

body .ayap-lat-recherche .ayap-form-recherche p {
	position: relative;
	margin: 0 0 8px;
	padding: 8px 12px 7px;
	background: #fff;
	border-radius: 12px;
}

/* Le navigateur referme le <p> avant la liste de suggestions et laisse un <p> vide : on le masque. */
body .ayap-lat-recherche .ayap-form-recherche p:empty {
	display: none;
}

body .ayap-lat-recherche .ayap-form-recherche label {
	display: block;
	margin: 0;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #5d6d82;
}

body .ayap-lat-recherche .ayap-form-recherche p input[type="text"],
body .ayap-lat-recherche .ayap-form-recherche p input[type="search"],
body .ayap-lat-recherche .ayap-form-recherche p input[type="number"],
body .ayap-lat-recherche .ayap-form-recherche p select {
	display: block;
	width: 100%;
	min-height: 28px;
	margin: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	box-shadow: none;
	outline: 0;
	font-size: 14.5px;
	font-weight: 700;
	color: #0f2340;
}

body .ayap-lat-recherche .ayap-form-recherche p:focus-within {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ayap-c2, #f9922c) 70%, transparent);
}

body .ayap-lat-recherche .ayap-form-recherche .ayap-autocomplete-liste {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: auto;
	margin: -4px 0 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(9, 40, 78, 0.18);
	max-height: 260px;
	overflow-y: auto;
}

body .ayap-lat-recherche .ayap-form-recherche .ayap-autocomplete-liste[hidden] {
	display: none;
}

/* « Utiliser ma position » */
body .ayap-lat-recherche .ayap-form-recherche .ayap-btn-geolocaliser {
	display: block;
	width: 100%;
	min-height: 40px;
	margin: 6px 0 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 10px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

body .ayap-lat-recherche .ayap-form-recherche .ayap-geolocaliser-statut {
	display: block;
	font-size: 12px;
	color: #5d6d82;
}

/* Case « Ouvert maintenant uniquement » : sur fond marine, sans boîte blanche */
body .ayap-lat-recherche .ayap-form-recherche p:has(#ayap_ouvert_maintenant) {
	grid-column: 1 / -1;
	padding: 4px 2px;
	background: transparent;
	box-shadow: none;
}

body .ayap-lat-recherche .ayap-form-recherche p:has(#ayap_ouvert_maintenant) label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ayap-c1t, #fff);
}

body .ayap-lat-recherche .ayap-form-recherche p:has(#ayap_ouvert_maintenant) input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
}

/* Bouton « Rechercher » */
body .ayap-lat-recherche .ayap-form-recherche p:has(.ayap-btn-submit) {
	padding: 0;
	margin: 4px 0 0;
	background: transparent;
	box-shadow: none;
}

body .ayap-lat-recherche .ayap-form-recherche .ayap-btn-submit {
	display: block;
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 12px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

body .ayap-lat-recherche .ayap-form-recherche .ayap-btn-submit:hover,
body .ayap-lat-recherche .ayap-form-recherche .ayap-btn-submit:focus-visible {
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	filter: brightness(0.93);
}

/* « Plus de filtres » (bloc créé par assets/js/fiche-laterale.js) */
.ayap-fiche-filtres {
	margin: 0 0 10px;
}

.ayap-fiche-filtres-resume {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 2px 10px;
	list-style: none;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ayap-c1t, #fff);
}

.ayap-fiche-filtres-resume::-webkit-details-marker {
	display: none;
}

.ayap-fiche-filtres-resume::after {
	content: "";
	width: 8px;
	height: 8px;
	margin: -3px 4px 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s;
}

.ayap-fiche-filtres[open] > .ayap-fiche-filtres-resume::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.ayap-fiche-filtres-resume em {
	padding: 1px 8px;
	border-radius: 99px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
}

.ayap-fiche-filtres-resume:focus-visible {
	outline: 3px solid var(--ayap-c2, #f9922c);
	outline-offset: 2px;
}

.ayap-fiche-filtres-corps {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 8px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

body .ayap-lat-recherche .ayap-fiche-filtres-corps p {
	margin: 0;
}

body .ayap-lat-recherche .ayap-fiche-filtres-corps p.ayap-champ-ville {
	grid-column: 1 / -1;
}

/* Tablette : la barre latérale passe sous la fiche, ses deux blocs côte à côte */
@media (max-width: 1100px) {
	body .ayap-fiche {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	body .ayap-fiche > .ayap-fiche-header,
	body .ayap-fiche > .ayap-fiche-corps,
	body .ayap-fiche > .ayap-fiche-laterale,
	body .ayap-fiche > .ayap-apres-fiche {
		grid-column: 1;
		grid-row: auto;
	}

	body .ayap-fiche > .ayap-fiche-laterale {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		margin-top: 24px;
	}
}

/* Mobile : un seul bloc par rangée */
@media (max-width: 700px) {
	body .ayap-fiche > .ayap-fiche-laterale {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* (2.1.0) Choix du type d'annonce dans le formulaire de recherche : les blocs de champs de chaque type
   se placent directement dans la grille du formulaire (display: contents), un seul type visible à la fois. */
.ayap-form-recherche .ayap-type-bloc {
	display: contents;
}

.ayap-form-recherche .ayap-type-bloc[hidden] {
	display: none;
}

/* (2.1.2) Formulaire de recherche du widget Elementor en PLEINE LARGEUR d'écran : même technique que
   la page de recherche (centré sur l'écran via --ayap-dx, mesuré par centrage.js ; sans JavaScript,
   centré sur sa colonne). Les champs se répartissent en grille responsive selon la largeur. */
body .ayap-form-recherche--large {
	--frl-w: min(2000px, calc(100vw - 2 * var(--ayap-g, clamp(12px, 2.2vw, 40px))));
	position: relative;
	box-sizing: border-box;
	width: var(--frl-w);
	max-width: none;
	margin-left: calc(50% - var(--frl-w) / 2);
	margin-right: 0;
	left: var(--ayap-dx, 0px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 14px clamp(12px, 1.4vw, 24px);
	padding: clamp(16px, 2vw, 28px);
}

body .ayap-form-recherche--large .ayap-champ-autocomplete {
	grid-column: 1 / -1;
}

html:has(.ayap-form-recherche--large) {
	overflow-x: clip;
}

@media (max-width: 767px) {
	body .ayap-form-recherche--large {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* (2.1.3) Formulaire de recherche du widget : champs rangés par lignes.
   Ordinateur : 4 colonnes (ligne 1 : mot-clé sur 2 colonnes + type d'annonce + catégories ; puis les filtres,
   puis localisation / proximité / rayon / note ; enfin « ouvert maintenant », tri et bouton).
   Tablette : 2 colonnes. Mobile : 1 colonne. Les champs d'une même ligne sont alignés par le bas. */
body .ayap-form-recherche.ayap-form-recherche--ordre {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 20px;
	align-items: end;
}

body .ayap-form-recherche--ordre p:empty {
	display: none;
}

body .ayap-form-recherche--ordre p {
	margin: 0;
	min-width: 0;
}

body .ayap-form-recherche--ordre .ayap-champ-autocomplete {
	grid-column: span 2;
}

body .ayap-form-recherche--ordre label {
	display: block;
	margin-bottom: 6px;
	line-height: 1.3;
}

body .ayap-form-recherche--ordre input[type="text"],
body .ayap-form-recherche--ordre input[type="number"],
body .ayap-form-recherche--ordre select {
	width: 100%;
	min-height: 46px;
}

/* « Près de » : champ + bouton de position sur la même ligne. */
body .ayap-form-recherche--ordre .ayap-champ-ville {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 6px 8px;
}

body .ayap-form-recherche--ordre .ayap-champ-ville label,
body .ayap-form-recherche--ordre .ayap-champ-ville .ayap-geolocaliser-statut {
	grid-column: 1 / -1;
	margin: 0;
}

body .ayap-form-recherche--ordre .ayap-btn-geolocaliser {
	width: auto;
	min-height: 46px;
	padding: 0 16px;
	white-space: nowrap;
	border: 0;
	border-radius: 10px;
	background: var(--ayap-c2, #f9922c);
	color: var(--ayap-c2t, #09284e);
	font-weight: 700;
	cursor: pointer;
}

/* Case « Ouvert maintenant » : case et texte sur la même ligne, à hauteur des champs. */
body .ayap-form-recherche--ordre p:has(#ayap_ouvert_maintenant) label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	margin: 0;
	cursor: pointer;
}

body .ayap-form-recherche--ordre #ayap_ouvert_maintenant {
	flex: none;
	width: 20px;
	min-height: 0;
	height: 20px;
	margin: 0;
}

body .ayap-form-recherche--ordre .ayap-btn-submit {
	width: 100%;
	min-height: 46px;
}

/* Pastille de position (remplace l'émoji, qui s'affichait comme une image cassée). */
.ayap-btn-geolocaliser::before {
	content: "";
	flex: none;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' fill='%23000'/%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'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
	display: inline-block;
	margin-right: 0.4em;
	vertical-align: -0.12em;
}

@media (max-width: 1099px) {
	body .ayap-form-recherche.ayap-form-recherche--ordre {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body .ayap-form-recherche--ordre .ayap-champ-autocomplete,
	body .ayap-form-recherche--ordre p:has(> .ayap-btn-submit) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	body .ayap-form-recherche.ayap-form-recherche--ordre {
		grid-template-columns: minmax(0, 1fr);
	}

	body .ayap-form-recherche--ordre .ayap-champ-autocomplete {
		grid-column: auto;
	}

	body .ayap-form-recherche--ordre .ayap-champ-ville {
		grid-template-columns: minmax(0, 1fr);
	}

	body .ayap-form-recherche--ordre .ayap-btn-geolocaliser {
		width: 100%;
	}
}

/* v2.1.8 — Page de détails d'une annonce en plein écran, comme la page de recherche : largeur de l'écran
   moins la marge latérale (2000 px au plus). assets/js/centrage.js impose la même largeur en ligne quand le
   thème ou le constructeur de pages rétrécit la colonne. Adaptée aux écrans moyens et petits : la barre
   latérale passe sous la fiche (règles ci-dessus) et rien ne déborde de l'écran. */
body .ayap-fiche {
	box-sizing: border-box;
	width: var(--ayap-w);
	max-width: none;
	min-width: 0;
	margin-right: 0;
}

body .ayap-fiche > .ayap-fiche-corps,
body .ayap-fiche > .ayap-fiche-laterale {
	min-width: 0;
	overflow-wrap: anywhere;
}

body .ayap-fiche > .ayap-fiche-corps img,
body .ayap-fiche > .ayap-fiche-corps iframe,
body .ayap-fiche > .ayap-fiche-corps video,
body .ayap-fiche > .ayap-fiche-corps table {
	max-width: 100%;
}

body .ayap-fiche > .ayap-fiche-corps img,
body .ayap-fiche > .ayap-fiche-corps video {
	height: auto;
}

@media (max-width: 767px) {
	body .ayap-fiche > .ayap-fiche-corps table {
		display: block;
		overflow-x: auto;
	}
}

/* v2.1.10 — Page de détails d'une annonce : mêmes chiffres que la page de recherche (.ayap-sr--large) :
   marge latérale de 12 à 40 px (clamp(12px, 2.2vw, 40px)) et largeur de 2000 px au plus. */
body .ayap-fiche,
body .ayap-fiche.ayap-fiche-avec-laterale {
	--ayap-g: clamp(12px, 2.2vw, 40px);
	--ayap-w: min(2000px, calc(var(--ayap-vw, 100vw) - 2 * var(--ayap-g)));
}

/* v2.1.11 — Page de détails d'une annonce : le thème applique souvent une grande marge intérieure (gauche, droite
   et haut) à l'article d'un contenu ; elle s'ajoutait à la marge du plugin et laissait un grand espace autour de
   la page. On l'annule pour que la fiche aille jusqu'aux marges de la page de recherche (12 à 40 px). */
body .ayap-fiche {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body .ayap-fiche.ayap-fiche-avec-laterale {
	padding-top: 0 !important;
}


/* v2.8.51 — Page de détails d'une annonce : petit espace (12 px) entre le menu du site et la bannière.
   Seule la marge au-dessus de la bannière change ; rien d'autre n'est modifié. */
html body .ayap-fiche.ayap-fiche-avec-laterale {
	padding-top: 12px !important;
}


/* (2.8.76) Barre « Administration » d'une annonce : Dépublier en orange, texte toujours blanc
   (repos, survol, focus, clic, lien visité) et léger zoom au survol sur les trois boutons. */
body .ayap-admin-fiche a.ayap-btn-action,
body .ayap-admin-fiche a.ayap-btn-action:visited,
body .ayap-admin-fiche a.ayap-btn-action:hover,
body .ayap-admin-fiche a.ayap-btn-action:focus,
body .ayap-admin-fiche a.ayap-btn-action:focus-visible,
body .ayap-admin-fiche a.ayap-btn-action:active {
	color: #fff !important;
	text-decoration: none;
}

body .ayap-admin-fiche a.ayap-btn-action {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body .ayap-admin-fiche a.ayap-btn-action:hover,
body .ayap-admin-fiche a.ayap-btn-action:focus-visible {
	transform: scale(1.06);
	filter: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

body .ayap-admin-fiche a.ayap-btn-action.ayap-btn-depublier,
body .ayap-admin-fiche a.ayap-btn-action.ayap-btn-depublier:hover,
body .ayap-admin-fiche a.ayap-btn-action.ayap-btn-depublier:focus,
body .ayap-admin-fiche a.ayap-btn-action.ayap-btn-depublier:active {
	background: #ea580c;
	border-color: #ea580c;
}

@media (prefers-reduced-motion: reduce) {
	body .ayap-admin-fiche a.ayap-btn-action:hover,
	body .ayap-admin-fiche a.ayap-btn-action:focus-visible {
		transform: none;
	}
}
