.roomactions .book-room, .rentalrow .book-room {
  min-height: 44px; padding: .65rem 1.15rem; justify-content: center; border-radius: .55rem;
  font-size: .94rem; letter-spacing: 0;
}
body:has(.stay-dialog[open]) { overflow: hidden; }
.stay-dialog {
  --stay-border: #dce3dd; --stay-muted: #52645c; --stay-tint: #e7efe8;
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(54rem, calc(100% - 2rem)); max-width: none;
  max-height: min(51rem, calc(100dvh - 2.5rem)); border: 0; border-radius: 1.35rem;
  background: #fff; color: var(--green); font-size: 1rem; line-height: 1.45;
  overflow: hidden; box-shadow: 0 1.5rem 6rem #102c2660;
}
.stay-dialog::backdrop { background: #102b23b8; backdrop-filter: blur(4px); }
.stay-dialog [hidden] { display: none !important; }
.stay-dialog button:focus-visible, .stay-dialog summary:focus-visible,
.stay-dialog input:focus-visible, .stay-dialog textarea:focus-visible, .stay-dialog select:focus-visible {
  outline: 3px solid #976d30; outline-offset: 2px;
}
.stay-dialog h2:focus, .stay-dialog h3:focus { outline: none; }
.stay-shell { display: grid; grid-template-columns: 32% minmax(0, 1fr); max-height: inherit; }
.stay-overview { position: relative; min-width: 0; overflow: hidden; background: #193c32; color: #fff; }
.stay-overview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stay-overview::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0c221600 23%, #0a241a42 48%, #0c281fe6 81%, #0c281f 100%);
}
.stay-room-info { position: absolute; z-index: 1; inset: auto 1.4rem 1.6rem; }
.stay-room-info h2 { font-size: clamp(1.8rem, 3.7vw, 2.6rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 .8rem; text-wrap: balance; }
.stay-room-info p { font-size: .91rem; margin: 0; }
.stay-room-info #stay-room-rate { border-top: 1px solid #ffffff55; padding-top: .85rem; margin-top: .95rem; color: #f2dcad; font-weight: 600; }
.stay-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.stay-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.8rem 2rem 0; scrollbar-width: thin; }
.stay-dialog h3 { font-size: clamp(1.7rem, 3vw, 2.15rem); letter-spacing: -.04em; margin: 0 2.4rem 1.15rem 0; }
.stay-dialog button { touch-action: manipulation; }
.stay-icon {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--stay-border);
  background: #fff; color: var(--green); line-height: 1;
}
.stay-icon:enabled:hover, .stay-date-pair button:enabled:hover { background: #eff4f0; }
.stay-icon:disabled { color: #9ca8a2; border-color: #e6eae6; cursor: default; }
.stay-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; font: 1.65rem/1 Arial, sans-serif; }
.stay-date-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.stay-date-pair button {
  padding: .55rem .9rem; min-height: 3.6rem; border: 1px solid var(--stay-border); border-radius: .65rem;
  background: #fff; color: inherit; text-align: left;
}
.stay-date-pair button[aria-pressed=true] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f5f8f3; }
.stay-date-pair button:disabled { cursor: default; opacity: 1; }
.stay-date-pair span, .stay-date-pair strong { display: block; }
.stay-date-pair span { font-size: .825rem; color: var(--stay-muted); }
.stay-date-pair strong { font-size: 1rem; }
.stay-month-bar { display: flex; justify-content: space-between; align-items: center; margin: .9rem 0 .45rem; }
.stay-month-bar h4 { margin: 0; font: 600 1.07rem/1.3 Arial, sans-serif; }
.stay-month-bar .stay-icon { border: none; }
.previous-month::after, .next-month::after {
  content: ''; width: .52rem; height: .52rem; border: solid currentColor; border-width: 0 1.8px 1.8px 0;
}
.previous-month::after { transform: rotate(135deg); }
.next-month::after { transform: rotate(-45deg); }
.stay-week, .stay-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; text-align: center; }
.stay-week { margin-bottom: .35rem; font-size: .86rem; font-weight: 600; color: var(--stay-muted); }
.stay-days { row-gap: 2px; }
.stay-day {
  position: relative; width: 100%; min-height: 2.65rem; padding: .35rem 0; border: none; border-radius: .65rem;
  background: transparent; font: 500 1rem/1.4 Arial, sans-serif; color: var(--green); font-variant-numeric: tabular-nums;
}
.stay-day:enabled:hover { background: var(--stay-tint); }
.stay-day:disabled { color: #89958f; text-decoration: line-through; cursor: default; background: transparent; }
.stay-day.in-range { background: var(--stay-tint); color: var(--green); border-radius: 0; text-decoration: none; }
.stay-day.range-start, .stay-day.range-end { color: #fff; background: var(--green); font-weight: 700; text-decoration: none; }
.stay-day.range-start:enabled:hover, .stay-day.range-end:enabled:hover { background: #285846; }
.stay-calendar-note { display: flex; gap: .5rem; justify-content: space-between; align-items: center; min-height: 2.75rem; }
.stay-calendar-note p { color: var(--stay-muted); font-size: .875rem; margin: 0; }
.stay-text { color: var(--green); border: none; padding: .45rem 0; background: none; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.stay-guest-line { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0 1.1rem; border-top: 1px solid var(--stay-border); }
.stay-guest-line strong, .stay-guest-line small { display: block; }
.stay-guest-line small { color: var(--stay-muted); font-size: .875rem; }
.stay-counter { display: inline-flex; align-items: center; gap: .3rem; }
.stay-counter button { font-size: 1.32rem; }
.stay-counter output { min-width: 2rem; text-align: center; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stay-bottom {
  display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: .8rem;
  padding: 1rem 2rem; border-top: 1px solid var(--stay-border); background: #f8faf6;
}
.stay-total strong, .stay-total span { display: block; }
.stay-total strong { font-size: 1.03rem; }
.stay-total span { font-size: .87rem; color: var(--stay-muted); }
.stay-primary { padding: .8rem 1.25rem; min-width: 7.25rem; min-height: 2.95rem; border: none; border-radius: .7rem; background: var(--green); color: #fff; font-weight: 650; font-size: 1rem; }
.stay-primary:enabled:hover { background: #285846; }
.stay-primary:disabled { color: #59695e; background: #dce4dc; cursor: default; }
.stay-review { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid var(--stay-border); border-radius: .65rem; background: #f5f8f3; padding: .7rem .9rem; margin-bottom: 1rem; }
.stay-review p { font-size: .91rem; font-weight: 600; margin: 0; }
.stay-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.stay-full { grid-column: 1/-1; }
.stay-fields label { color: var(--ink); font-size: .9rem; font-weight: 600; }
.stay-fields :is(input, select, textarea) {
  display: block; width: 100%; min-height: 2.8rem; margin: .25rem 0 0; padding: .65rem .75rem;
  border: 1px solid #bfcac2; border-radius: .5rem; background: #fff;
  color: var(--ink); font: 400 1rem/1.35 Arial, sans-serif;
}
.stay-fields select {
  appearance: none; padding-right: 2.15rem;
  background: linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 17px) 50%/5px 5px no-repeat,
    linear-gradient(135deg, var(--green) 50%, transparent 50%) calc(100% - 12px) 50%/5px 5px no-repeat, #fff;
}
.stay-fields textarea { resize: vertical; }
.stay-disclosure { border-bottom: 1px solid var(--stay-border); padding: .8rem 0; }
.stay-disclosure summary { font: 600 .92rem/1.4 Arial, sans-serif; cursor: pointer; }
.stay-disclosure summary span { font-weight: 400; color: var(--stay-muted); }
.stay-disclosure .stay-fields, .stay-disclosure p { margin: .75rem 0 0; }
.stay-disclosure p, .stay-policy { font-size: .9rem; }
.stay-policy { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0 .65rem; }
.stay-policy input { width: 1.1rem; height: 1.1rem; flex: none; margin: .1rem 0 0; accent-color: var(--green); }
.stay-dialog .privacy-notice { margin: .7rem 0 1rem; font-size: .85rem; }
.stay-dialog #booking-message { font-size: .94rem; color: #853d20; margin: .65rem 0; }
.stay-dialog #booking-message:empty { display: none; }

@media (max-width: 650px) {
  .stay-dialog { inset: auto 0 0; width: 100%; max-height: calc(100dvh - .5rem); margin: 0; border-radius: 1.2rem 1.2rem 0 0; }
  .stay-shell { display: flex; flex-direction: column; }
  .stay-overview { flex: none; display: flex; align-items: center; gap: .75rem; padding: .8rem 3.6rem .8rem 1rem; background: #f3f5ef; color: var(--green); border-bottom: 1px solid var(--stay-border); }
  .stay-overview > img { position: static; width: 3.4rem; height: 3.4rem; border-radius: .6rem; flex: none; }
  .stay-overview::after { display: none; }
  .stay-room-info { position: static; }
  .stay-room-info h2 { font-size: 1.22rem; margin: 0 0 .12rem; letter-spacing: -.02em; }
  .stay-room-info p { font-size: .85rem; }
  .stay-room-info #stay-room-rate { border: 0; padding: 0; margin: .1rem 0 0; color: var(--green); font-size: .82rem; }
  .stay-close { top: .75rem; right: .65rem; }
  .stay-scroll { padding: 1rem 1rem 0; }
  .stay-dialog h3 { font-size: 1.55rem; margin: 0 0 .7rem; }
  .stay-date-pair button { min-height: 3.15rem; padding: .4rem .7rem; }
  .stay-month-bar { margin: .35rem 0 .15rem; }
  .stay-week { margin: .05rem 0; }
  .stay-day { min-height: 2.75rem; }
  .stay-calendar-note { min-height: 2.35rem; }
  .stay-guest-line { padding: .55rem 0 .65rem; }
  .stay-bottom { padding: .75rem 1rem max(.75rem, env(safe-area-inset-bottom)); }
  .stay-primary { min-width: 6.5rem; }
}
@media (max-width: 380px) {
  .stay-fields { grid-template-columns: 1fr; }
  .stay-review { flex-wrap: wrap; }
}

.roomactions { flex-wrap: wrap; }
.rentalrow .expedia-link { text-decoration: underline; text-underline-offset: .2em; }
