/* ========================================================================== 
   Saintes-Maries — UI (HTML/CSS)
   Reproduction du graphisme Readdy (hero + glass + filtres + cards + footer)
   Corrections couleurs CTA :
   - Repos : marron/vert profond
   - Hover : brun/noir chaud
   ========================================================================== */

:root{
  /* Sand palette */
  --sand-50:#fbf7f0;
  --sand-100:#f4efe6;
  --sand-200:#e7e0d3;
  --sand-400:#a89f92;
  --sand-500:#7f766b;
  --sand-600:#5f564d;
  --sand-700:#453e37;

  /* CTA */
  --sand-800:#4b463f;  /* marron/vert chaud (repos bouton) */
  --sand-900:#1f1c19;  /* presque noir chaud (hover) */

  /* Terracotta accents */
  --terracotta-50:#fff0e8;
  --terracotta-100:#ffe0d1;
  --terracotta-300:#f4b59e;
  --terracotta-400:#e99677;
  --terracotta-500:#d26e4f;

  --border: rgba(47,42,37,.08);
  --shadow: 0 14px 40px rgba(15, 23, 42, .12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, .10);
  --radius-xl: 18px;
  --radius-lg: 14px;

  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font-sans);
  background: var(--sand-50);
  color: var(--sand-900);
}

/* Utilities */
.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px){ .container{padding:0 24px} }
@media (min-width: 1024px){ .container{padding:0 40px} }

.sr{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.glass{
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(231,224,211,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-dark{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

a{color:inherit;text-decoration:none}
button,select{font:inherit}
button{border:0;background:transparent;color:inherit}

/* ============================================================
   HEADER — glass blanc, texte sombre, toutes pages
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251,247,240,.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231,224,211,.65);
  box-shadow: 0 2px 16px rgba(15,23,42,.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

/* -- Logo -------------------------------------------------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--sand-800);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-badge i { font-size: 17px; }
.brand-title {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--sand-900);
}

/* -- Nav desktop ------------------------------------------ */
.nav-desktop {
  display: none;
  gap: 4px;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--sand-600);
  transition: color .2s, background .2s;
}
.nav-desktop a:hover {
  color: var(--sand-900);
  background: rgba(75,70,63,.07);
}

/* -- Actions ---------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--sand-700);
  cursor: pointer;
  transition: background .2s;
  position: relative;
}
.lang-btn:hover { background: rgba(75,70,63,.08); }
.flag { font-size: 18px; line-height: 1; }
.lang-code { font-size: 13px; font-weight: 700; }
.caret { font-size: 13px; opacity: .60; transition: transform .2s; }
.lang-btn.is-open .caret { transform: rotate(180deg); }

/* Dropdown */
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(231,224,211,.80);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15,23,42,.12);
  padding: 6px;
  z-index: 100;
}
.lang-btn.is-open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sand-700);
  cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
  white-space: nowrap;
}
.lang-option:hover {
  background: var(--sand-50);
  color: var(--sand-900);
}
.lang-option.is-active {
  background: var(--sand-100);
  color: var(--sand-900);
  font-weight: 800;
}
.lang-option__flag { font-size: 18px; line-height: 1; flex: 0 0 auto; }
.lang-option__name { flex: 1; }
.lang-option__code { font-size: 11px; color: var(--sand-400); }

.menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--sand-700);
  cursor: pointer;
  transition: background .2s;
}
.menu-btn:hover { background: rgba(75,70,63,.08); }
.menu-btn i { font-size: 20px; }
@media (min-width: 768px) { .menu-btn { display: none; } }

/* -- Nav mobile ------------------------------------------- */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(231,224,211,.65);
}
.nav-mobile.is-open { display: flex; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }

.nav-mobile a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand-700);
  transition: background .2s, color .2s;
}
.nav-mobile a:hover {
  background: rgba(75,70,63,.07);
  color: var(--sand-900);
}

/* -- Hero : dégradé sombre en haut pour absorber le header - */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Hero */
.hero{
  position: relative;
  min-height: 100vh;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.50), rgba(0,0,0,.30), rgba(0,0,0,.60));
}
.hero-content{
  position:relative;
  padding-top: 128px;
  padding-bottom: 96px;
  text-align:center;
  max-width: 980px;
}
.kicker{
  margin:0 0 18px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.hero-title{
  margin:0 0 18px 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  color:#fff;
  font-size: 46px;
}
@media (min-width: 768px){ .hero-title{font-size: 74px} }
.accent{color: var(--terracotta-300)}

.search-card{
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.search-grid{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px){
  .search-grid{
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }
}
.search-field{
  flex:1;
  display:flex;
  gap: 12px;
  align-items: center;
  text-align:left;
  padding: 16px 18px;
  border-radius: 14px;
  cursor:pointer;
  transition: background .2s;
}
.search-field:hover{background: rgba(255,255,255,.60)}
.field-ico{
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--terracotta-50);
  color: var(--terracotta-500);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
  transition: background .2s;
}
.search-field:hover .field-ico{background: var(--terracotta-100)}
.field-ico i{font-size:18px}
.field-txt{min-width:0; display:flex; flex-direction:column; gap:2px}
.field-label{
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sand-500);
}
.field-value{
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-900);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.field-sub{
  font-size: 12px;
  color: var(--sand-400);
}
.divider{display:none;}
@media (min-width: 768px){
  .divider{
    display:block;
    width: 1px;
    background: var(--sand-200);
    margin: 14px 0;
  }
}

/* CTA buttons (Readdy feel) */
.search-submit{
  background: #7d6a55;
  color:#fff;
  border-radius: 14px;
  padding: 16px 22px;
  font-weight: 800;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  transition: background .25s ease, transform .2s ease;
  white-space: nowrap;
}
.search-submit:hover{
  background: #6a5947;
  transform: translateY(-1px);
}
.search-submit i{font-size:18px}

.scroll-indicator{
  position:absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.6s infinite;
}
.mouse{
  width: 32px; height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.30);
  display:flex;
  justify-content:center;
  padding-top: 10px;
}
.wheel{
  width: 4px; height: 12px;
  background: rgba(255,255,255,.50);
  border-radius: 999px;
}
@keyframes bounce{
  0%,100%{transform: translate(-50%,0)}
  50%{transform: translate(-50%,-7px)}
}

/* Main layout */
.main{ padding: 48px 0 64px; }
.layout{
  display:flex;
  gap: 40px;
  align-items:flex-start;
}
.sidebar{
  width: 320px;
  flex: 0 0 auto;
  display:none;
}
.content{
  flex: 1 1 auto;
  min-width: 0;
}
@media (min-width: 1024px){ .sidebar{display:block} }

/* Mobile bar */
.mobile-bar{
  position: sticky;
  top: 64px;
  z-index: 40;
  margin: 0 -16px 18px;
}
@media (min-width: 768px){ .mobile-bar{margin:0 -24px 18px} }
@media (min-width: 1024px){ .mobile-bar{display:none} }

.mobile-bar-inner{
  padding: 0 16px;
  height: 56px;
  border-bottom: 1px solid rgba(231,224,211,.55);
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}
.pill{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sand-200);
  color: var(--sand-700);
  font-weight: 700;
  font-size: 13px;
  cursor:pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
  transition: border-color .2s;
}
.pill:hover{border-color: rgba(168,159,146,.8)}
.pill i{font-size:14px; color: var(--sand-600)}

/* Panels */
.panel{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin-bottom: 18px;
}
.panel--map{padding:0; overflow:hidden}
.panel-title{
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 0 16px 0;
}
.panel-block{margin-bottom: 18px}
.label{
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sand-500);
  margin-bottom: 10px;
}
.chips{display:flex; flex-wrap:wrap; gap: 8px}
.chip{
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--sand-200);
  background:#fff;
  font-size: 12px;
  font-weight: 800;
  color: var(--sand-600);
  cursor:pointer;
  transition: border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.chip:hover{border-color: rgba(168,159,146,.8)}
