/* Readable type and responsive cards, shared by the catalog and its filters. */
.brand-logo {
  display: block;
  width: 160px;
  height: 40px;
  flex-shrink: 0;
  background: var(--brand-color);
  -webkit-mask: url('assets/art-pe-logo-2026.png') center / contain no-repeat;
  mask: url('assets/art-pe-logo-2026.png') center / contain no-repeat;
}
@media (max-width: 650px) {
  .brand-logo { width: 140px; height: 35px; }
  .is-scrolled .brand-logo { width: 132px; height: 33px; }
}
:root {
  --font: 'Manrope', Arial, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --card-radius: 32px;
  --card-shadow: 0 8px 24px #182b4312, 0 2px 6px #182b4308;
  --copy-size: 16px;
}

body { font-size: var(--copy-size); }
/* One visible viewport, including on mobile with changing browser controls. */
.hero {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
}
.site-header .brand { gap: 5px; }
.site-header .brand-emblem { width: 61px; height: 46px; }
.site-header .brand-name-reference { width: 138px; height: 36px; }
.site-footer .brand-name-reference { width: 134px; height: 35px; }
.section-heading h2 { font-size: clamp(28px, 2.4vw, 36px); }
.button, .all-stays-button { font-size: 15px; min-height: 52px; }
.text-link { font-size: 16px; }
.nav-link { font-size: 14px; }
.nav-stays-icon { display: inline-flex; align-items: center; }
.nav-stays-icon svg { width: 21px; height: 21px; }
.mobile-menu .nav-stays-label { display: flex; align-items: center; gap: 10px; font-size: 20px; color: inherit; }
.heading-note { font-size: 16px; }
.eyebrow, .section-heading .eyebrow { font-size: 12px; }

