/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  font-family: "Golos Text", system-ui, sans-serif;
  color: #202d27;
  background: #faf9f5;
  --paper: #faf9f5;
  --white: #fff;
  --ink: #202d27;
  --muted: #506058;
  --line: #d8e0d9;
  --forest: #244c3c;
  --forest-dark: #17382b;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid #6b5b4d;
  outline-offset: 3px;
}

.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }

.site-header { border-bottom: 1px solid #e7e8e1; }

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { min-height: 96px; }
.brand { display: block; width: 144px; }
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; }

.nav-link {
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  text-underline-offset: 5px;
}

.nav-link:hover { text-decoration: underline; }
.public-page {
  --paper: #f5f4f0;
  --ink: #162926;
  --muted: #4d5b54;
  --line: #cabdaf;
  --accent: #934628;
  --accent-dark: #78391f;
  --focus-fill: #e5d8ca;
  --control-hover: #e2e0d5;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
}

.public-page #main { flex: 1; }
.public-page :focus-visible { outline: none; }
.public-page :is(a, button):focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.public-page .button:focus-visible { filter: brightness(.85); }
.public-page :is(.brand, .date-trigger, .choice-trigger, .language-switch a):focus-visible {
  background-color: var(--focus-fill);
}
.public-page .icon-button:focus-visible { background-color: var(--focus-fill); }

.public-page .shell { width: min(1232px, calc(100% - 112px)); }
.public-page .site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom-color: var(--line);
  background: var(--paper);
  transition: transform .22s ease;
}

.public-page .site-header.is-hidden:not(:has(:focus-visible)) { transform: translateY(-100%); }

.public-page .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 89px;
  gap: 26px;
}

.public-page .brand { width: 121px; }
.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav .nav-link {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .18s ease;
}

.site-nav .nav-link[aria-current="page"] { color: var(--accent-dark); background: #eee4d6; }
.site-nav .nav-link:is(:hover, :focus-visible), .language-switch a:is(:hover, :focus-visible) {
  background: var(--control-hover);
  text-decoration: none;
}
.site-nav .nav-link[aria-current="page"]:is(:hover, :focus-visible) { background: #e6dac9; }

.language-switch {
  --language-width: 37px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding-inline: 8px 3px;
  border-radius: 999px;
  background: #ebe5d9;
}

.language-options {
  position: relative;
  isolation: isolate;
  display: flex;
}

.language-thumb {
  position: absolute;
  z-index: -1;
  inset: 2px auto 2px 0;
  width: var(--language-width);
  border-radius: 999px;
  background: #fffbf3;
}

.language-options[data-next-language] .language-thumb {
  transition: transform .2s cubic-bezier(.2, .7, .3, 1);
}

.language-options:not([data-next-language]):has(#language-en[aria-current="true"]) .language-thumb,
.language-options[data-next-language="en"] .language-thumb {
  transform: translateX(100%);
}

.language-options[data-next-language="en"] #language-en,
.language-options[data-next-language="ru"] #language-ru {
  color: var(--ink);
}

.language-switch a {
  display: grid;
  place-items: center;
  min-width: var(--language-width);
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background-color .18s ease;
}

.language-switch a[aria-current="true"] { color: var(--ink); }

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  transform: translateY(calc(-100% - 18px));
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus { transform: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(450px, 37vw, 525px);
  background: #142927;
  color: #fffaf0;
}

.public-page:not(.sale-page) .hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/hero.jpg") center / cover no-repeat;
  content: "";
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(11 27 23 / 91%), rgb(11 27 23 / 74%) 35%, transparent 79%);
  content: "";
}

.hero-content { padding-block: 110px 33px; }

.hero h1, .catalog h2, .airbnb-ratings h2, .listing-dialog h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.hero h1 { font-size: clamp(3.15rem, 5.8vw, 5.25rem); line-height: 1.01; text-wrap: balance; }

