/* TARIFS-0610 — Tarifs saisonniers et conditions de séjour (inc/tarifs-saisonniers.php).
   Pièces du kit réutilisées : .li-wz-field / .li-wz-fields / .li-wz__group (tunnel), .li-k-card,
   .li-k-btn, .li-k-pill, .li-k-check, .li-k-switch, .li-k-note, .li-k-notice, .li-k-table, .li-k-help.
   Aucune couleur nouvelle : jetons --k-* et variables du thème seulement. */

/* ---------- Tunnel : étape « Tarifs » ---------- */
.li-tf [hidden]{display:none!important}
.li-tf{margin-top:6px}
.li-tf__err{margin:16px 0 0}
.li-tf__liste{display:flex;flex-direction:column;gap:14px}
.li-tf-per.li-k-card{display:flex;flex-direction:column;gap:16px;padding:18px;background:var(--k-cream);box-shadow:none}
.li-tf-per__tete{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.li-tf-per__nom{font:600 1.08rem/1.25 var(--k-serif,var(--serif));color:var(--k-ink);overflow-wrap:anywhere}
.li-tf-per__act{display:flex;gap:4px;margin-left:auto}
.li-tf-per .li-wz-fields{margin:0}
.li-tf-per__nomchamp{margin:0}
.li-tf__ajout{display:flex;margin:14px 0 0}
.li-tf__ajout .li-k-btn{flex:1 1 auto;justify-content:center}
.li-tf__charges{margin-top:18px}
@media (max-width:560px){
	.li-tf-per.li-k-card{padding:14px}
	.li-tf-per__act{margin-left:0;width:100%}
}

/* ---------- Fiche : UN SEUL bloc prix (TARIFS-UNIFIES-0710), porté par l'attribut virtuel « li_tarifs » ---------- */
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute:has(> .li-tf-masque){display:none!important}
.hp-listing--view-page .hp-listing__attributes--primary .hp-listing__attribute--li-tarifs{
	grid-column:1/-1;display:block;margin:0 0 2px;padding:0 0 16px;background:none;border-radius:0;
	border-bottom:1px solid var(--border);font-family:var(--sans,inherit);font-size:1rem;font-weight:400;line-height:1.5;color:var(--ink);text-align:left}
/* Offre membres affichée au-dessus (inc/offre-membres.php) : elle porte déjà le prix public, pas de second titre. */
.hp-page__sidebar .li-om + .hp-listing__attributes--primary .li-tf-fiche__tete{display:none}
.li-tf-fiche{display:flex;flex-direction:column;gap:12px}
.li-tf-fiche__tete{margin:0;font-family:var(--serif);font-weight:700;font-size:1.7rem;line-height:1.12;color:var(--rasp);text-align:center}
.li-tf-fiche .li-k-table-wrap{border-radius:var(--k-r-sm)}
.li-tf-fiche .li-k-table th,.li-tf-fiche .li-k-table td{padding:9px 8px;text-align:right;white-space:nowrap}
.li-tf-fiche .li-k-table th:first-child,.li-tf-fiche .li-k-table td:first-child{text-align:left;white-space:normal;padding-left:12px}
.li-tf-fiche .li-k-table th:last-child,.li-tf-fiche .li-k-table td:last-child{padding-right:12px}
.li-tf-fiche .li-k-table td{font-size:.86rem;color:var(--k-ink);vertical-align:top}
.li-tf-fiche .li-k-table td small{display:block;margin-top:2px;font-size:.74rem;line-height:1.35;color:var(--k-mute)}
.li-tf-fiche .li-k-table tr.is-now td,.li-tf-fiche .li-k-table tbody tr.is-now:hover td{background:var(--k-a-soft)}
.li-tf-fiche .li-k-table tr.is-now td:first-child{font-weight:700}
.li-tf-fiche .li-k-table tr.is-now td:first-child small{font-weight:400}
.li-tf-fiche__cond{display:flex;flex-wrap:wrap;gap:6px}
.li-tf-fiche__cond .li-k-pill{white-space:normal}
.li-tf-fiche__note{margin:0}

/* ---------- Cartes de résultat ---------- */
.li-tf-carte{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.li-tf-carte .li-k-pill{white-space:normal;max-width:100%}

/* TF-MOBILE-0610 : sur téléphone, colonnes de prix resserrées pour laisser de la place au nom de la période. */
@media (max-width:600px){
	.li-tf-fiche .li-k-table th,.li-tf-fiche .li-k-table td{padding:9px 4px}
	.li-tf-fiche .li-k-table th:first-child,.li-tf-fiche .li-k-table td:first-child{padding-left:10px;width:44%}
	.li-tf-fiche .li-k-table th:last-child,.li-tf-fiche .li-k-table td:last-child{padding-right:10px}
	.li-tf-fiche .li-k-table th{font-size:.66rem;letter-spacing:.04em}
	.li-tf-fiche .li-k-table td{font-size:.82rem}
	.li-tf-fiche .li-k-table td small{font-size:.7rem;line-height:1.3}
	.li-tf-seg{white-space:nowrap}
}

/* GROUPEE-0610 : conditions d'annulation (tunnel). Un [hidden] reste caché malgré l'affichage des champs. */
.li-tf__annul{margin-top:16px}
.li-tf__annul [hidden]{display:none!important}
.li-tf__annul-aide{margin:6px 0 12px}

/* NOTE-CENTRE-0710 : note des prix centrée. */
.li-tf-fiche__note{text-align:center!important}

/* FICHE-DEBORD-0710 : les pastilles de surface (plus larges) faisaient déborder la grille 2 colonnes et le bloc prix hors de la carte. Rangée souple : chaque pastille garde sa largeur et passe à la ligne si besoin. */
.hp-listing--view-page .hp-listing__attributes--primary{display:flex!important;flex-wrap:wrap;column-gap:12px}
.hp-listing--view-page .hp-listing__attributes--primary>.hp-listing__attribute{flex:0 0 auto;max-width:100%}
.hp-listing--view-page .hp-listing__attributes--primary>.hp-listing__attribute--li-tarifs,.hp-listing--view-page .hp-listing__attributes--primary>.hp-listing__attribute--ville,.hp-listing--view-page .hp-listing__attributes--primary>.hp-listing__attribute--arrangement,.hp-listing--view-page .hp-listing__attributes--primary>.hp-listing__attribute--type-bien{flex:0 0 100%}