.chip--active{
  background: var(--sand-800);
  border-color: var(--sand-800);
  color:#fff;
}
.chip--check{ display:inline-flex; align-items:center; gap: 6px; }
.chip--check i{font-size: 14px}

/* Map */
.map-head{
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.map-title{
  margin:0;
  font-family: var(--font-serif);
  font-size: 16px;
}
.map-sub{
  margin:6px 0 0 0;
  font-size: 12px;
  color: var(--sand-400);
}
.map-frame{height: 360px;}
.map-frame iframe{width:100%; height:100%; border:0;}
.sticky{position: sticky; top: 96px;}

/* Content head */
.content-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin: 20px 0 24px;
}
.content-title{
  margin:0;
  font-family: var(--font-serif);
  font-size: 30px;
}
.content-sub{
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--sand-400);
}
.content-sub strong{color: var(--sand-600)}
.sort{display:none; align-items:center; gap: 10px}
.sort label{
  font-size: 11px;
  font-weight: 900;
  color: var(--sand-500);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sort select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--sand-200);
  background:#fff;
  color: var(--sand-700);
  font-weight: 700;
  cursor:pointer;
  outline:none;
}
.sort select:focus{
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(244,181,158,.65);
}
@media (min-width: 1024px){ .sort{display:flex} }

/* Cards */
.cards{display:flex; flex-direction:column; gap: 22px}
.hotel-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  transition: transform .25s, box-shadow .25s;
}
.hotel-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
}
@media (min-width: 768px){ .hotel-card{display:grid; grid-template-columns: 320px 1fr} }

.hotel-media{
  position:relative;
  height: 224px;
  overflow:hidden;
}
@media (min-width: 768px){ .hotel-media{height:auto; min-height: 260px} }

.hotel-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s;
}
.hotel-card:hover .hotel-media img{transform: scale(1.05)}

.badge{
  position:absolute;
  top: 16px;
  left: 16px;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.90);
  color: var(--sand-800);
  backdrop-filter: blur(8px);
}
.badge--top{
  left:auto; right: 16px;
  background: var(--terracotta-500);
  color:#fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}
.badge--top i{font-size: 12px}

.hotel-body{
  padding: 22px;
  display:flex;
  flex-direction:column;
}
@media (min-width: 768px){ .hotel-body{padding: 26px 28px} }

.hotel-main{flex:1}
.hotel-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.hotel-title{
  margin:0;
  font-family: var(--font-serif);
  font-size: 20px;
  text-transform: capitalize;
}

.score{
  display:flex;
  align-items:center;
  gap: 10px;
  flex: 0 0 auto;
}
.score-txt{display:none; text-align:right}
.score-label{
  font-size: 12px;
  font-weight: 900;
  color: var(--sand-700);
}
.score-sub{
  font-size: 10px;
  color: var(--sand-400);
}
.score-box{
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--sand-800);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight: 900;
  font-size: 14px;
}
@media (min-width: 640px){ .score-txt{display:block} }

.hotel-loc{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  color: var(--sand-400);
  margin: 12px 0 16px;
}
.hotel-loc i{color: var(--terracotta-400); font-size: 14px}

.tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--sand-50);
  border: 1px solid rgba(231,224,211,.70);
  color: var(--sand-600);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}
.tag i{font-size: 14px; color: var(--sand-400)}

.hotel-foot{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(231,224,211,.75);
  margin-top: 12px;
}
.price-label{
  font-size: 11px;
  color: var(--sand-400);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.price-val{
  display:flex;
  align-items:baseline;
  gap: 8px;
  margin-top: 4px;
}
.price-val span{
  font-size: 28px;
  font-weight: 900;
  color: var(--sand-900);
}
.price-val em{
  font-style: normal;
  font-size: 12px;
  color: var(--sand-400);
}

/* CTA inside cards */
.cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #7d6a55;
  color:#fff;
  font-weight: 900;
  font-size: 14px;
  transition: background .25s ease, transform .2s ease;
  white-space: nowrap;
}
.cta:hover{
  background: #6a5947;
  transform: translateY(-1px);
}
.cta i{transition: transform .25s}
.cta:hover i{transform: translateX(2px)}

/* Footer */
.footer{
  margin-top: 80px;
  background: var(--sand-100);
  border-top: 1px solid var(--sand-200);
}
.footer-top{padding: 56px 0}
.footer-grid{
  display:grid;
  gap: 28px;
}
@media (min-width: 768px){
  .footer-grid{grid-template-columns: 1fr 1fr 1fr; gap: 40px}
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-badge{
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--sand-800);
  color:#fff;
  display:grid;
  place-items:center;
}
.footer-badge i{font-size:18px}
.footer-title{
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--sand-900);
}
.footer-desc{
  margin:0;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sand-500);
}
.footer-h{
  margin:0 0 14px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sand-500);
}
.footer-links, .footer-info{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.footer-links a{
  font-size: 14px;
  color: var(--sand-600);
  transition: color .2s;
}
.footer-links a:hover{color: var(--sand-900)}
.footer-info li{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;
  color: var(--sand-600);
}
.footer-info i{
  color: var(--sand-400);
  font-size: 14px;
}
.footer-bottom{ border-top: 1px solid var(--sand-200); }
.footer-bottom-row{
  padding: 16px 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
}
.footer-bottom-row p, .footer-bottom-row a{
  margin:0;
  font-size: 12px;
  color: var(--sand-400);
}
.footer-bottom-row a:hover{color: var(--sand-600)}
@media (min-width: 640px){ .footer-bottom-row{flex-direction:row} }

/* Simple entrance animation */
.animate-up{
  opacity:0;
  transform: translateY(10px);
  animation: fadeUp .8s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp{ to{opacity:1; transform:none} }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .animate-up{animation:none; opacity:1; transform:none}
  .scroll-indicator{animation:none}
}



/* ============================================================
   FIXES — BKSheets calendar + bottom sheets + search overflow
   ------------------------------------------------------------
   - Styles manquants pour le calendrier généré par bk-sheets.js
   - Règles robustes pour [hidden] (empêche ouverture au chargement)
   - Correctif responsive du bloc recherche (bouton qui déborde)
   ============================================================ */

/* 1) Respect strict de [hidden] (le JS pilote via .hidden=true/false) */
[hidden] { display: none !important; }

/* 2) Bottom sheets (Dates + Voyageurs) */
.bk-sheet{
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}
.bk-sheet > div{
  width: min(820px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  overflow: hidden;
}

/* 3) Calendrier (bk-sheets.js) */
#bkCalMonths{ display: grid; gap: 18px; padding-bottom: 4px; }

.bk-month{ }
.bk-month-title{
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--sand-900);
  margin: 8px 0 10px;
  text-transform: capitalize;
}

.bk-dow{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand-500);
  margin-bottom: 8px;
}
.bk-dow span{ text-align: center; }

.bk-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.bk-cell{
  border: 1px solid var(--sand-200);
  background: #fff;
  border-radius: 12px;
  height: 38px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--sand-800);
  cursor: pointer;
  user-select: none;
}
.bk-cell:hover{ border-color: var(--sand-400); }
.bk-cell.is-empty{
  border: 0;
  background: transparent;
  pointer-events: none;
}
.bk-day.is-disabled{
  opacity: .35;
  cursor: not-allowed;
}
.bk-day.is-checkin,
.bk-day.is-checkout{
  background: var(--sand-800);
  border-color: var(--sand-800);
  color: #fff;
}
.bk-day.is-between{
  background: rgba(75,70,63,.10);
  border-color: rgba(75,70,63,.18);
}

/* 4) Search bar overflow (hero) */
.search-grid{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.search-grid .divider{ flex: 0 0 1px; }
.search-field{
  flex: 1 1 260px;
  min-width: 240px;
}
.search-submit{
  flex: 0 0 auto;
  min-width: 150px;
}

/* Mobile: empilement propre */
@media (max-width: 640px){
  .search-field{ flex: 1 1 100%; min-width: 0; }
  .search-grid .divider{ display:none; }
  .search-submit{ width: 100%; min-width: 0; }
}

/* 5) Modal générique SMC (si utilisé) */
.smc-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}
/* ============================================================
   PATCH — Chip "cercle" rempli quand sélectionné
   - On remplace l'icône Remix par un indicateur CSS (plus fiable)
   ============================================================ */
