.booking {
  padding-top: calc(var(--header-h) + var(--gap-md));
  padding-bottom: var(--gap-xl);
}

.cal-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.cal-foot .cal-legend { margin: 0; padding: 0; border: 0; }
.guests-row { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.guests-row > span { display: inline-flex; align-items: center; gap: 7px; }
.guests-row svg { color: var(--terracotta); }
.guests-row .select { width: auto; min-width: 76px; padding-block: 9px; font-weight: 600; }

.disclose > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.disclose > summary::-webkit-details-marker { display: none; }
.disclose-chevron { color: var(--muted); flex: none; transition: transform .2s var(--ease); }
.disclose[open] > summary .disclose-chevron { transform: rotate(180deg); }
@media (min-width: 641px) { .disclose > summary { cursor: default; } .disclose-chevron { display: none; } }

.spec-cols { display: grid; gap: 28px 36px; grid-template-columns: repeat(3, 1fr); }
.spec-cols h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 9px; }
.spec-cols h4 + ul { margin-bottom: 22px; }
.spec-cols ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.spec-cols li { font-size: .89rem; color: var(--ink-soft); }
.spec-cols > div > *:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .spec-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec-cols { grid-template-columns: 1fr; } }

.rules-grid { display: grid; gap: 20px 32px; grid-template-columns: repeat(3, 1fr); }
.rules-grid dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.rules-grid dd { margin: 0; font-size: .92rem; color: var(--ink); }
@media (max-width: 860px) { .rules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rules-grid { grid-template-columns: 1fr; } }

.gallery-overview { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }

.gallery-left {
  height: 520px; padding: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--sand);
}

.gallery-right {
  display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr;
  gap: 8px; height: 520px;
}
.gallery-right button { padding: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }

.gallery-overview img,
.gallery-strip img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease; will-change: transform;
}
.gallery-overview button:hover img,
.gallery-strip button:hover img { transform: scale(1.04); }

.gallery-strip {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 8px; margin-top: 8px; margin-bottom: var(--gap-md);
}
.gallery-strip button {
  height: 110px; padding: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--sand);
}
.thumb-more { background: #0a0a0a; }
.thumb-more img { opacity: .55; }
.thumb-more span {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0, 0, 0, .6); color: #fff;
  padding: 6px 11px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600;
}

.gallery { position: relative; }
.gallery-arrow, .gallery-count { display: none; }

