/* Hébergements : un seul bouton de réservation, fiches détaillées et galeries */

/* On masque les boutons « Réserver » d'origine (un par logement) */
html.gh-ready #accommodation a[href*="smoobu"]:not(.gh-book-btn):not(.gh-dispo) { display: none !important; }

#accommodation .gh-card { cursor: pointer; }

.gh-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.gh-link:hover { opacity: .7; }

.gh-book { text-align: center; margin: 1.5rem auto 2.5rem; padding: 0 1rem; }
.gh-book-btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  text-decoration: none;
  cursor: pointer;
  background: #1b1b1b;
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
}
.gh-book-btn:hover { opacity: .85; }
.gh-book-note { margin: .9rem 0 0; font-size: .85rem; opacity: .7; }

/* Fenêtre de détail */
html.gh-lock { overflow: hidden; }
.gh-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 15, 15, .78);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.gh-overlay.is-open { display: flex; }
.gh-panel {
  position: relative;
  background: #faf7f2;
  color: #222;
  width: min(1040px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.gh-close {
  position: absolute; top: .5rem; right: .75rem; z-index: 3;
  width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: #222;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.gh-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.gh-gallery { background: #111; display: flex; flex-direction: column; min-width: 0; }
.gh-main { position: relative; flex: 1; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.gh-main-img { width: 100%; height: 100%; max-height: 62vh; object-fit: cover; display: block; }
.gh-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: #222; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.gh-prev { left: .6rem; }
.gh-next { right: .6rem; }
.gh-counter {
  position: absolute; bottom: .6rem; right: .8rem;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; padding: .2rem .55rem; border-radius: 999px;
}
.gh-thumbs { display: flex; gap: .4rem; padding: .5rem; overflow-x: auto; background: #111; }
.gh-thumb { flex: 0 0 auto; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; }
.gh-thumb.is-active { border-color: #fff; opacity: 1; }
.gh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gh-info { padding: 2rem 1.75rem; }
.gh-kicker { margin: 0 0 .4rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
.gh-title { margin: 0 0 .8rem; font-size: 1.8rem; line-height: 1.2; }
.gh-lead { margin: 0 0 1rem; line-height: 1.55; }
.gh-info h4 { margin: 1.2rem 0 .4rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.gh-info ul { margin: 0; padding-left: 1.1rem; line-height: 1.7; }
.gh-note { margin: 1.2rem 0 .8rem; font-size: .85rem; opacity: .7; }
.gh-dispo {
  display: inline-block; padding: .85rem 1.6rem; text-decoration: none;
  background: #1b1b1b; color: #fff; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem;
}
.gh-dispo:hover { opacity: .85; }

@media (max-width: 800px) {
  .gh-body { grid-template-columns: 1fr; }
  .gh-main-img { max-height: 42vh; }
  .gh-info { padding: 1.4rem 1.2rem 1.8rem; }
}

/* Badge Mariages.net Wedding Awards 2026 (bandeau d'accueil) */
.wa-badge { position: absolute; right: 24px; bottom: 24px; width: 120px; height: 120px; z-index: 5; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); pointer-events: none; }
@media (max-width: 800px) { .wa-badge { width: 76px; height: 76px; right: 12px; bottom: 12px; } }

/* Prix des services (#extras) */
#extras .gh-prix { font-weight: 600; margin-top: .5rem; }
