.genevastay-theme .wp-site-blocks {
  background: var(--wp--preset--color--base);
}

.genevastay-theme .wp-block-site-title a,
.genevastay-theme .wp-block-navigation a {
  letter-spacing: 0.01em;
}

.genevastay-theme .wp-block-navigation .wp-block-navigation-item__content {
  font-weight: 600;
}

/* Hero readability on image overlays */
.home .wp-block-cover .wp-block-cover__background {
  opacity: 0.48 !important;
}

.home .wp-block-cover .wp-block-cover__inner-container,
.home .wp-block-cover .wp-block-heading,
.home .wp-block-cover p,
.home .wp-block-cover .wp-block-button__link {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.home .wp-block-cover .wp-block-button__link {
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(1px);
}

/* Keep footer clean and close to prior simple style */
footer.wp-block-template-part,
footer .wp-block-group {
  background: #f6f4ee;
}

footer .wp-block-heading {
  color: #1f2227;
}

.genevastay-theme a:focus-visible,
.genevastay-theme button:focus-visible,
.genevastay-theme .wp-block-button__link:focus-visible,
.genevastay-theme .wp-block-navigation-item__content:focus-visible {
  outline: 3px solid #4e647f;
  outline-offset: 3px;
}

.gs-booking-form {
  display: grid;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2dfd7;
  border-radius: 14px;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.gs-booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.gs-booking-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: #1f2227;
}

.gs-booking-form input,
.gs-booking-form select,
.gs-booking-form textarea {
  border: 1px solid #d3d0c9;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #1f2227;
  background: #fff;
}

.gs-booking-form button {
  justify-self: start;
  border: none;
  border-radius: 8px;
  background: #4e647f;
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.gs-booking-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.gs-booking-notice-success {
  background: #e8f5ec;
  color: #17643a;
  border: 1px solid #b7dcc4;
}

.gs-booking-notice-error {
  background: #ffe9e9;
  color: #902c2c;
  border: 1px solid #f2bbbb;
}

.gs-section {
  margin: clamp(1.5rem, 3vw, 3rem) auto;
}

.gs-section-head {
  max-width: 780px;
  margin: 0 auto 1.2rem;
}

.gs-section-head h2 {
  margin: 0 0 0.4rem;
  color: #1f2227;
}

.gs-kicker {
  margin: 0 0 0.35rem;
  color: #5a616b;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.gs-paths-grid,
.gs-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gs-card {
  background: #ffffff;
  border: 1px solid #e3dfd7;
  border-radius: 12px;
  padding: 1.1rem;
}

.gs-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.gs-card ul {
  margin: 0.8rem 0;
  padding-left: 1.1rem;
}

.gs-card ul li {
  margin-bottom: 0.3rem;
}

.gs-card-traveler {
  border-left: 4px solid #4e647f;
}

.gs-card-owner {
  border-left: 4px solid #b5a28e;
}

.gs-card-apartment .gs-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #5a616b;
  font-size: 0.92rem;
}

.gs-card-apartment .gs-meta span {
  background: #f1eee8;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.gs-hotel-shell {
  width: 100%;
  max-width: none;
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}

.page-id-1666 .entry-content.wp-block-post-content.has-global-padding {
  padding-left: min(6.5rem, 8vw) !important;
  padding-right: min(6.5rem, 8vw) !important;
}

.gs-hotel-shell .gs-catalog-grid {
  grid-template-columns: 1fr;
  width: 100%;
  gap: 1rem;
  padding-left: min(6.5rem, 8vw);
  padding-right: min(6.5rem, 8vw);
  box-sizing: border-box;
}

.gs-hotel-hero {
  margin-bottom: 1.1rem;
}

.gs-hotel-hero h1 {
  margin: 0 0 0.5rem;
  color: #1f2227;
}

.gs-hotel-search {
  background: #ffffff;
  border: 1px solid #ddd8cf;
  border-radius: 12px;
  padding: clamp(1rem, 1.9vw, 1.35rem);
  margin-bottom: 1rem;
  max-width: 920px;
  width: min(100%, 920px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.gs-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
}

.gs-search-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #1f2227;
  min-width: 0;
}

.gs-search-grid input {
  border: 1px solid #d3d0c9;
  border-radius: 8px;
  padding: 0.6rem 0.65rem;
  font: inherit;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gs-search-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1rem;
  justify-content: center;
}

.gs-search-actions button {
  border: none;
  border-radius: 8px;
  background: #4e647f;
  color: #fff;
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.gs-search-actions a {
  color: #4e647f;
  font-weight: 600;
  text-decoration: none;
}

.gs-hotel-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.gs-hotel-results-head h2 {
  margin: 0;
}

.gs-hotel-results-head p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
}

/* Search date validation notice */
.gs-search-notice {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.gs-search-notice--error {
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.gs-card-hotel {
  border-left: none;
}

.gs-card-main-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gs-card-body {
  display: grid;
  gap: 0.6rem;
}

.gs-card-topline {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gs-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #f5f3ef;
  color: #4a5058;
  font-size: 0.84rem;
  font-weight: 600;
}

.gs-pill-price {
  background: #eef1f3;
}

/* ── Card list: 3-column layout ── */
.gs-card-list {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr) 210px;
  gap: 0;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dcd7cf;
  background: #ffffff;
  box-sizing: border-box;
  min-height: 280px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.gs-card-list:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  border-color: #c8c2b8;
}

/* Col 1 — image */
.gs-card-media-link {
  display: block;
  height: 100%;
  overflow: hidden;
  align-self: stretch;
}

.gs-card-list .gs-apartment-media {
  margin: 0;
  border-radius: 0;
  height: 100%;
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background: #ece8e1;
}

.gs-card-list .gs-apartment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gs-card-list:hover .gs-apartment-media img {
  transform: scale(1.03);
}

/* Col 2 — info */
.gs-card-list .gs-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.35rem 1.5rem;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border-right: 1px solid #ece8e2;
}

/* Col 3 — price + CTA */
.gs-card-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  box-sizing: border-box;
  background: #faf9f7;
}

.gs-card-title-link {
  text-decoration: none;
  color: inherit;
}

.gs-card-title-link:hover .gs-card-title {
  color: #4e647f;
}

.gs-card-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  color: #1f2227;
}

