.stays-page { background: #f7f8f6; color: #172e2b; }
.stays-page [hidden] { display: none !important; }
.stays-page .skip-link:not(:focus) { visibility: hidden; }
.stays-page [aria-invalid=true] { border-color: #a14b3e; }
.stays-page .section-kicker { color: #52736c; letter-spacing: 0; margin-bottom: 10px; }
.stays-page button, .stays-page input, .stays-page select, .stays-page textarea { font: inherit; }
.stays-page button { cursor: pointer; }
.stays-page button:disabled { cursor: not-allowed; opacity: .5; }
.stays-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #326f69; outline-offset: 3px; }
.stays-page svg { width: 19px; height: 19px; flex: none; }
.stays-header { min-height: 104px; display: flex; align-items: center; gap: 32px; padding: 0 max(24px, calc((100% - 1280px) / 2)); border-bottom: 1px solid #dce3df; background: #fff; }
.stays-header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.stays-header .language-switch { gap: 6px; font-size: 12px; }
.stays-header .lang-button { min-width: 30px; min-height: 44px; opacity: .7; }
.stays-header .lang-button.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.stays-home { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.stays-shell { max-width: 1280px; width: calc(100% - 48px); margin: 0 auto; padding: 48px 0 80px; }
.stays-heading { max-width: 760px; margin-bottom: 28px; }
.stays-heading h1 { font: 500 44px/1.15 var(--serif); margin-bottom: 14px; }
.stays-heading > p:last-child { color: #566560; margin-bottom: 0; }
.unit-picker { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; font-size: 14px; }
.unit-picker > span { flex: none; }
.stays-page .unit-picker select { width: min(340px, 100%); background: #fff; }
.stays-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: 48px; align-items: start; }
.stays-property { min-width: 0; }
.unit-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.unit-heading h2 { margin: 0; font: 500 34px/1.2 var(--serif); overflow-wrap: anywhere; }
.demo-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 8px; border: 1px solid #cbc591; color: #595514; background: #f5f3dc; font-size: 10px; font-weight: 700; line-height: 1.5; }
.stays-gallery { margin: 0 0 20px; position: relative; background: #e5ece8; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.stays-gallery img { width: 100%; height: 100%; object-fit: cover; }
.stays-gallery figcaption { position: absolute; bottom: 12px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 4px 10px; background: #fff; color: #263e36; font-size: 11px; }
#image-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.stays-notice { border-left: 3px solid #8b9654; padding: 10px 14px; background: #eef1e8; color: #45523f; font-size: 13px; line-height: 1.6; }
.unit-facts { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 4px 0 24px; margin: 0; list-style: none; border-bottom: 1px solid #dce3df; }
.unit-facts li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.unit-description { padding-top: 24px; }
.stays-page h3 { font-size: 18px; line-height: 1.35; }
.unit-description p { color: #566560; }
.stays-booking { padding: 28px; border: 1px solid #d9e1dc; border-radius: 8px; background: #fff; box-shadow: 0 6px 24px #19382c08; min-width: 0; }
.booking-heading h2 { font: 500 28px/1.2 var(--serif); margin-bottom: 12px; }
#unit-rate { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
#unit-minimum { color: #63706b; font-size: 12px; }
.stays-booking fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.stays-booking label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; margin-bottom: 14px; min-width: 0; }
.stays-page input:not([type=checkbox], [type=radio]), .stays-page select, .stays-page textarea { min-height: 46px; width: 100%; min-width: 0; max-width: 100%; padding: 10px 12px; border: 1px solid #b8c7be; border-radius: 4px; background: #fff; color: #172e2b; font-size: 16px; }
.stays-page textarea { resize: vertical; }
.stays-page input:disabled, .stays-page fieldset:disabled input, .stays-page fieldset:disabled textarea { background: #f1f4f1; }
.stays-page input[type=checkbox], .stays-page input[type=radio] { width: 18px; height: 18px; margin: 2px 0; flex: none; accent-color: #28594f; }
.stays-booking .stays-consent { flex-direction: row; align-items: start; gap: 10px; font-weight: 400; font-size: 12px; line-height: 1.6; }
.stays-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px; border: 1px solid #28594f; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.stays-button.primary { width: 100%; background: #28594f; color: #fff; }
.stays-button.primary:hover:enabled { background: #1e493f; }
.stays-button.secondary { background: #fff; color: #28594f; }
.stays-button span { overflow-wrap: anywhere; min-width: 0; }
.stays-segmented { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #d8e1db; margin: 22px 0; }
.stays-segmented button { padding: 12px 8px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #64746b; font-size: 13px; }
.stays-segmented button[aria-pressed=true] { border-bottom-color: #28594f; color: #28594f; font-weight: 700; }
.field-hint { font-size: 12px; color: #63706b; line-height: 1.6; }
.stays-feedback { margin-top: 16px; padding: 12px; background: #f8eeea; color: #873c32; font-size: 13px; overflow-wrap: anywhere; }
.stays-feedback[data-kind=success] { background: #e9f3ee; color: #28594f; }
.stays-retry { color: #28594f; border: 0; background: transparent; padding: 8px 0; min-height: 40px; text-decoration: underline; font-size: 13px; }
.stays-skeleton { min-height: 84px; background: linear-gradient(110deg, #eef2ee, #f9faf9, #eef2ee); padding: 20px; color: #63706b; font-size: 13px; }
.stays-property[aria-busy=true] .stays-gallery { opacity: .6; }
.calendar-heading { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.calendar-heading h3 { margin-bottom: 12px; }
.calendar-toolbar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 8px; text-align: center; margin: 20px 0 12px; }
.calendar-toolbar strong { font-size: 14px; text-transform: capitalize; }
.stays-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d9e1dc; border-radius: 4px; background: #fff; color: #28594f; }
.stays-calendar { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 22px; text-align: center; font-size: 12px; }
.stays-calendar th { height: 30px; font-weight: 500; color: #6b7770; }
.stays-calendar td { height: 36px; padding: 0; }
.stays-calendar td.is-blocked { color: #8c9690; text-decoration: line-through; }
.stays-calendar td.is-selected { background: #e2eee6; color: #204f40; font-weight: 700; }
.stays-calendar td.is-today { outline: 1px solid #729985; outline-offset: -3px; }
#calendar[aria-busy=true] { opacity: .5; }
.stays-date-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.stays-page input[type=date] { padding-inline: 7px; font-size: 14px; }
.stays-booking .booking-mode { margin: 4px 0 12px; }
.booking-mode legend { font-size: 13px; margin-bottom: 10px; font-weight: 600; }
.stays-mode-options { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.stays-mode-options label { flex-direction: row; align-items: start; gap: 8px; margin: 0; font-size: 12px; }
.stays-preview { border-top: 1px solid #cbded2; margin-top: 24px; padding-top: 24px; font-size: 13px; }
.stays-preview strong { display: block; color: #28594f; }
.stays-history { border-top: 1px solid #dce3df; padding-top: 32px; margin-top: 48px; }
.history-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.history-heading h2 { font: 500 28px/1.2 var(--serif); }
#history-list { list-style: none; padding: 0; }
#history-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; border-bottom: 1px solid #dce3df; padding: 18px 0; font-size: 14px; overflow-wrap: anywhere; }
#history-list li span:last-child { color: #63706b; }
@media (max-width: 1000px) {
  .stays-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); }
  .stays-booking { padding: 22px; }
  .stays-header { gap: 20px; }
}
@media (max-width: 760px) {
  .stays-header { flex-wrap: wrap; padding: 4px 16px 12px; gap: 0 12px; }
  .stays-header .brand-logo { width: 104px; height: 76px; }
  .stays-header-actions { gap: 10px; }
  .stays-header-actions .stays-button { padding: 8px; font-size: 12px; max-width: 116px; }
  .stays-header-actions .stays-button svg { display: none; }
  .stays-header .lang-button { min-width: 24px; }
  .stays-header .language-switch { gap: 2px; }
  .stays-home { order: 3; flex-basis: 100%; min-height: 32px; }
  .stays-shell { width: calc(100% - 32px); padding-top: 28px; }
  .stays-heading h1 { font-size: 34px; }
  .stays-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .unit-picker { display: block; }
  .unit-picker > span { display: block; margin-bottom: 8px; }
  .stays-page .unit-picker select { width: 100%; }
  .unit-heading h2 { font-size: 30px; }
  .stays-booking { padding: 20px; }
  #history-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 360px) {
  .stays-header-actions { gap: 6px; }
  .stays-header .brand-logo { width: 84px; }
  .stays-booking { padding: 16px; }
  .stays-date-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