.chip--check{ position:relative; }
.chip--check i{ display:none !important; }

/* petit cercle à gauche */
.chip--check::before{
  content:"";
  width:14px;
  height:14px;
  border-radius:999px;
  border:2px solid rgba(95,86,77,.55); /* proche --sand-600 */
  display:inline-block;
  flex:0 0 auto;
  margin-right:6px;
  box-sizing:border-box;
  background:transparent;
}

/* état ON (via JS .is-on ou via :has(input:checked)) */
.chip--check.is-on::before,
.chip--check:has(input:checked)::before{
  background: var(--sand-800);
  border-color: var(--sand-800);
  box-shadow: 0 0 0 3px rgba(255,255,255,.85) inset; /* donne un rendu "pastille" premium */
}

/* ============================================================
   PATCH — Map preview mobile compact (vignette trop grande)
   - La vignette (#smcMapPreview) devient un overlay compact
   - La card à l'intérieur est "compressée" sur mobile
   ============================================================ */
#smcMapModal{ overflow:hidden; }
#smcMapModal > div{ position:relative !important; }
#smcMapPreview{
  position:absolute !important;
  left:12px; right:12px; bottom:12px;
  z-index: 5;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

/* Empêche la carte/Leaflet d’être cachée par la vignette */
#smcMapStage{ position:relative; }
#smcMapStage #map-home{ height:100% !important; }
#smcMapStage{ padding-bottom: 210px; } /* réserve sous la carte */

/* Card compacte à l’intérieur de la preview */
#smcMapPreview .hotel-card{ margin:0; border-radius: 18px; overflow:hidden; }
#smcMapPreview .hotel-card:hover{ transform:none; box-shadow:none; }
#smcMapPreview .hotel-media{ height: 150px; }
#smcMapPreview .hotel-body{ padding: 14px 14px; }
#smcMapPreview .hotel-title{ font-size: 18px; }
#smcMapPreview .score-box{ width: 36px; height: 36px; border-radius: 12px; font-size: 13px; }
#smcMapPreview .hotel-loc{ margin: 10px 0 10px; font-size: 13px; }
#smcMapPreview .tags{ margin-bottom: 6px; gap:6px; }
#smcMapPreview .tag{ padding: 6px 8px; font-size: 11px; border-radius: 10px; }
#smcMapPreview .hotel-foot{ padding-top: 12px; margin-top: 10px; }
#smcMapPreview .price-val span{ font-size: 22px; }
#smcMapPreview .cta{ padding: 10px 14px; font-size: 13px; border-radius: 14px; }

/* iPhone / petits écrans : encore plus compact + réserve map plus faible */
@media (max-width: 420px){
  #smcMapStage{ padding-bottom: 190px; }
  #smcMapPreview{ left:10px; right:10px; bottom:10px; }
  #smcMapPreview .hotel-media{ height: 135px; }
  #smcMapPreview .hotel-title{ font-size: 17px; }
  #smcMapPreview .price-val span{ font-size: 21px; }
  #smcMapPreview .cta{ padding: 9px 12px; }
}

/* Sécurité : évite un débordement horizontal (problème "sur la droite") */
html, body{ overflow-x:hidden; }
/* ============================================================
   FIX — Mobile map modal black screen
   ------------------------------------------------------------
   Symptoms: On mobile, opening "Carte" shows a black screen.
   Root cause is almost always a 0-height Leaflet container
   after DOM moves (#map-home -> #smcMapStage) or an overzealous
   display/overflow rule.
   Fix: force explicit heights for stage + map + leaflet internals
   and keep tiles visible above the dark modal background.
   ============================================================ */

#smcMapModal{ background:#0b0a09; }
#smcMapModal > div{ height:100%; }

#smcMapStage{
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  position: relative;
}

/* The moved Leaflet container */
#smcMapStage #map-home{
  width: 100% !important;
  height: 100% !important;
  min-height: 240px; /* safety */
}

/* Leaflet internals sometimes need explicit height as well */
#smcMapStage .leaflet-container,
#smcMapStage .leaflet-pane,
#smcMapStage .leaflet-map-pane,
#smcMapStage .leaflet-tile-pane{
  height: 100% !important;
}

/* Make sure tiles/controls render (avoid being hidden by transforms) */
#smcMapStage .leaflet-tile,
#smcMapStage .leaflet-control-container{
  transform: translateZ(0);
}

/* Avoid accidental clipping that hides controls on iOS */
#smcMapModal{ overflow: hidden; }
#smcMapStage{ overflow: hidden; }

/* Give a non-black fallback while tiles load */
#smcMapStage .leaflet-container{ background: #e7e0d3; }


/* ============================================================
   PATCH — Message "Sélectionnez vos dates" compact premium
   (utilisé quand index.php affiche .price-val.price-val--nodates)
   ============================================================ */
.price-val--nodates{
  display:block;
  margin-top:6px;
}
.price-val--nodates .nodates-title{
  display:block;
  font-size:16px;
  font-weight:900;
  color: var(--sand-900);
  line-height:1.15;
}
.price-val--nodates .nodates-sub{
  display:block;
  margin-top:2px;
  font-style:normal;
  font-size:12px;
  color: var(--sand-400);
  line-height:1.2;
}


/* ============================================================
   FIX — BKSheets: couleurs des jours sélectionnés
   ------------------------------------------------------------
   Selon la version, BKSheets pose les classes d’état sur
   .bk-cell (pas sur .bk-day). On couvre donc les deux.
   ============================================================ */

/* Disabled */
.bk-cell.is-disabled,
.bk-day.is-disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* Checkin / Checkout */
.bk-cell.is-checkin,
.bk-cell.is-checkout,
.bk-day.is-checkin,
.bk-day.is-checkout{
  background: var(--sand-800);
  border-color: var(--sand-800);
  color: #fff;
}

/* Between */
.bk-cell.is-between,
.bk-day.is-between{
  background: rgba(75,70,63,.10);
  border-color: rgba(75,70,63,.18);
}


/* ============================================================
   HOTFIX — BKSheets: états de sélection (forcé)
   ------------------------------------------------------------
   Si les classes diffèrent selon la version, on couvre
   plusieurs variantes et on force avec une spécificité + !important.
   Cible aussi l’intérieur (button/span) si BKSheets utilise un <button>.
   ============================================================ */

#bkSheetDates .bk-cell.is-checkin,
#bkSheetDates .bk-cell.is-checkout,
#bkSheetDates .bk-cell.is-start,
#bkSheetDates .bk-cell.is-end,
#bkSheetDates .bk-day.is-checkin,
#bkSheetDates .bk-day.is-checkout,
#bkSheetDates .bk-day.is-start,
#bkSheetDates .bk-day.is-end,
#bkSheetDates .bk-cell.is-selected,
#bkSheetDates .bk-day.is-selected{
  background: var(--sand-800) !important;
  border-color: var(--sand-800) !important;
  color: #fff !important;
}

#bkSheetDates .bk-cell.is-between,
#bkSheetDates .bk-cell.is-in-range,
#bkSheetDates .bk-cell.is-range,
#bkSheetDates .bk-day.is-between,
#bkSheetDates .bk-day.is-in-range,
#bkSheetDates .bk-day.is-range{
  background: rgba(75,70,63,.12) !important;
  border-color: rgba(75,70,63,.22) !important;
  color: var(--sand-900) !important;
}

/* Si la cellule contient un bouton/label interne */
#bkSheetDates .bk-cell.is-checkin > *,
#bkSheetDates .bk-cell.is-checkout > *,
#bkSheetDates .bk-cell.is-start > *,
#bkSheetDates .bk-cell.is-end > *,
#bkSheetDates .bk-cell.is-selected > *{
  color: #fff !important;
}