.gs-card-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #4a5058;
  font-size: 0.88rem;
}

.gs-card-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  background: #f6f5f2;
  border: 1px solid #e7e2da;
  padding: 0.24rem 0.56rem;
}

.gs-spec-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  color: #5a616b;
}

.gs-spec-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.gs-description {
  margin: 0;
  color: #5a616b;
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 1;
  min-height: 0;
}

/* gs-card-footer removed — price now in gs-card-side */

.gs-card-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  text-align: center;
}

.gs-card-price-main {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1f2227;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.gs-card-price-main span {
  font-size: 0.88rem;
  font-weight: 500;
  color: #5a616b;
}

.gs-card-price-stay {
  margin: 0;
  color: #5a616b;
  font-size: 0.9rem;
}

.gs-discounts,
.gs-single-discounts {
  margin: 0;
  color: #5a616b;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.gs-discounts div {
  margin: 0;
  white-space: nowrap;
}

.gs-pagination {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gs-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 0.5rem 0.8rem;
  border: 1px solid #ddd8cf;
  border-radius: 10px;
  text-decoration: none;
  color: #4e647f;
  background: #fff;
}

.gs-pagination a.is-active {
  background: #4e647f;
  color: #fff;
  border-color: #4e647f;
}

.gs-apartment-single {
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}

.gs-apartment-single h2 {
  max-width: 1400px;
  padding-left: min(6.5rem, 8vw);
  padding-right: min(6.5rem, 8vw);
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1f2227;
  text-align: center;
}

.gs-apartment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.gs-apartment-hero-copy h2 {
  margin: 0.15rem 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #1f2227;
}

.gs-apartment-subtitle {
  margin: 0 0 0.9rem;
  color: #5a616b;
  max-width: 60ch;
}

.gs-apartment-hero-gallery {
  display: grid;
  gap: 0.75rem;
}

.gs-gallery-main,
.gs-gallery-tile,
.gs-gallery-empty {
  border-radius: 14px;
  overflow: hidden;
  background: #f3f1ed;
}

.gs-gallery-main img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.gs-gallery-empty {
  min-height: 340px;
  display: grid;
  place-items: center;
  color: #5a616b;
  font-weight: 700;
}

.gs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gs-gallery-tile {
  aspect-ratio: 1.1;
  background-size: cover;
  background-position: center;
}

.gs-gallery-tile.is-empty {
  display: grid;
  place-items: center;
  color: #5a616b;
  font-weight: 700;
}

.gs-apartment-detail-layout {
  display: grid;
  /* sidebar: flexible, min 0 so grid can collapse cleanly, max 380px */
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 1.5rem;
  align-items: start;
  max-width: 1400px;
  padding-left: min(6.5rem, 8vw);
  padding-right: min(6.5rem, 8vw);
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.gs-apartment-detail-main {
  display: grid;
  gap: 1rem;
  min-width: 0; /* prevent main content from overflowing */
}

.gs-detail-panel,
.gs-apartment-booking-card {
  background: #fff;
  border: 1px solid #e3dfd7;
  border-radius: 14px;
  box-shadow: none;
}

.gs-detail-panel {
  padding: 1.1rem;
}

.gs-detail-panel-head h3 {
  margin: 0.15rem 0 0;
  color: #1f2227;
}

.gs-apartment-description {
  margin: 0 0 1rem;
  color: #303540;
  line-height: 1.7;
}

/* Wrapper pour highlights - même largeur que carrousel */
.gs-detail-highlights-wrapper {
  max-width: 1400px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: min(6.5rem, 8vw);
  padding-right: min(6.5rem, 8vw);
}

.gs-detail-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.gs-detail-highlights article {
  padding: 0.85rem;
  border-radius: 12px;
  background: #f5f2ec;
  border: 1px solid #e4dfd5;
  display: grid;
  gap: 0.3rem;
}

.gs-detail-highlights strong,
.gs-booking-meta-list strong,
.gs-booking-price strong,
.gs-host-card strong {
  color: #1f2227;
}

.gs-amenities-large {
  margin-top: 0.3rem;
}

.gs-muted {
  color: #5a616b;
  margin: 0;
}

.gs-detail-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gs-rule-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #303540;
}

.gs-rule-list li + li {
  margin-top: 0.35rem;
}

.gs-similar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gs-apartment-booking-card {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
  min-width: 0;       /* allow grid child to shrink */
  overflow: hidden;   /* prevent content from spilling outside the card */
  word-break: break-word;
  overflow-wrap: break-word;
}

.gs-booking-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.gs-booking-price strong {
  font-size: 1.55rem;
}

.gs-booking-savings {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0;
}

.gs-booking-savings span,
.gs-booking-note {
  color: #5a616b;
}

.gs-booking-meta-list {
  display: grid;
  gap: 0.55rem;
}

.gs-booking-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #ece7de;
}