/* Square photos, rounded white panels, and enough room for every shadow. */
.property-rail {
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 32px;
  scroll-padding-inline: var(--gutter);
}
.property-card {
  display: flex;
  flex-direction: column;
  flex-basis: 370px;
  max-width: none;
  border: 1px solid #e5ebf2;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  isolation: isolate;
  transition: box-shadow .2s;
}
.property-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.property-card-capacity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: var(--ink); font-size: 16px; line-height: 1.4; }
.property-card-capacity svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.property-card-capacity small { color: var(--muted); font-size: 13px; }
.property-card-image, .is-grid .property-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
}
.property-card-copy { left: 22px; right: 22px; bottom: 24px; }
.property-meta {
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.5;
  gap: 6px 8px;
  margin-bottom: 10px;
}
.property-meta .meta-dot { flex-shrink: 0; }
.property-tagline { font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.property-card-copy h3 {
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -.5px;
  overflow-wrap: break-word;
}
.property-badge { font-size: 13px; max-width: 155px; }
.property-brand { font-size: 13px; }
.property-brand small { font-size: 8px; }
.property-card-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
  width: 100%;
  padding: 22px;
}
.property-price-row { align-items: center; gap: 14px; }
.property-price-row small { font-size: 14px; line-height: 1.5; color: #52616f; }
.property-price-row strong { font-size: 26px; white-space: nowrap; flex-shrink: 0; }
.property-price-row .price-agreement { font-size: 20px; }
.property-feature-preview {
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
}
.property-feature-preview > span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.property-feature-preview svg { width: 20px; height: 20px; margin-top: 2px; }
.property-availability-button {
  min-height: 64px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid #e5edf5;
  background: #f7faff;
  flex-shrink: 0;
}
.property-availability-button > span:last-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.property-availability-button svg { width: 19px; height: 19px; }
.catalog-bottom { margin-top: 0; }
.catalog-bottom p { font-size: 14px; line-height: 1.7; }
.category-button { font-size: 14px; min-width: 90px; min-height: 94px; }
.category-button svg { width: 35px; height: 35px; }
.catalog-toolbar p, .catalog-toolbar select, .reset-filters { font-size: 15px; }
.catalog-toolbar select { max-width: 250px; min-height: 44px; }
.reset-filters { min-height: 44px; }
.rail-arrows .circle-button { width: 44px; height: 44px; }

/* Search controls. */
.destination-control select, .guests-trigger { font-size: 16px; }
.search-submit { min-width: 48px; min-height: 48px; }
.guest-stepper strong, .guest-stepper small { font-size: 15px; }
.stepper-button { width: 42px; height: 42px; }
.guest-stepper > div + div { gap: 16px; }
.search-popover .button { font-size: 15px; min-height: 48px; }
.hero-eyebrow { font-size: 12px; }
.hero-cta { font-size: 15px; }
.hero-assurance, .hero-property { font-size: 14px; }

/* Keep the same reading scale through the rest of the page. */
.experience-card, .destination-card, .gallery-tile, .story-image-wrap {
  box-shadow: var(--card-shadow);
}
.experience-description { font-size: 15px; line-height: 1.6; }
.experience-copy > span:first-child, .experience-badge { font-size: 12px; }
.experience-copy strong { font-size: 30px; line-height: 1.16; }
.round-arrow { width: 40px; height: 40px; }
.destination-copy > span:first-child { font-size: 12px; }
.destination-copy > span:last-child { font-size: 15px; line-height: 1.6; }
.story-panel p { font-size: 16px; line-height: 1.8; }
.story-panel h3 { font-size: 23px; }
.story-tabs button, .story-panel .text-link { font-size: 16px; }
.story-copy > .eyebrow { font-size: 12px; }
.image-caption { font-size: 13px; }
.resort-content > .eyebrow { font-size: 12px; }
.resort-content p { font-size: 16px; line-height: 1.6; }
.resort-content .button { font-size: 15px; }
.gallery-tile .gallery-tile-caption { font-size: 14px; }
.gallery-more span { font-size: 14px; }
.contact-content .eyebrow { font-size: 12px; }
.contact-content p:last-child { font-size: 16px; line-height: 1.8; }
.contact-actions .button { font-size: 15px; }
.footer-links a, .footer-links button { font-size: 16px; }
.footer-top p { font-size: 16px; }

/* Detail, inquiry, and provider panels use readable labels on every screen. */
.detail-description { font-size: 16px; line-height: 1.8; }
.detail-features li { font-size: 15px; line-height: 1.5; }
.detail-note, .detail-image-label { font-size: 14px; }
.detail-actions .button { font-size: 15px; min-height: 50px; }
.property-detail-copy .eyebrow { font-size: 12px; }
.inquiry-intro, .inquiry-phone, .form-note, #inquiry-status { font-size: 14px; line-height: 1.7; }
.inquiry-dialog label { font-size: 15px; }
.inquiry-dialog input, .inquiry-dialog select, .inquiry-dialog textarea { font-size: 16px; }
.inquiry-dialog form .button { font-size: 15px; }
.privacy-dialog p { font-size: 16px; }
.availability-property-label, #availability-context { font-size: 14px; }
.availability-header select { font-size: 16px; }
.availability-tabs button { font-size: 15px; min-height: 52px; }
.availability-unit-note, .availability-guest-note { font-size: 14px; }
.availability-footer .text-link, .availability-footer .button { font-size: 15px; }
.availability-footer small, .availability-footer > p { font-size: 14px; }
.header-phone-number-local { display: none; }

@media (hover: hover) {
  .property-card:hover { box-shadow: 0 12px 32px #182b431c, 0 3px 8px #182b430c; }
}

@media (max-width: 1100px) {
  .property-rail.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-bar { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 20px; }
  .category-button { flex-shrink: 0; }
  .property-card { flex-basis: 340px; }
  .experience-description { font-size: 14px; }
  .experience-copy strong { font-size: 27px; }
  .destination-copy strong { font-size: 34px; }
  .destination-copy > span:last-child { max-width: 170px; }
  .story { gap: 36px; }
  .story-tabs { gap: 24px; }
  .contact-actions { min-width: 300px; }
}

@media (max-width: 767px) {
  :root { --card-radius: 28px; --gutter: 20px; }
  .container { padding-inline: 20px; }
  .section-space { padding-top: 60px; }
  .section-heading { gap: 18px; }
  .section-heading h2, .stay-section .section-heading h2 { font-size: 28px; max-width: none; }
  .section-heading .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
  .section-heading .heading-note { display: none; }
  .stay-section .section-heading { display: block; margin-bottom: 18px; }
  .all-stays-button {
    margin-top: 18px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .property-rail {
    padding-inline: 20px;
    gap: 18px;
    scroll-padding-inline: 20px;
  }
  .property-card {
    flex-basis: min(360px, calc(100vw - 72px));
    max-width: none;
    scroll-margin-inline: 20px;
    border-radius: var(--card-radius);
  }
  .property-card-copy { left: 20px; right: 20px; bottom: 22px; }
  .property-meta { font-size: 13px; }
  .property-tagline { font-size: 20px; }
  .property-card-copy h3 { font-size: 22px; }
  .property-badge { font-size: 12px; max-width: 145px; }
  .property-card-bottom { padding: 20px; }
  .property-price-row strong { font-size: 24px; }
  .property-price-row .price-agreement { font-size: 19px; }
  .property-availability-button { padding-inline: 20px; }
  .property-rail.is-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
    padding-inline: 20px;
    gap: 26px;
  }
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .catalog-toolbar > div { justify-content: space-between; gap: 12px; }
  .catalog-toolbar select { max-width: 60%; font-size: 14px; }
  .reset-filters { font-size: 14px; }
  .catalog-bottom { align-items: flex-start; gap: 18px; }
  .catalog-bottom p { max-width: 70%; }
  .rail-arrows { gap: 8px; }
  .rail-arrows .circle-button { width: 40px; height: 40px; }
  .category-bar { gap: 14px; padding-inline: 20px; margin-bottom: 16px; }
  .category-button { min-width: 88px; padding-inline: 8px; }

  .hero-search-wrap { width: calc(100% - 40px); max-width: 460px; top: 100px; }
  .search-bar { padding: 8px 8px 8px 18px; min-height: 66px; }
  .destination-control { gap: 9px; flex: 1; }
  .destination-control > span svg { width: 19px; height: 19px; }
  .destination-control select { font-size: 16px; padding-right: 6px; }
  .guests-trigger { font-size: 15px; padding: 8px 12px; gap: 7px; }
  .guests-trigger svg { display: none; }
  .search-popover { width: 100%; top: 78px; padding: 22px; }
  .guest-stepper { gap: 14px; }
  .guest-stepper > div + div { gap: 12px; }
  .guest-stepper strong, .guest-stepper small { font-size: 14px; }
  .hero-copy { inset: 36% 20px auto; }
  .hero h1 {
    font-size: clamp(46px, 10.5vw, 72px);
    line-height: 1.08;
    letter-spacing: -2px;
    white-space: normal;
    text-wrap: balance;
  }
  .hero-subtitle { font-size: 22px; white-space: normal; }
  .hero-eyebrow { font-size: 10px; }
  .hero-cta { font-size: 14px; }
  .hero-assurance { font-size: 12px; }
  .hero-property { font-size: 12px; }
  .hero-caption { gap: 12px; }

  .experience-grid, .destination-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -20px;
    padding: 12px 20px 28px 0;
  }
  .experience-card, .destination-card {
    flex: 0 0 min(360px, calc(100vw - 72px));
    height: auto;
    min-height: 360px;
    aspect-ratio: 4 / 5;
    border-radius: var(--card-radius);
    scroll-snap-align: start;
  }
  .experience-copy { left: 23px; right: 55px; bottom: 28px; }
  .experience-copy strong { font-size: 28px; }
  .experience-description { font-size: 14px; }
  .experience-copy > span:first-child, .experience-badge { font-size: 11px; }
  .destination-copy { left: 23px; bottom: 28px; right: 55px; }
  .destination-copy strong { font-size: 38px; }
  .destination-copy > span:last-child { font-size: 15px; max-width: 210px; }
  .round-arrow, .destination-card .round-arrow { right: 18px; bottom: 27px; }
  .story { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .story-copy { order: 1; }
  .story-copy > h2 { font-size: 46px; }
  .story-image-wrap { order: 2; height: 420px; border-radius: var(--card-radius); }
  .story-panel { min-height: 0; }
  .gallery .section-heading { flex-direction: column; align-items: flex-start; }
  .gallery .section-heading .text-link { font-size: 15px; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(220px, 60vw, 360px) 170px 170px;
  }
  .gallery-tile:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-tile .gallery-tile-caption { font-size: 12px; }
  .resort-content { padding-inline: 26px; }
  .resort-content h2 { font-size: 40px; }
  .resort-content p { max-width: 280px; }
  .resort-content .button { font-size: 14px; }
  .resort-content > .eyebrow { font-size: 11px; }
  .contact-content { flex-direction: column; align-items: stretch; gap: 32px; }
  .contact-actions { min-width: 0; width: 100%; }
  .contact-actions .button { width: 100%; }
  .contact-content h2 { font-size: clamp(46px, 11vw, 62px); }
  .contact-phone { font-size: clamp(25px, 6vw, 32px); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .footer-links h3 { font-size: 17px; }
  .footer-links a, .footer-links button { font-size: 15px; }
  .footer-top p { font-size: 15px; }
  .mobile-find-button { font-size: 14px; min-height: 56px; }
  .mobile-find-count { font-size: 12px; }

  .header-phone { font-size: 14px; gap: 5px; }
  .header-phone-number-international { display: none; }
  .header-phone-number-local { display: inline; }
  .header-phone svg { width: 17px; height: 17px; }
  .mobile-menu-button { width: 36px; height: 40px; }
  .property-detail { display: block; }
  .property-detail-image { height: 310px; }
  .property-detail-copy { padding: 28px 24px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .button { width: 100%; }
  .detail-features { gap: 14px; }
  .availability-header .eyebrow { font-size: 11px; }
}

@media (max-width: 650px) {
  .site-header .brand { gap: 3px; }
  .site-header .brand-emblem { width: 44px; height: 34px; }
  .site-header .brand-name-reference { width: 108px; height: 28px; }
  .site-footer .brand-name-reference { width: 117px; height: 30px; }
}

@media (max-width: 370px) {
  .site-header .brand-emblem { width: 29px; height: 28px; }
  .site-header .brand-name-reference { width: 92px; height: 24px; }
  .header-actions { gap: 6px; }
  .hero-copy { top: 29%; }
  .hero-search-wrap { width: calc(100% - 28px); }
  .search-bar { padding-left: 12px; }
  .destination-control { gap: 6px; }
  .destination-control select { font-size: 15px; }
  .guests-trigger { padding-inline: 8px; font-size: 14px; }
  .property-meta { font-size: 12px; }
  .property-card-copy h3 { font-size: 21px; }
  .property-card-copy { left: 17px; right: 17px; }
  .property-card-bottom { padding: 18px; }
  .property-price-row { align-items: flex-start; gap: 8px; }
  .property-price-row .price-agreement { font-size: 17px; }
  .property-badge { max-width: 126px; font-size: 11px; }
  .property-brand { font-size: 11px; }
  .catalog-bottom { flex-direction: column; }
  .catalog-bottom p { max-width: 100%; }
  .footer-links { grid-template-columns: minmax(0, 1fr); }
  .mobile-find-count { display: none; }
  .story-copy > h2 { font-size: 40px; }
  .contact-content h2 { font-size: 44px; }
  .guest-stepper > div + div { gap: 8px; }
}

/* Compact arrangement for landscape phones and short laptop windows. */
@media (max-height: 650px) {
  .site-header:not(.is-scrolled) { height: 64px; }
  .hero-search-wrap { top: 76px; }
  .search-bar { min-height: 50px; padding: 6px 7px 6px 15px; }
  .search-submit { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
  .destination-control select { font-size: 15px; padding-block: 6px; }
  .guests-trigger { font-size: 14px; padding-block: 6px; }
  .hero-copy { inset: max(140px, 40%) 20px auto; }
  .hero h1 { font-size: clamp(32px, 8dvh, 48px); line-height: 1.05; white-space: normal; }
  .hero-subtitle { font-size: 18px; line-height: 1.3; margin-top: 8px; white-space: normal; }
  .hero-cta { font-size: 13px; margin-top: 10px; }
  .hero-eyebrow, .hero-sticker, .hero-assurance { display: none; }
  .hero-bottom { left: 20px; right: 20px; bottom: 16px; }
  .hero-caption { width: 100%; justify-content: space-between; }
}

@media (max-height: 350px) {
  .site-header:not(.is-scrolled) { height: 56px; }
  .hero-search-wrap { top: 64px; }
  .hero-copy { top: max(132px, 40%); }
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; line-height: 1.2; margin-top: 6px; }
  .hero-cta { display: none; }
  .hero-bottom { bottom: 8px; }
}

.gallery-filter { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:22px; }
.gallery-filter label { font-size:16px; font-weight:600; }
.gallery-filter select { background:#fff; color:var(--brand-navy); border:1px solid #d9dce6; border-radius:14px; padding:12px 16px; font:inherit; max-width:100%; }
.gallery-grid.gallery-grid-filtered { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:260px; }
.gallery-grid-filtered .gallery-tile:first-child { grid-row:auto; }
.gallery-caption { flex-wrap:wrap; }
#gallery-property-link { width:100%; font-size:15px; }
@media(max-width:650px) { .gallery-grid.gallery-grid-filtered { grid-template-columns:1fr; grid-template-rows:repeat(3,240px); } }

/* Compact holiday categories and a catalog rail starting at the page edge. */
.stay-section .category-bar {
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 0;
  justify-content: safe center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
}
.stay-section .property-rail:not(.is-grid) {
  padding-inline: 15px;
  scroll-padding-inline: 15px;
}
.stay-section .property-rail:not(.is-grid) .property-card {
  scroll-margin-inline: 0;
}
@media (max-width: 650px) {
  .stay-section .category-bar { width: calc(100% - 40px); }
}

/* Group listings by town, with direct access to each town's results. */
.mega-menu {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
}
.mega-property-links {
  display: block;
  min-width: 0;
}
.mega-property-links button, #mobile-property-links button {
  display: block;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  font-size: 18px;
  line-height: 1.5;
  padding-block: 10px;
}
.location-groups { display: grid; grid-template-columns: 2fr 1fr; gap: 18px 48px; }
.location-group:first-child { grid-row: span 3; }
.location-properties { display: flex; flex-direction: column; }
.location-group:first-child .location-properties { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0 24px; }
.location-group h3 { margin: 0 0 5px; }
.mega-property-links .location-heading, #mobile-property-links .location-heading { font-size: 20px; font-weight: 700; color: var(--brand-navy); border: 0; }
.mega-property-links .all-properties-link, #mobile-property-links .all-properties-link { width: auto; font-size: 24px; font-weight: 700; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.location-heading:hover, .all-properties-link:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1050px) {
  #mobile-property-links .location-groups { grid-template-columns: 1fr; gap: 20px; }
  #mobile-property-links .location-group:first-child { grid-row: auto; }
  #mobile-property-links .location-group:first-child .location-properties { grid-template-columns: 1fr; }
}

/* Frosted-glass contact button over the hero photograph. */
.header-contact {
  justify-content: center;
  min-width: 96px;
  background: rgb(255 255 255 / 18%);
  border: 0;
  font-size: 16px;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  box-shadow: none;
}
.header-contact:hover { background: rgb(255 255 255 / 28%); }
.is-scrolled .header-contact,
.menu-open .header-contact {
  background: rgb(23 19 68 / 5%);
}
.is-scrolled .header-contact:hover,
.menu-open .header-contact:hover { background: rgb(23 19 68 / 9%); }

/* Only three circular indicators at the bottom of the hero. */
.hero .hero-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: max(28px, env(safe-area-inset-bottom));
}
.hero .slide-controls { gap: 16px; }
.hero .slide-dot,
.hero .slide-dot.is-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: background .2s;
}
/* Match the lettering to the visible houses, excluding image transparency. */
.site-header .brand { --logo-height: 32px; }
.site-footer .brand { --logo-height: 36px; }
.site-header .brand-emblem,
.site-footer .brand-emblem {
  width: calc(var(--logo-height) * 1104 / 681);
  height: var(--logo-height);
  -webkit-mask-size: calc(var(--logo-height) * 1564 / 681) calc(var(--logo-height) * 1006 / 681);
  mask-size: calc(var(--logo-height) * 1564 / 681) calc(var(--logo-height) * 1006 / 681);
  -webkit-mask-position: calc(var(--logo-height) * -230 / 681) calc(var(--logo-height) * -144 / 681);
  mask-position: calc(var(--logo-height) * -230 / 681) calc(var(--logo-height) * -144 / 681);
}
.site-header .brand-name-reference,
.site-footer .brand-name-reference {
  width: calc(var(--logo-height) * 286 / 74);
  height: var(--logo-height);
}
@media (max-width: 650px) {
  .site-header .brand { --logo-height: 24px; }
  .site-footer .brand { --logo-height: 30px; }
}
@media (max-width: 370px) {
  .site-header .brand { --logo-height: 22px; }
}

/* Compact, light line icons, matching the supplied reference. */
.category-button {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: #707070;
  gap: 12px;
  flex: 0 0 92px;
  min-width: 92px;
  white-space: normal;
  min-height: 90px;
  padding: 12px 8px 16px;
}
.category-button svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.category-button:hover,
.category-button[aria-pressed=true] { color: var(--ink); }

.property-type-filter { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 24px; }
.property-type-filter > span { font-size: 13px; color: var(--muted); }
#property-type-options { display: flex; justify-content: safe center; flex-wrap: wrap; gap: 8px; }
.property-type-button { padding: 10px 16px; min-height: 44px; border: 1px solid #e3e0ec; border-radius: 999px; background: #fff; font-size: 14px; }
.property-type-button:hover { border-color: var(--brand-navy); }
.property-type-button[aria-pressed=true] { color: var(--brand-navy); background: #f0e9f8; border-color: #d4c5e5; font-weight: 600; }
@media (max-width: 650px) {
  #property-type-options { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .property-type-button { flex-shrink: 0; }
}

/* Starting prices live on the photograph in a rounded lilac bubble. */
.property-card .property-card-copy { bottom: 82px; }
.property-price-bubble {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  max-width: calc(100% - 40px);
  padding: 9px 16px;
  border-radius: 999px;
  background: #e8cbea;
  color: #201b29;
  white-space: nowrap;
  line-height: 1.35;
}
.property-price-bubble small { font-size: 12px; font-weight: 400; }
.property-price-bubble strong { font-size: 20px; font-weight: 600; }
.property-price-bubble .price-agreement { font-size: 15px; }
.property-rate-note { font-size: 12px; color: #52616f; }
.property-card .property-card-bottom { gap: 10px; }
@media (max-width: 370px) {
  .property-price-bubble { right: 17px; padding: 8px 14px; }
  .property-price-bubble strong { font-size: 18px; }
  .property-price-bubble .price-agreement { font-size: 14px; }
}

/* Compact booking dialog and a catalog footer with navigation only. */
.catalog-bottom { justify-content: flex-end; }
.availability-dialog { width: 640px; padding: 10px; overflow: hidden; }
.availability-scroll { max-height: calc(92svh - 20px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.availability-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 18px; }
.availability-scroll::-webkit-scrollbar { width: 8px; }
.availability-scroll::-webkit-scrollbar-track { background: #edf5fc; border-radius: 999px; margin-block: 16px; }
.availability-scroll::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 999px; }
.availability-scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  .availability-scroll { scrollbar-width: thin; scrollbar-color: var(--blue) #edf5fc; }
}
.availability-header { padding: 14px 18px 12px; }
.availability-header h2 { font-size: clamp(26px, 3vw, 32px); margin: 6px 0 14px; padding-right: 36px; }
.availability-header select { max-width: none; padding: 10px 12px; }
.availability-tabs { margin-inline: 18px; padding-top: 0; }
.availability-tabs button { min-height: 46px; padding-block: 12px; }
.availability-frame-host { padding: 14px 10px 0; }
.availability-footer { padding: 20px 18px 16px; }
.availability-footer .availability-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 18px 0 0; background: transparent; font-size: 12px; color: #62676b; }
.availability-policy-links a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 650px) {
  .availability-dialog { width: calc(100vw - 24px); padding: 8px; }
  .availability-scroll { max-height: calc(94svh - 16px); }
  .availability-header { padding: 14px 10px 12px; }
  .availability-tabs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); margin-inline: 10px; gap: 8px; }
  .availability-dialog .availability-tabs button { padding: 10px 6px; font-size: 13px; line-height: 1.4; }
  .availability-frame-host { padding-inline: 2px; }
  .availability-footer { padding-inline: 10px; }
}

/* The stay selector sits between destination and guests. */
.hero-search-wrap { width: 660px; max-width: calc(100% - 40px); }
.destination-control { flex: 1; }
.dates-trigger { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; border-left: 1px solid var(--line); padding: 3px 22px; min-height: 44px; min-width: 170px; text-align: left; }
.dates-label { color: var(--muted); font-size: 11px; line-height: 1.2; }
#dates-summary { font-size: 14px; font-weight: 600; line-height: 1.4; }
.dates-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.dates-popover { width: 390px; }
.dates-popover label { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 600; min-width: 0; }
.dates-popover input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.dates-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.dates-actions .button { flex: 1; width: auto; }
.dates-clear { text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.search-date-note { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 650px) {
  .hero-search-wrap { width: calc(100% - 28px); max-width: 460px; }
  .search-bar { padding: 7px 7px 7px 13px; }
  .destination-control { gap: 7px; }
  .destination-control > span { display: none; }
  .destination-control select { font-size: 13px; padding-right: 5px; text-overflow: ellipsis; }
  .dates-trigger { min-width: 0; flex: 1; padding: 3px 10px; }
  #dates-summary { font-size: 12px; }
  .dates-label { font-size: 10px; }
  .guests-trigger { padding: 8px 10px; font-size: 12px; }
  .search-submit { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
  .dates-popover { width: 100%; }
  .dates-popover .form-row { gap: 12px; }
  .dates-actions { gap: 12px; }
  .dates-actions .button { font-size: 13px; }
}

@media (max-width: 370px) { .dates-popover .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Range calendar: clear arrival/departure controls and two adjacent months. */
.dates-popover { width: 660px; padding: 24px; max-width: calc(100vw - 28px); }
.calendar-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-right: 0; }
.calendar-selection button { text-align: left; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; }
.calendar-selection button[aria-pressed="true"] { border-color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--blue-dark); }
.calendar-selection small { display: block; font-size: 12px; color: var(--muted); }
.calendar-selection strong { font-size: 15px; display: block; margin-top: 3px; }
.search-popover #calendar-status { margin: 14px 0 4px; color: var(--muted); font-size: 13px; min-height: 20px; }
.calendar-navigation { display: flex; justify-content: space-between; margin-bottom: -35px; position: relative; z-index: 1; pointer-events: none; }
.calendar-navigation button { pointer-events: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.calendar-navigation svg { width: 17px; height: 17px; }
.calendar-navigation button:disabled { opacity: .3; cursor: default; }
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.calendar-month { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.calendar-month caption { font-weight: 700; text-transform: capitalize; padding: 9px 36px 18px; white-space: nowrap; }
.calendar-month th { font-size: 11px; font-weight: 500; color: var(--muted); height: 30px; }
.calendar-month td { padding: 2px 0; text-align: center; }
.calendar-month button { display: block; width: 100%; aspect-ratio: 1; min-height: 36px; padding: 0; border-radius: 50%; font-size: 14px; position: relative; }
.calendar-month button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--blue-dark); }
.calendar-month button[aria-current="date"] { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.calendar-month button[aria-pressed="true"] { background: #171344; color: white; font-weight: 700; }
.calendar-month td.in-range { background: #e9f3ff; }
.calendar-month td.range-start { background: linear-gradient(90deg, transparent 50%, #e9f3ff 50%); }
.calendar-month td.range-end { background: linear-gradient(90deg, #e9f3ff 50%, transparent 50%); }
.calendar-month td.range-start:has(button:only-child[aria-pressed="true"]) { border-radius: 50% 0 0 50%; }
.calendar-month button:disabled { color: #b8bec6; cursor: default; text-decoration: none; }
.calendar-month button:focus-visible, .calendar-selection button:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.dates-actions { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.dates-actions .button { flex: 0 1 auto; min-width: 180px; }
.empty-results .button { margin: 6px; }
.search-spinner { display: block; width: 32px; height: 32px; margin: 0 auto 20px; border: 3px solid #e1ebf4; border-top-color: var(--blue-dark); border-radius: 50%; animation: search-spin .85s linear infinite; }
@keyframes search-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .search-spinner { animation: none; } }
@media (max-width: 650px) {
  .dates-popover { width: 100%; padding: 18px; max-height: calc(100svh - 170px); overflow-y: auto; }
  .calendar-months { grid-template-columns: 1fr; gap: 24px; }
  .calendar-month:nth-child(2) { display: none; }
  .calendar-selection { gap: 8px; }
  .calendar-selection button { padding: 10px; }
  .calendar-selection strong { font-size: 13px; }
  .calendar-month caption { padding-bottom: 16px; }
  .calendar-month button { min-height: 36px; }
  .dates-actions { gap: 10px; }
  .dates-actions .button { min-width: 0; padding-inline: 13px; }
}

/* A compact footer and a neutral contact band. */
.contact-section { background: #f3f3f3; }
.contact-content h2 em { color: var(--blue); }
.site-footer { padding: 24px 0; background: #262628; color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.footer-simple { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer-owner p, .footer-credit { margin: 0; }
.footer-legal button { padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
.terms-dialog { width: 700px; }
.terms-dialog h3 { font-size: 19px; margin-top: 24px; }
.terms-dialog ul { padding-left: 20px; font-size: 15px; }
.terms-dialog li { margin: 8px 0; }
.terms-dialog li a { text-decoration: underline; text-underline-offset: 3px; }

/* Move the existing search controls into the header as the page scrolls. */
.header-search-toggle, .header-search-heading { display: none; }
.header-search-slot { min-width: 0; }
.site-header.is-scrolled { gap: 24px; }
.is-scrolled .header-actions { display: none; }
.is-scrolled .desktop-nav { flex-shrink: 0; margin: 0; }
.is-scrolled .header-search-slot { flex: 1; max-width: 700px; margin-left: auto; }
.header-search-slot .hero-search-wrap { position: relative; top: auto; left: auto; transform: none; width: 100%; max-width: none; z-index: auto; }
.header-search-slot .search-bar { min-height: 54px; padding: 6px 6px 6px 16px; border: 1px solid #e6e4eb; box-shadow: none; }
.header-search-slot .search-submit { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
.header-search-slot .destination-control select, .header-search-slot .guests-trigger { font-size: 14px; }
.header-search-slot .guests-trigger { padding-inline: 12px; }
.header-search-slot .dates-trigger { padding-inline: 14px; }
.header-search-slot #dates-summary { font-size: 13px; }
.header-search-slot .search-popover { top: calc(100% + 16px); }
.header-search-slot .dates-popover { max-height: calc(100dvh - 110px); overflow-y: auto; }

@media (max-width: 1050px) {
  .site-header.is-scrolled { gap: 12px; height: 72px; }
  .is-scrolled .brand { --logo-height: 26px; }
  .is-scrolled .desktop-nav { display: flex; margin-left: auto; }
  .is-scrolled .nav-link { font-size: 14px; gap: 5px; }
  .is-scrolled .nav-stays-icon { display: none; }
  .is-scrolled .header-search-toggle { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #e2dfeb; border-radius: 50%; }
  .header-search-toggle svg { width: 21px; height: 21px; }
  .is-scrolled .header-search-slot { position: absolute; top: 100%; left: 0; right: 0; max-width: none; width: 100%; margin: 0; background: #fff; color: var(--ink); padding: 18px 20px 24px; max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: 0 15px 30px #17134418; border-radius: 0 0 20px 20px; }
  .header-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
  .header-search-heading strong { font-size: 17px; }
  .header-search-heading .icon-button { display: grid; place-items: center; width: 36px; height: 36px; }
  .header-search-heading svg { width: 20px; height: 20px; }
  .header-search-slot .search-bar { display: grid; grid-template-columns: 1fr 48px; gap: 12px; border: 0; background: transparent; padding: 0; border-radius: 0; }
  .header-search-slot .destination-control, .header-search-slot .dates-trigger { grid-column: 1 / -1; min-height: 56px; border: 1px solid #dedbe6; border-radius: 12px; padding: 12px 16px; }
  .header-search-slot .destination-control select { width: 100%; font-size: 16px; padding: 0; }
  .header-search-slot .dates-trigger { align-items: flex-start; }
  .header-search-slot #dates-summary { font-size: 16px; }
  .header-search-slot .dates-label { font-size: 12px; }
  .header-search-slot .guests-trigger { justify-content: space-between; min-height: 52px; padding: 12px 16px; border: 1px solid #dedbe6; border-radius: 12px; font-size: 16px; }
  .header-search-slot .search-submit { width: 48px; height: 48px; }
  .header-search-slot .search-popover { position: static; margin-top: 14px; width: 100%; max-width: none; padding: 18px 0 0; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); }
  .header-search-slot .dates-popover { max-height: none; overflow: visible; }
}
@media (max-width: 650px) {
  .is-scrolled .brand { --logo-height: 22px; }
  .is-scrolled .nav-link { font-size: 12px; }
  .site-header.is-scrolled { padding-inline: 14px; gap: 8px; }
  .footer-simple { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-credit { margin-left: 0; align-self: flex-start; text-align: left; }
}
@media (max-width: 370px) {
  .is-scrolled .brand { --logo-height: 19px; }
  .site-header.is-scrolled { padding-inline: 10px; gap: 6px; }
  .is-scrolled .header-search-toggle { width: 36px; height: 36px; }
  .is-scrolled .nav-link { font-size: 11px; }
}

/* Shared display face for page, accommodation, and dialog headings. */
h1, h2, h3, h4, h5, h6,
.hero h1,
.section-heading h2,
.story-copy > h2,
.story-panel h3,
.experience-copy strong,
.destination-copy strong,
.resort-content h2,
.contact-content h2,
.property-card-copy h3,
.property-detail-copy h2,
.inquiry-dialog h2,
.privacy-dialog h2,
.availability-header h2,
.mega-menu h2,
.location-heading {
  font-family: var(--font-heading);
}

/* Filter styling follows dnevnipocitek.si's service icons and tabs. */
.stay-section .category-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  max-width: 950px;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 24px;
  overflow: visible;
}
.category-button {
  flex: none;
  min-width: 0;
  min-height: 0;
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 17px 6px 14px;
  border: 0;
  border-radius: 14px;
  color: #686868;
  text-align: center;
  font-family: 'Manrope', var(--font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  transition: color .2s, background .2s;
}
.category-button span { line-height: 1.8; }
.category-button svg { width: 34px; height: 34px; stroke-width: 1.5; }
.category-button:after { display: none; }
.category-button:hover, .category-button:focus-visible { color: #262626; background: #f3f3f3; }
.category-button:focus-visible { outline: 2px solid #787878; outline-offset: 3px; }
.category-button[aria-pressed=true] { color: #262626; background: #f3f3f3; }
.property-type-filter { display: flex; flex-direction: column; align-items: center; flex-wrap: nowrap; font-family: 'Manrope', var(--font); gap: 14px; margin-bottom: 28px; padding-top: 22px; border-top: 0; }
.property-type-filter { margin-top: 40px; padding-top: 32px; }
.type-results-summary { margin-bottom: 24px; font-size: 14px; }
.property-type-filter > span { display: block; width: 100%; color: #686868; font-size: 13px; text-align: center; }
#property-type-options { width: 100%; gap: 10px; }
.property-type-button { display: inline-flex; align-items: center; justify-content: center; height: 50px; min-height: 50px; padding: 0 30px; border: 1px solid transparent; border-radius: 20px; background: #fdfdfe; color: #262628; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; }
.property-type-button:hover { background: #ededed; border-color: #ededed; color: #262626; }
.property-type-button[aria-pressed=true] { background: #262626; border-color: #262626; color: #fff; font-weight: 400; }
@media (min-width: 768px) and (max-width: 1024px) {
  .stay-section .category-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 540px; gap: 12px; }
}
@media (max-width: 767px) {
  .stay-section .category-bar { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 0 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .category-button { flex: 0 0 102px; width: 102px; min-width: 102px; scroll-snap-align: start; }
  .property-type-button { flex-shrink: 0; }
  #property-type-options { flex-wrap: nowrap; overflow-x: auto; width: 100%; justify-content: safe center; padding-bottom: 4px; }
}
@media (max-width: 600px) {
  .category-button { padding: 14px 4px; font-size: 12px; }
  .category-button svg { width: 30px; height: 30px; }
}

/* Shared pill shape for text actions and filter buttons. */
:root { --button-radius: 999px; }
.hero-subtitle, .hero-sticker strong, .resort-mark, .detail-tagline { font-family: var(--font); }
body .button[class],
body .all-stays-button,
body .property-type-button,
.site-header .header-contact {
  border-radius: var(--button-radius);
}
body .button-blue { background: #262626; color: #fff; }
body .button-blue:hover { background: #414141; }
body .button-white, body .button-outline { background: #fff; color: #262626; border: 1px solid #e9e9e9; }
body .button-white:hover, body .button-outline:hover { background: #ededed; color: #262626; border-color: #ededed; }
body .property-type-button { height: 44px; min-height: 44px; padding-inline: 28px; font-size: 14px; }
.hero .hero-cta { min-height: 44px; padding: 12px 28px; border: 0; border-radius: var(--button-radius); background: #fff; color: #262626; }
.hero .hero-cta:hover { background: #ededed; }
.story-tabs, .availability-tabs { flex-wrap: wrap; gap: 8px; border-bottom: 0; }
.story-tabs button, .availability-tabs button {
  min-height: 44px;
  padding: 11px 24px;
  border-radius: var(--button-radius);
  background: #fff;
  color: #262626;
  font-size: 14px;
  font-weight: 400;
}
.story-tabs button:hover, .availability-tabs button:hover { background: #ededed; }
.story-tabs button[aria-selected=true], .availability-tabs button[aria-selected=true] { background: #262626; color: #fff; font-weight: 400; }
.story-tabs button[aria-selected=true]:after, .availability-tabs button[aria-selected=true]:after { display: none; }
.property-card .property-availability-button {
  width: calc(100% - 40px);
  min-height: 44px;
  margin: 0 20px 20px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--button-radius);
  background: #262626;
  color: #fff;
}
.property-card .property-availability-button:hover { background: #414141; }
.story-panel .text-link, .gallery .section-heading .text-link, .availability-footer .text-link {
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid #e9e9e9;
  border-radius: var(--button-radius);
  background: #fff;
  color: #262626;
}
.story-panel .text-link:hover, .gallery .section-heading .text-link:hover, .availability-footer .text-link:hover { background: #ededed; }

/* Neutral hover states and an authored destination menu. */
body .button-blue:hover, .property-card .property-availability-button:hover,
.search-submit:hover, .circle-button:hover, .dialog-close:hover,
.gallery-stage .circle-button:hover { background: #ededed; color: #262626; border-color: #ededed; }
.site-header .header-contact:hover { background: #ededed; color: #262626; }
.destination-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; padding: 12px 14px 12px 0; text-align: left; font-size: 14px; font-weight: 600; }
.destination-toggle > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destination-toggle svg { width: 16px; height: 16px; flex-shrink: 0; color: #686868; transition: transform .2s; }
.destination-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.hero-search-wrap .destination-popover { left: 0; right: auto; top: calc(100% + 12px); width: 300px; max-width: 100%; padding: 8px; border: 1px solid #e9e9e9; border-radius: 22px; box-shadow: 0 12px 36px #00000014; }
.destination-popover [role=option] { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 50px; padding: 13px 18px; border-radius: 15px; text-align: left; font-size: 14px; color: #262626; }
.destination-popover [role=option] svg { width: 17px; height: 17px; opacity: 0; }
.destination-popover [aria-selected=true] { background: #f3f3f3; font-weight: 600; }
.destination-popover [aria-selected=true] svg { opacity: 1; }
.destination-popover [role=option]:hover, .destination-popover [role=option]:focus-visible { background: #ededed; outline: 0; }
.mega-menu { left: 3.6vw; right: 3.6vw; top: calc(100% + 10px); width: auto; padding: 28px 32px 32px; border: 1px solid #e9e9e9; border-radius: 24px; box-shadow: 0 16px 40px #00000012; }
.mega-property-links .location-properties button, #mobile-property-links .location-properties button { padding: 10px 12px; border: 0; border-radius: 12px; color: #505050; }
.mega-property-links .location-properties button:hover, #mobile-property-links .location-properties button:hover { background: #f3f3f3; color: #262626; }
.mega-property-links .location-heading, #mobile-property-links .location-heading { padding-inline: 12px; color: #262626; font-family: var(--font); font-size: 26px; }
.mega-property-links .location-heading:hover, #mobile-property-links .location-heading:hover { background: #f3f3f3; border-radius: 12px; text-decoration: none; }
.mega-property-links .all-properties-link, #mobile-property-links .all-properties-link { padding: 10px 22px; border: 0; border-radius: 999px; background: #262626; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 500; }
.mega-property-links .all-properties-link:hover, #mobile-property-links .all-properties-link:hover { background: #ededed; color: #262626; text-decoration: none; }
@media (max-width: 1050px) {
  .header-search-slot .destination-toggle { padding: 0; font-size: 16px; }
  .header-search-slot .destination-popover { position: static; width: 100%; margin-top: 12px; padding: 8px; border: 1px solid #e9e9e9; border-radius: 18px; }
}
@media (max-width: 650px) {
  .destination-toggle { font-size: 13px; gap: 6px; padding-right: 6px; }
}

/* Search values apply immediately and stay centered within their controls. */
.hero-search-wrap .dates-trigger { justify-content: center; align-items: center; text-align: center; }
.hero-search-wrap .guests-trigger { justify-content: center; text-align: center; }
.hero-search-wrap .search-submit.is-ready { background: #50c1a2; color: #fff; border: 0; }
.hero-search-wrap .search-submit.is-pulsing { animation: search-ready-pulse 3.6s ease-in-out infinite; }
.hero-search-wrap .search-submit.is-ready:hover,
.hero-search-wrap .search-submit.is-ready:focus-visible { animation: none; opacity: 1; }
@keyframes search-ready-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@media (prefers-reduced-motion: reduce) {
  .hero-search-wrap .search-submit.is-pulsing { animation: none; }
}
.guests-popover .guest-stepper { margin-bottom: 0; }

.mega-property-links .location-properties a, #mobile-property-links .location-properties a {
  display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px;
  font-size: 18px; line-height: 1.5; color: #505050; text-align: left;
}
.mega-property-links .location-properties a:hover, #mobile-property-links .location-properties a:hover { background: #f3f3f3; color: #262626; }
.guests-popover .guest-stepper { padding-block: 4px; }

/* Clear catalog panels: photo above, name and location on white. */
.property-card-image:after { display: none; }
.property-card .property-card-bottom { justify-content: flex-start; gap: 15px; padding: 22px; }
.property-card .property-card-heading h3 { color: #18212b; font-family: var(--font); font-size: 17px; font-weight: 500; letter-spacing: -.2px; line-height: 1.55; }
.property-card-heading { display: grid; grid-template-rows: 14px auto; gap: 9px; min-height: 0; align-content: start; }
.property-card-heading h3 { grid-row: 2; align-self: start; }
.property-stars { display: inline-flex; color: #171344; font-family: var(--font); font-size: 14px; line-height: 1; letter-spacing: 2px; }
.property-card-heading .property-stars { grid-row: 1; margin-bottom: 0; align-self: start; }
.property-card-places { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; line-height: 1.5; }
.property-card-places > span { padding: 4px 10px; border-radius: 999px; background: #f1f1f1; color: #505050; }
.property-card .property-card-capacity { margin-bottom: 0; font-size: 14px; }
.property-card .property-feature-preview { font-size: 12px; }
.property-card .property-availability-button { background: #ededed; color: #18212b; font-weight: 600; }
.property-card .property-availability-button:hover { background: #e4e4e4; color: #18212b; }
.property-card .property-availability-button > span:last-child { color: #18212b; background: #fff; }
.property-card .property-availability-button svg { color: inherit; stroke: currentColor; }

/* Destination groups with direct selection of a town or one accommodation. */
.hero-search-wrap .destination-popover { width: 380px; max-height: min(520px,calc(100dvh - 200px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px; }
.destination-popover .search-place-option { gap: 12px; min-height: 68px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.destination-popover .search-place-option > svg { width: 22px; height: 22px; flex-shrink: 0; opacity: 1; }
.search-place-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.search-place-name { line-height: 1.5; }
.search-place-name > small { font-size: inherit; font-weight: 400; }
.search-place-copy > small { color: #8b8b8b; font-size: 11px; font-weight: 400; }
.search-place-town .search-place-name { font-weight: 700; }
.destination-popover .search-place-town { margin-top: 8px; border-top: 1px solid #eee; border-radius: 0; }
.search-place-stars { font-size: 11px; white-space: nowrap; }
.search-place-check { flex-shrink: 0; width: 16px; }
.destination-popover .search-place-check svg { width: 16px; height: 16px; opacity: 0; }
.destination-popover [aria-selected=true] .search-place-check svg { opacity: 1; }

/* A simple two-month calendar, without an additional selection header. */
.hero-search-wrap .dates-popover { padding: 28px; border-radius: 28px; }
.calendar-navigation { margin-bottom: -39px; }
.calendar-navigation button { width: 34px; height: 34px; color: #262626; border-color: #d9d9d9; }
.calendar-month caption { font-size: 17px; font-weight: 700; padding: 6px 36px 26px; text-transform: none; }
.calendar-month th { font-size: 11px; height: 32px; color: #555; }
.calendar-month td { padding: 0; }
.calendar-month button { border: 3px solid transparent; font-weight: 500; min-height: 40px; }
.calendar-month button[aria-current=date] { text-decoration: none; }
.calendar-month button[aria-pressed=true] { background: #fff; color: #18212b; border-color: #4398f2; font-weight: 700; }
.calendar-month button:disabled { color: #bdbdbd; text-decoration: line-through; }
.calendar-month td.in-range { background: #d9e8ff; }
.calendar-month td.range-start { background: linear-gradient(90deg,transparent 50%,#d9e8ff 50%); }
.calendar-month td.range-end { background: linear-gradient(90deg,#d9e8ff 50%,transparent 50%); }
.calendar-month button:hover:not(:disabled) { box-shadow: none; border-color: #b8d6ff; }
.calendar-month button[aria-pressed=true]:hover { border-color: #4398f2; }
.calendar-month button:focus-visible { outline: 2px solid #4398f2; outline-offset: 1px; }
@media (max-width:650px) {
  .hero-search-wrap .dates-popover { padding: 18px 14px; }
  .hero-search-wrap .destination-popover { width: 100%; max-height: min(420px,calc(100dvh - 200px)); }
  .calendar-month caption { font-size: 16px; }
}

/* A floating pill holds the existing logo, search and contact actions. */
.site-header.is-scrolled {
  top: 19px; left: 20px; right: 20px; max-width: 1520px; width: auto;
  height: 76px; margin-inline: auto; padding: 10px 24px; gap: 20px;
  border: 1px solid #e9e9e9; border-radius: 999px;
  background: rgb(255 255 255 / 96%); box-shadow: 0 8px 30px #00000010;
  backdrop-filter: blur(16px); animation: none;
}
.site-header.is-scrolled .brand { order: 0; }
.site-header.is-scrolled .header-search-slot { order: 1; margin-inline: auto; flex: 1; max-width: 660px; }
.site-header.is-scrolled .header-actions { order: 2; display: flex; flex-shrink: 0; gap: 14px; }
.site-header.is-scrolled .header-contact { display: inline-flex; background: #f1f1f1; color: #262626; padding: 11px 18px; min-height: 42px; font-size: 14px; }
.site-header.is-scrolled .header-contact:hover { background: #e8e8e8; }
.site-header.is-scrolled .header-search-toggle { order: 3; }
.site-header.is-scrolled .header-search-slot .search-bar { background: #f5f5f5; border-color: transparent; min-height: 50px; }
.stay-section .catalog-bottom { max-width: none; padding-inline: 15px; align-items: flex-end; }
.stay-section .rail-arrows .circle-button { border: 0; background: #ededed; color: #262626; }
.stay-section .rail-arrows .circle-button:hover { background: #e4e4e4; }
.property-rail, .property-rail .property-card-main { cursor: grab; }
.property-rail.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
.property-rail.is-dragging, .property-rail.is-dragging * { cursor: grabbing; user-select: none; }
.property-rail img { -webkit-user-drag: none; }
.stay-section .rail-arrows .circle-button { background: #f0f0f0; border: 0; box-shadow: none; }
.stay-section .rail-arrows .circle-button:disabled { opacity: .55; background: #f0f0f0; }
.site-header.is-scrolled .brand { margin-left: 6px; }
.site-header.is-scrolled .header-search-slot .search-bar { background: #ededed; }
.site-header.is-scrolled .header-contact { background: #e8e8e8; }
.site-header.is-scrolled .header-contact:hover { background: #dedede; }
@media (max-width:1280px) {
  .site-header.is-scrolled { gap: 16px; padding-inline: 20px; }
}
@media (max-width:1050px) {
  .site-header.is-scrolled { top: 17px; left: 12px; right: 12px; height: 66px; padding: 10px 16px; gap: 12px; }
  .site-header.is-scrolled .header-actions { margin-left: auto; gap: 8px; }
  .site-header.is-scrolled .header-contact { min-height: 38px; padding: 9px 14px; font-size: 12px; }
  .site-header.is-scrolled .header-search-toggle { display: grid; width: 40px; height: 40px; border-color: #e8e8e8; background: #f3f3f3; }
  .site-header .header-search-slot { position: absolute; order: 4; top: calc(100% + 10px); left: 0; right: 0; width: 100%; max-width: none; margin: 0; padding: 20px; border: 1px solid #e9e9e9; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px #00000012; max-height: calc(100dvh - 108px); overflow-y: auto; }
  .site-header .header-search-slot .search-bar { background: transparent; border: 0; }
}
@media (max-width:650px) {
  .site-header { gap: 6px; }
  .site-header.is-scrolled { gap: 6px; padding-inline: 14px; }
  .site-header .brand { min-height: 44px; justify-content: center; transform: translateX(3px); margin-right: 3px; }
  .site-header .header-actions, .site-header.is-scrolled .header-actions { display: flex; margin-left: auto; gap: 0; }
  .site-header .header-phone, .site-header.is-scrolled .header-phone { width: auto; min-height: 44px; gap: 5px; }
  .site-header .header-phone > [data-icon] { display: inline-flex; }
  .site-header .header-phone svg, .site-header.is-scrolled .header-phone svg { display: block; width: 17px; height: 17px; }
  .site-header.is-scrolled .header-phone > span.header-phone-number-local { display: inline; }
  .site-header .header-actions .header-contact { display: none; }
  .site-header .header-search-toggle, .site-header.is-scrolled .header-search-toggle { display: grid; flex-shrink: 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin-left: 3px; border: 0; background: var(--blue); color: #fff; }
  .site-header .header-search-toggle:hover { background: #edf0f2; color: var(--ink); }
}

/* Fixed field widths keep the separators still as dates and guest counts change. */
.hero-search-wrap .search-bar { height: 64px; min-height: 64px; padding: 8px 8px 8px 22px; gap: 0; }
.hero-search-wrap .destination-control { flex: 1 1 0; min-width: 0; }
.hero-search-wrap .destination-toggle,
.hero-search-wrap #dates-summary,
.hero-search-wrap .guests-trigger { font-size: 14px; font-weight: 500; line-height: 1.4; }
.hero-search-wrap .dates-trigger { flex: 0 0 184px; width: 184px; min-width: 184px; max-width: 184px; min-height: 44px; padding: 0 12px; }
.hero-search-wrap #dates-summary { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-search-wrap .guests-trigger { flex: 0 0 124px; width: 124px; min-width: 124px; max-width: 124px; min-height: 44px; gap: 8px; padding: 0 12px; }
.hero-search-wrap .search-submit { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
body .site-header.is-scrolled { box-shadow: 0 8px 28px rgb(0 0 0 / 12%); }
@media (min-width:1051px) {
  .site-header.is-scrolled { height: 84px; padding-block: 9px; }
  .site-header.is-scrolled .header-search-slot .search-bar { height: 64px; min-height: 64px; padding: 8px 8px 8px 22px; }
  .header-search-slot .hero-search-wrap .dates-trigger { flex: 0 0 184px; padding-inline: 12px; }
  .header-search-slot .hero-search-wrap .guests-trigger { padding-inline: 12px; }
  .header-search-slot .hero-search-wrap .search-submit { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
}
@media (max-width:650px) {
  .hero .hero-search-wrap .search-bar { height: 60px; min-height: 60px; padding: 8px 6px 8px 12px; }
  .hero .hero-search-wrap .dates-trigger { flex-basis: 124px; width: 124px; min-width: 124px; max-width: 124px; padding-inline: 5px; }
  .hero .hero-search-wrap .guests-trigger { flex-basis: 88px; width: 88px; min-width: 88px; max-width: 88px; padding-inline: 6px; }
  .hero .hero-search-wrap .destination-toggle,
  .hero .hero-search-wrap .guests-trigger { font-size: 12px; }
  .hero .hero-search-wrap .search-submit { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
}
@media (max-width:1050px) {
  .site-header .header-search-slot .search-bar { height: auto; min-height: 0; padding: 0; gap: 12px; }
  .site-header .header-search-slot .dates-trigger,
  .site-header .header-search-slot .guests-trigger { width: 100%; min-width: 0; max-width: none; min-height: 54px; flex-basis: auto; padding: 12px 16px; }
  .site-header .header-search-slot .destination-toggle,
  .site-header .header-search-slot #dates-summary,
  .site-header .header-search-slot #guests-summary,
  .site-header .header-search-slot .guests-trigger { font-size: 16px; }
}

/* Match all menu labels to the destination label. */
.stay-section .property-rail { justify-content: safe center; }
.type-results-summary { text-align: center; }
.hero-search-wrap { --search-font-size: 14px; }
.hero-search-wrap #destination-toggle,
.hero-search-wrap #dates-summary,
.hero-search-wrap #guests-summary,
.hero-search-wrap .destination-popover .search-place-name,
.site-header .header-phone,
.site-header .header-contact { font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.4; }
.hero-search-wrap #destination-toggle,
.hero-search-wrap #dates-summary,
.hero-search-wrap #guests-summary { font-size: var(--search-font-size); }
.search-place-name > small { font-weight: inherit; }
.destination-popover .search-place-option > svg { stroke-width: 1.65; }
@media (max-width:650px) {
  .hero .hero-search-wrap { --search-font-size: 12px; }
  .site-header .header-phone, .site-header .header-contact { font-size: 12px; }
}
@media (max-width:1050px) {
  .site-header .hero-search-wrap { --search-font-size: 16px; }
}


/* Photo controls stay separate from the accommodation page link. */
.property-card .property-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  background: #e8ecef;
}
.property-card-media .property-card-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.property-card-media .property-card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-card .card-photo-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: #fff;
  color: #26313b;
  box-shadow: none;
  filter: drop-shadow(0 6px 20px rgb(30 35 45 / 8%));
  cursor: pointer;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out;
}
.property-card .card-photo-arrow[data-card-photo-prev] { left: 0; border-radius: 0 30px 30px 0; }
.property-card .card-photo-arrow[data-card-photo-next] { right: 0; border-radius: 30px 0 0 30px; }
.property-card .card-photo-arrow:hover { background: #fff; }
.property-card .card-photo-arrow:focus-visible { outline-offset: -5px; }
.property-card .card-photo-arrow svg { width: 24px; height: 24px; stroke-width: 1.6; }
.property-card .card-photo-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transform: translateX(-50%);
  pointer-events: none;
}
.card-photo-dots > span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 62%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 15%);
}
.card-photo-dots > span.is-active,
.card-photo-dots > span[aria-current=true] { background: #fff; box-shadow: 0 0 0 2px rgb(0 0 0 / 35%); }
/* Keep the destination scrollbar inside the rounded menu, with inset ends. */
.hero-search-wrap .destination-popover {
  overflow: hidden;
  max-height: none;
  padding: 8px;
}
.destination-popover .destination-options {
  max-height: min(502px, calc(100dvh - 218px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border-radius: 12px;
}
.destination-options::-webkit-scrollbar { width: 8px; }
.destination-options::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 10px;
}
.destination-options::-webkit-scrollbar-thumb {
  background: #b3d5f4;
  border: 1px solid #fff;
  border-radius: 999px;
}
.destination-options::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) {
  .destination-popover .destination-options {
    scrollbar-width: thin;
    scrollbar-color: #b3d5f4 transparent;
  }
}
@media (max-width: 650px) {
  .destination-popover .destination-options {
    max-height: min(402px, calc(100dvh - 218px));
  }
}


/* DnevniPočitek photo arrows slide in over 300 ms, then settle on hover. */
@media (hover: hover) and (pointer: fine) {
  .property-card .card-photo-arrow { opacity: 0; pointer-events: none; }
  .property-card .card-photo-arrow[data-card-photo-prev] { transform: translate(-45px, -50%); }
  .property-card .card-photo-arrow[data-card-photo-next] { transform: translate(45px, -50%); }
  .property-card:hover .card-photo-arrow,
  .property-card:focus-within .card-photo-arrow { opacity: 1; pointer-events: auto; }
  .property-card:hover .card-photo-arrow[data-card-photo-prev],
  .property-card:focus-within .card-photo-arrow[data-card-photo-prev] { transform: translate(-5px, -50%); }
  .property-card:hover .card-photo-arrow[data-card-photo-next],
  .property-card:focus-within .card-photo-arrow[data-card-photo-next] { transform: translate(5px, -50%); }
  .property-card .card-photo-arrow[data-card-photo-prev]:hover,
  .property-card .card-photo-arrow[data-card-photo-next]:hover,
  .property-card .card-photo-arrow:focus-visible { transform: translate(0, -50%); }
}
.property-card .card-photo-arrow:disabled { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .property-card .card-photo-arrow { transition: none; }
}


/* Full-width destination background within the joined destinations/resort layout. */
.destinations-resort { background: #f3f4f5; padding-bottom: 80px; }
.destinations-background { background: #f3f4f5; }
.destinations-resort + .contact-section { margin-top: 0; }
@media (max-width: 650px) {
  .destinations-resort { padding-bottom: 56px; }
}


/* Capacity sits in white at the left of the photograph. */
.property-card-media .property-card-image::after {
  display: block;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(transparent, rgb(0 0 0 / 40%));
}
.property-card .property-photo-capacity {
  position: absolute;
  left: 18px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(50% - 22px);
  color: #fff;
  font: 500 14px/1.35 var(--font);
  text-shadow: 0 1px 4px rgb(0 0 0 / 45%);
}
.property-photo-capacity > svg { width: 20px; height: 20px; flex-shrink: 0; }
.property-photo-capacity strong { display: block; font-weight: 500; white-space: nowrap; }
.property-photo-capacity small { display: block; margin-top: 2px; color: #fff; font-size: 11px; white-space: nowrap; }
@media (max-width: 430px) {
  .property-card .property-photo-capacity { left: 14px; gap: 5px; font-size: 12px; }
  .property-photo-capacity > svg { width: 18px; height: 18px; }
}

/* Keep destination, dates and guests readable on narrow phones. */
@media (max-width: 1050px) {
  /* The menu opens the same compact search used above the hero. */
  .site-header .header-search-slot { padding: 0; border: 0; background: #fff; box-shadow: 0 4px 18px #00000012; }
  .site-header .header-search-heading { display: none; }
  .site-header .header-search-slot .hero-search-wrap { --search-font-size: 14px; }
  .site-header .header-search-slot .search-bar,
  .site-header.is-scrolled .header-search-slot .search-bar { display: flex; gap: 0; height: 64px; min-height: 64px; padding: 8px 8px 8px 22px; border: 0; border-radius: 50px; background: #fff; }
  .site-header .header-search-slot .destination-control { min-height: 44px; padding: 0; border: 0; border-radius: 0; }
  .site-header .header-search-slot #destination-toggle { min-height: 44px; padding: 12px 14px 12px 0; text-align: left; font-size: var(--search-font-size); }
  .site-header .header-search-slot .dates-trigger,
  .site-header .header-search-slot .guests-trigger { min-height: 44px; padding: 0 12px; border: 0; border-left: 1px solid var(--line); border-radius: 0; text-align: center; }
  .site-header .header-search-slot .dates-trigger { flex: 0 0 184px; width: 184px; align-items: center; }
  .site-header .header-search-slot .guests-trigger { flex: 0 0 124px; width: 124px; justify-content: center; }
  .site-header .header-search-slot #dates-summary,
  .site-header .header-search-slot #guests-summary { font-size: var(--search-font-size); }
  .site-header .header-search-slot .search-submit { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
  .site-header .header-search-slot .search-popover { margin-top: 0; padding: 18px 12px; }
  .site-header .header-search-slot .destination-popover { padding: 8px; }
}
@media (max-width: 370px) {
  .site-header { gap: 4px; }
  .site-header .brand-logo { width: 120px; height: 30px; }
  .site-header.is-scrolled { padding-inline: 8px; gap: 4px; }
  .site-header.is-scrolled .brand { margin-left: 0; }
  .site-header.is-scrolled .brand-logo { width: 104px; height: 26px; }
}
@media (max-width: 650px) {
  .site-header .header-search-slot { left: 14px; right: 14px; width: auto; max-width: 460px; margin-inline: auto; }
  .site-header.is-scrolled .header-search-slot { left: 1px; right: 1px; width: auto; max-width: 460px; margin-inline: auto; }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap { --search-font-size: 14px; }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 44px;
    gap: 8px 6px;
    height: auto;
    min-height: 0;
    padding: 8px 10px;
    border-radius: 24px;
  }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .destination-control {
    grid-column: 1 / -1;
    min-height: 44px;
    padding: 0 10px 6px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap #destination-toggle { min-height: 44px; padding-right: 6px; font-size: var(--search-font-size); }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .dates-trigger,
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .guests-trigger { grid-column: auto; width: auto; min-width: 0; max-width: none; min-height: 44px; padding-inline: 4px; border-radius: 0; }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .dates-trigger { padding-left: 10px; border-left: 0; align-items: flex-start; text-align: left; }
  :is(.hero, .site-header .header-search-slot) .hero-search-wrap .search-submit { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .hero .hero-search-wrap .search-popover { top: calc(100% + 12px); max-height: calc(100dvh - 248px); overflow-y: auto; overscroll-behavior: contain; }
  .hero .hero-search-wrap .destination-popover { overflow: hidden; }
  .hero .destination-popover .destination-options { max-height: min(402px, calc(100dvh - 266px)); }
  .hero .hero-copy { top: max(250px, 36%); }
}
@media (max-height: 650px) {
  .hero .hero-search-wrap .search-popover { top: calc(100% + 12px); max-height: calc(100dvh - 176px); overflow-y: auto; overscroll-behavior: contain; }
  .hero .hero-search-wrap .destination-popover { overflow: hidden; }
  .hero .destination-popover .destination-options { max-height: calc(100dvh - 194px); }
}
@media (max-width: 650px) and (max-height: 650px) {
  .hero .hero-copy { top: max(220px, 44%); }
  .hero .hero-search-wrap .search-popover { max-height: calc(100dvh - 224px); }
  .hero .destination-popover .destination-options { max-height: calc(100dvh - 242px); }
}

/* Availability belongs to the search calendar only; reservation widgets stay unchanged. */
#dates-popover[data-property-calendar="true"] .calendar-month button[data-inventory="unavailable"] { background: #fae9e3; color: #9b594d; }
#dates-popover[data-property-calendar="true"] .calendar-month button[data-unavailable-reveal][aria-pressed="false"] { animation: calendar-unavailable-reveal 420ms cubic-bezier(.22, 1, .36, 1) var(--availability-reveal-delay, 0ms) both; }
@keyframes calendar-unavailable-reveal {
  from { background-color: transparent; color: #18212b; }
  to { background-color: #fae9e3; color: #9b594d; }
}
#dates-popover[data-property-calendar="true"] .calendar-month button[data-inventory="unknown"] { background: #f1f2f0; color: #747b72; }
#dates-popover[data-property-calendar="true"] .calendar-month button { width: calc(100% - 4px); min-height: 36px; margin-inline: auto; border-width: 3px; background-clip: padding-box; }
#dates-popover[data-property-calendar="true"] .calendar-month button[aria-disabled="true"] { cursor: not-allowed; }
#dates-popover[data-property-calendar="true"] .calendar-month button[aria-disabled="true"][data-inventory="available"] { color: #73777d; }
#dates-popover[data-property-calendar="true"] .calendar-month button:disabled { background: transparent; color: #b7bcb3; }
#dates-popover[data-property-calendar="true"] .calendar-month button[data-inventory="unavailable"][aria-disabled="true"]:hover { border-color: #e5b9aa; }
#dates-popover[data-property-calendar="true"] .calendar-month button[aria-pressed="true"] { background: #fff; color: #18212b; border-color: #4398f2; }
#dates-popover[data-range-invalid="true"] .calendar-month button[aria-pressed="true"] { border-color: #b87563; }
#dates-popover .search-calendar-info { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e3e7df; text-align: left; }
#dates-popover .search-calendar-property { color: #354432; font-size: 13px; font-weight: 600; line-height: 1.45; }
#dates-popover .search-calendar-feedback { margin: 5px 0 0; color: #56634f; font-size: 12px; line-height: 1.5; }
#dates-popover .search-calendar-feedback[data-error="true"] { color: #964d3d; }
#dates-popover .search-calendar-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: #777e72; font-size: 11px; line-height: 1.5; }
#dates-popover .search-calendar-info[data-state="loading"] .search-calendar-state > span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border: 1.5px solid #ccd8c5; border-top-color: #55734b; border-radius: 50%; vertical-align: -1px; animation: search-spin 1s linear infinite; }
#dates-popover .search-calendar-retry { flex: 0 0 auto; min-height: 32px; padding: 5px 2px; color: #40613c; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
#dates-popover .search-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; color: #697160; font-size: 10px; line-height: 1.4; }
#dates-popover .search-calendar-legend > span { display: inline-flex; align-items: center; gap: 6px; }
#dates-popover .search-calendar-legend i { width: 9px; height: 9px; border-radius: 50%; }
#dates-popover .search-calendar-legend .is-unavailable { background: #e8bcb0; }
#dates-popover .search-calendar-info[hidden], #dates-popover .search-calendar-retry[hidden] { display: none; }
@media (max-width:650px) {
  #dates-popover .search-calendar-info { margin-top: 14px; padding-top: 13px; }
  #dates-popover .search-calendar-legend { gap: 8px 13px; font-size: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  #dates-popover[data-property-calendar="true"] .calendar-month button[data-unavailable-reveal] { animation: none; }
  #dates-popover .search-calendar-info[data-state="loading"] .search-calendar-state > span::before { animation: none; }
}