/* Hover (non sélectionné) */
#bkSheetDates .bk-cell:not(.is-checkin):not(.is-checkout):not(.is-start):not(.is-end):not(.is-selected):hover{
  border-color: var(--sand-400) !important;
}

/* Disabled */
#bkSheetDates .bk-cell.is-disabled,
#bkSheetDates .bk-day.is-disabled{
  opacity: .35 !important;
  cursor: not-allowed !important;
}


/* ============================================================
   BKSheets — Couleurs sélection calendrier (propre)
   ------------------------------------------------------------
   D'après ton DOM :
   <button class="bk-cell bk-day is-in-range is-mid" ...>
   Donc on style :
   - is-in-range / is-mid : jours entre les deux dates
   - is-range-start / is-start / is-checkin : jour d'arrivée
   - is-range-end / is-end / is-checkout : jour de départ
   (On couvre plusieurs alias possibles sans !important)
   ============================================================ */

/* Entre (range) */
#bkSheetDates .bk-day.is-in-range,
#bkSheetDates .bk-cell.is-in-range,
#bkSheetDates .bk-day.is-mid,
#bkSheetDates .bk-cell.is-mid{
  background: rgba(75,70,63,.10);
  border-color: rgba(75,70,63,.18);
  color: var(--sand-900);
}

/* Début / fin de range */
#bkSheetDates .bk-day.is-range-start,
#bkSheetDates .bk-cell.is-range-start,
#bkSheetDates .bk-day.is-start,
#bkSheetDates .bk-cell.is-start,
#bkSheetDates .bk-day.is-checkin,
#bkSheetDates .bk-cell.is-checkin,
#bkSheetDates .bk-day.is-range-end,
#bkSheetDates .bk-cell.is-range-end,
#bkSheetDates .bk-day.is-end,
#bkSheetDates .bk-cell.is-end,
#bkSheetDates .bk-day.is-checkout,
#bkSheetDates .bk-cell.is-checkout{
  background: var(--sand-800);
  border-color: var(--sand-800);
  color: #fff;
}

/* Disabled */
#bkSheetDates .bk-day.is-disabled,
#bkSheetDates .bk-cell.is-disabled{
  opacity: .35;
  cursor: not-allowed;
}

/* ============================================================
   iOS FIX — Map modal stacking + preview always above Leaflet
   ------------------------------------------------------------
   iOS Safari crée parfois des stacking contexts (fixed/transform/
   backdrop-filter) qui placent Leaflet au-dessus de la preview.
   Ce patch force une hiérarchie simple et stable.
   ============================================================ */

#smcMapModal{ z-index: 9999 !important; }

/* Important: assure un contexte de stacking sur le wrapper */
#smcMapModal > div{
  position: relative !important;
  z-index: 0;
}

/* La carte en dessous */
#smcMapStage{
  position: relative !important;
  z-index: 1 !important;
}

/* Leaflet reste dans son coin (en dessous de la preview) */
#smcMapStage .leaflet-container{
  position: relative !important;
  z-index: 1 !important;
}

/* Preview AU-DESSUS (on remplace ton z-index:5 trop faible) */
#smcMapPreview{
  z-index: 2000 !important;
  pointer-events: none; /* laisse la carte utilisable sauf sur CTA */
  transform: translateZ(0); /* stabilise iOS */
}

/* Les éléments cliquables de la preview restent cliquables */
#smcMapPreview a,
#smcMapPreview button,
#smcMapPreview .cta{
  pointer-events: auto;
}

/* Bonus iOS: évite les bugs de “layering” avec blur */
@supports (-webkit-touch-callout: none){
  #smcMapModal .leaflet-pane,
  #smcMapModal .leaflet-map-pane{
    transform: translateZ(0);
  }
}


/* =============================================================
   MAP FIX (v2) — Modale carte iOS : topbar cliquable + stacking stable
   ============================================================= */

/* Assure que le wrapper de modale remplit l'écran */
#smcMapModal > div{
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Topbar au-dessus de Leaflet */
#smcMapModal > div > div:first-child{
  position: relative !important;
  z-index: 10010 !important;
  pointer-events: auto !important;
}

/* Bouton fermer au-dessus */
#smcMapClose{
  position: relative !important;
  z-index: 10020 !important;
  pointer-events: auto !important;
}

/* Stage + map */
#smcMapStage{
  position: relative !important;
  z-index: 1 !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#smcMapStage #map-home{
  height: 100% !important;
  width: 100% !important;
}

/* Marqueurs : assure capture du tap */
.leaflet-marker-icon,
.leaflet-marker-shadow{
  pointer-events: auto !important;
}

/* ==========================================================================
   MAP VIGNETTE — vignette hôtel sur clic marqueur
   ========================================================================== */

/* Conteneur desktop : overlay en bas du cadre carte */
.map-vignette {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 500;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15,23,42,.18);
  border: 1px solid var(--sand-200);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  animation: vignetteIn .22s ease;
  cursor: pointer;
}
.map-vignette[hidden] { display: none !important; }

@keyframes vignetteIn {
  from { opacity:0; transform: translateY(6px); }
  to   { opacity:1; transform: none; }
}

/* Image */
.map-vignette__img {
  width: 88px;
  min-height: 88px;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
}

/* Corps texte */
.map-vignette__body {
  flex: 1 1 auto;
  padding: 10px 10px 10px 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.map-vignette__stars {
  font-size: 11px;
  color: var(--sand-400);
  letter-spacing: .06em;
}

.map-vignette__name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--sand-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}

.map-vignette__city {
  font-size: 12px;
  color: var(--sand-400);
  display: flex;
  align-items: center;
  gap: 4px;
}
.map-vignette__city i { color: var(--terracotta-400); font-size: 12px; }

.map-vignette__price {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 900;
  color: var(--sand-900);
}
.map-vignette__price em {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--sand-400);
}

/* Bouton CTA */
.map-vignette__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--sand-800);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  transition: background .2s;
  text-decoration: none;
}
.map-vignette__cta:hover { background: var(--sand-900); }

/* Variante mobile : fixée en bas de la modale, pas en overlay absolu */
.map-vignette--mobile {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  border-radius: 0;
  box-shadow: 0 -4px 20px rgba(15,23,42,.14);
  border: none;
  border-top: 1px solid var(--sand-200);
  flex-shrink: 0;
}
.map-vignette--mobile .map-vignette__img { width: 80px; min-height: 80px; }


/* ============================================================
   PATCH — Desktop map container id (#map-desktop)
   ------------------------------------------------------------
   The current index.php uses <div id="map-desktop"> for the
   sidebar map. Ensure it always has a height and Leaflet
   internals can size correctly.
   ============================================================ */
#map-desktop{
  width: 100%;
  height: 360px;
}
#map-desktop.leaflet-container{ background: #e7e0d3; }

/* Keep compatibility: any previous rules that targeted #map-home
   should also apply to #map-desktop when relevant. */
#map-desktop .leaflet-container,
#map-desktop .leaflet-pane,
#map-desktop .leaflet-map-pane,
#map-desktop .leaflet-tile-pane{
  height: 100%;
}

/* ============================================================
   HOTEL PAGE — Lightbox minimal (smcLightbox)
   ============================================================ */
.smc-lightbox[hidden]{ display:none !important; }
.smc-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.75);
  display: grid;
  place-items: center;
  padding: 18px;
}
.smc-lightbox img{
  max-width: min(1100px, 100%);
  max-height: min(78vh, 100%);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  background: #111;
}
.smc-lightbox__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.smc-lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.smc-lightbox__prev{ left: 14px; }
.smc-lightbox__next{ right: 14px; }

.smc-lightbox__counter{
  position:absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
}
/* ============================================================
   Tailwind-less utilities (subset)
   ------------------------------------------------------------
   This file recreates ONLY the utility classes used by hotel.php
   so the page can render without loading Tailwind.
   ============================================================ */