.gs-booking-meta-list span {
  color: #5a616b;
}

.gs-booking-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px !important;
  padding: 0.75rem 1.2rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none !important;
  background: #4e647f !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gs-booking-cta:hover {
  background: #3d5066 !important;
}

.gs-brand-note {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.25rem;
  border-top: 1px solid #ece7de;
}

.gs-apartment-single-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.gs-apartment-single-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gs-single-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0;
}

.gs-apartment-media {
  margin: -1.1rem -1.1rem 0.9rem;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid #e8e4dc;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: #f3efe8;
}

.gs-apartment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gs-apartment-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #5a616b;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gs-amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0.75rem;
  padding: 0;
}

.gs-amenities li {
  background: #f5f2ec;
  border: 1px solid #e4dfd5;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.84rem;
  color: #3c4450;
}

.gs-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: stretch;
  margin: 0;
}

.gs-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  padding: 0.72rem 1rem !important;
  font-size: 0.93rem !important;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none !important;
  background: #1a6b5c !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s;
}
.gs-card-cta:hover { background: #155a4d !important; }

/* Bouton principal de l'interface (formulaire reservation, Stripe) */
.gs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  background: #1a6b5c;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.gs-btn-primary:hover   { background: #155a4d; color: #fff; }
.gs-btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.gs-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid #cfd4dc;
  background: #fff;
  color: #303540;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  text-align: center;
}

.gs-link-secondary {
  color: #4e647f;
  text-decoration: none;
  font-weight: 600;
}

#gs-form {
  scroll-margin-top: 80px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE: Page Détail Appartement
   ───────────────────────────────────────────────────────────────────────── */