.hero-content > p {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.sale-page .hero { min-height: 0; background: none; color: var(--ink); }
.sale-page .hero::before { content: none; }
.sale-page .hero-content { padding-block: clamp(28px, 5vw, 64px) 20px; }
.sale-page .hero h1 { font-size: clamp(2.75rem, 5vw, 4.6rem); }
.sale-page .hero-content > p { color: var(--muted); }
.sale-enquiry { max-width: 58ch; margin-top: 20px; color: var(--muted); }
.sale-enquiry > p { margin: 0 0 14px; line-height: 1.55; text-wrap: pretty; }
.sale-enquiry > .details-message { margin: 8px 0 0; font-size: .875rem; }

.date-search {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  gap: 8px;
  margin-top: 34px;
  padding: 7px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}

.search-field {
  min-width: 0;
  font-size: .875rem;
  font-weight: 600;
}

.date-trigger, .choice-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: #ece9e1;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 400;
  text-align: start;
  -webkit-tap-highlight-color: transparent;
}

.filter-text { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.filter-text > span { overflow-wrap: anywhere; }
.filter-label { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.choice-field { position: relative; }
.choice-trigger { justify-content: space-between; }
.date-trigger svg, .choice-trigger svg { flex-shrink: 0; color: var(--forest); }
.choice-trigger svg { transition: transform .2s ease; }
.choice-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
:is(.date-trigger, .choice-trigger):is([aria-expanded="true"], :hover) { background: var(--control-hover); }
.date-trigger[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--accent); }
.hero:has(.search-popover:not([hidden])) { z-index: 2; }

@media (min-width: 621px) {
  .hero:has(.date-picker:not([hidden])) { margin-bottom: var(--date-picker-clearance, 0px); }
}

.search-popover {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 9px) auto auto 0;
  border-radius: 16px;
  background: #fffaf2;
  box-shadow: 0 10px 32px rgb(22 41 38 / 13%);
  transform-origin: top left;
  animation: picker-enter .22s ease-out both;
}

.date-picker {
  width: min(712px, 100%);
  padding: 15px 18px 12px;
  border: 1px solid var(--line);
}

.choice-options {
  display: grid;
  gap: 2px;
  min-width: max(100%, 162px);
  padding: 6px;
}

.choice-field:last-of-type .choice-options { inset-inline: auto 0; }