.flex{display:flex;}
.flex-1{flex:1 1 auto;}
.flex-col{flex-direction:column;}
.flex-wrap{flex-wrap:wrap;}
.flex-shrink-0{flex-shrink:0;}
.grid{display:grid;}
.inline-flex{display:inline-flex;}
.items-center{align-items:center;}
.items-start{align-items:flex-start;}
.items-end{align-items:flex-end;}
.items-baseline{align-items:baseline;}
.justify-between{justify-content:space-between;}
.justify-center{justify-content:center;}
.min-w-0{min-width:0;}
.w-full{width:100%;}
.h-full{height:100%;}
.overflow-hidden{overflow:hidden;}
.border{border:1px solid var(--sand-200);}
.border-t{border-top:1px solid var(--sand-200);}
.border-b{border-bottom:1px solid var(--sand-200);}
.border-dashed{border-style:dashed;}
.border-sand-100{border-color:var(--sand-100);}
.border-sand-200{border-color:var(--sand-200);}
.rounded-lg{border-radius:10px;}
.rounded-xl{border-radius:14px;}
.rounded-2xl{border-radius:18px;}
.shadow-lg{box-shadow:0 18px 55px rgba(15,23,42,.18);}
.transition-all{transition:all .3s ease;}
.transition-colors{transition:color .3s ease, background-color .3s ease, border-color .3s ease;}
.transition-transform{transition:transform .3s ease;}
.duration-300{transition-duration:.3s;}
.duration-500{transition-duration:.5s;}
.object-cover{object-fit:cover;}
.object-top{object-position:top;}
.whitespace-nowrap{white-space:nowrap;}
.uppercase{text-transform:uppercase;}
.tracking-wider{letter-spacing:.08em;}
.leading-relaxed{line-height:1.65;}
.font-serif{font-family:var(--font-serif);}
.font-semibold{font-weight:600;}
.font-medium{font-weight:500;}
.font-bold{font-weight:700;}
.gap-0\.5{gap:0.125rem;}
.gap-1{gap:0.25rem;}
.gap-1\.5{gap:0.375rem;}
.gap-2{gap:0.5rem;}
.gap-2\.5{gap:0.625rem;}
.gap-3{gap:0.75rem;}
.gap-3\.5{gap:0.875rem;}
.gap-4{gap:1rem;}
.gap-6{gap:1.5rem;}
.px-2\.5{padding-left:0.625rem;padding-right:0.625rem;}
.px-4{padding-left:1rem;padding-right:1rem;}
.px-5{padding-left:1.25rem;padding-right:1.25rem;}
.px-6{padding-left:1.5rem;padding-right:1.5rem;}
.py-1{padding-top:0.25rem;padding-bottom:0.25rem;}
.py-2\.5{padding-top:0.625rem;padding-bottom:0.625rem;}
.py-3\.5{padding-top:0.875rem;padding-bottom:0.875rem;}
.py-4{padding-top:1rem;padding-bottom:1rem;}
.pt-5{padding-top:1.25rem;}
.pt-20{padding-top:5rem;}
.mb-0\.5{margin-bottom:0.125rem;}
.mb-1{margin-bottom:0.25rem;}
.mb-2{margin-bottom:0.5rem;}
.mb-4{margin-bottom:1rem;}
.mb-5{margin-bottom:1.25rem;}
.mb-6{margin-bottom:1.5rem;}
.mb-8{margin-bottom:2rem;}
.mb-12{margin-bottom:3rem;}
.mt-0\.5{margin-top:0.125rem;}
.mt-1{margin-top:0.25rem;}
.mt-2{margin-top:0.5rem;}
.mt-5{margin-top:1.25rem;}
.mt-8{margin-top:2rem;}
.w-4{width:1rem;}
.w-5{width:1.25rem;}
.w-8{width:2rem;}
.w-10{width:2.5rem;}
.h-4{height:1rem;}
.h-5{height:1.25rem;}
.h-8{height:2rem;}
.h-10{height:2.5rem;}
.h-56{height:14rem;}
.h-\[300px\]{height:300px;}
.h-\[320px\]{height:320px;}
.min-w-\[180px\]{min-width:180px;}
.max-w-2xl{max-width:42rem;}
.max-w-7xl{max-width:80rem;}
.mx-auto{margin-left:auto;margin-right:auto;}
.text-xs{font-size:0.75rem;}
.text-sm{font-size:0.875rem;}
.text-base{font-size:1rem;}
.text-lg{font-size:1.125rem;}
.text-xl{font-size:1.25rem;}
.text-2xl{font-size:1.5rem;}
.text-3xl{font-size:1.875rem;}
.text-\[10px\]{font-size:10px;}
.text-\[15px\]{font-size:15px;}
.bg-white{background:#fff;}
.bg-white\/90{background:rgba(255,255,255,.90);}
.bg-sand-50{background:var(--sand-50);}
.bg-sand-800{background:var(--sand-800);}
.bg-terracotta-50{background:var(--terracotta-50);}
.bg-terracotta-500{background:var(--terracotta-500);}
.bg-black\/0{background:rgba(0,0,0,0);}
.text-white{color:#fff;}
.text-sand-400{color:var(--sand-400);}
.text-sand-500{color:var(--sand-500);}
.text-sand-600{color:var(--sand-600);}
.text-sand-700{color:var(--sand-700);}
.text-sand-800{color:var(--sand-800);}
.text-sand-900{color:var(--sand-900);}
.text-terracotta-400{color:var(--terracotta-400);}
.text-terracotta-500{color:var(--terracotta-500);}
.hover\:bg-white:hover{background:#fff;}
.hover\:bg-sand-50:hover{background:var(--sand-50);}
.hover\:bg-sand-900:hover{background:var(--sand-900);}
.hover\:bg-terracotta-600:hover{background:color-mix(in srgb, var(--terracotta-500) 85%, black);}
.hover\:text-sand-700:hover{color:var(--sand-700);}
.hover\:text-sand-800:hover{color:var(--sand-800);}
.hover\:text-terracotta-500:hover{color:var(--terracotta-500);}
.hover\:text-terracotta-600:hover{color:color-mix(in srgb, var(--terracotta-500) 85%, black);}
.hover\:scale-105:hover{transform:scale(1.05);}
.group:hover .group-hover\:scale-105{transform:scale(1.05);}
.group:hover .group-hover\:bg-black\/10{background:rgba(0,0,0,.10);}
.group:hover .group-hover\:-translate-x-0\.5{transform:translateX(-0.125rem);}
.space-y-1 > * + *{margin-top:0.25rem;}
.space-y-4 > * + *{margin-top:1rem;}
.space-y-5 > * + *{margin-top:1.25rem;}
.last\:border-0:last-child{border:0 !important;}
.last\:pb-0:last-child{padding-bottom:0 !important;}
.grid-cols-1{grid-template-columns:repeat(1, minmax(0,1fr));}
.grid-cols-2{grid-template-columns:repeat(2, minmax(0,1fr));}

@media (min-width:640px){
.sm\:flex-row{flex-direction:row;}
.sm\:gap-6{gap:1.5rem;}
.sm\:items-start{align-items:flex-start;}
.sm\:justify-between{justify-content:space-between;}
}

@media (min-width:768px){
.md\:px-6{padding-left:1.5rem;padding-right:1.5rem;}
.md\:pt-24{padding-top:6rem;}
.md\:mt-10{margin-top:2.5rem;}
.md\:my-14{margin-top:3.5rem;margin-bottom:3.5rem;}
.md\:p-7{padding:1.75rem;}
.md\:text-4xl{font-size:2.25rem;}
.md\:rounded-2xl{border-radius:18px;}
.md\:grid-cols-2{grid-template-columns:repeat(2, minmax(0,1fr));}
.md\:grid-cols-4{grid-template-columns:repeat(4, minmax(0,1fr));}
.md\:grid-rows-2{grid-template-rows:repeat(2, minmax(0,1fr));}
.md\:gap-3{gap:0.75rem;}
.md\:col-span-2{grid-column:span 2 / span 2;}
.md\:row-span-2{grid-row:span 2 / span 2;}
.md\:h-\[380px\]{height:380px;}
.md\:h-\[480px\]{height:480px;}
.md\:w-80{width:20rem;}
.md\:h-auto{height:auto;}
.md\:flex{display:flex;}
.md\:block{display:block;}
.md\:hidden{display:none;}
.md\:inline-flex{display:inline-flex;}
}

@media (min-width:1024px){
.lg\:flex-row{flex-direction:row;}
.lg\:gap-10{gap:2.5rem;}
.lg\:items-start{align-items:flex-start;}
.lg\:justify-end{justify-content:flex-end;}
.lg\:text-right{text-align:right;}
}

/* ========================================================================== 
   UTILITIES (subset Tailwind) — needed by hotel page markup
   Added into readdy.css to avoid loading Tailwind.
   ========================================================================== */

/* Layout / positioning */
.min-h-screen{min-height:100vh;}
.flex{display:flex;}
.inline-flex{display:inline-flex;}
.grid{display:grid;}
.hidden{display:none;}
.block{display:block;}
.relative{position:relative;}
.absolute{position:absolute;}
.fixed{position:fixed;}
.sticky{position:sticky;}
.inset-0{top:0;right:0;bottom:0;left:0;}
.top-0{top:0;}
.left-0{left:0;}
.right-0{right:0;}
.bottom-4{bottom:1rem;}
.right-4{right:1rem;}
.z-50{z-index:50;}
.flex-1{flex:1 1 0%;}
.flex-shrink-0{flex-shrink:0;}
.flex-col{flex-direction:column;}
.items-center{align-items:center;}
.items-start{align-items:flex-start;}
.items-end{align-items:flex-end;}
.justify-between{justify-content:space-between;}
.justify-center{justify-content:center;}
.gap-0{gap:0;}
.gap-1{gap:0.25rem;}
.gap-1\.5{gap:0.375rem;}
.gap-2{gap:0.5rem;}
.gap-2\.5{gap:0.625rem;}
.gap-3{gap:0.75rem;}
.gap-3\.5{gap:0.875rem;}
.gap-4{gap:1rem;}
.gap-6{gap:1.5rem;}
.gap-8{gap:2rem;}
.overflow-hidden{overflow:hidden;}
.w-full{width:100%;}
.h-full{height:100%;}

/* Spacing */
.p-4{padding:1rem;}
.p-6{padding:1.5rem;}
.p-7{padding:1.75rem;}
.px-3{padding-left:0.75rem;padding-right:0.75rem;}
.px-10{padding-left:2.5rem;padding-right:2.5rem;}
.py-5{padding-top:1.25rem;padding-bottom:1.25rem;}
.py-14{padding-top:3.5rem;padding-bottom:3.5rem;}
.mt-10{margin-top:2.5rem;}
.mt-20{margin-top:5rem;}
.my-10{margin-top:2.5rem;margin-bottom:2.5rem;}

/* Borders / radius */
.rounded-full{border-radius:999px;}
.rounded-lg{border-radius:12px;}
.rounded-xl{border-radius:14px;}
.rounded-2xl{border-radius:18px;}
.border{border:1px solid var(--sand-200);}
.border-b{border-bottom:1px solid var(--sand-200);}
.border-t{border-top:1px solid var(--sand-200);}
.border-sand-100{border-color:var(--sand-100);}
.border-sand-200{border-color:var(--sand-200);}
.border-sand-200\/50{border-color:rgba(231,224,211,.50);}
.border-sand-100\/50{border-color:rgba(244,239,230,.50);}
.border-dashed{border-style:dashed;}
.border-b.border-dashed{border-bottom-style:dashed;}

/* Shadows */
.shadow-sm{box-shadow:0 1px 2px rgba(15,23,42,.06);}
.shadow-lg{box-shadow:0 12px 30px rgba(15,23,42,.14);}

/* Typography */
.font-medium{font-weight:600;}
.font-semibold{font-weight:700;}
.font-bold{font-weight:800;}
.leading-none{line-height:1;}
.leading-relaxed{line-height:1.6;}
.tracking-wide{letter-spacing:.04em;}
.tracking-wider{letter-spacing:.12em;}
.uppercase{text-transform:uppercase;}
.whitespace-nowrap{white-space:nowrap;}
.text-center{text-align:center;}

/* Colors */
.bg-sand-100{background:var(--sand-100);}
.bg-sand-200{background:var(--sand-200);}
.bg-sand-50\/50{background:rgba(251,247,240,.50);}
.text-sand-700{color:var(--sand-700);}

/* Effects / transitions */
.transition-all{transition:all .3s ease;}
.transition-colors{transition:color .2s ease, background-color .2s ease, border-color .2s ease;}
.duration-200{transition-duration:.2s;}
.duration-300{transition-duration:.3s;}
.duration-500{transition-duration:.5s;}
.backdrop-blur-sm{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.cursor-pointer{cursor:pointer;}

/* Object fit */
.object-cover{object-fit:cover;}
.object-top{object-position:top;}

/* Specific “utility-ish” classes used in markup */
.bg-black\/10{background:rgba(0,0,0,.10);}

/* Responsive utilities used in markup */
@media (min-width:640px){
  .sm\:inline{display:inline;}
  .sm\:flex-row{flex-direction:row;}
}
@media (min-width:768px){
  .md\:flex{display:flex;}
  .md\:hidden{display:none;}
  .md\:block{display:block;}
  .md\:px-10{padding-left:2.5rem;padding-right:2.5rem;}
  .md\:py-4{padding-top:1rem;padding-bottom:1rem;}
  .md\:w-80{width:20rem;}
}

/* Card hover helper (used in hotel page) */
.card-hover{transition:transform .25s ease, box-shadow .25s ease;}
.card-hover:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(15,23,42,.12);}

/* Simple fade-in (optional) */
@keyframes fadeInUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
.animate-fade-in-up{opacity:0;animation:fadeInUp .8s ease forwards;}


/* ========================================================================== 
   Itinéraire mobile — "chooser" (Waze / Google Maps / Apple Plans)
   - Ouvre une bottom-sheet sur mobile quand on clique "Lancer l'itinéraire"
   - HTML: voir snippet + JS (data-route-*).
   ========================================================================== */

.smc-route-backdrop{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.smc-route-backdrop[hidden]{ display:none !important; }

.smc-route-sheet{
  width: 100%;
  max-width: 28rem; /* ~448px */
  background: #fff;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: 0 -20px 60px rgba(0,0,0,.18);
  transform: translateY(18px);
  opacity: 0;
  animation: smcSlideUp .22s ease-out forwards;
}
.smc-route-grab{
  width: 2.5rem;
  height: .25rem;
  border-radius: 999px;
  background: rgba(167,160,148,.55);
  margin: .25rem auto 1rem;
}
.smc-route-title{
  font-family: var(--font-serif, "DM Serif Display", serif);
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--sand-900, #1f1c19);
  text-align: center;
  margin: 0 0 .25rem;
}
.smc-route-sub{
  font-size: .75rem;
  color: rgba(127,118,107,.85);
  text-align: center;
  margin: 0 0 1rem;
}

.smc-route-list{ display:flex; flex-direction:column; gap:.75rem; }

.smc-route-item{
  display:flex;
  align-items:center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background: var(--sand-50, #fbf7f0);
  border: 1px solid rgba(231,224,211,.9);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.smc-route-item:hover{
  background: #f3eee6;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(31,28,25,.08);
}
.smc-route-icon{
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.smc-route-icon i{ font-size: 1.25rem; }

.smc-route-icon--waze{ background: rgba(51,204,255,.10); }
.smc-route-icon--waze i{ color: #33CCFF; }

.smc-route-icon--gmaps{ background: rgba(52,168,83,.10); }
.smc-route-icon--gmaps i{ color: #34A853; }

.smc-route-icon--apple{ background: rgba(31,28,25,.08); }
.smc-route-icon--apple i{ color: var(--sand-700, #453e37); }

.smc-route-meta{ flex: 1 1 auto; min-width: 0; }
.smc-route-meta .t{
  font-size: .95rem;
  font-weight: 700;
  color: var(--sand-800, #4b463f);
  margin: 0;
}
.smc-route-meta .d{
  font-size: .75rem;
  color: rgba(127,118,107,.85);
  margin: .15rem 0 0;
}

.smc-route-arrow{
  width: 1.25rem;
  height: 1.25rem;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(168,159,146,.85);
}
.smc-route-arrow i{ font-size: 1.25rem; }

.smc-route-cancel{
  width: 100%;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: transparent;
  border: 0;
  color: rgba(127,118,107,.95);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.smc-route-cancel:hover{ color: var(--sand-700, #453e37); }

html.smc-no-scroll{ overflow: hidden !important; }

@keyframes smcSlideUp{
  from{ transform: translateY(18px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

/* Respecte “réduction des animations” */
@media (prefers-reduced-motion: reduce){
  .smc-route-sheet{ animation: none; transform:none; opacity:1; }
  .smc-route-item{ transition:none; }
}


/* ============================================================
   HOTEL DETAIL PAGE — classes spécifiques (hotel.php)
   Suit les conventions et variables de readdy.css
   ============================================================ */

/* -- Breadcrumb -------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--sand-400);
}
.breadcrumb a {
  color: var(--sand-400);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--sand-700); }
.breadcrumb__sep { font-size: 12px; }
.breadcrumb__cur { color: var(--sand-700); font-weight: 700; }

/* -- Galerie photos ---------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 300px;
  gap: 10px;
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 236px 236px;
    height: 482px;
  }
}
.gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  height: 100%;
}
@media (min-width: 768px) {
  .gallery__main {
    grid-row: 1 / 3;
    border-radius: 18px 0 0 18px;
  }
}
.gallery__thumb {
  display: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
}
.gallery__thumb:nth-child(3) { border-radius: 0 14px 0 0; }
.gallery__thumb:last-child   { border-radius: 0 0 14px 0; }
@media (min-width: 768px) { .gallery__thumb { display: block; } }

.gallery__main img,
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s;
}
.gallery__main:hover img,
.gallery__thumb:hover img { transform: scale(1.05); }

.gallery__main::after,
.gallery__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.gallery__main:hover::after,
.gallery__thumb:hover::after { background: rgba(0,0,0,.08); }

.gallery__btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--sand-800);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(15,23,42,.14);
  transition: background .2s;
  cursor: pointer;
  z-index: 2;
}
.gallery__btn:hover { background: #fff; }
.gallery__btn i { font-size: 15px; }

/* -- Hero section (titre + étoiles + description) ---------- */
.detail-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 0 8px;
}
@media (min-width: 1024px) {
  .detail-hero {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }
}
.detail-hero__info { flex: 1; min-width: 0; }
.detail-hero__name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.detail-hero__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--sand-900);
  line-height: 1.1;
}
@media (min-width: 768px) { .detail-hero__name { font-size: 40px; } }
.detail-hero__stars {
  color: var(--terracotta-400);
  font-size: 18px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-hero__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sand-500);
  margin-bottom: 18px;
}
.detail-hero__loc i { color: var(--terracotta-400); font-size: 13px; }
.detail-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sand-600);
  margin: 0 0 20px;
  max-width: 680px;
}
.detail-hero__price {
  flex: 0 0 auto;
  text-align: left;
}
@media (min-width: 1024px) { .detail-hero__price { text-align: right; } }

/* -- Séparateur -------------------------------------------- */
.sep {
  border: 0;
  border-top: 1px solid var(--sand-200);
  margin: 40px 0;
}
@media (min-width: 768px) { .sep { margin: 56px 0; } }

/* -- Titres de section ------------------------------------- */
.section-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--sand-900);
}
.section-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--sand-400);
}

/* -- Grille 2 colonnes ------------------------------------- */
.two-col {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* -- Contact panel items ----------------------------------- */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-row + .contact-row { margin-top: 22px; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--terracotta-50);
  color: var(--terracotta-500);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.contact-icon i { font-size: 18px; }
.contact-lbl {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sand-400);
  margin-bottom: 4px;
}
.contact-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-800);
  transition: color .2s;
}
.contact-link:hover { color: var(--terracotta-500); }

/* -- Horaires ---------------------------------------------- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.hours-cell {
  background: var(--sand-50);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.hours-cell--accent { background: var(--terracotta-50); }
.hours-cell__lbl {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sand-400);
  margin-bottom: 6px;
}
.hours-cell--accent .hours-cell__lbl { color: var(--terracotta-400); }
.hours-cell__val {
  font-size: 15px;
  font-weight: 900;
  color: var(--sand-900);
}
.hours-cell--accent .hours-cell__val { color: var(--terracotta-600, #b5542e); }

/* -- Boutons mobile-only ----------------------------------- */
.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
@media (min-width: 768px) { .mobile-ctas { display: none; } }
.mobile-ctas__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.mobile-ctas__btn:hover { transform: translateY(-1px); }
.mobile-ctas__btn--primary {
  background: var(--terracotta-500);
  color: #fff;
}
.mobile-ctas__btn--primary:hover { background: #bc6044; }
.mobile-ctas__btn--dark {
  background: var(--sand-800);
  color: #fff;
}
.mobile-ctas__btn--dark:hover { background: var(--sand-900); }
.mobile-ctas__btn i { font-size: 16px; }

/* -- Bouton outline (lien secondaire) ---------------------- */
.cta--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid var(--sand-200);
  background: transparent;
  color: var(--sand-700);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.cta--outline:hover {
  background: var(--sand-50);
  border-color: rgba(168,159,146,.8);
}
.cta--outline i { font-size: 15px; }

/* Variante terracotta pour "Réserver" */
.cta--terracotta {
  background: var(--terracotta-500);
  color: #fff;
}
.cta--terracotta:hover { background: #bc6044; }

/* -- À proximité ------------------------------------------ */
.nearby-list { display: flex; flex-direction: column; }
.nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--sand-200);
}
.nearby-item:last-child { border-bottom: 0; }
.nearby-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nearby-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--sand-50);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.nearby-item__icon i { font-size: 14px; color: var(--sand-500); }
.nearby-item__name { font-size: 14px; color: var(--sand-700); }
.nearby-item__dist {
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-400);
  flex: 0 0 auto;
}

/* -- Équipements ------------------------------------------ */
.feature-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-cat { } /* utilise .panel */
.feature-cat__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--sand-800);
  margin-bottom: 16px;
}
.feature-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--sand-200);
}
.feature-row:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) {
  .feature-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
}
.feature-row__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-800);
  min-width: 180px;
  flex: 0 0 auto;
}
.feature-row__val {
  font-size: 14px;
  color: var(--sand-600);
  flex: 1;
}
.feature-row__val ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* -- Chambres ---------------------------------------------- */
/* Réutilise .hotel-card, .hotel-media, .hotel-body, .hotel-main,
   .hotel-foot, .hotel-title, .price-val, .price-label, .tags, .tag, .cta */