/* Tablette paysage (< 1024px) */
@media (max-width: 1023px) {
  .gs-apartment-detail-layout {
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-right: clamp(2rem, 4vw, 3rem);
    gap: 1.25rem;
  }

  .gs-apartment-single h2 {
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-right: clamp(2rem, 4vw, 3rem);
  }

  .gs-detail-highlights-wrapper {
    margin-left: clamp(2rem, 4vw, 3rem);
    margin-right: clamp(2rem, 4vw, 3rem);
  }

  .gs-apartment-booking-card {
    padding: 1.25rem;
  }

  .gs-detail-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablette portrait (< 900px) — switch to single column */
@media (max-width: 899px) {
  .gs-apartment-detail-layout {
    grid-template-columns: 1fr; /* single column — sidebar stacks below main */
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
    gap: 1rem;
  }

  .gs-apartment-booking-card {
    position: static; /* un-stick the sidebar when stacked */
  }

  .gs-apartment-single h2 {
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
  }

  .gs-detail-highlights-wrapper {
    margin-left: clamp(1.5rem, 4vw, 2.5rem);
    margin-right: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 782px) {
  .page-id-1666 .entry-content.wp-block-post-content.has-global-padding {
    padding-left: clamp(0.9rem, 4vw, 1.25rem) !important;
    padding-right: clamp(0.9rem, 4vw, 1.25rem) !important;
  }

  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(0.9rem, 4vw, 1.25rem);
    padding-right: clamp(0.9rem, 4vw, 1.25rem);
  }

  .gs-apartment-hero,
  .gs-apartment-detail-layout,
  .gs-detail-split,
  .gs-similar-grid,
  .gs-detail-highlights {
    grid-template-columns: 1fr;
  }

  .gs-apartment-detail-layout {
    padding-left: clamp(0.9rem, 4vw, 1.25rem);
    padding-right: clamp(0.9rem, 4vw, 1.25rem);
    gap: 1rem;
  }

  .gs-apartment-single h2 {
    padding-left: clamp(0.9rem, 4vw, 1.25rem);
    padding-right: clamp(0.9rem, 4vw, 1.25rem);
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-top: 1rem;
    text-align: center;
  }

  .gs-detail-highlights-wrapper {
    margin-left: clamp(0.9rem, 4vw, 1.25rem);
    margin-right: clamp(0.9rem, 4vw, 1.25rem);
  }

  .gs-apartment-detail-layout {
    padding-left: clamp(0.9rem, 4vw, 1.25rem);
    padding-right: clamp(0.9rem, 4vw, 1.25rem);
  }

  .gs-booking-cta {
    padding: 0.8rem 1.2rem !important;
    font-size: 1rem !important;
  }

  .gs-search-grid {
    grid-template-columns: 1fr;
  }

  .gs-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gs-gallery-main img,
  .gs-gallery-empty {
    min-height: 220px;
  }

  .gs-search-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .gs-hotel-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gs-paths-grid,
  .gs-catalog-grid,
  .gs-booking-grid {
    grid-template-columns: 1fr;
  }

  .gs-booking-form button {
    width: 100%;
    justify-self: stretch;
  }

  .gs-card-actions,
  .gs-card-cta,
  .gs-btn-outline {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .gs-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-hotel-search {
    width: min(100%, 820px);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE: Cartes Appartements
   ───────────────────────────────────────────────────────────────────────── */

/* Large desktop (< 1400px) */
@media (max-width: 1399px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(3.5rem, 6vw, 5rem);
    padding-right: clamp(3.5rem, 6vw, 5rem);
  }
}

/* Desktop (< 1200px) */
@media (max-width: 1199px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(2.5rem, 5vw, 4rem);
    padding-right: clamp(2.5rem, 5vw, 4rem);
  }

  .gs-card-list {
    grid-template-columns: 26% minmax(0, 1fr) 200px;
    max-width: 100%;
  }

  .gs-card-list .gs-card-body {
    padding: 1.25rem 1.4rem;
  }

  .gs-card-side {
    padding: 1.25rem 1.3rem;
  }
}

/* Tablet landscape / Small desktop (< 1024px) */
@media (max-width: 1023px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(2rem, 4vw, 3rem);
    padding-right: clamp(2rem, 4vw, 3rem);
  }

  .gs-card-list {
    grid-template-columns: 28% minmax(0, 1fr) 190px;
    min-height: 260px;
    max-width: 100%;
  }

  .gs-card-list .gs-card-body {
    padding: 1.15rem 1.25rem;
    gap: 0.5rem;
  }

  .gs-card-side {
    padding: 1.15rem 1.15rem;
    gap: 0.85rem;
  }

  .gs-card-title {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  }

  .gs-description {
    font-size: 0.89rem;
    -webkit-line-clamp: 2;
  }

  .gs-card-price-main {
    font-size: 1.4rem;
  }

  .gs-card-actions a {
    font-size: 0.87rem;
    padding: 0.6rem 0.95rem;
  }
}

/* Tablet landscape (< 900px) */
/* Tablet landscape (< 900px) */
@media (max-width: 899px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
  }

  .gs-card-list {
    grid-template-columns: 30% minmax(0, 1fr) 180px;
    min-height: 250px;
    max-width: 100%;
  }

  .gs-card-list .gs-card-body {
    padding: 1.1rem 1.15rem;
    gap: 0.48rem;
  }

  .gs-card-side {
    padding: 1.1rem 1rem;
    gap: 0.75rem;
  }

  .gs-card-title {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
  }

  .gs-description {
    font-size: 0.87rem;
    -webkit-line-clamp: 2;
  }

  .gs-card-price-main {
    font-size: 1.3rem;
  }

  .gs-card-actions a {
    font-size: 0.84rem;
    padding: 0.55rem 0.85rem;
  }
}

/* Tablet portrait (< 768px) - VERTICAL : colonnes empilées */
@media (max-width: 767px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
  }

  .gs-card-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    max-width: 100%;
  }

  .gs-card-media-link {
    height: 240px;
    grid-row: 1;
    grid-column: 1;
  }

  .gs-card-list .gs-apartment-media {
    height: 240px;
    aspect-ratio: 16 / 9;
  }

  .gs-card-list .gs-card-body {
    padding: 1.2rem 1.3rem 1rem;
    gap: 0.55rem;
    border-right: none;
    border-bottom: 1px solid #ece8e2;
    grid-row: 2;
    grid-column: 1;
  }

  .gs-card-side {
    padding: 1rem 1.3rem 1.2rem;
    gap: 0.8rem;
    background: #faf9f7;
    grid-row: 3;
    grid-column: 1;
  }

  .gs-card-price-block {
    gap: 0.3rem;
  }

  .gs-card-price-main {
    font-size: 1.35rem;
  }

  .gs-card-actions {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    width: 100%;
  }

  .gs-card-actions a {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    text-align: center;
  }
}

