/* KOCOONYA 80.7.179 — Ajustements visuels uniquement.
   SEO : aucun titre, paragraphe, lien, contenu HTML ou donnée structurée
   supprimé ou masqué. Le moteur PHP de génération SEO reste inchangé.
   Moteur de réservation, calendrier et favoris : logique inchangée. */

/* En-tête du premier encadré : catégorie et favoris sur un même axe. */
body.has-detail .detail-page .detail-heading {
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:12px;
}
body.has-detail .detail-page .detail-heading > .eyebrow,
body.has-detail .detail-page .detail-heading .eyebrow {
  align-self:center;
  margin:0 !important;
  line-height:1.5;
}
body.has-detail .detail-page .detail-heading-actions {
  grid-column:2; grid-row:1;
  align-self:center !important;
  justify-self:end;
  display:flex;
  align-items:center;
  margin:0 !important;
  transform:none !important;
  min-width:0;
}
body.has-detail .detail-page .detail-heading-actions .favorite-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:36px;
  height:auto;
  margin:0;
  padding:4px 2px;
  line-height:1.25;
  border-radius:12px;
}
body.has-detail .detail-page .detail-heading .detail-title {
  margin-top:13px !important;
}
/* Icônes À retenir : cercle régulier + SVG optiquement centré. */
body.has-detail .detail-page .detail-highlight-grid {
  column-gap:clamp(10px,1.3vw,20px);
  row-gap:13px;
}
body.has-detail .detail-page .detail-highlight-amenity {
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.4;
  min-width:0;
}
body.has-detail .detail-page .detail-highlight-amenity .amenity-icon {
  box-sizing:border-box;
  display:grid !important;
  place-items:center !important;
  flex:0 0 36px !important;
  width:36px !important;
  height:36px !important;
  padding:0 !important;
  border-radius:50%;
  line-height:1;
  vertical-align:middle;
}
body.has-detail .detail-page .detail-highlight-amenity .amenity-icon svg,
body.has-detail .detail-page .detail-highlight-amenity .amenity-icon .amenity-svg {
  box-sizing:border-box;
  display:block !important;
  width:20px !important;
  height:20px !important;
  margin:auto !important;
  flex:none;
  transform:none;
  stroke-width:1.8;
}
/* Calendrier un peu plus confortable sur PC : aucune logique de dates modifiée. */
@media (min-width:1100px) {
  .date-picker-modal .date-picker-panel {
    box-sizing:border-box;
    width:min(800px,calc(100vw - 64px));
    max-height:min(850px,92dvh);
    padding:28px 30px;
  }
  .date-picker-modal .date-picker-months {column-gap:39px;row-gap:18px;}
  .date-picker-modal .calendar-month h3 {font-size:16px;line-height:1.45;}
  .date-picker-modal .calendar-weekdays {font-size:12px;}
  .date-picker-modal .calendar-day {font-size:14px;}
  .date-picker-modal .calendar-day:focus-visible{outline-offset:1px}
}
/* Mobile : cœur et libellé visibles sur la ligne GÎTE · FRANCE. */
@media (max-width:720px) {
  body.has-detail .detail-page .detail-heading {column-gap:7px;}
  body.has-detail .detail-page .detail-heading-actions {
    position:static !important;top:auto!important;right:auto!important;
    align-self:center!important;
  }
  body.has-detail .detail-page .detail-heading-actions .favorite-action {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px;
    min-width:0;
    min-height:38px;
    height:auto;
    padding:2px 0 2px 4px;
    background:transparent;
    border:0;
    border-radius:9px;
  }
  body.has-detail .detail-page .detail-heading .detail-heading-actions .favorite-action-label {
    display:inline!important;
    font-size:11px!important;
    line-height:1.25;
    font-weight:750;
    max-width:126px;
    white-space:normal;
    text-align:right;
  }
  body.has-detail .detail-page .detail-heading-actions .favorite-action svg {
    flex:0 0 23px;
    width:23px;height:23px;
    display:block;
    margin:0;
  }
  body.has-detail .detail-page .detail-highlight-amenity {gap:8px;font-size:12px;}
  body.has-detail .detail-page .detail-highlight-amenity .amenity-icon {
    flex-basis:32px!important;width:32px!important;height:32px!important;
  }
  body.has-detail .detail-page .detail-highlight-amenity .amenity-icon svg,
  body.has-detail .detail-page .detail-highlight-amenity .amenity-icon .amenity-svg {
    width:18px!important;height:18px!important;
  }
  body.has-detail .detail-page .detail-highlight-grid{column-gap:9px;row-gap:11px;}
}
@media (max-width:380px) {
  body.has-detail .detail-page .detail-heading .eyebrow{font-size:10px;letter-spacing:.08em;}
  body.has-detail .detail-page .detail-heading .detail-heading-actions .favorite-action-label {font-size:10.5px!important;max-width:110px;}
  body.has-detail .detail-page .detail-heading-actions .favorite-action svg{width:21px;height:21px;flex-basis:21px;}
}
/* Bas de fiche : alléger les cartes SANS retirer leur contenu ni les liens.
   Les pages d'accueil et le générateur SEO restent intacts. */
@media (min-width:1025px) {
  body.has-detail .k147-editorial .k147-editorial-inner {
    padding-top:22px;
    padding-bottom:30px;
  }
  body.has-detail .k147-editorial .k147-heading {row-gap:9px;}
  body.has-detail .k147-editorial .k147-lead{line-height:1.55;}
  body.has-detail .k147-editorial .k147-grid{gap:clamp(13px,1.2vw,21px);}
  body.has-detail .k147-editorial .k147-card{
    padding:18px 20px;
    min-height:0;
    box-shadow:0 4px 14px rgba(91,34,64,.025);
  }
  body.has-detail .k147-editorial .k147-card p {font-size:13.5px;line-height:1.58;}
  body.has-detail .k147-editorial .k147-end{margin-top:14px;}
}