.room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--sand-600);
}
.room-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.room-spec i { font-size: 14px; color: var(--sand-400); }

/* -- Avis -------------------------------------------------- */
.review-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
}
.review-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}
.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-800);
}
.review-date {
  font-size: 12px;
  color: var(--sand-400);
  margin-top: 2px;
}
.review-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sand-600);
  margin: 0;
}
.review-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sand-400);
}
.review-verified i { font-size: 13px; color: var(--terracotta-400); }

/* -- Lien retour ------------------------------------------ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sand-500);
  transition: color .2s;
  margin-bottom: 48px;
}
.back-link:hover { color: var(--sand-800); }
.back-link i { font-size: 16px; transition: transform .2s; }
.back-link:hover i { transform: translateX(-3px); }

/* -- Map hotel detail ------------------------------------- */
.detail-map {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .detail-map { height: 380px; } }
.detail-map #hotel-map { width: 100%; height: 100%; }

/* -- Avis placeholder ------------------------------------- */
.review-placeholder {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
}
.review-placeholder p {
  margin: 0;
  font-size: 14px;
  color: var(--sand-600);
  line-height: 1.6;
}

/* -- Responsive detail page ------------------------------- */
@media (min-width: 768px) {
  .hours-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   BKSheets — Footer dates toujours visible (Appliquer / Annuler)
   - La zone calendrier scrolle
   - Le footer reste fixe en bas de la sheet
   ============================================================ */
#bkSheetDates .bk-sheet-body{
  padding: 14px 16px;
  max-height: 70vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#bkSheetDates .bk-sheet-footer{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

/* ============================================================
   RESULT CARDS — cards horizontales compactes
   ============================================================ */
.result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  min-height: 110px;
  width: 100%;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(15,23,42,.11);
}
.result-card.is-full { opacity: .75; }
.result-card.is-active {
  border-color: #7d6a55;
  box-shadow: 0 0 0 2px #7d6a55, 0 10px 32px rgba(15,23,42,.11);
}