/* Mobile (< 600px) - VERTICAL optimisé */
@media (max-width: 599px) {
  .gs-hotel-shell .gs-catalog-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gs-card-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
  }

  .gs-card-media-link {
    height: 200px;
    grid-row: 1;
    grid-column: 1;
  }

  .gs-card-list .gs-apartment-media {
    height: 200px;
    aspect-ratio: 16 / 9;
  }

  .gs-card-list .gs-card-body {
    padding: 1rem 1rem 0.8rem;
    gap: 0.5rem;
    border-right: none;
    border-bottom: 1px solid #ece8e2;
    grid-row: 2;
    grid-column: 1;
  }

  .gs-card-side {
    padding: 0.8rem 1rem 1rem;
    gap: 0.8rem;
    background: #faf9f7;
    grid-row: 3;
    grid-column: 1;
  }

  .gs-card-price-block {
    align-items: center;
    text-align: center;
  }

  .gs-card-title {
    font-size: 1.15rem;
  }

  .gs-card-specs {
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  .gs-card-spec-item {
    padding: 0.2rem 0.5rem;
  }

  .gs-description {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }

  .gs-card-price-main {
    font-size: 1.4rem;
    justify-content: center;
  }

  .gs-card-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .gs-card-actions a {
    width: 100%;
  }

  .gs-discounts {
    font-size: 0.82rem;
    gap: 0.35rem;
    justify-content: center;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   CAROUSEL D'IMAGES - Détails Appartement
   ──────────────────────────────────────────────────────────────────────── */

.gs-apartment-carousel {
  max-width: 1400px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: min(6.5rem, 8vw);
  padding-right: min(6.5rem, 8vw);
  border-radius: 16px;
  overflow: hidden;
  background: #f6f5f2;
}

/* Conteneur principal du carrousel */
.gs-carousel-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #1f2227;
}

/* Slides */
.gs-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gs-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gs-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Boutons de navigation */
.gs-carousel-prev,
.gs-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2227;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.gs-carousel-prev {
  left: 1rem;
}

.gs-carousel-next {
  right: 1rem;
}

.gs-carousel-prev:hover,
.gs-carousel-next:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gs-carousel-prev:active,
.gs-carousel-next:active {
  transform: translateY(-50%) scale(0.95);
}

.gs-carousel-prev svg,
.gs-carousel-next svg {
  width: 24px;
  height: 24px;
}

/* Compteur */
.gs-carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(31, 34, 39, 0.75);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Miniatures */
.gs-carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8c2b8 #f6f5f2;
}

.gs-carousel-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gs-carousel-thumbs::-webkit-scrollbar-track {
  background: #f6f5f2;
}

.gs-carousel-thumbs::-webkit-scrollbar-thumb {
  background: #c8c2b8;
  border-radius: 3px;
}

.gs-carousel-thumb {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #e7e2da;
  padding: 0;
}

.gs-carousel-thumb:hover {
  border-color: #b5a28e;
  transform: translateY(-2px);
}

.gs-carousel-thumb.is-active {
  border-color: #4e647f;
  box-shadow: 0 2px 8px rgba(78, 100, 127, 0.3);
}

.gs-carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive - Tablette */
@media (max-width: 1023px) {
  .gs-apartment-carousel {
    margin-left: clamp(2rem, 4vw, 3rem);
    margin-right: clamp(2rem, 4vw, 3rem);
  }

  .gs-carousel-main {
    aspect-ratio: 4 / 3;
  }

  .gs-carousel-prev,
  .gs-carousel-next {
    width: 40px;
    height: 40px;
  }

  .gs-carousel-prev svg,
  .gs-carousel-next svg {
    width: 20px;
    height: 20px;
  }

  .gs-carousel-thumb {
    width: 120px;
    height: 80px;
  }
}