.choice-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding-inline: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.choice-option input {
  position: absolute;
  inset-inline-start: 10px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-option:hover { background: #f4ede1; }
.choice-option:has(input:checked) { background: #ebe7da; color: var(--forest-dark); }
.choice-option:has(input:focus-visible) {
  background: var(--focus-fill);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.choice-option:has(input:checked)::after {
  width: 6px;
  height: 11px;
  margin-inline-end: 3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
  content: "";
}

@keyframes picker-enter {
  from { opacity: 0; transform: translateY(-7px) scaleY(.97); }
  to { opacity: 1; transform: none; }
}

.picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.picker-footer { border-top: 1px solid var(--line); padding-top: 8px; }
.picker-footer p { margin: 0; color: var(--muted); font-size: .875rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}

.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--forest-dark); }
.button-outline { color: var(--forest-dark); border-color: #b7c6ba; }
.button-outline:hover { background: #edf3eb; border-color: #90a597; }
.public-page .button-primary { background: var(--accent); }
.public-page .button-primary:hover { background: var(--accent-dark); }

.search-button {
  min-height: 50px;
  gap: 12px;
  padding-inline: 20px;
  border-radius: 5px;
  white-space: nowrap;
}

.date-error { grid-column: 1 / -1; margin: 0; color: var(--accent-dark); font-size: .9375rem; }

.catalog { padding-block: 32px 54px; scroll-margin-top: 20px; }
.catalog h2 { margin-bottom: 16px; font-size: clamp(1.85rem, 3vw, 2.5rem); }
.catalog-summary { margin-bottom: 14px; }
.catalog-summary:not(:has(> :not([hidden]))) { display: none; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 34px;
}

.listing-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  border-radius: 12px;
}

.listing-card::before {
  position: absolute;
  z-index: -1;
  inset: -6px;
  border-radius: 16px;
  background: rgb(101 94 84 / 11%);
  opacity: 0;
  pointer-events: none;
  content: "";
}
.listing-card:has(.listing-open:focus-visible)::before { opacity: 1; }
@media (hover: hover) {
  .listing-card:hover::before { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .listing-card::before { transition: opacity .2s ease-out; }
  .listing-card:not(.awaiting-reveal) {
    transition: opacity .27s ease-out, transform .27s cubic-bezier(.2, .7, .3, 1), scale .22s ease-out;
  }
  .listing-card.awaiting-reveal:not(:focus-within) { opacity: .45; transform: translateY(10px); }
  .listing-card:not(.awaiting-reveal):focus-within { transition: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .listing-card:not(.awaiting-reveal):hover { scale: 1.015; }
}

.listing-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 2.1;
  border-radius: 12px;
  background: #eae7de;
}

.listing-media img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  color: var(--muted);
}

.listing-title {
  margin: 0;
  font-size: clamp(1.17rem, 1.85vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.listing-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  -webkit-tap-highlight-color: transparent;
}

.listing-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding-top: 12px;
}
.listing-title-row svg { color: var(--accent); }
.public-page .listing-open:focus-visible { text-decoration: none; }
.listing-open .photo-placeholder { font-size: .9375rem; font-weight: 400; }

.details-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-symbols { position: absolute; }
.messenger-contact { gap: 7px; min-width: 0; text-align: start; }
.messenger-contact svg { flex-shrink: 0; }
.messenger-contact[data-contact="whatsapp_url"] svg { color: #2c7252; }
.messenger-contact[data-contact="telegram_url"] svg { color: #326f8b; }
.contact-label { min-width: 0; overflow-wrap: anywhere; }

.catalog-message { color: var(--muted); line-height: 1.55; text-wrap: pretty; }

.catalog-message p { margin: 0; }
.catalog-message .button { margin-top: 12px; }
.catalog-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-inline-start: -8px;
  padding: 4px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--forest-dark);
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .18s ease;
}
.catalog-message:not([hidden]) + .catalog-reset { margin-top: 4px; }
.catalog .catalog-reset:is(:hover, :focus-visible) { background: var(--control-hover); text-decoration: none; }
.catalog-alternatives { margin-top: 28px; }
.catalog-alternatives h3 { margin: 0; font-size: 1.6rem; font-weight: 600; }
.catalog-alternatives > p { margin: 5px 0 18px; color: var(--muted); }

.airbnb-ratings {
  display: grid;
  justify-items: end;
  justify-self: end;
  gap: 7px;
  padding-inline-end: 44px;
  text-align: end;
}

.airbnb-ratings h2 { font-size: .9375rem; font-weight: 500; letter-spacing: 0; }
.airbnb-ratings a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.airbnb-ratings a:not([href]) svg { display: none; }
.rating-stars { display: block; width: 99px; height: auto; }
.rating-track { fill: #cbbdad; }
.rating-fill {
  fill: var(--accent);
  clip-path: inset(0 calc(100% - var(--rating-fill, 0%)) 0 0) view-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sale-price-note { margin: 14px 0 0; color: var(--muted); }

.site-footer { background: #eee8dc; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 104px;
  gap: 16px;
  padding-block: 16px;
  color: var(--muted);
}

.footer-brand { font-weight: 500; }
.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--forest-dark);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}
.site-footer :is(.footer-contact[href], #airbnb-reviews-link[href]):focus-visible {
  background: var(--control-hover);
  border-radius: 6px;
  text-decoration: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-footer :is(.footer-contact[href], #airbnb-reviews-link[href]) { transition: scale .18s ease-out; }
  .site-footer :is(.footer-contact[href], #airbnb-reviews-link[href]):hover { scale: 1.035; }
}
.footer-contact[aria-disabled="true"] { color: var(--muted); }
.footer-contacts p { flex-basis: 100%; margin: 0; font-size: .8125rem; text-align: center; }

.back-to-top {
  position: fixed;
  z-index: 11;
  inset: auto max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgb(147 70 40 / 91%);
  color: #f5e3c7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:is(:hover, :focus-visible) { background: var(--accent-dark); }
body:has(dialog[open]) .back-to-top { visibility: hidden; }

.public-page:has(#listing-dialog[open]) { overflow: hidden; }

.listing-dialog {
  width: min(1100px, 100% - 32px);
  height: min(780px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  overflow: clip;
  overscroll-behavior: contain;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.listing-dialog::backdrop { background-color: rgb(34 33 30 / 58%); transition: background-color .2s ease; }
.listing-dialog.is-closing { animation: listing-exit .2s ease both; }
.listing-dialog.is-closing::backdrop { background-color: transparent; }
@keyframes listing-exit {
  to { opacity: 0; transform: translateY(8px) scale(.99); }
}
.dialog-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  padding: 20px 24px;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.listing-dialog h2 { font-size: clamp(1.45rem, 3.1vw, 2.1rem); overflow-wrap: anywhere; }
#listing-close { border: 0; }

.icon-button {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.icon-button:hover { background: #e9e3d7; }
.icon-button:disabled { opacity: .4; cursor: default; background: transparent; }

.text-button {
  min-height: 44px;
  padding: 5px;
  border: 0;
  background: none;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(276px, .56fr);
  grid-template-rows: minmax(312px, 1.35fr) minmax(0, 1fr);
  gap: 14px 24px;
  min-height: 0;
}
.property-layout:not(:has(.property-calendar:not([hidden]))) .gallery { grid-column: 1 / -1; }
.property-layout:where(:not(:has(.gallery:not([hidden])))) .details-sections { grid-row: 1 / -1; }
.property-switch { display: none; }
.gallery {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}

.gallery-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.gallery-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-image-button:focus-visible img { filter: brightness(.84); }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
#gallery-photo-error { position: absolute; inset: 0; pointer-events: none; }

.gallery-expand, .gallery-navigation .icon-button, .gallery-navigation p {
  position: absolute;
  background: rgb(42 40 38 / 84%);
  color: var(--white);
}

.gallery-stage .gallery-expand {
  z-index: 1;
  inset: auto 12px 12px auto;
  border: 0;
}

.gallery-stage .gallery-expand:is(:hover, :focus-visible),
.gallery-navigation .icon-button:is(:hover, :focus-visible) { background: #706255; }
.gallery-navigation .icon-button { top: 50%; transform: translateY(-50%); border-color: transparent; touch-action: manipulation; }
.gallery-prev { inset-inline-start: 12px; }
.gallery-next { inset-inline-end: 12px; }

.gallery-navigation p {
  inset: auto auto 12px 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .875rem;
  pointer-events: none;
}

.listing-dialog.is-viewing-photo { border-radius: 0; background: transparent; }
.listing-dialog.is-viewing-photo::backdrop { background-color: rgb(24 23 22 / 40%); }
.is-viewing-photo .dialog-heading, .is-viewing-photo .property-layout > :not(.gallery) { visibility: hidden; }
.is-viewing-photo :is(#listing-close, .gallery-expand) { display: none; }
.is-viewing-photo .property-layout .gallery {
  position: absolute;
  z-index: 2;
  inset: 0;
  grid-area: auto;
  height: auto;
}
.is-viewing-photo .gallery-stage { border-radius: 0; }
.is-viewing-photo .gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
  transition: scale .23s cubic-bezier(.2, .7, .3, 1);
}
.is-viewing-photo .gallery-image-button {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  cursor: zoom-in;
}
.is-photo-zoomed .gallery-stage img { scale: 1.65; }
.is-photo-zoomed .gallery-image-button { cursor: zoom-out; }
.is-viewing-photo .gallery-image-button:focus-visible img { filter: none; }
.is-viewing-photo #gallery-photo-error { color: var(--white); }
.is-viewing-photo .gallery-navigation .icon-button {
  inset-block: 0;
  width: clamp(48px, 13%, 148px);
  height: 100%;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  opacity: .8;
}
.is-viewing-photo .gallery-prev { inset-inline-start: 0; }
.is-viewing-photo .gallery-next { inset-inline-end: 0; }
.is-viewing-photo .gallery-navigation .icon-button svg { filter: drop-shadow(0 1px 2px #201e1c); }
.is-viewing-photo .gallery-navigation .icon-button:is(:hover, :focus-visible) { opacity: 1; }
.is-viewing-photo .gallery-navigation .icon-button:focus-visible svg {
  box-sizing: content-box;
  padding: 5px;
  background: rgb(36 34 31 / 72%);
  border-radius: 4px;
}

.details-sections {
  grid-area: 2 / 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.property-about { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.details-sections h3, .property-calendar h3, .property-contact h3 {
  margin: 0 0 7px;
  font-size: 1.125rem;
  font-weight: 650;
}
.details-description, .details-message { color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.details-description {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding-inline-end: 10px;
  scrollbar-color: #aead9f transparent;
  scrollbar-width: thin;
  white-space: pre-line;
}
.details-description:focus-visible { background: #ede8df; }
.details-description.has-more {
  mask-image: linear-gradient(to bottom, #000 calc(100% - min(38px, 22%)), rgb(0 0 0 / 14%));
}
.details-description p { margin: 0 0 .75em; }
.details-description p:last-child { margin-bottom: 0; }
.details-sections .property-facts { margin: 0; color: var(--muted); font-size: .9375rem; }
.details-sections > .details-message { margin: 0; }
.details-sections > .button { align-self: flex-start; }
.description-next {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  min-height: 34px;
  margin-block-start: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest-dark);
  font-size: .875rem;
  font-weight: 600;
}
.description-next:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .description-next:not([hidden]) { animation: description-next-enter .16s ease-out both; }
  @keyframes description-next-enter { from { opacity: .55; } }
}
.property-contact {
  grid-area: 2 / 2;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  align-self: start;
}
.property-contact .details-actions { display: grid; justify-items: start; margin-top: 8px; }
.messenger-contact[aria-disabled="true"] { cursor: default; color: var(--muted); background: transparent; }
.property-contact .details-message { margin: 6px 0 0; font-size: .875rem; }
.sale-price-note { margin: 0; color: var(--muted); }

.property-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 16px 0 0; list-style: none; }
.property-facts li { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.property-facts svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.listing-properties { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.listing-properties svg { width: 16px; height: 16px; }

.month-strip { position: relative; }
.month-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; touch-action: pan-y pinch-zoom; }
.property-calendar { grid-area: 1 / 2; min-height: 0; }
.property-calendar .month-strip { padding-inline: 4px; }
.property-calendar .month-pages { grid-template-columns: minmax(0, 1fr); }
.property-calendar .calendar-days { grid-template-rows: repeat(6, 1fr); }
.property-calendar .day-cell { min-height: clamp(23px, 4.1dvh, 33px); }
.property-calendar .month-strip .icon-button { border: 0; }
.calendar-page { min-width: 0; }
.calendar-month { margin: 0 0 8px; padding-inline: 42px; min-height: 44px; display: grid; place-items: center; text-align: center; font-size: 1rem; font-weight: 650; }
.month-strip .month-prev, .month-strip .month-next { position: absolute; top: 0; }
.month-strip .month-prev { inset-inline-start: 0; }
.month-strip .month-next { inset-inline-end: 0; }

.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.calendar-weekdays { margin-bottom: 4px; color: var(--muted); font-size: .8125rem; }
.calendar-days { padding-bottom: 6px; }
.date-picker .calendar-days { grid-template-rows: repeat(6, 1fr); }

.day-cell, .picker-day {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 39px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.day-available { color: #254c35; background: #dce9da; }
.day-unavailable, .day-check-in-restricted { color: #773724; background: #f2dfd7; }
.day-past, .picker-day:disabled { color: #626a62; background: transparent; cursor: default; }
.day-unknown { color: #565c58; background: #efede6; border-color: #dbd6cc; }
.calendar-days button:not(:disabled):hover { border-color: var(--accent); }
.calendar-days button:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.picker-day[aria-pressed="true"]:not(.in-range) { background: var(--accent); color: var(--white); }
.picker-day { transition: background-color .16s ease, color .16s ease; }
.picker-day.in-range { background: #efdfd0; }
.picker-day.preview-range { background: #f3e8db; }
.picker-day.preview-end:not([aria-pressed="true"]) { background: #e7ccbb; color: var(--accent-dark); }
.picker-day:not(:disabled):not([aria-pressed="true"]):not(.preview-end):hover { border-color: var(--accent); }

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin: 6px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: .8125rem;
  list-style: none;
}

.calendar-legend li { display: flex; align-items: center; gap: 5px; }
.legend-key { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.calendar-message { margin: 8px 0 0; color: var(--muted); font-size: .875rem; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 56px); }
  .public-page .shell { width: calc(100% - 60px); }
}

@media (max-width: 820px) {
  .date-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-button { grid-column: 1 / -1; }
}

@media (max-width: 760px), (max-height: 650px) {
  .listing-dialog .dialog-inner { padding: 14px 16px; }
  .listing-dialog .dialog-heading { margin-bottom: 9px; }
  .listing-dialog h2 { font-size: 1.45rem; }
  .property-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 8px; }
  .property-layout .gallery { grid-area: 1 / 1; height: clamp(78px, 25dvh, 225px); }
  .property-layout .details-sections { grid-area: 3 / 1; }
  .property-switch { display: flex; flex-wrap: wrap; grid-area: 2 / 1; gap: 4px 14px; }
  .property-switch button {
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: .9375rem;
    font-weight: 600;
  }
  .property-switch button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); }
  .property-layout:has(.property-switch:not([hidden])) #property-about-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .property-calendar { display: none; grid-area: 2 / 1; overflow: auto; overscroll-behavior: contain; }
  .property-contact { grid-area: 4 / 1; align-self: end; padding-top: 6px; }
  .property-contact h3 { font-size: .9375rem; margin-bottom: 2px; }
  .property-contact .details-actions { margin-top: 5px; }
  .property-contact .details-message { margin-top: 4px; }
  .show-property-calendar .property-layout { grid-template-rows: auto minmax(0, 1fr) auto; }
  .show-property-calendar .property-switch { grid-area: 1 / 1; }
  .show-property-calendar .property-calendar { display: block; }
  .show-property-calendar .property-contact { grid-area: 3 / 1; }
  .listing-dialog.show-property-calendar:not(.is-viewing-photo) :is(.gallery, .details-sections) { display: none; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 74px; }
  .brand { width: 112px; }
  .public-page .shell { width: calc(100% - 36px); }
  .public-page .header-inner { grid-template-columns: auto 1fr auto; min-height: 70px; gap: 12px; }
  .public-page .brand { width: clamp(78px, 23vw, 100px); }
  .site-nav { justify-content: center; gap: 5px; }
  .site-nav .nav-link { padding-inline: 8px; font-size: .875rem; }
  .language-switch { --language-width: 29px; gap: 2px; padding-inline: 5px 2px; }
  .language-switch a { min-height: 37px; }
  .language-switch svg { width: 14px; }

  .hero { min-height: 0; }
  .public-page:not(.sale-page) .hero::after { background-position: 40% center; }
  .hero::before { background: linear-gradient(0deg, rgb(11 27 23 / 94%), rgb(11 27 23 / 74%) 54%, transparent 89%); }
  .hero-content { padding-block: clamp(118px, 38vw, 151px) 19px; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.5rem, 12vw, 3.5rem); text-wrap: initial; }
  .sale-page .hero h1 { max-width: none; font-size: clamp(2.2rem, 10vw, 2.75rem); overflow-wrap: anywhere; }
  .hero-content > p { margin-top: 11px; }

  .date-search { margin-top: 21px; }
  .date-trigger, .choice-trigger { min-height: 52px; padding-inline: 10px; font-size: .875rem; }

  .catalog { padding-block: 24px 36px; }
  .listing-grid { grid-template-columns: 1fr; gap: 22px; }
  .listing-media { aspect-ratio: 1.65; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding-block: 20px; text-align: center; }
  .airbnb-ratings { justify-self: auto; justify-items: center; padding-inline-end: 0; text-align: center; }
}

@media (max-width: 620px) {
  .date-picker { position: static; width: auto; grid-column: 1 / -1; grid-row: 2; padding: 10px; }
  .choice-options { position: static; min-width: 0; margin-top: 6px; }
  .choice-option { gap: 5px; padding-inline: 8px; white-space: normal; }
  .choice-option span { min-width: 0; overflow-wrap: anywhere; }
  .month-pages { grid-template-columns: 1fr; gap: 0; }
  .month-pages .calendar-page + .calendar-page { display: none; }
  .day-cell, .picker-day { min-height: 36px; }
}

@media (max-width: 530px) {
  .footer-inner { min-height: 74px; font-size: .875rem; }
}

@media (max-width: 360px) {
  .public-page .shell { width: calc(100% - 24px); }
  .public-page .header-inner { gap: 7px; }
  .site-nav { gap: 4px; }
  .site-nav .nav-link { padding-inline: 5px; }
  .date-trigger { gap: 5px; padding-inline: 7px; font-size: .8rem; }
  .date-trigger svg { width: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .public-page .site-header, .language-options[data-next-language] .language-thumb, .language-switch a, .choice-trigger svg, .back-to-top { transition: none; }
  .listing-dialog::backdrop, .picker-day, .is-viewing-photo .gallery-stage img { transition: none; }
  .site-nav .nav-link, .catalog-reset { transition: none; }
  .search-popover, .listing-dialog.is-closing { animation: none; }
}
