.stays-page {
  background: radial-gradient(ellipse at 95% 0, #e9f1e7, transparent 36rem), var(--canvas);
}

.stays-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.stays-header-tools,
.stays-back,
.stays-intro-foot,
.stays-direct,
.stays-section-heading,
.stay-bottom-row,
.stay-host,
.stay-detail-host {
  display: flex;
  align-items: center;
}

.stays-header-tools { gap: 24px; }
.stays-back { gap: 9px; color: var(--green-dark); font-size: .86rem; font-weight: 700; text-decoration: none; }
.stays-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.stays-back > span:first-child { font-size: 1.25rem; }
.stays-main { padding-bottom: 14px; }
.stays-intro { padding: 48px 4px 36px; }
.stays-eyebrow { margin: 0 0 12px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.stays-intro h1 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.14; letter-spacing: -.055em; }
.stays-lead { max-width: 680px; margin: 17px 0 0; color: #536b6a; font-size: 1.04rem; line-height: 1.7; }
.stays-intro-foot { justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 23px; }
.stays-direct { gap: 8px; color: var(--green-dark); font-size: .83rem; font-weight: 600; }
.stays-direct > span:first-child { font-size: 1.2rem; }
.stays-demo { padding: 6px 10px; border-radius: 6px; background: #f4ebd9; color: #6d5431; font-size: .72rem; }
.stays-section-heading { justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 4px 17px; }
.stays-section-heading h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.12rem; letter-spacing: -.035em; }
.stays-section-heading > span { color: var(--muted); font-size: .8rem; }
.stays-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stay-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 10px 30px rgb(29 61 57 / .035); }
.stay-photo { position: relative; aspect-ratio: 1.6; overflow: hidden; background: #e3ebe4; }
.stay-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.stay-location { position: absolute; inset: 12px auto auto 12px; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: 7px; background: #ffffffed; color: #27433b; font-size: .73rem; font-weight: 700; }
.stay-sample-detail-photo { position: relative; }
.stay-sample-label {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 28px 14px 13px;
  background: linear-gradient(to bottom, rgb(12 31 27 / 0), rgb(12 31 27 / .69) 27px, rgb(12 31 27 / .83));
  color: #fff;
  text-shadow: 0 1px 4px rgb(0 0 0 / .3);
  pointer-events: none;
}
.stay-sample-label > span {
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stay-sample-label > strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(.94rem, 1.5vw, 1.12rem);
  font-weight: 800;
  line-height: 1.25;
}
.stay-sample-detail-photo .stay-sample-label { padding-inline: 24px; }
.stay-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.stay-advertiser { margin: 0 0 9px; color: #527365; font-size: .67rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.stay-advertiser > span { color: #63756d; }
.stay-card h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.22rem; line-height: 1.35; letter-spacing: -.04em; }
.stay-facts { margin: 9px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.stay-summary { flex: 1; margin: 15px 0 0; color: #4f6467; font-size: .84rem; line-height: 1.7; }
.stay-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 17px 0 0; list-style: none; }
.stay-tags li { padding: 4px 7px; border-radius: 5px; background: #edf4ef; color: #315a4b; font-size: .66rem; line-height: 1.4; }
.stay-bottom-row { justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e8eeeb; }
.stay-host { gap: 9px; }
.stay-avatar { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 50%; background: #e7f0e9; color: #285842; font-family: "Manrope", sans-serif; font-size: .86rem; font-weight: 800; }
.stay-host strong { display: block; font-size: .79rem; font-weight: 700; }
.stay-host small { display: block; margin-top: 2px; color: var(--muted); font-size: .65rem; }
.stay-price { margin: 0; text-align: right; color: var(--green-dark); white-space: nowrap; }
.stay-price > span { font-size: .7rem; }
.stay-price strong { font-family: "Manrope", sans-serif; font-size: 1.43rem; font-weight: 800; letter-spacing: -.04em; }
.stay-price small { display: block; color: var(--muted); font-size: .66rem; }
.stay-details-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 43px; margin-top: 17px; padding: 11px 14px; border: 0; border-radius: 9px; background: var(--green); color: white; font-size: .79rem; font-weight: 700; }
.stay-details-button:hover { background: var(--green-dark); }
.stay-details-button:focus-visible,
.stay-dialog-close:focus-visible { outline: 3px solid #88cbb8; outline-offset: 3px; }
.stays-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 20px 22px; border-radius: 13px; background: #e9f1eb; }
.stays-note-mark { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #a7c1af; border-radius: 50%; color: #325c44; font-size: .8rem; font-weight: 700; }
.stays-note h2 { margin: 0; font-size: .87rem; font-weight: 700; }
.stays-note p { margin: 5px 0 0; color: #4d6659; font-size: .8rem; line-height: 1.65; }
.stays-disclaimer { max-width: 800px; margin: 17px 4px 0; color: #68786f; font-size: .7rem; line-height: 1.6; }
.stays-footer { margin-top: 25px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid var(--line); }
.stays-footer .footer-brand { font-size: .9rem; }
.stays-footer a { color: var(--green-dark); font-size: .77rem; text-decoration: none; }
.stays-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.stay-dialog { width: min(700px, calc(100% - 28px)); max-height: calc(100dvh - 40px); padding: 0; overflow-y: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--ink); }
.stay-dialog::backdrop { background: rgb(15 35 28 / .65); backdrop-filter: blur(3px); }
.stay-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; }
.stay-dialog-header .stay-advertiser { margin-bottom: 5px; }
.stay-dialog-header h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.04em; }
.stay-dialog-close { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.5rem; }
.stay-dialog-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; }
.stay-dialog-copy { padding: 21px 24px 0; }
.stay-dialog-location { margin: 0; color: var(--green-dark); font-size: .83rem; font-weight: 700; }
.stay-dialog-copy > p:not([class]) { margin: 16px 0 0; color: #4f6467; font-size: .9rem; line-height: 1.7; }
.offer-detail-description { white-space: pre-line; }
.stay-detail-host { justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 700; }
.stay-detail-host strong { color: var(--green-dark); font-size: 1.4rem; font-family: "Manrope", sans-serif; }
.stay-detail-host small { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: .76rem; font-weight: 400; }
.stay-dialog-price-note { margin: 11px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.stay-dialog-contact { padding: 20px 24px 24px; }
.stay-dialog-contact button { display: block; width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid #dce4de; border-radius: 9px; background: #e8eee9; color: #687970; font-size: .85rem; font-weight: 700; cursor: not-allowed; }
.stay-dialog-contact p { margin: 8px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }

@media (max-width: 980px) {
  .stays-grid { gap: 13px; }
  .stay-card-body { padding: 17px; }
  .stay-card h3 { font-size: 1.1rem; }
  .stay-bottom-row { gap: 10px; }
  .stay-price strong { font-size: 1.25rem; }
}

@media (max-width: 740px) {
  .stays-grid { grid-template-columns: 1fr; gap: 22px; }
  .stay-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
  .stay-photo { height: 100%; aspect-ratio: auto; }
  .stay-card-body { padding: 20px; }
  .stays-intro { padding: 32px 2px 27px; }
  .stays-section-heading > span { display: none; }
  .stays-header-tools { gap: 14px; }
}

@media (max-width: 520px) {
  .stays-header { min-height: 78px; flex-wrap: nowrap; align-items: center; gap: 10px; padding-block: 12px; }
  .stays-header .brand { gap: 7px; font-size: 1rem; }
  .stays-header .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .stays-header-tools { gap: 0; }
  .stays-header .stays-back { display: none; }
  .stays-intro h1 { max-width: 340px; font-size: 2.15rem; }
  .stays-lead { font-size: .94rem; }
  .stays-intro-foot { gap: 14px; margin-top: 20px; }
  .stays-direct { font-size: .75rem; }
  .stays-section-heading h2 { font-size: 1rem; }
  .stay-card { display: flex; }
  .stay-photo { height: auto; aspect-ratio: 1.6; }
  .stay-card-body { padding: 21px; }
  .stay-card h3 { font-size: 1.3rem; }
  .stay-summary { margin-top: 11px; }
  .stay-bottom-row { flex-wrap: nowrap; }
  .stay-price strong { font-size: 1.45rem; }
  .stays-note { padding: 18px 16px; gap: 11px; }
  .stays-footer { gap: 13px; }
  .stay-dialog-header { padding: 18px; }
  .stay-dialog-header h2 { font-size: 1.3rem; }
  .stay-sample-detail-photo .stay-sample-label { padding-inline: 18px; }
  .stay-dialog-copy { padding-inline: 18px; }
  .stay-dialog-contact { padding-inline: 18px; }
}

@media (pointer: coarse) {
  .stay-details-button, .stay-dialog-close { min-width: 44px; min-height: 44px; }
}