@media (max-width: 899px) {
  .gs-apartment-carousel {
    margin-left: clamp(1.5rem, 4vw, 2.5rem);
    margin-right: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 782px) {
  .gs-apartment-carousel {
    margin-left: clamp(0.9rem, 4vw, 1.25rem);
    margin-right: clamp(0.9rem, 4vw, 1.25rem);
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .gs-apartment-carousel {
    margin: 1rem -1rem;
    border-radius: 0;
  }

  .gs-carousel-main {
    aspect-ratio: 1 / 1;
  }

  .gs-carousel-prev,
  .gs-carousel-next {
    width: 36px;
    height: 36px;
  }

  .gs-carousel-prev {
    left: 0.5rem;
  }

  .gs-carousel-next {
    right: 0.5rem;
  }

  .gs-carousel-counter {
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.8125rem;
    padding: 0.35rem 0.7rem;
  }

  .gs-carousel-thumbs {
    padding: 0.75rem;
    gap: 0.4rem;
  }

  .gs-carousel-thumb {
    width: 100px;
    height: 67px;
    border-width: 2px;
  }
}

/* ============================================================
   BOOKING CALENDAR
   ============================================================ */

/* Trigger button */
.gs-calendar-field {
  margin-bottom: 1.5rem;
}

.gs-calendar-field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.gs-calendar-trigger {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: #6b7280;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.2s, box-shadow 0.2s;
          transition: border-color 0.2s, box-shadow 0.2s;
}

.gs-calendar-trigger:hover,
.gs-calendar-trigger[aria-expanded="true"] {
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,0.12);
  outline: none;
}

.gs-calendar-trigger--has-value {
  color: #111827;
  border-color: #1a6b5c;
}

.gs-cal-trigger-icon {
  flex-shrink: 0;
  color: #1a6b5c;
  line-height: 0;
}

/* Widget container */
.gs-calendar-widget {
  position: relative;
  z-index: 100;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  margin-top: 0.5rem;
  padding: 1.25rem;
  animation: gs-cal-fadein 0.15s ease;
}

@keyframes gs-cal-fadein {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gs-cal-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Legend */
.gs-cal-legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #6b7280;
}

.gs-cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gs-cal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gs-cal-dot--free     { background: #d1fae5; border: 1px solid #10b981; }
.gs-cal-dot--blocked  { background: #fee2e2; border: 1px solid #f87171; }
.gs-cal-dot--selected { background: #1a6b5c; }

/* Two-month layout */
.gs-cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Single month */
.gs-cal-month-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a6b5c;
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

/* 7-column grid */
.gs-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0; /* 0 column-gap: seamless horizontal range bar */
}

.gs-cal-grid--header {
  margin-bottom: 2px;
}

/* Cells
 * width: 100%   → fills its 1fr grid column
 * aspect-ratio  → height = width → perfect square
 * min-height    → fallback when aspect-ratio isn't supported
 */
.gs-cal-cell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  min-height: 32px; /* fallback for no-aspect-ratio browsers */
  aspect-ratio: 1;  /* square cells — Chrome 88+, FF 89+, Safari 15+ */
  font: inherit;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: default;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: background 0.1s, color 0.1s;
          transition: background 0.1s, color 0.1s;
  position: relative;
}

.gs-cal-cell--header {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
}

.gs-cal-cell--empty {
  visibility: hidden;
}

.gs-cal-cell--day {
  cursor: pointer;
  color: #111827;
  font-weight: 500;
}

.gs-cal-cell--day:hover:not([disabled]) {
  background: #d1fae5;
  color: #1a6b5c;
}

.gs-cal-cell--today {
  font-weight: 800;
  color: #1a6b5c;
}

.gs-cal-cell--today::after {
  content: '';
  position: absolute;
  bottom: 12%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a6b5c;
}

.gs-cal-cell--past,
.gs-cal-cell--past:hover {
  color: #d1d5db;
  cursor: not-allowed;
  background: transparent;
}

.gs-cal-cell--blocked,
.gs-cal-cell--blocked:hover {
  background: #fef2f2;
  color: #d1d5db;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Range selection — Airbnb-style seamless pill bar */
.gs-cal-cell--start {
  background: #1a6b5c !important;
  color: #fff !important;
  border-radius: 50% 0 0 50%; /* round left, flat right */
  z-index: 1;
}

.gs-cal-cell--end {
  background: #1a6b5c !important;
  color: #fff !important;
  border-radius: 0 50% 50% 0; /* flat left, round right */
  z-index: 1;
}

/* Single day selected (checkin = checkout or only one date picked) */
.gs-cal-cell--start.gs-cal-cell--end {
  border-radius: 50%;
}

.gs-cal-cell--in-range {
  background: #d1fae5;
  color: #065f46;
  border-radius: 0;
}

/* Hover preview */
.gs-cal-cell--hover-range {
  background: #ecfdf5;
  color: #065f46;
  border-radius: 0;
}

.gs-cal-cell--hover-end {
  background: #6ee7b7 !important;
  color: #064e3b !important;
  border-radius: 0 50% 50% 0;
}

/* Navigation — popup: border-top (below grid); inline: border-bottom (above grid) */
.gs-cal-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;  /* prevent overflow when space is tight */
  gap: 0.3rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

/* In inline mode the nav sits above the grid */
.gs-cal-inner--inline > .gs-cal-nav {
  border-top: none;
  padding-top: 0;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.5rem;
}

.gs-cal-nav-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: #374151;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: background 0.15s, border-color 0.15s;
          transition: background 0.15s, border-color 0.15s;
}

.gs-cal-nav-btn:hover {
  background: #f0fdf4;
  border-color: #1a6b5c;
  color: #1a6b5c;
}

.gs-cal-nav-btn--reset {
  color: #b91c1c;
  border-color: #fecaca;
  font-size: 0.78rem;
}

.gs-cal-nav-btn--reset:hover {
  background: #fff1f2;
  border-color: #b91c1c;
  color: #b91c1c;
}

/* Hint */
.gs-cal-hint {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  font-style: italic;
}

/* Loading / message */
.gs-cal-message {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsive: stack months vertically on small screens */
@media (max-width: 640px) {
  .gs-cal-months {
    grid-template-columns: 1fr;
  }

  .gs-calendar-widget {
    padding: 1rem 0.75rem;
  }

  .gs-cal-cell {
    /* aspect-ratio: 1 keeps cells square; reduce font-size only */
    font-size: 0.75rem;
    min-height: 28px;
  }
}

/* Firefox: remove inner padding on focused buttons */
.gs-cal-cell::-moz-focus-inner,
.gs-cal-nav-btn::-moz-focus-inner,
.gs-counter-btn::-moz-focus-inner,
.gs-calendar-trigger::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* ============================================================
   BOOKING SIDEBAR — INTERACTIVE WIDGET
   ============================================================ */

.gs-booking-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---- Availability badge ---- */
.gs-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  min-height: 20px;
}

.gs-avail-badge--card {
  margin-top: 0.4rem;
}

.gs-avail-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gs-avail-dot--free    { background: #16a34a; box-shadow: 0 0 0 2px rgba(22,163,74,.2); }
.gs-avail-dot--partial { background: #d97706; box-shadow: 0 0 0 2px rgba(217,119,6,.2); }
.gs-avail-dot--busy    { background: #dc2626; box-shadow: 0 0 0 2px rgba(220,38,38,.2); }

.gs-avail-label {
  color: #374151;
}

/* ---- Guest counter ---- */
.gs-guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.gs-guests-row-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.gs-counter-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gs-counter-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  color: #374151;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.15s, background 0.15s;
          transition: border-color 0.15s, background 0.15s;
}

.gs-counter-btn:hover:not([disabled]) {
  border-color: #1a6b5c;
  background: #ecfdf5;
  color: #1a6b5c;
}

.gs-counter-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.gs-counter-val {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

/* ---- Inline calendar container ---- */
.gs-inline-cal-container {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.6rem 0.5rem;
  overflow: hidden;
  min-width: 0;
}

.gs-cal-inner--inline {
  gap: 0.5rem;
}

/* In inline mode (1 month), the months grid must be single-column
   so the calendar fills the full container width */
.gs-cal-inner--inline .gs-cal-months {
  grid-template-columns: 1fr;
}

.gs-cal-nav-month-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a6b5c;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  white-space: nowrap;
}

.gs-cal-hint--inline {
  font-size: 0.75rem;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  margin: 0;
}

/* ---- Price summary ---- */
.gs-price-summary {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.45rem;
  animation: gs-cal-fadein 0.2s ease;
}

.gs-price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: #374151;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}

.gs-ps-discount-row {
  color: #16a34a;
  font-weight: 600;
}

.gs-ps-total-row {
  padding-top: 0.45rem;
  border-top: 1px solid #86efac;
  font-size: 0.95rem;
  color: #111827;
}

.gs-ps-total {
  color: #1a6b5c;
  font-size: 1.05rem;
}

/* ---- Contact expand ---- */
.gs-contact-expand {
  display: grid;
  gap: 0.75rem;
  animation: gs-cal-fadein 0.25s ease;
  padding-top: 0.25rem;
  border-top: 1px solid #e5e7eb;
}

.gs-contact-fields {
  display: grid;
  gap: 0.55rem;
}

.gs-contact-fields input,
.gs-contact-fields textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.gs-contact-fields input:focus,
.gs-contact-fields textarea:focus {
  outline: none;
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,.1);
}

.gs-contact-fields textarea {
  resize: vertical;
  min-height: 72px;
}

/* Date error message */
.gs-inline-date-error {
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: #fff1f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #b91c1c;
}

/* ---- Confirmation block (inline in sidebar) ---- */
.gs-confirmation-block {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

.gs-confirmation-icon {
  display: flex;
  justify-content: center;
}

.gs-confirmation-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a6b5c;
}

.gs-confirmation-greeting {
  margin: 0;
  font-size: 0.88rem;
  color: #374151;
}

.gs-confirmation-details {
  display: grid;
  gap: 0.45rem;
  text-align: left;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.gs-confirmation-details div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.gs-confirmation-details span {
  color: #6b7280;
}

.gs-confirmation-details strong {
  color: #111827;
  font-weight: 700;
}

.gs-confirmation-email-note {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
}

.gs-confirmation-back {
  display: block;
  text-align: center;
  font-size: 0.85rem;
}

/* ---- Confirmation page (/reservation/ success) ---- */
.gs-booking-confirmation-page {
  max-width: 580px;
  margin: 2rem auto;
  text-align: center;
  display: grid;
  gap: 1.25rem;
}

.gs-confirmation-page-icon {
  display: flex;
  justify-content: center;
}

.gs-confirmation-page-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a6b5c;
}

.gs-confirmation-page-greeting {
  margin: 0;
  font-size: 1rem;
  color: #374151;
}

.gs-confirmation-page-summary {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}

.gs-confirmation-page-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #d1fae5;
}

.gs-confirmation-page-summary div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gs-confirmation-page-summary span {
  color: #6b7280;
}

.gs-confirmation-page-summary strong {
  color: #111827;
  font-weight: 700;
}

.gs-confirmation-page-next-steps {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.gs-confirmation-page-next-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #1f2227;
}

.gs-confirmation-page-next-steps ol {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

.gs-confirmation-page-next-steps li + li {
  margin-top: 0.1rem;
}

/* ---- Card badge on listing ---- */
.gs-card-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* =============================================================================
   STRIPE BOOKING FORM — 2-step payment UI
   ============================================================================= */

.gs-booking-form .gs-btn-full {
  width: 100%;
  justify-content: center;
}

/* Price preview stripe */
.gs-price-preview {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #065f46;
  margin-top: 0.5rem;
}
.gs-price-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Payment summary (step 2) */
.gs-payment-summary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.gs-payment-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem;
}
.gs-payment-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}
.gs-payment-summary-row:last-child { border-bottom: none; }
.gs-payment-summary-total {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  padding-top: 0.5rem;
  border-top: 1px solid #d1d5db;
}

/* Stripe card element container */
.gs-card-section { margin-bottom: 1rem; }
.gs-card-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.gs-card-element-container {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: #fff;
  transition: border-color 0.15s;
}
.gs-card-element-container:focus-within {
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,.12);
}
.gs-card-errors {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #b91c1c;
}