/* Photo à gauche — largeur fixe */
.result-card__img {
  width: 120px;
  flex: 0 0 120px;
  position: relative;
  overflow: hidden;
  min-height: 110px;
}
@media (min-width: 480px) {
  .result-card__img { width: 140px; flex: 0 0 140px; }
}
.result-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}
.result-card:hover .result-card__img img { transform: scale(1.05); }

/* Badge étoiles */
.result-card__stars {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--terracotta-400);
  line-height: 1;
  z-index: 1;
}

/* Corps à droite */
.result-card__body {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.result-card__top { display: flex; flex-direction: column; gap: 4px; }

.result-card__name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--sand-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  text-transform: capitalize;
  margin: 0;
}

.result-card__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--sand-400);
}
.result-card__loc i { font-size: 11px; color: var(--terracotta-400); flex: 0 0 auto; }

/* Pied : prix + flèche */
.result-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.result-card__price-label {
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--sand-400); margin-bottom: 2px;
}
.result-card__price { display: flex; align-items: baseline; gap: 3px; }
.result-card__price strong {
  font-size: 20px; font-weight: 900;
  color: var(--sand-900); line-height: 1;
}
.result-card__price em {
  font-style: normal; font-size: 11px; color: var(--sand-400);
}

.result-card__full { font-size: 13px; font-weight: 800; color: var(--sand-400); }
.result-card__full small {
  display: block; font-size: 10px;
  color: #c8bcaa; margin-top: 2px;
}

