/* Booking flow accent override — leads with the palette's terracotta accent
   instead of forest green, so guests can feel visually that they've moved
   into "book now" mode. Loaded after styles.css on booking.html and
   room.html only. */
:root {
  --maroon:      #C46A4A;
  --maroon-deep: #A85639;
  --maroon-ink:  #6B3625;
  --saffron:     #2F5D50;
  --saffron-ink: #234439;
}

/* ---------- Check-in / check-out date fields ---------- */
/* Read-only "buttons styled as inputs" that open the calendar below on
   click or keyboard activation, instead of a permanently-open calendar. */
.date-input {
  cursor: pointer;
  background-color: #FFFDF9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8780' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 19px;
  padding-right: 2.7rem !important;
}
.date-input.active {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(47,93,80,.14);
}

.date-popover {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.date-popover-actions { display: flex; gap: .7rem; margin-top: .8rem; }

/* ---------- "Available for your dates" label on room cards ---------- */
.room-pick { position: relative; }
.room-pick-avail {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: var(--r-pill);
  background: #E4F0E1;
  color: #2E5A31;
}
.room-pick-avail.is-taken { background: #F6E3DC; color: #8A3B22; }
#g-email[readonly] { background: var(--bg-2); color: var(--ink-soft); cursor: default; }

/* ---------- Two-column checkout on wide screens: steps left, summary + Pay right ---------- */
@media (min-width: 1080px) {
  .book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.6rem; align-items: start; }
  .book-summary { position: sticky; top: 1.2rem; }
  .book-summary .panel { margin-top: 0; }
  .book-steps .room-pick-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 1079px) {
  .book-summary { margin-top: 1.4rem; }
}
.summary-row { gap: 1rem; }
.summary-row > span:first-child { flex: none; color: var(--ink-soft); }
.summary-row > span:last-child { text-align: right; font-weight: 600; }

/* ---------- Room page header: details left, price + action right ---------- */
.room-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; margin-bottom: 1.8rem; }
.room-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.12; color: var(--ink); margin-bottom: .5rem; }
.room-hero-cap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .9rem; }
.room-hero-desc { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1rem; }
.room-price-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.room-price-from { font-size: .85rem; font-weight: 600; color: var(--ink-faint); margin: 0; }
.room-price-big { font: 700 2.1rem/1.1 var(--font-display); color: var(--ink); margin: .15rem 0 .3rem; }
.room-price-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.room-check-btn { width: 100%; margin: 1rem 0 .7rem; }
@media (max-width: 820px) {
  .room-hero { grid-template-columns: 1fr; gap: 1.2rem; }
}
.room-hero .feature-tag { background: var(--river-soft); border-radius: 999px; padding: .3rem .75rem; }