@media (min-width: 701px) and (max-width: 1100px) {
  .gallery-strip { grid-template-columns: repeat(5, 1fr); }
  .gallery-strip button:nth-child(n+5):not(.thumb-more) { display: none; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .gallery-left, .gallery-right { height: 340px; }
}

@media (max-width: 700px) {
  .gallery { margin-bottom: var(--gap-md); }
  .gallery-overview, .gallery-right, .gallery-strip { display: contents; }

  .gallery-scroll {
    display: flex; gap: 0;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: var(--radius-lg);
  }
  .gallery-scroll::-webkit-scrollbar { display: none; }

  .gallery-scroll button[data-photo] {
    display: block; flex: 0 0 100%; height: 270px;
    padding: 0; overflow: hidden; background: var(--sand);
    scroll-snap-align: center; border-radius: 0;
  }
  .gallery-scroll button[data-photo] img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-scroll button[data-photo]:hover img { transform: none; }

  .thumb-more span { right: 50%; bottom: 50%; transform: translate(50%, 50%); font-size: .95rem; padding: 10px 18px; }

  .gallery-arrow {
    display: grid; place-items: center;
    position: absolute; top: 135px; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 100px;
    background: rgba(255, 255, 255, .88); color: var(--ink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
  }
  .gallery-arrow.prev { left: 10px; }
  .gallery-arrow.next { right: 10px; }
  .gallery-arrow[disabled] { opacity: 0; pointer-events: none; }

  .gallery-count {
    display: block; position: absolute; right: 12px; top: 238px;
    padding: 4px 10px; border-radius: var(--radius);
    background: rgba(0, 0, 0, .62); color: #fff;
    font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums;
  }
}

.lb-backdrop {
  position: fixed; inset: 0; z-index: 1900;
  background: rgba(28, 25, 23, .55);
  opacity: 0; transition: opacity .22s var(--ease);
}
.lb-backdrop.is-open { opacity: 1; }
.lb-backdrop[hidden] { display: none; }

.lb {
  position: fixed; z-index: 1901;
  inset: clamp(14px, 3vh, 34px) clamp(14px, 3vw, 46px);
  margin-inline: auto; max-width: 1500px;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20, 16, 14, .6);
  opacity: 0; transform: scale(.985);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.lb.is-open { opacity: 1; transform: none; }
.lb[hidden] { display: none; }

.lb-tools {
  flex: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 9px clamp(12px, 2vw, 22px);
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.lb-back, .lb-close {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--radius);
  font-size: .86rem; font-weight: 500; color: var(--ink-soft);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.lb-back:hover, .lb-close:hover { background: var(--sand); color: var(--ink); }
.lb-back { justify-self: start; }
.lb-back[hidden] { display: inline-flex; visibility: hidden; pointer-events: none; }
.lb-close { justify-self: end; }

.lb-grid { flex: 1; overflow-y: auto; padding: clamp(12px, 2vw, 22px); }
.lb-grid[hidden] { display: none; }
.lb-mosaic { display: flex; align-items: flex-start; gap: 10px; }
.lb-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lb-cell {
  display: block; width: 100%; padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg); background: var(--sand);
}
.lb-cell img {
  display: block; width: 100%; height: auto;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.lb-cell:hover img { transform: scale(1.03); opacity: .9; }

.lb-view {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  gap: 12px; padding: clamp(10px, 1.6vw, 18px);
}
.lb-view[hidden] { display: none; }
.lb-stage {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.lb-figure {
  flex: 1; min-width: 0; min-height: 0; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lb-figure img {
  display: block; max-width: 100%; max-height: 100%;
  border-radius: var(--radius-lg);
  transition: opacity .18s var(--ease);
}
.lb-figure img.is-swapping { opacity: .35; }
.lb-nav {
  flex: none; align-self: center;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--surface); color: var(--ink-soft);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.lb-nav:hover { border-color: var(--ink); color: var(--ink); }
.lb-count { text-align: center; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.lb-strip {
  flex: none;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 2px;
}
.lb-strip::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex: 0 0 auto; width: 74px; height: 54px; padding: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
  opacity: .55; transition: opacity .18s var(--ease), outline-color .18s var(--ease);
  outline: 2px solid transparent; outline-offset: -2px;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb[aria-current="true"] { opacity: 1; outline-color: var(--terracotta); }


@media (max-width: 780px) {

  .lb-nav { width: 38px; height: 38px; }
  .lb-thumb { width: 58px; height: 44px; }
}

.booking-layout { display: grid; gap: var(--gap-md); grid-template-columns: minmax(0, 1fr); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
}
.panel + .panel { margin-top: var(--gap); }
.panel-head { margin-bottom: var(--gap); }
.panel-head h2 { font-size: var(--step-2); }
.panel-head p { margin-top: 8px; font-size: .92rem; color: var(--muted); }

.summary-rooms { display: grid; gap: 8px; margin-top: var(--gap); padding-top: 14px; border-top: 1px solid var(--line-soft); }
.summary-room { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.summary-room span:first-child { color: var(--ink-soft); }
.summary-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.summary-total span { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.summary-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--terracotta); }
.summary-note { margin-top: 12px; font-size: .78rem; color: var(--muted); line-height: 1.55; }

.cal-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 12px; margin-bottom: 18px;
}
.cal-head .cal-nav { grid-column: 2; display: flex; gap: 8px; }
.cal-head .guests-row { grid-column: 3; justify-self: end; }

.cal-shell { max-width: 900px; margin-inline: auto; }
.cal-arrow {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-soft);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.cal-arrow:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.cal-arrow:disabled { opacity: .3; cursor: not-allowed; }

.cal-months { position: relative; display: grid; gap: clamp(30px, 5vw, 54px); grid-template-columns: 1fr 1fr; }
.cal-month + .cal-month::before {
  content: ''; position: absolute; top: 4px; bottom: 4px; left: 50%;
  width: 1px; background: var(--line-soft);
}
@media (max-width: 780px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-month:last-child { display: none; }
  .cal-month + .cal-month::before { display: none; }
}

.cal-month-name {
  text-align: center; font-family: var(--font-display); font-size: .98rem; font-weight: 600;
  margin-bottom: 12px; color: var(--ink); line-height: 1.2;
}
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.cal-dow span {
  text-align: center; font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }

.cal-day {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 50px; padding: 4px 2px;
  border-radius: var(--radius);
  font-size: .92rem; line-height: 1.1; color: var(--ink);
  transition: background .14s var(--ease), color .14s var(--ease);
}
.cal-day .d { font-weight: 500; font-variant-numeric: tabular-nums; }
.cal-day .p { font-size: .64rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cal-day:not(:disabled):not(.is-start):not(.is-end):not(.in-range):hover { background: var(--sand); }

.cal-day.is-empty { pointer-events: none; }
.cal-day:disabled { color: var(--faint); cursor: not-allowed; }
.cal-day:disabled .p { display: none; }
.cal-day.is-busy { color: var(--faint); }
.cal-day.is-busy .d { text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-day.is-busy.is-end .d { text-decoration: none; }
.cal-day.is-busy.is-end { color: var(--terracotta); }

.cal-day.in-range { background: var(--terracotta); color: #fff; border-radius: 0; }
.cal-day.in-range .p { color: rgba(255, 255, 255, .8); }

.cal-day.is-start { background: var(--terracotta); color: #fff; border-radius: var(--radius) 0 0 var(--radius); }
.cal-day.is-start .p { color: rgba(255, 255, 255, .8); }
.cal-day.is-end {
  background: var(--surface); color: var(--terracotta);
  box-shadow: inset 0 0 0 2px var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cal-day.is-end .p { display: none; }
.cal-day.is-end .d::after {
  content: 'départ'; display: block;
  font-size: .55rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  opacity: .85; margin-top: 1px;
}
.cal-day.is-start.is-end { border-radius: var(--radius); }
.cal-day.is-unreachable:not(.is-start) { opacity: .32; }
.cal-day.is-today::after {
  content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 100px; background: var(--terracotta);
}
.cal-day.is-start.is-today::after { background: #fff; }
.cal-day.is-end.is-today::after { display: none; }

.cal-note {
  margin-top: 14px; padding: 11px 14px;
  background: #FDF6EC; border: 1px solid #EEDFC4; border-radius: var(--radius);
  font-size: .84rem; line-height: 1.55; color: #7C5A20;
}
.cal-note[hidden] { display: none; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-swatch { width: 11px; height: 11px; border-radius: 2px; }
.cal-swatch.free { background: var(--surface); border: 1px solid var(--line); }
.cal-swatch.sel { background: var(--terracotta); }
.cal-swatch.out { background: var(--surface); box-shadow: inset 0 0 0 2px var(--terracotta); }
.cal-swatch.busy { background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 3px, var(--sand-deep) 3px, var(--sand-deep) 6px); }

.result { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.result:last-child { border-bottom: 0; padding-bottom: 0; }
.result-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.result-body h3 { font-size: 1.1rem; }
.result-desc { margin-top: 9px; font-size: .89rem; color: var(--ink-soft); }
.result-meta { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 8px; }
.result-side { text-align: right; display: grid; gap: 10px; justify-items: end; min-width: 148px; }
.result-price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.result-price small { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.result.is-picked { background: var(--terracotta-wash); border-radius: var(--radius); padding-inline: 14px; }
@media (max-width: 820px) {
  .result { grid-template-columns: 120px minmax(0, 1fr); }
  .result-side { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
  .result-side .btn { width: 100%; }
  .result-price { text-align: left; }
}
@media (max-width: 480px) {
  .result { grid-template-columns: 1fr; }
}

.guest-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.prefs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prefs > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; cursor: pointer; list-style: none; font-size: .92rem; font-weight: 500;
  transition: background .16s var(--ease);
}
.prefs > summary::-webkit-details-marker { display: none; }
.prefs > summary:hover { background: var(--sand); }
.prefs > summary small { color: var(--muted); font-weight: 400; }
.prefs[open] > summary { border-bottom: 1px solid var(--line); }
.prefs[open] .prefs-chevron { transform: rotate(180deg); }
.prefs-chevron { transition: transform .22s var(--ease); color: var(--muted); }
.prefs-body { padding: 18px 16px; display: grid; gap: 16px; }

.pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: var(--gap); }
.pay-note { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }

.confirm-hero { text-align: center; max-width: 560px; margin-inline: auto; }
.confirm-seal {
  width: 76px; height: 76px; margin: 0 auto var(--gap); display: grid; place-items: center;
  border-radius: 100px; background: var(--green-wash); color: var(--green);
  animation: seal .5s var(--ease) both;
}
@keyframes seal { from { transform: scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
.confirm-hero h1 { font-size: var(--step-3); }
.confirm-hero p { margin-top: 14px; color: var(--ink-soft); }

.spinner {
  width: 16px; height: 16px; border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.spinner-dark { border-color: var(--sand-deep); border-top-color: var(--terracotta); }
@keyframes spin { to { transform: rotate(360deg); } }

.is-loading { position: relative; pointer-events: none; }
.is-loading::after {
  content: ''; position: absolute; inset: 0; background: rgba(251, 249, 247, .6); border-radius: inherit;
}

.skeleton {
  background: linear-gradient(90deg, var(--sand) 25%, var(--line-soft) 37%, var(--sand) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