.result-card__arrow {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--sand-50);
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: background .2s, transform .2s;
  color: var(--sand-500);
}
.result-card:hover .result-card__arrow {
  background: #7d6a55; color: #fff; transform: translateX(2px);
}
.result-card__arrow i { font-size: 14px; }


/* ============================================================
   RESULTATS — Résumé sticky + barre filtres + marqueurs
   ============================================================ */

:root{
  --hdr:  64px;
  --rtop: 80px;
  --mbar: 56px;
}

.results-top-fixed{
  position: sticky !important;
  top: 0 !important;
  z-index: 46;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(251,247,240,.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,224,211,.65);
}
.results-top-fixed > .container{
  padding-top: var(--hdr) !important;
  padding-bottom: 10px !important;
}
.results-top-fixed .results-summary{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.06); border-radius:18px;
  box-shadow:0 6px 20px rgba(0,0,0,.07); padding:11px 14px;
}
.results-summary__text{ font-size:14px; font-weight:800; color:var(--sand-700); flex:1; }
.results-summary__edit{
  width:36px; height:36px; border-radius:999px; background:var(--sand-50);
  display:grid; place-items:center; border:1px solid rgba(0,0,0,.08);
  cursor:pointer; color:var(--sand-700); flex:0 0 auto; transition:background .2s;
}
.results-summary__edit:hover{ background:#fff; }

.results-top-fixed + .mobile-bar{
  top: calc(var(--hdr) + var(--rtop)) !important;
  z-index: 45 !important; margin-top:0 !important; transition:none !important;
}

@media (min-width: 1024px){
  .results-top-fixed{
    background:transparent !important; backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important; border-bottom:0 !important;
  }
  .results-top-fixed > .container{ padding-top:calc(var(--hdr) + 12px) !important; }
  .results-top-fixed + .mobile-bar{ top:var(--hdr) !important; }
}

@media (max-width: 1023px){
  body:has(.results-top-fixed) .results-top-fixed{
    position:fixed !important; top:var(--hdr) !important;
    left:0 !important; right:0 !important; z-index:60 !important;
  }
  body:has(.results-top-fixed) .results-top-fixed > .container{
    padding-top:10px !important; padding-bottom:10px !important;
  }
  body:has(.results-top-fixed) .results-top-fixed + .mobile-bar{
    position:fixed !important; top:calc(var(--hdr) + var(--rtop)) !important;
    left:0 !important; right:0 !important; z-index:59 !important;
    width:100vw !important; margin:0 !important;
    transition:none !important; transform:translateZ(0);
  }
  body:has(.results-top-fixed) main.main{
    padding-top:calc(var(--hdr) + var(--rtop) + var(--mbar) + 12px) !important;
    padding-bottom:24px !important;
  }
}

.result-list{ gap:8px; }
.main{ padding-bottom:24px; }
.content-head{ margin-top:0; margin-bottom:10px; }
.content-sub{ font-size:13px; color:var(--sand-400); margin:0; }

#smcFilterCount{ display:none !important; }
#smcFilterCount:not([hidden]):not(:empty){
  display:inline-grid !important; place-items:center !important;
  height:18px !important; min-width:18px !important;
  line-height:18px !important; padding:0 5px !important;
}
#smcFilterCount[hidden], #smcFilterCount:empty{ display:none !important; }

/* ---- Marqueurs Leaflet ---- */
.leaflet-marker-icon.hotel-label-icon{
  background:transparent !important; border:0 !important; overflow:visible !important;
}
.hotel-label{
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 11px; border-radius:999px;
  border:1px solid rgba(0,0,0,.12); background:rgba(255,255,255,.96);
  box-shadow:0 6px 18px rgba(0,0,0,.14);
  font:800 13px/1.1 system-ui,sans-serif; color:#111; white-space:nowrap; cursor:pointer;
}
.hotel-label:hover, .hotel-label.is-active{ background:#fff; z-index:1000; }
.hotel-label .price{ font-weight:900; }
.hotel-label .name{ font-weight:700; max-width:140px; overflow:hidden; text-overflow:ellipsis; }
.hotel-label.is-compact .name{ display:none; }
.leaflet-marker-icon, .leaflet-marker-shadow{ pointer-events:auto !important; }
.leaflet-pane, .leaflet-marker-pane, .leaflet-overlay-pane{ overflow:visible !important; }

/* ============================================================
   RESULTATS — Mobile : empêche la barre actions de passer sous le résumé
   ------------------------------------------------------------
   Résumé FIXE sous le header
   Barre Filtrer/Trier/Carte FIXE juste en dessous du résumé
   Z-index ordonné => pas de chevauchement
   ============================================================ */

:root{
  --hdr: 64px;
  --rtop: 80px;
  --mbar: 56px;
}

@media (max-width: 1023px){

  body.page-results .results-top-fixed{
    position: fixed !important;
    top: var(--hdr) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 60 !important;
    background: rgba(251,247,240,.95) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 0 !important;
  }

  body.page-results .results-top-fixed > .container{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.page-results .mobile-bar{
    position: fixed !important;
    top: calc(var(--hdr) + var(--rtop)) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 59 !important;
    margin: 0 !important;
    background: rgba(251,247,240,.85) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(231,224,211,.65) !important;
  }

  body.page-results .mobile-bar .mobile-bar-inner{
    height: var(--mbar) !important;
    padding: 8px 16px !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(231,224,211,.55) !important;
  }

  body.page-results main.main{
    padding-top: calc(var(--hdr) + var(--rtop) + var(--mbar) + 12px) !important;
  }
}