/* Payment action buttons row */
.gs-payment-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}
.gs-payment-actions .gs-btn-outline {
  flex-shrink: 0;
}
.gs-payment-actions #gs-confirm-btn {
  flex: 1;
  justify-content: center;
}

/* =============================================================================
   FORMULAIRE DE RÉSERVATION — Style hôtelier
   ============================================================================= */

/* Bannière appartement */
.gs-res-apt-banner {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}
.gs-res-apt-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.gs-res-apt-info { display: flex; flex-direction: column; gap: 0.2rem; }
.gs-res-apt-name { font-size: 1rem; font-weight: 700; color: #111827; }
.gs-res-apt-meta { font-size: 0.8rem; color: #6b7280; }
.gs-res-apt-price { font-size: 0.9rem; font-weight: 600; color: #1a6b5c; }

/* Section générique */
.gs-res-section { margin-bottom: 1.25rem; }

/* Trigger dates — style Airbnb 2 cases */
.gs-res-dates-trigger {
  display: flex;
  width: 100%;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  font: inherit;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gs-res-dates-trigger:hover,
.gs-res-dates-trigger[aria-expanded="true"] {
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,.12);
}
.gs-res-date-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  text-align: left;
  gap: 0.15rem;
}
.gs-res-date-divider {
  width: 1px;
  background: #e5e7eb;
  align-self: stretch;
  flex-shrink: 0;
}
.gs-res-date-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.gs-res-date-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

/* Voyageurs */
.gs-res-guests-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gs-res-guests-label { display: flex; flex-direction: column; gap: 0.1rem; }
.gs-res-section-title { font-size: 0.95rem; font-weight: 600; color: #111827; }
.gs-res-guests-max   { font-size: 0.8rem; color: #9ca3af; }
.gs-res-counter { display: flex; align-items: center; gap: 0.6rem; }
.gs-res-counter .gs-counter-val {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}
.gs-counter-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: border-color 0.15s, background 0.15s;
}
.gs-counter-btn:hover:not(:disabled) {
  border-color: #1a6b5c;
  background: #f0fdf4;
  color: #1a6b5c;
}
.gs-counter-btn:disabled { opacity: 0.35; cursor: default; }

/* Récapitulatif tarifaire step 1 */
.gs-res-fare-summary {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.gs-res-fare-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gs-res-fare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: #374151;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.gs-res-fare-row:last-child { border-bottom: none; }
.gs-res-fare-discount { color: #059669; }
.gs-res-fare-total {
  margin-top: 0.5rem;
  padding-top: 0.6rem !important;
  border-top: 1px solid #a7f3d0 !important;
  border-bottom: none !important;
  font-size: 1rem;
}

/* Coordonnées */
.gs-res-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.gs-res-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}
.gs-res-label input,
.gs-res-label textarea {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.gs-res-label input:focus,
.gs-res-label textarea:focus {
  outline: none;
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,.1);
}

/* Confirmation total */
.gs-confirmation-total strong { color: #065f46; font-size: 1.05rem; }

/* Responsive */
@media (max-width: 540px) {
  .gs-res-grid-2 { grid-template-columns: 1fr; }
  .gs-res-dates-trigger { flex-direction: column; }
  .gs-res-date-divider  { width: auto; height: 1px; }
  .gs-res-guests-section { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* Adresse — grille rue / numéro (2/3 + 1/3) */
.gs-res-street-grid {
  grid-template-columns: 2fr 1fr;
}
@media (max-width: 540px) {
  .gs-res-street-grid { grid-template-columns: 1fr; }
}

/* Select pays */
.gs-res-label select {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
  transition: border-color 0.15s;
}
.gs-res-label select:focus {
  outline: none;
  border-color: #1a6b5c;
  box-shadow: 0 0 0 3px rgba(26,107,92,.1);
}
