/*
 * DomkiPodhale redesign layer. Loaded last in <head>.
 *
 * Direction: cold Tatra palette (spruce, moss, snow, granite, larch), left-aligned
 * layouts, Bricolage Grotesque headings, and one signature element: the Tatra ridge
 * line that closes the hero and opens the footer.
 *
 * !important is used only where styles.css, mobile-ux.css, typography.css or inline
 * template styles already force a value.
 */

:root {
  --dp-spruce: #16382b;
  --dp-moss: #2c6a4e;
  --dp-moss-dark: #215440;
  --dp-moss-tint: #e4eee8;
  --dp-snow: #f4f6f3;
  --dp-white: #fff;
  --dp-ink: #1b2a24;
  --dp-granite: #55615b;
  --dp-line: #d9dfda;
  --dp-larch: #8a5c16;
  --dp-larch-tint: #f5ecdc;
  --dp-heart: #c4342f;

  --dp-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --dp-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --dp-radius: 14px;
  --dp-radius-small: 8px;
  --dp-gutter: clamp(16px, 4vw, 40px);
  --dp-section: clamp(56px, 8vw, 104px);
  --dp-ridge-height: clamp(44px, 8.4vw, 120px);

  --font-family: var(--dp-sans);
  --tblr-font-sans-serif: var(--dp-sans);
  --tblr-body-font-family: var(--dp-sans);
  --green: var(--dp-moss);
  --color-primary-light: var(--dp-moss);
}

/* ---------- Base ---------- */

html {
  scroll-padding-top: calc(var(--header-height, 68px) + 16px);
}

body,
button,
input,
select,
textarea,
.btn,
.button {
  font-family: var(--dp-sans) !important;
}

body {
  background: var(--dp-snow) !important;
  color: var(--dp-ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.faq-title,
.page-title,
.modal-title,
.footer-title {
  font-family: var(--dp-display) !important;
  letter-spacing: -0.015em;
  color: var(--dp-spruce);
}

p,
li {
  font-size: inherit;
  line-height: 1.6;
}

a {
  color: var(--dp-moss-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--dp-larch) !important;
  outline-offset: 2px;
}

.page-body {
  display: contents;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 12px 16px;
  border-radius: var(--dp-radius-small);
  background: var(--dp-spruce);
  color: #fff;
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  color: #fff;
  transform: none;
}

#main-content {
  display: block;
  height: 0;
  outline: 0;
}

.section-divider {
  background: var(--dp-line) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Buttons ---------- */

.btn-primary,
.search-btn,
.search-submit-btn,
.hero .search-box button.search-btn,
.btn-see-more,
.load-more-btn,
.book-button,
.property-phone-cta-btn {
  background: var(--dp-moss) !important;
  background-image: none !important;
  border: 1px solid var(--dp-moss) !important;
  border-radius: var(--dp-radius-small) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  min-height: 48px;
}

.btn-primary:hover,
.search-btn:hover,
.btn-see-more:hover,
.load-more-btn:hover,
.book-button:hover,
.property-phone-cta-btn:hover {
  background: var(--dp-moss-dark) !important;
  border-color: var(--dp-moss-dark) !important;
  transform: none !important;
}

.btn-secondary {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--dp-moss) !important;
  border-radius: var(--dp-radius-small) !important;
  box-shadow: none !important;
  color: var(--dp-moss-dark) !important;
  font-weight: 600 !important;
  min-height: 44px;
}

.btn-see-more {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 24px !important;
}

/* ---------- Header ---------- */

.header {
  background: var(--dp-white) !important;
  border-bottom: 1px solid var(--dp-line);
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.header-container {
  max-width: 1440px;
  padding-inline: var(--dp-gutter) !important;
}

.nav-link {
  border-radius: var(--dp-radius-small) !important;
  color: var(--dp-ink) !important;
  font-weight: 500 !important;
}

.nav-link:hover {
  background: var(--dp-moss-tint) !important;
  color: var(--dp-moss-dark) !important;
}

.nav-link-active {
  background: transparent !important;
  color: var(--dp-moss-dark) !important;
  box-shadow: inset 0 -2px 0 var(--dp-moss);
  border-radius: 0 !important;
}

.nav-menu .btn-primary {
  background: transparent !important;
  border-color: var(--dp-moss) !important;
  color: var(--dp-moss-dark) !important;
  min-height: 44px;
}

.nav-menu .btn-primary:hover {
  background: var(--dp-moss-tint) !important;
  border-color: var(--dp-moss) !important;
}

.mobile-menu-toggle-main {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--dp-radius-small) !important;
}

.gtranslate_wrapper select,
.gt_selector {
  min-height: 44px;
  border-color: var(--dp-line) !important;
  border-radius: var(--dp-radius-small) !important;
  background-color: transparent !important;
}

/* ---------- Hero: the signature ridge line ---------- */

.hero {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  min-height: clamp(600px, 88vh, 840px) !important;
  padding: 0 0 calc(var(--dp-ridge-height) + 8px) !important;
  background: var(--dp-spruce);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 30, 22, 0.15) 0%, rgba(10, 30, 22, 0.35) 45%, rgba(10, 30, 22, 0.72) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: var(--dp-ridge-height);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f6f3' d='M0 120V86l70-16 50 12 70-34 35 14 65-38 32 20 50-30 30 24 56-32 38 28 52-16 42 28 65-36 35 26 62-14 46 32 62-22 48 26 62-28 40 22 68-12 50 26 72-16 62 22 68-10 60 18 50-8v48z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.hero__slider,
.hero__slides,
.hero__bg {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.hero__bg {
  object-fit: cover;
  object-position: center 40%;
}

.hero__nav {
  z-index: 3;
  top: 38% !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(10, 30, 22, 0.35) !important;
}

.hero__dots {
  display: none !important;
}

.hero__content {
  position: relative !important;
  z-index: 3;
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
  padding-inline: var(--dp-gutter) !important;
  text-align: left !important;
}

.hero-title {
  max-width: 13em;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(2.5rem, 6vw, 4.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em;
  text-align: left !important;
  text-shadow: 0 1px 24px rgba(10, 30, 22, 0.45);
}

.hero-subtitle {
  max-width: 34em;
  margin: 0 0 28px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem) !important;
  text-align: left !important;
  text-shadow: 0 1px 12px rgba(10, 30, 22, 0.5);
}

/* ---------- Search box ---------- */

.hero .search-box-container,
.hero .search-box {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.search-form-container {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: 0 18px 50px rgba(10, 30, 22, 0.28) !important;
  padding: 8px !important;
}

.search-field,
.date-range-single {
  border: 0 !important;
  border-radius: var(--dp-radius-small) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.search-field:hover {
  background: var(--dp-snow) !important;
}

.search-field-divider {
  background: var(--dp-line) !important;
}

.date-range-single #search_date_range,
.date-range-single .sb-field {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.sb-field__title,
.hero .sb-field__title {
  color: var(--dp-granite) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.sb-field__value,
.sb-field__placeholder,
.hero .sb-field__value,
.hero .sb-field__placeholder,
.hero .location-text,
.hero .date-display-simple,
.hero .filter-show,
.hero .filter-show span,
.adult-text {
  color: var(--dp-ink) !important;
  font-size: 1.0625rem !important;
  font-weight: 500 !important;
}

.seo-links-buttons.hero__chips {
  justify-content: flex-start !important;
  margin-top: 16px !important;
}

.hero .seo-link-button {
  min-height: 44px;
  padding: 8px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 999px !important;
  background: rgba(10, 30, 22, 0.35) !important;
  backdrop-filter: none !important;
  color: #fff !important;
  font-weight: 500 !important;
}

.hero .seo-link-button:hover {
  background: #fff !important;
  color: var(--dp-spruce) !important;
}

/* ---------- Home sections ---------- */

.home-section {
  padding-block: var(--dp-section);
}

.home-section--white {
  background: var(--dp-white);
}

.home-section__header {
  max-width: 44rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.home-section__title {
  margin: 0 0 8px;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.home-section__lead {
  margin: 0;
  color: var(--dp-granite);
  font-size: 1.125rem;
}

/* Destination tiles: photo first, name on the photo */

.destination-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.destination-tile {
  position: relative;
  display: block;
  grid-column: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--dp-radius);
  background: var(--dp-spruce);
  color: #fff !important;
  text-decoration: none !important;
}

.destination-tile:first-child {
  grid-column: span 3;
  aspect-ratio: 5 / 4;
}

.destination-tile:nth-child(2) {
  grid-column: span 3;
  aspect-ratio: 5 / 4;
}

.destination-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-tile:hover img {
  transform: scale(1.03);
}

.destination-tile__text {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 20px 18px;
  background: linear-gradient(180deg, rgba(10, 30, 22, 0) 0%, rgba(10, 30, 22, 0.78) 100%);
}

.destination-tile__name {
  display: block;
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.destination-tile__desc {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Place guide: a plain reading list, no cards */

.place-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 5vw, 72px);
}

.place-guide__item {
  padding-block: 20px;
  border-top: 1px solid var(--dp-line);
}

.place-guide__name {
  margin: 0 0 6px !important;
  font-size: 1.375rem !important;
  font-weight: 700 !important;
}

.place-guide__name a {
  color: inherit;
  text-decoration: none;
}

.place-guide__name a:hover {
  text-decoration: underline;
}

.place-guide__text {
  margin: 0 0 8px;
  color: var(--dp-granite);
}

.place-guide__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Property cards everywhere */

.featured-properties-section {
  padding-block: var(--dp-section) !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

.featured-section-header,
.section-header {
  max-width: 44rem;
  margin: 0 0 clamp(24px, 4vw, 40px) !important;
  text-align: left !important;
}

.featured-section-title,
.section-header .section-title {
  margin: 0 0 8px !important;
  color: var(--dp-spruce) !important;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.featured-section-description,
.section-subtitle,
.section-header .section-subtitle {
  color: var(--dp-granite) !important;
  font-size: 1.125rem !important;
  text-align: left !important;
}

.featured-properties-grid,
.properties-grid:not(.domki-explore-grid) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.6vw, 32px) !important;
}

.featured-property-card,
.property-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 0 !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
  outline: 1px solid var(--dp-line);
  outline-offset: -1px;
  transform: none !important;
  transition: outline-color 0.15s ease !important;
}

.featured-property-card:hover,
.property-card:hover {
  box-shadow: none !important;
  outline-color: var(--dp-moss);
}

.featured-property-card::after {
  display: none !important;
}

.featured-property-card .property-image,
.property-card .property-image {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 !important;
  object-fit: cover;
}

.featured-property-card .property-image img,
.property-card .property-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.property-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px !important;
}

.featured-property-header,
.property-card__header,
.property-content > div:first-child {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.property-title,
.featured-property-title,
.property-card__title,
.featured-property-card .property-title {
  margin: 0 !important;
  min-height: 0 !important;
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.property-location,
.featured-property-card .property-location {
  margin: 0 !important;
  color: var(--dp-granite) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

.property-short-description,
.destination-description,
.featured-property-card .property-short-description {
  display: -webkit-box !important;
  margin: 4px 0 0 !important;
  overflow: hidden;
  color: var(--dp-granite) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* A card shows at most three tags; the full list is on the property page. */
.property-categories {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px !important;
  margin: 4px 0 !important;
}

.property-categories .property-category-badge:nth-child(n + 4) {
  display: none !important;
}

.property-category-badge,
.featured-property-card .property-category-badge {
  padding: 2px 8px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--dp-moss-tint) !important;
  color: var(--dp-moss-dark) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.booking-badge,
.presentation-badge,
.property-mode-badge,
.property-mode-badge span,
.booking-badge span,
.presentation-badge span {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

.booking-badge,
.property-mode-booking {
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--dp-moss-tint) !important;
  color: var(--dp-moss-dark) !important;
}

.presentation-badge,
.property-mode-presentation {
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--dp-larch-tint) !important;
  color: var(--dp-larch) !important;
}

.featured-property-card .property-mode-badge,
.property-card .booking-badge,
.property-card .presentation-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px !important;
}

.property-info {
  color: var(--dp-granite) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
}

.property-price--cta {
  margin-top: auto !important;
  padding-top: 8px;
}

.property-card-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--dp-moss) !important;
  border-radius: var(--dp-radius-small) !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--dp-moss-dark) !important;
  font-weight: 600 !important;
}

.property-card:hover .property-card-cta {
  background: var(--dp-moss) !important;
  color: #fff !important;
}

.property-fav-btn {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
}

.section-footer {
  margin-top: clamp(24px, 4vw, 40px) !important;
  text-align: left !important;
}

/* Browse by feature */

.category-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 var(--dp-gutter) var(--dp-section) !important;
  justify-content: flex-start !important;
}

.category-button {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 999px !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-weight: 500 !important;
}

.category-button:hover {
  border-color: var(--dp-moss) !important;
  background: var(--dp-moss-tint) !important;
  color: var(--dp-moss-dark) !important;
  transform: none !important;
}

/* Spruce band replacing the old grey parallax block */

.section-highlight.section-parallax {
  min-height: 0 !important;
  padding-block: clamp(48px, 7vw, 88px) !important;
  background: var(--dp-spruce) !important;
  background-image: none !important;
}

.section-parallax-overlay {
  display: none !important;
}

.section-highlight .section-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-inline: var(--dp-gutter) !important;
  text-align: left !important;
}

.section-title-light {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem) !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.section-text-light {
  max-width: 40em;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.125rem !important;
  text-align: left !important;
}

.recent-properties-section,
.recent-blog-section {
  padding-block: var(--dp-section) !important;
  background: transparent !important;
}

.recent-blog-section {
  background: var(--dp-white) !important;
}

/* Blog cards */

.blog-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.6vw, 32px) !important;
}

.blog-post-card {
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.blog-post-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--dp-radius) !important;
  object-fit: cover;
}

.blog-post-content {
  padding: 14px 0 0 !important;
}

.blog-post-title,
.blog-post-title a,
.blog-post-card .blog-post-title a {
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 1.3125rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.blog-post-excerpt,
.blog-post-card .blog-post-excerpt {
  color: var(--dp-granite) !important;
}

.blog-post-category,
.blog-post-card .blog-post-category {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--dp-larch) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

/* FAQ: heading on the left, answers on the right */

.faq-section {
  padding-block: var(--dp-section) !important;
  background: transparent !important;
}

.faq-section > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.faq-header {
  position: sticky;
  top: calc(var(--header-height, 68px) + 24px);
  margin: 0 !important;
  text-align: left !important;
}

.faq-title {
  margin: 0 0 8px !important;
  font-size: clamp(1.875rem, 3vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.faq-subtitle {
  color: var(--dp-granite) !important;
  text-align: left !important;
}

.faq-list {
  max-width: none !important;
  margin: 0 !important;
}

.faq-item {
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--dp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.faq-question {
  width: 100%;
  min-height: 56px;
  padding: 14px 0 !important;
  background: transparent !important;
  color: var(--dp-spruce) !important;
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.faq-answer,
.faq-answer > div {
  color: var(--dp-granite) !important;
  font-size: 1.0625rem !important;
  padding-inline: 0 !important;
}

/* ---------- Listing page ---------- */

.domki-explore-links {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.domki-explore-links__title {
  font-size: 1.625rem !important;
  font-weight: 700 !important;
}

.domki-explore-links__chip {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  border-color: var(--dp-line) !important;
  border-radius: 999px !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
}

.domki-explore-links__cta-card {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
}

.results-header__title,
.domki-explore-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
  font-weight: 700 !important;
}

.breadcrumb a,
.breadcrumb-item a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--dp-moss-dark) !important;
}

/* ---------- Property page ---------- */

.property-gallery {
  align-content: start;
}

.gallery-main,
.gallery-thumbnail {
  background: var(--dp-moss-tint);
}

.property-header .property-title {
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em;
}

.property-section > .section-title,
.attractions-section > .section-title,
.property-section .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--dp-spruce) !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.property-section .section-title > i {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dp-moss) !important;
  font-size: 1.5rem !important;
}

.property-detail-item,
.property-related-links__card,
.weather-widget,
.booking-card {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
}

.property-detail-icon {
  background: var(--dp-moss-tint) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--dp-moss-dark) !important;
}

.property-description-text {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.property-description-text h2,
.property-description-text h3,
.property-description-text h4 {
  margin: 1.4em 0 0.4em;
  font-size: 1.25rem;
}

.property-quicknav__btn {
  min-height: 44px;
  border-radius: var(--dp-radius-small) !important;
  box-shadow: none !important;
}

/* Contact is the main task on this page, so it comes first in the bar. */
.property-quicknav__btn[data-target="inquiry-form-section"] {
  order: -1;
  background: var(--dp-moss) !important;
  border-color: var(--dp-moss) !important;
  color: #fff !important;
}

.property-quicknav__btn[data-target="inquiry-form-section"] i,
.property-quicknav__btn[data-target="inquiry-form-section"] .property-quicknav__label {
  color: #fff !important;
}

.form-input,
.form-control {
  min-height: 48px;
  border: 1px solid #aeb8b2 !important;
  border-radius: var(--dp-radius-small) !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
}

.form-input:focus,
.form-control:focus {
  border-color: var(--dp-moss) !important;
}

.attraction-category-badge {
  font-size: 0.8125rem !important;
}

.attraction-card {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: none !important;
  transform: none !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  margin-top: var(--dp-ridge-height);
  padding-top: clamp(32px, 5vw, 56px) !important;
  background: var(--dp-spruce) !important;
  color: rgba(255, 255, 255, 0.86);
  text-align: left !important;
}

.footer::before {
  content: "";
  position: absolute;
  top: calc(var(--dp-ridge-height) * -1 + 1px);
  right: 0;
  left: 0;
  height: var(--dp-ridge-height);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%2316382b' d='M0 120V86l70-16 50 12 70-34 35 14 65-38 32 20 50-30 30 24 56-32 38 28 52-16 42 28 65-36 35 26 62-14 46 32 62-22 48 26 62-28 40 22 68-12 50 26 72-16 62 22 68-10 60 18 50-8v48z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}

.footer .container,
.footer-content {
  max-width: 1200px !important;
  padding-inline: var(--dp-gutter) !important;
}

.footer-grid {
  text-align: left !important;
}

.footer-section,
.footer-links,
.footer-links li {
  text-align: left !important;
}

.footer-title {
  color: #fff !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.footer a,
.footer-links a,
.footer-locations a,
.footer-seo-links a {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 400 !important;
}

.footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.footer-links a {
  display: inline-flex !important;
  align-items: center;
  min-height: 36px;
}

.footer-note {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 600;
}

.footer-browse {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-browse summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: #fff;
  font-family: var(--dp-display);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
}

.footer-browse__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 24px;
  padding-bottom: 16px;
  text-align: left;
}

.footer-browse__list a {
  display: flex;
  align-items: center;
  min-height: 36px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.72);
  text-align: left !important;
}

.footer-copyright,
.footer-author,
.footer-author span {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .featured-properties-grid,
  .properties-grid:not(.domki-explore-grid),
  .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .faq-section > .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-header {
    position: static;
  }
}

/* ---------- Phone ---------- */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .hero {
    min-height: 0 !important;
    padding-top: 40px !important;
  }

  .hero__nav {
    display: none !important;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.5vw, 3rem) !important;
  }

  .hero-subtitle {
    margin-bottom: 20px !important;
    font-size: 1.0625rem !important;
  }

  /* Compact search: place on its own row, dates and guests side by side. */
  .search-form-container {
    display: block !important;
    padding: 10px !important;
    border-radius: var(--dp-radius) !important;
  }

  .search-field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    margin-bottom: 8px;
  }

  .search-field-divider {
    display: none !important;
  }

  .search-field,
  .date-range-single {
    width: auto !important;
    min-width: 0;
    min-height: 60px;
    padding: 8px 12px !important;
    border: 1px solid var(--dp-line) !important;
  }

  .search-field-location,
  .filter-choose-field {
    grid-column: 1 / -1;
  }

  .search-field.arrow::after,
  .search-field .arrow-icon {
    display: none !important;
  }

  .search-submit-btn {
    width: 100%;
    min-height: 52px;
  }

  .seo-links-buttons.hero__chips {
    flex-wrap: nowrap !important;
    margin-inline: calc(var(--dp-gutter) * -1) !important;
    padding-inline: var(--dp-gutter) !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .hero .seo-link-button {
    flex: none;
  }

  .destination-grid {
    display: flex;
    gap: 10px;
    margin-inline: calc(var(--dp-gutter) * -1);
    padding-inline: var(--dp-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .destination-tile,
  .destination-tile:first-child,
  .destination-tile:nth-child(2) {
    flex: 0 0 78%;
    aspect-ratio: 4 / 5;
    scroll-snap-align: center;
  }

  .place-guide,
  .featured-properties-grid,
  .properties-grid:not(.domki-explore-grid),
  .blog-posts-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* The long gap under the gallery came from a stretched grid. */
  .property-gallery {
    display: grid !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 16px !important;
    border-radius: var(--dp-radius);
  }

  .gallery-main {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .gallery-main-image {
    height: 100% !important;
    object-fit: cover;
  }

  /* Nearby attractions: three on a phone, the link below shows the rest. */
  .attractions-grid .attraction-card:nth-child(n + 4) {
    display: none !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

/* ---------- Guest booking access ---------- */

.booking-access {
  max-width: 30rem;
  margin: 0 auto;
  padding: var(--dp-section) var(--dp-gutter);
}

.booking-access__title {
  margin: 0 0 8px;
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  font-weight: 700;
}

.booking-access__lead {
  margin: 0 0 20px;
  color: var(--dp-granite);
}

.booking-access__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.booking-access__error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--dp-radius-small);
  background: #fbeceb;
  color: #8f231f;
}

.booking-access__submit {
  width: 100%;
  margin-top: 12px;
}

/* ---------- Corrections after reviewing stage screenshots ---------- */

.hero .container.hero__content {
  align-items: flex-start !important;
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: var(--dp-gutter) !important;
}

.hero .search-box-container {
  justify-content: flex-start !important;
  width: 100% !important;
}

.hero .search-box {
  width: 100% !important;
  border-radius: 0 !important;
}

.hero .search-box .search-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.search-form-container .search-field-wrapper {
  flex: 1;
  min-width: 0;
}

#two-inputs #search_date_range {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.property-card .property-title,
.property-card .property-card__title,
.property-card .property-card__header {
  height: auto !important;
  min-height: 0 !important;
}

.destination-tile:nth-child(3):last-child {
  grid-column: span 6;
  aspect-ratio: 21 / 8;
}

@media (max-width: 768px) {
  .hero .search-box .search-field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero .search-box .search-field {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding: 8px 12px !important;
  }

  .hero .search-box .search-field-location,
  .hero .search-box .filter-choose-field {
    grid-column: 1 / -1 !important;
  }

  .destination-tile:nth-child(3):last-child {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 768px) {
  .hero .search-box .search-field-dates,
  .hero .search-box .search-field-guests {
    grid-column: auto !important;
    align-items: flex-start !important;
  }

  #two-inputs #search_date_range,
  #two-inputs .sb-field {
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
  }

  .hero .search-box .search-field {
    min-height: 60px !important;
    height: auto !important;
  }

  .hero .adult-text,
  .hero .child-box {
    white-space: nowrap;
  }

  .hero .seo-links-buttons.hero__chips {
    width: calc(100% + var(--dp-gutter) * 2) !important;
    max-width: none !important;
    margin-inline: calc(var(--dp-gutter) * -1) !important;
  }
}

/* ---------- Final polish ---------- */

.featured-section-title {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.featured-properties-section::before,
.featured-properties-section::after,
.featured-section-header::before,
.featured-section-header::after {
  display: none !important;
}

.featured-section-header,
.section-header,
.featured-section-description,
.section-subtitle {
  padding-inline: 0 !important;
  margin-inline: 0 !important;
}

.property-categories {
  flex-direction: row !important;
  align-items: flex-start !important;
}

.property-categories .property-category-badge {
  display: inline-flex !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .hero .search-box #two-inputs {
    grid-column: auto !important;
    width: auto !important;
  }
}

/* ---------- Property page v2 ----------
 * One job: help a guest decide quickly and get in touch. Name, place and the main action
 * come first; key facts sit in one strip; the contact card in spruce is the only loud
 * element. Everything else is plain text on the snow background.
 */

.pd-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.property-detail-page {
  max-width: 1320px;
  padding-top: 8px;
}

.pd-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

/* Title row */
.property-detail-page .property-header {
  align-items: flex-end;
  gap: 24px;
  margin: 0 !important;
}

.property-detail-page .property-header .property-title {
  margin: 0 0 10px;
  font-family: var(--dp-display);
  font-size: clamp(30px, 3.4vw, 46px) !important;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dp-spruce);
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.pd-meta .property-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--dp-ink) !important;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--dp-line);
  text-underline-offset: 4px;
}

.pd-meta .property-location:hover {
  text-decoration-color: var(--dp-moss);
}

.pd-meta .property-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--dp-moss);
}

.pd-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dp-ink);
  font-size: 16px;
  text-decoration: none;
}

.pd-rating svg {
  width: 16px;
  height: 16px;
  fill: var(--dp-larch);
}

.pd-rating span {
  color: var(--dp-granite);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Tags: quiet descriptors, not buttons. */
.property-detail-page .property-header .property-categories {
  margin-top: 14px;
}

.property-detail-page .property-category-label {
  padding: 4px 11px;
  background: transparent !important;
  border: 1px solid var(--dp-line) !important;
  color: var(--dp-granite) !important;
  font-size: 14px;
  font-weight: 500;
}

.property-detail-page .property-category-label i {
  display: none;
}

.property-categories.is-collapsed .property-category-label.is-overflow,
.amenities-categories.is-collapsed .amenity-category.is-overflow {
  display: none !important;
}

.property-detail-page .property-collapse-toggle {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 0 !important;
  color: var(--dp-moss) !important;
  font-size: 15px !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none !important;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.property-detail-page .property-collapse-toggle--amenities {
  margin-top: 8px;
  padding: 12px 20px !important;
  color: var(--dp-ink) !important;
  text-decoration: none;
  border: 1px solid var(--dp-ink);
  border-radius: 10px !important;
}

/* Actions */
.property-detail-page .property-header-actions {
  gap: 10px;
  align-items: center;
}

.pd-cta {
  min-height: 48px;
  padding: 12px 22px;
  background: var(--dp-spruce);
  color: #fff;
  font-family: var(--dp-sans);
  font-size: 16px;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.pd-cta:hover {
  background: var(--dp-moss-dark);
}

.pd-cta:focus-visible,
.pd-share__toggle:focus-visible,
.pd-action__primary:focus-visible,
.pd-mobile-bar__primary:focus-visible,
.pd-readmore:focus-visible {
  outline: 3px solid var(--dp-larch);
  outline-offset: 2px;
}

.property-detail-page .favorite-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--dp-line);
  border-radius: 10px;
  background: #fff;
}

.pd-share {
  position: relative;
}

.pd-share__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--dp-ink);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.pd-share__toggle::-webkit-details-marker {
  display: none;
}

.pd-share[open] .pd-share__toggle {
  border-color: var(--dp-ink);
}

.pd-share .share-buttons {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid !important;
  grid-template-columns: repeat(3, 44px);
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(22, 56, 43, 0.16);
}

.pd-share .share-btn {
  width: 44px;
  height: 44px;
}

/* Gallery */
.property-detail-page .property-gallery {
  margin: 0 !important;
}

.property-detail-page .gallery-main {
  position: relative;
}

.pd-gallery-all {
  display: none;
}

/* Two columns on wide screens: content and the contact card. */
@media (min-width: 1025px) {
  .property-detail-page .property-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(40px, 5vw, 72px);
    margin-top: 28px;
  }

  .property-detail-page .property-sidebar {
    top: 96px;
    align-self: start;
  }
}

/* The contact card and the phone bar already lead to every section that matters. */
.property-detail-page .property-quicknav {
  display: none !important;
}

.property-detail-page .property-sidebar .booking-card {
  position: static;
}

/* Key facts in one strip */
.property-detail-page .property-main .pd-facts-section {
  margin: 0 !important;
  padding: 0 !important;
}

.property-detail-page .property-main .pd-facts-section + .section-divider {
  display: none;
}

.pd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--dp-line);
  border-bottom: 1px solid var(--dp-line);
}

.pd-fact {
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid var(--dp-line);
}

.pd-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.pd-fact dt {
  margin: 0 0 2px;
  color: var(--dp-granite);
  font-size: 14px;
  font-weight: 500;
}

.pd-fact dd {
  margin: 0;
  color: var(--dp-ink);
  font-family: var(--dp-display);
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}

/* Section rhythm: one spacing, one divider, no boxes around every block. */
.property-detail-page .property-main .property-section:not(.pd-facts-section),
.property-detail-page .property-main #property-rules-section,
.property-detail-page .property-main #property-faq-section,
.property-detail-page .property-main #inquiry-form-section,
.property-detail-page .property-main #special-offers-section {
  margin: 0 !important;
  padding: 44px 0 0 !important;
}

.property-detail-page .property-main .section-divider {
  height: 1px;
  margin: 44px 0 0 !important;
  background: var(--dp-line);
  border: 0;
}

.property-detail-page .property-main .section-title {
  margin: 0 0 18px !important;
  font-size: clamp(23px, 2.2vw, 29px) !important;
}

/* Fees */
.pd-fees {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--dp-line);
}

.pd-fees li {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(140px, auto);
  align-items: baseline;
  gap: 4px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--dp-line);
}

.pd-fees__name {
  color: var(--dp-ink);
  font-weight: 600;
}

.pd-fees__value {
  color: var(--dp-ink);
  font-variant-numeric: tabular-nums;
}

.pd-fees__note {
  color: var(--dp-granite);
  font-size: 15px;
  text-align: right;
}

/* Description: readable measure; long text folds. */
.property-detail-page .pd-desc .property-description-text {
  max-width: 68ch;
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.property-detail-page .pd-desc .property-description-text * {
  color: inherit;
  font-size: inherit;
}

.pd-desc.is-clamped .property-description-text {
  max-height: 16em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}

.property-detail-page .pd-readmore {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

.pd-readmore {
  margin-top: 12px;
  padding: 8px 0;
  color: var(--dp-moss);
  font-family: var(--dp-sans);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Amenities: a plain list in columns. */
.property-detail-page .amenities-categories {
  display: block !important;
}

.property-detail-page .amenity-category {
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.property-detail-page .amenity-category-title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--dp-granite) !important;
  font-family: var(--dp-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: 0 !important;
}

.property-detail-page .amenity-category-title i {
  display: none;
}

.property-detail-page .amenities-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px 24px !important;
}

.property-detail-page .amenity-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 0 !important;
  padding: 4px 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.property-detail-page .amenity-icon {
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  flex-shrink: 0;
}

.property-detail-page .amenity-name {
  color: var(--dp-ink) !important;
  font-size: 16px !important;
}

/* Rooms: white cards on snow, like the rest of the page. */
.property-detail-page .room-card {
  background: #fff !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

/* Map filter: a quiet line of options, not a second panel. */
.property-detail-page #attractionsLegend {
  margin-top: 16px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

.property-detail-page #attractionsLegend > div:first-child {
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px !important;
}

.property-detail-page #attractionsLegend h3 {
  color: var(--dp-granite) !important;
  font-family: var(--dp-sans) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.property-detail-page #attractionsLegend h3 i,
.property-detail-page #legendShowAll i,
.property-detail-page #legendHideAll i {
  display: none;
}

.property-detail-page #legendShowAll,
.property-detail-page #legendHideAll {
  padding: 4px 0 !important;
  color: var(--dp-moss) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none !important;
}

.property-detail-page #attractionsLegend > div:last-child {
  gap: 8px !important;
}

.property-detail-page #attractionsLegend > div:last-child > * {
  padding: 6px 10px !important;
  font-size: 14px !important;
  background: #fff !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .property-detail-page #attractionsLegend > div:last-child {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .property-detail-page #attractionsLegend > div:last-child > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Phone and tablet: the fixed bar carries the action. */
.pd-mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  .pd-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 950;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--dp-spruce);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.14);
  }

  .pd-mobile-bar__primary {
    flex: 1;
    min-height: 50px;
    color: var(--dp-spruce);
    font-family: var(--dp-sans);
    font-size: 17px;
    font-weight: 700;
    background: var(--dp-snow);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .pd-mobile-bar__phone {
    flex: 0 0 auto;
    display: flex;
  }

  .pd-mobile-bar .property-phone-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto !important;
    min-height: 50px !important;
    padding: 0 18px !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  .property-detail-page .pd-cta,
  .mobile-booking-show-btn,
  .property-detail-page .property-quicknav {
    display: none !important;
  }

  .property-detail-page .property-main {
    padding-bottom: 96px !important;
  }

  .property-detail-page .property-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 20px;
  }

  .property-detail-page .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* The booking panel used to shrink its form to about 250px in the middle of the screen. */
  .property-detail-page .mobile-booking-sticky-content .booking-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 560px;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (max-width: 768px) {
  .property-detail-page {
    padding-top: 0;
  }

  .pd-top {
    gap: 16px;
  }

  .pd-top .property-gallery {
    order: -1;
  }

  .property-detail-page .gallery-thumbnails {
    display: none !important;
  }

  .property-detail-page .gallery-main,
  .property-detail-page .gallery-main-image {
    border-radius: 12px;
  }

  .property-detail-page .gallery-main-image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .pd-gallery-all {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    color: #fff;
    font-family: var(--dp-sans);
    font-size: 15px;
    font-weight: 700;
    background: rgba(22, 56, 43, 0.86);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
  }

  .property-detail-page .property-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .property-detail-page .property-header .property-title {
    font-size: 31px !important;
  }

  .property-detail-page .property-header-actions {
    justify-content: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .property-detail-page .breadcrumbs {
    margin: 4px 0 12px !important;
    padding: 0 !important;
  }

  .property-detail-page .breadcrumb-list {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .property-detail-page .breadcrumb-item,
  .property-detail-page .breadcrumb-item a,
  .property-detail-page .breadcrumb-separator {
    font-size: 14px !important;
    white-space: nowrap;
  }

  .property-detail-page .breadcrumb-item-active {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pd-share .share-buttons {
    right: auto;
    left: 0;
  }

  .pd-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .pd-fact,
  .pd-fact:first-child {
    padding: 0;
    border: 0;
  }

  .pd-fees li {
    grid-template-columns: 1fr auto;
  }

  .pd-fees__note {
    grid-column: 1 / -1;
    text-align: left;
  }

  .property-detail-page .property-main .property-section:not(.pd-facts-section),
  .property-detail-page .property-main #property-rules-section,
  .property-detail-page .property-main #property-faq-section,
  .property-detail-page .property-main #inquiry-form-section,
  .property-detail-page .property-main #special-offers-section {
    padding-top: 36px !important;
  }

  .property-detail-page .property-main .section-divider {
    margin-top: 36px !important;
  }
}

@media (max-width: 420px) {
  .property-detail-page .amenities-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Search controls v2 ----------
 * One family for the date range, guests, places and filters popups. Wide screens get
 * centred dialogs; phones get sheets that rise from the bottom edge, with the action
 * at the bottom where the thumb is. The stay range reads as one continuous band.
 */

/* Dim the page instead of blurring it: blur was costly on phones and missed the content. */
html body.popup-active > *:not(.date-picker-wrapper):not(.boxShow) {
  filter: none !important;
  opacity: 1 !important;
}

html body.popup-active::before {
  background: rgba(16, 38, 29, 0.48) !important;
  backdrop-filter: none !important;
}

/* ----- Date range ----- */
html body .date-picker-wrapper {
  padding: 22px 22px 18px !important;
  color: var(--dp-ink) !important;
  font-family: var(--dp-sans) !important;
  font-size: 15px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 70px rgba(16, 38, 29, 0.28) !important;
}

html body .date-picker-wrapper .footer,
html body .date-picker-wrapper .time,
html body .date-picker-wrapper .selected-days {
  display: none !important;
}

html body .date-picker-wrapper .month-wrapper {
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

html body .date-picker-wrapper .month-wrapper table {
  border-collapse: separate !important;
  border-spacing: 0 4px !important;
}

html body .date-picker-wrapper .month-wrapper table td,
html body .date-picker-wrapper .month-wrapper table th {
  padding: 0 !important;
}

html body .date-picker-wrapper table .caption {
  height: 48px !important;
}

html body .date-picker-wrapper .month-name {
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

html body .date-picker-wrapper .week-name th {
  height: 32px !important;
  color: var(--dp-granite) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

html body .date-picker-wrapper .prev,
html body .date-picker-wrapper .next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: none !important;
  cursor: pointer;
}

/* With two months, the left one only goes back and the right one only forward. */
html body .date-picker-wrapper.two-months .month1 .next,
html body .date-picker-wrapper.two-months .month2 .prev {
  visibility: hidden !important;
}

html body .date-picker-wrapper .prev:hover,
html body .date-picker-wrapper .next:hover {
  background: var(--dp-moss-tint) !important;
}

html body .date-picker-wrapper .prev svg,
html body .date-picker-wrapper .next svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--dp-spruce) !important;
}

html body .date-picker-wrapper .month-wrapper table .day {
  width: 44px !important;
  height: 44px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: var(--dp-ink) !important;
  font-size: 16px !important;
  line-height: 44px !important;
  text-align: center;
  background: none !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

html body .date-picker-wrapper .month-wrapper table .day.valid:hover {
  background: var(--dp-moss-tint) !important;
}

html body .date-picker-wrapper .month-wrapper table .day.invalid,
html body .date-picker-wrapper .month-wrapper table .day.lastMonth,
html body .date-picker-wrapper .month-wrapper table .day.nextMonth {
  color: #b8c2bd !important;
}

html body .date-picker-wrapper .month-wrapper table .day.lastMonth,
html body .date-picker-wrapper .month-wrapper table .day.nextMonth {
  visibility: hidden !important;
}

html body .date-picker-wrapper .month-wrapper table .day.toMonth.real-today {
  box-shadow: inset 0 0 0 1px var(--dp-granite) !important;
}

/* Nights in between: one band. */
html body .date-picker-wrapper .month-wrapper table .day.checked,
html body .date-picker-wrapper .month-wrapper table .day.hovering {
  width: 100% !important;
  color: var(--dp-ink) !important;
  background: var(--dp-moss-tint) !important;
  border-radius: 0 !important;
}

html body .date-picker-wrapper .month-wrapper table .day.first-date-selected,
html body .date-picker-wrapper .month-wrapper table .day.last-date-selected {
  width: 44px !important;
  color: #fff !important;
  font-weight: 700 !important;
  background: var(--dp-spruce) !important;
  border-radius: 10px !important;
}

/* The bar with the summary and the button sits under the months (column-reverse). */
html body .date-picker-wrapper .drp_top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 0 !important;
  margin-top: 14px !important;
  padding: 14px 0 0 !important;
  line-height: 1.4 !important;
  border-top: 1px solid var(--dp-line) !important;
}

html body .date-picker-wrapper .drp_top-bar .normal-top,
html body .date-picker-wrapper .drp_top-bar .error-top,
html body .date-picker-wrapper .drp_top-bar .default-top {
  color: var(--dp-ink) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

html body .date-picker-wrapper .drp_top-bar .error-top {
  color: #b42318 !important;
}

html body .date-picker-wrapper .drp_top-bar .selection-top {
  color: var(--dp-granite) !important;
  font-weight: 500 !important;
}

html body .date-picker-wrapper .drp_top-bar .apply-btn {
  position: static !important;
  flex-shrink: 0;
  min-width: 132px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  color: #fff !important;
  font-family: var(--dp-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: var(--dp-spruce) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer;
}

html body .date-picker-wrapper .drp_top-bar .apply-btn.disabled {
  color: var(--dp-granite) !important;
  background: #e3e9e5 !important;
  cursor: not-allowed;
}

/* ----- Shared popup frame: guests, places, filters ----- */
html body .personBox.boxShow,
html body .locationBox.boxShow,
html body .filterBox.boxShow {
  color: var(--dp-ink) !important;
  font-family: var(--dp-sans) !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 28px 70px rgba(16, 38, 29, 0.28) !important;
  overflow: hidden !important;
}

html body .personBox .box-header,
html body .locationBox .box-header,
html body .filterBox .box-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
  padding: 12px 16px 12px 22px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--dp-line) !important;
}

html body .personBox .box-header .label,
html body .locationBox .box-header .label,
html body .filterBox .box-header .label {
  margin: 0 !important;
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

html body .personBox .box-header .buttonClose,
html body .locationBox .box-header .buttonClose,
html body .filterBox .box-header .buttonClose {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

html body .personBox .box-header .buttonClose:hover,
html body .locationBox .box-header .buttonClose:hover,
html body .filterBox .box-header .buttonClose:hover {
  background: var(--dp-moss-tint) !important;
}

html body .personBox .box-header .buttonClose svg,
html body .locationBox .box-header .buttonClose svg,
html body .filterBox .box-header .buttonClose svg {
  width: 14px !important;
  height: 14px !important;
}

html body .personBox .box-footer,
html body .locationBox .box-footer,
html body .filterBox .box-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 22px !important;
  background: #fff !important;
  border-top: 1px solid var(--dp-line) !important;
  box-shadow: none !important;
}

html body .personBox .box-footer .button,
html body .locationBox .box-footer .button,
html body .filterBox .box-footer .button {
  min-height: 48px !important;
  padding: 0 22px !important;
  font-family: var(--dp-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  cursor: pointer;
}

html body .personBox .box-footer .buttonClose,
html body .locationBox .box-footer .buttonClose,
html body .filterBox .box-footer .buttonClose,
html body .filterBox .box-footer .buttonApplyFilters {
  margin-left: auto !important;
  color: #fff !important;
  background: var(--dp-spruce) !important;
  border: 0 !important;
}

html body .personBox .box-footer {
  border-top: 0 !important;
}

html body .filterBox .box-footer .buttonResetFilters {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 4px !important;
  color: var(--dp-ink) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none !important;
  border: 0 !important;
}

/* Guests: label left, stepper right. */
html body .personBox .chooserPersonBoxItem {
  margin: 0 !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid var(--dp-line) !important;
}

html body .personBox .chooserPersonBoxItem:last-of-type {
  border-bottom: 0 !important;
}

html body .personBox .box-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
}

html body .personBox .chooserPersonLabel svg {
  display: none !important;
}

html body .personBox .person-label span {
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

html body .personBox .person-label small {
  display: block;
  margin-top: 2px;
  color: var(--dp-granite) !important;
  font-size: 14px !important;
}

html body .personBox .chooserWrap {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

html body .personBox .chooserMinus,
html body .personBox .chooserPlus,
html body .domki-guests-modal .guest-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  color: var(--dp-spruce) !important;
  background: #fff !important;
  border: 1px solid #b9c5be !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  cursor: pointer;
}

html body .personBox .chooserMinus:hover,
html body .personBox .chooserPlus:hover,
html body .domki-guests-modal .guest-btn:hover {
  border-color: var(--dp-spruce) !important;
}

html body .personBox .chooserMinus svg,
html body .personBox .chooserPlus svg {
  width: 12px !important;
  height: 12px !important;
  fill: var(--dp-spruce) !important;
}

html body .personBox .chooserCnt,
html body .domki-guests-modal .counter-value {
  width: 40px !important;
  padding: 0 !important;
  color: var(--dp-ink) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Places: a plain list with a check on the chosen one. */
html body .locationBox .location-list-container {
  padding: 6px 0 !important;
}

html body .locationBox .locationBoxItem {
  margin: 0 !important;
  border: 0 !important;
}

html body .locationBox .location-option {
  display: block !important;
  padding: 0 22px !important;
  color: var(--dp-ink) !important;
  text-decoration: none !important;
  background: none !important;
}

html body .locationBox .location-option .box-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 52px;
  border-bottom: 1px solid #edf1ee;
}

html body .locationBox .location-option:hover,
html body .locationBox .location-option.selected,
html body .locationBox .location-option.active {
  background: var(--dp-snow) !important;
}

html body .locationBox .chooserPersonLabel svg {
  display: none !important;
}

html body .locationBox .person-label span {
  font-size: 17px !important;
  font-weight: 600 !important;
}

html body .locationBox .location-all .person-label span {
  color: var(--dp-moss) !important;
}

/* Filters: options as chips that wrap, grouped under quiet headings. */
html body .filterBox .filter-list-container {
  padding: 8px 22px 20px !important;
}

html body .filterBox .filter-group {
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
}

html body .filterBox .filter-group-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--dp-ink) !important;
  font-family: var(--dp-sans) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: 0 !important;
}

html body .filterBox .filter-group-title::before,
html body .filterBox .filter-group-title::after {
  display: none !important;
}

html body .filterBox .filter-group-items:not(.filter-group-items--fields) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body .filterBox .filterBoxItem {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body .filterBox .filter-option {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  padding: 0 16px !important;
  color: var(--dp-ink) !important;
  text-decoration: none !important;
  background: #fff !important;
  border: 1px solid #c8d2cc !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

html body .filterBox .filter-option .box-row,
html body .filterBox .filter-option .col,
html body .filterBox .filter-option .chooserPersonLabel {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body .filterBox .filter-option .person-label span {
  font-size: 15px !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

html body .filterBox .filter-option .location-check,
html body .filterBox .filter-option .chooserPersonLabel > svg {
  display: none !important;
}

html body .filterBox .filter-option .filter-icon {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

html body .filterBox .filter-option:hover {
  border-color: var(--dp-spruce) !important;
}

html body .filterBox .filter-option.selected {
  color: #fff !important;
  background: var(--dp-spruce) !important;
  border-color: var(--dp-spruce) !important;
}

html body .filterBox .filter-option.selected .person-label span {
  color: #fff !important;
}

html body .filterBox .filter-option.selected .filter-icon {
  filter: brightness(0) invert(1);
}

/* List page fields inside the filter panel: one field style, 16px so iOS does not zoom. */
html body .filterBox .filter-group-items--fields select,
html body .filterBox .filter-group-items--fields input[type="text"],
html body .filterBox .filter-group-items--fields .person-choose-field {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  min-height: 52px !important;
  padding: 0 16px !important;
  color: var(--dp-ink) !important;
  font-family: var(--dp-sans) !important;
  font-size: 16px !important;
  background: #fff !important;
  border: 1px solid #c8d2cc !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  cursor: pointer;
}

html body .filterBox .filter-group-items--fields .person-choose-field .placeholder {
  color: var(--dp-granite) !important;
}

/* List page guests dialog */
html body #guestsModal .modal-container {
  border-radius: 18px !important;
  overflow: hidden;
}

html body #guestsModal .modal-title {
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 20px !important;
}

html body .domki-guests-modal .domki-guests-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 0 !important;
}

html body .domki-guests-modal .domki-guests-label {
  font-size: 17px !important;
  font-weight: 700 !important;
}

html body .domki-guests-modal .domki-guests-sublabel {
  color: var(--dp-granite) !important;
  font-size: 14px !important;
}

html body #guestsModal .modal-footer .btn-primary {
  min-height: 48px;
  color: #fff !important;
  background: var(--dp-spruce) !important;
  border: 0 !important;
  border-radius: 10px !important;
}

/* ----- Phones: sheets from the bottom edge ----- */
@media (max-width: 768px) {
  html body .date-picker-wrapper,
  html body .personBox.boxShow,
  html body .locationBox.boxShow,
  html body .filterBox.boxShow,
  html body #guestsModal .modal-container {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    border-radius: 20px 20px 0 0 !important;
    animation: dpSheetUp 0.22s ease-out;
  }

  html body .date-picker-wrapper {
    max-height: 94dvh !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
  }

  html body .date-picker-wrapper .month-wrapper table {
    width: 100% !important;
  }

  html body .date-picker-wrapper .month-wrapper table .day {
    height: 46px !important;
    line-height: 46px !important;
  }

  html body .date-picker-wrapper .drp_top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  html body .date-picker-wrapper .drp_top-bar .apply-btn {
    width: 100% !important;
    min-height: 52px !important;
  }

  html body .personBox.boxShow,
  html body .locationBox.boxShow,
  html body .filterBox.boxShow {
    display: flex !important;
    flex-direction: column !important;
    max-height: 90dvh !important;
  }

  html body .filterBox.boxShow {
    height: 90dvh !important;
  }

  html body .locationBox .location-list-container,
  html body .filterBox .filter-list-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html body .personBox .box-footer,
  html body .locationBox .box-footer,
  html body .filterBox .box-footer {
    flex-wrap: nowrap !important;
    padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  }

  html body .locationBox .box-footer .buttonClose {
    width: 100% !important;
  }

  html body .personBox .box-footer .buttonClose,
  html body .locationBox .box-footer .buttonClose,
  html body .filterBox .box-footer .buttonClose,
  html body .filterBox .box-footer .buttonApplyFilters {
    flex: 1 1 auto;
    min-height: 52px !important;
  }

  html body #guestsModal .modal-container {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@keyframes dpSheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html body .date-picker-wrapper,
  html body .personBox.boxShow,
  html body .locationBox.boxShow,
  html body .filterBox.boxShow,
  html body #guestsModal .modal-container {
    animation: none;
  }
}

/* ----- Home search box on phones: place, then dates and guests, then filters next to search ----- */
@media (max-width: 768px) {
  .hero .search-box .search-form-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px !important;
  }

  .hero .search-box .search-field-wrapper {
    display: contents !important;
  }

  .hero .search-box .search-field-divider {
    display: none !important;
  }

  .hero .search-box .search-field-location {
    grid-column: 1 / -1 !important;
  }

  .hero .search-box #two-inputs,
  .hero .search-box .search-field-guests {
    grid-column: auto !important;
  }

  .hero .search-box .filter-choose-field {
    grid-column: 1 !important;
  }

  .hero .search-box .search-submit-btn {
    grid-column: 2 !important;
    width: 100% !important;
    min-height: 60px !important;
    margin: 0 !important;
  }
}

/* The guest count in the list filter panel reads as one line: "4 dorosłych, 2 dzieci". */
html body .filterBox .person-choose-field .person-show,
html body .filterBox .person-choose-field .child-adult-box {
  display: inline !important;
}

/* ---------- Home v2 ----------
 * One container and one left edge for every section. On phones each row of cards scrolls
 * sideways, so the page shows a little of everything instead of one long column; on wide
 * screens rows become grids. The spruce band explains the three steps of finding a house.
 */

.home-section > .container,
.featured-properties-section.container,
.recent-properties-section > .container,
.recent-blog-section > .container,
.home-steps > .container,
.special-offers-section > .container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  padding-inline: var(--dp-gutter) !important;
}

.featured-properties-section.container {
  margin-top: 0 !important;
  padding-top: var(--dp-section) !important;
}

/* Section headings: left, one size, one rhythm. */
.home-section__header,
.featured-section-header,
.recent-properties-section .section-header,
.recent-blog-section .section-header {
  max-width: 760px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: left !important;
}

.home-section__title,
.featured-section-title,
.recent-properties-section .section-title,
.recent-blog-section .section-title {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.home-section__lead,
.featured-section-description,
.recent-properties-section .section-subtitle,
.recent-blog-section .section-subtitle {
  max-width: 62ch !important;
  margin: 0 !important;
  color: var(--dp-granite) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

/* Destinations: equal tiles in as many columns as fit (three places today). */
@media (min-width: 769px) {
  .destination-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
  }

  .destination-grid .destination-tile,
  .destination-grid .destination-tile:first-child,
  .destination-grid .destination-tile:nth-child(2),
  .destination-grid .destination-tile:last-child {
    grid-column: auto !important;
    aspect-ratio: 4 / 3 !important;
  }
}

.featured-properties-grid {
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

/* Place guide: three short columns; long texts end after four lines. */
.place-guide {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px 32px !important;
}

.place-guide__text {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* Category links: a tidy block under a heading. */
.home-categories {
  padding-top: var(--dp-section) !important;
  padding-bottom: 0 !important;
}

.home-categories .category-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-categories .category-button {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
}

/* How it works */
.home-steps {
  margin-top: var(--dp-section);
  padding: var(--dp-section) 0;
  color: #fff;
  background: var(--dp-spruce);
}

.home-steps__title {
  margin: 0 0 32px;
  color: #fff !important;
  font-family: var(--dp-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
}

.home-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.home-steps__item {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  counter-increment: step;
}

.home-steps__item::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  color: #b9d3c3;
  font-family: var(--dp-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.home-steps__item h3 {
  margin: 0 0 8px;
  color: #fff !important;
  font-family: var(--dp-display);
  font-size: 21px;
  line-height: 1.2;
}

.home-steps__item p {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.55;
}

.home-steps__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: var(--dp-spruce) !important;
  font-weight: 700;
  text-decoration: none !important;
  background: var(--dp-snow);
  border-radius: 10px;
}

.home-steps__cta:hover {
  background: #fff;
}

.home-steps__cta:focus-visible {
  outline: 3px solid #b9d3c3;
  outline-offset: 3px;
}

/* "Zobacz więcej" buttons line up with the content. */
.recent-properties-section .section-footer,
.recent-blog-section .section-footer {
  text-align: left !important;
}

@media (max-width: 1024px) {
  .place-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ----- Phones ----- */
@media (max-width: 768px) {
  .hero .hero__content {
    padding-top: 24px !important;
  }

  .hero .hero-title {
    margin-bottom: 10px !important;
    font-size: clamp(32px, 9vw, 40px) !important;
    line-height: 1.04 !important;
  }

  .hero .hero-subtitle {
    margin-bottom: 18px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  /* Rows that scroll sideways, edge to edge, one card and a bit of the next. */
  .destination-grid,
  .featured-properties-grid,
  .recent-properties-section .properties-grid,
  .recent-blog-section .blog-posts-grid,
  .home-categories .category-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin-inline: calc(-1 * var(--dp-gutter)) !important;
    padding: 0 var(--dp-gutter) 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--dp-gutter);
    scrollbar-width: none;
    grid-template-columns: none !important;
  }

  .destination-grid::-webkit-scrollbar,
  .featured-properties-grid::-webkit-scrollbar,
  .recent-properties-section .properties-grid::-webkit-scrollbar,
  .recent-blog-section .blog-posts-grid::-webkit-scrollbar,
  .home-categories .category-buttons::-webkit-scrollbar {
    display: none;
  }

  .destination-grid .destination-tile,
  .featured-properties-grid > *,
  .recent-properties-section .properties-grid > *,
  .recent-blog-section .blog-posts-grid > * {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  .destination-grid .destination-tile,
  .destination-grid .destination-tile:first-child,
  .destination-grid .destination-tile:nth-child(2) {
    aspect-ratio: 4 / 5 !important;
  }

  .home-categories .category-buttons {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: max-content;
  }

  .home-categories .category-button {
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .place-guide {
    display: flex !important;
    gap: 24px !important;
    margin-inline: calc(-1 * var(--dp-gutter)) !important;
    padding: 0 var(--dp-gutter) 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--dp-gutter);
    scrollbar-width: none;
  }

  .place-guide__item {
    flex: 0 0 80% !important;
    max-width: 330px;
    scroll-snap-align: start;
  }

  .featured-section-description {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .home-steps__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-steps__item::before {
    font-size: 34px;
  }

  .home-steps__cta {
    width: 100%;
  }
}

/* ---------- Search v3: home ----------
 * The search bar is the page's main tool, so it is the one loud element of the hero:
 * three equal fields (place, dates, guests) with an icon, a quiet label and a one-line value,
 * then filters and the search button. Phones get the same fields as a list in one card.
 * Old search-form.css styles .search-form and .search-submit-btn with gradients, pills and hover
 * lifts; they are reset here.
 */

html body .hero {
  min-height: clamp(560px, 82vh, 780px) !important;
}

html body .hero .hero-title {
  max-width: 12em;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem) !important;
}

html body .hero .hero-subtitle {
  margin-bottom: 24px !important;
}

html body .hero .search-form.dps,
html body .hero .search-form.dps:hover {
  max-width: 1120px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

.dps-bar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: var(--dp-white);
  box-shadow: 0 24px 60px rgba(8, 24, 18, 0.34), 0 2px 6px rgba(8, 24, 18, 0.14);
}

.dps-fields {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
}

html body .dps .dps-field {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-width: 0 !important;
  min-height: 64px;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  cursor: pointer;
  text-align: left !important;
  transition: background-color 0.15s ease;
}

/* Hairlines between fields; they step aside for the hovered or open field. */
.dps .dps-field + .dps-field::before,
.dps .dps-filter::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 1px;
  background: var(--dp-line);
  transition: opacity 0.15s ease;
}

html body .dps .dps-field:hover,
html body .dps .dps-field.is-open,
html body .dps .dps-filter:hover,
html body .dps .dps-filter.is-open {
  background: var(--dp-snow) !important;
}

.dps .dps-field:hover::before,
.dps .dps-field:hover + .dps-field::before,
.dps .dps-field.is-open::before,
.dps .dps-field.is-open + .dps-field::before,
.dps .dps-filter:hover::before,
.dps .dps-filter.is-open::before {
  opacity: 0;
}

.dps .dps-field:focus-visible,
.dps .dps-filter:focus-visible,
.dps .dps-submit:focus-visible {
  outline: 3px solid var(--dp-moss) !important;
  outline-offset: -3px;
}

.dps-field__icon {
  flex: none;
  color: var(--dp-moss);
  font-size: 22px;
}

.dps-field__text {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

.dps-field__label {
  color: var(--dp-granite);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
}

html body .dps .dps-field__placeholder,
html body .dps .dps-field__value,
html body .dps .dps-field__value * {
  overflow: hidden;
  margin: 0 !important;
  color: var(--dp-ink) !important;
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .dps .dps-field__value * {
  display: inline !important;
  overflow: visible;
}

html body .dps .dps-field__placeholder {
  color: var(--dp-granite) !important;
  font-weight: 500 !important;
}

html body .dps .dps-field__value {
  display: none !important;
}

html body .dps .dps-field.active .dps-field__placeholder,
html body .dps #search_date_range.active .dps-field__placeholder {
  display: none !important;
}

html body .dps .dps-field.active .dps-field__value,
html body .dps #search_date_range.active .dps-field__value {
  display: block !important;
}

html body .dps .child-box.is-zero {
  display: none !important;
}

.dps-field__chevron {
  display: none;
}

.dps-actions {
  display: flex;
  flex: none;
  align-items: stretch;
  gap: 8px;
}

html body .dps .dps-filter {
  position: relative;
  display: inline-flex !important;
  flex: none !important;
  align-items: center;
  gap: 8px;
  min-width: 0 !important;
  min-height: 64px;
  padding: 0 18px !important;
  border-radius: 14px;
  background: transparent;
  color: var(--dp-ink);
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
}

.dps-filter .ti {
  color: var(--dp-moss);
  font-size: 22px;
}

html body .dps .dps-filter__count {
  display: none;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--dp-moss);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

html body .dps .dps-filter.active .dps-filter__count {
  display: inline-block;
}

html body .hero .dps .dps-submit,
html body .hero .dps .dps-submit:hover,
html body .hero .dps .dps-submit:active {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 156px !important;
  min-height: 64px;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--dp-moss) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  transform: none !important;
}

html body .hero .dps .dps-submit:hover {
  background: var(--dp-moss-dark) !important;
}

html body .hero .dps .dps-submit::before {
  display: none !important;
}

html body .hero .dps .dps-submit .ti {
  font-size: 20px !important;
  transform: none !important;
}

/* Tablets: fields on one row, filters and search under them. */
@media (max-width: 1099px) {
  .dps-bar {
    flex-direction: column;
  }

  .dps-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  html body .dps .dps-filter {
    border: 1px solid var(--dp-line);
  }

  .dps .dps-filter::before {
    display: none;
  }

  html body .dps .dps-filter,
  html body .hero .dps .dps-submit {
    min-height: 56px;
  }
}

/* Phones: one card, fields as a list, a chevron on each row. */
@media (max-width: 767px) {
  html body .hero {
    align-items: flex-start !important;
    min-height: 0 !important;
    padding-top: 28px !important;
  }

  html body .hero .hero-title {
    margin-bottom: 8px !important;
    font-size: 2.25rem !important;
    line-height: 1.04 !important;
  }

  html body .hero .hero-subtitle {
    margin-bottom: 18px !important;
    font-size: 1.0625rem !important;
    line-height: 1.45 !important;
  }

  .dps-bar {
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
  }

  .dps-fields {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dp-line);
    border-radius: 14px;
  }

  html body .dps .dps-field {
    min-height: 62px;
    padding: 9px 14px !important;
    border-radius: 0 !important;
  }

  html body .dps .dps-field:first-child {
    border-radius: 13px 13px 0 0 !important;
  }

  html body .dps .dps-field:last-child {
    border-radius: 0 0 13px 13px !important;
  }

  .dps .dps-field + .dps-field::before {
    top: 0;
    right: 14px;
    bottom: auto;
    left: 48px;
    width: auto;
    height: 1px;
  }

  .dps-field__icon {
    font-size: 21px;
  }

  .dps-field__chevron {
    display: block;
    flex: none;
    color: var(--dp-granite);
    font-size: 18px;
  }

  .dps-actions {
    gap: 8px;
  }

  html body .dps .dps-filter,
  html body .hero .dps .dps-submit {
    min-height: 54px;
  }

  html body .hero .dps .dps-submit {
    min-width: 0 !important;
  }

  html body .hero .seo-links-buttons.hero__chips {
    margin-top: 14px !important;
  }
}

/* styles.css and mobile-ux.css style the date field by id (padding, column layout); keep it a row like the others. */
html body .hero .dps #two-inputs.dps-field,
html body .hero .dps .dps-field,
html body .hero .dps .dps-filter {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

html body .hero .dps #search_date_range.dps-field__text {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  overflow: hidden;
}

html body .hero .dps .dps-field__chevron {
  display: none !important;
}

@media (max-width: 767px) {
  html body .hero .dps .dps-field__chevron {
    display: block !important;
  }
}

/* The hover hint in the calendar said "4 Dni"; the line under the months already counts the nights. */
html body .date-picker-wrapper .date-range-length-tip {
  display: none !important;
}

/* Older rules style the date field by id (.hero #two-inputs: full row, white box, own padding); match the other fields. */
html body .hero .dps #two-inputs.dps-field {
  grid-column: auto !important;
  width: auto !important;
  min-height: 64px !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .hero .dps #two-inputs.dps-field:hover,
html body .hero .dps #two-inputs.dps-field.is-open {
  background: var(--dp-snow) !important;
}

@media (max-width: 767px) {
  html body .hero .dps #two-inputs.dps-field {
    min-height: 62px !important;
    padding: 9px 14px !important;
    border-radius: 0 !important;
  }
}

html body .hero .dps #search_date_range.dps-field__text {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

/* ---------- Booking card v3 ----------
 * One card for both kinds of property. The stay is chosen in one framed box (dates on top, guests
 * below, steppers on the right), the price sits above it, and one green button acts on it.
 * Houses priced on request get the same box; their choice fills the inquiry form further down.
 * Price markup from the scripts carries inline styles; they are tuned here.
 */

.property-detail-page .property-sidebar .bk,
.property-detail-page .bk.pd-action {
  position: relative;
  padding: 24px !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 18px !important;
  background: var(--dp-white) !important;
  box-shadow: 0 14px 36px rgba(22, 56, 43, 0.1) !important;
  color: var(--dp-ink) !important;
}

.bk-head {
  margin: 0 0 16px;
  padding: 0 !important;
  border: 0 !important;
}

html body .bk .bk-price {
  display: block;
  margin: 0;
  color: var(--dp-spruce);
  font-family: var(--dp-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

html body .bk .bk-price strong {
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display);
  font-size: 26px !important;
}

html body .bk .bk-price span[style*="line-through"] {
  color: var(--dp-granite) !important;
  font-size: 15px !important;
}

html body .bk .bk-price span[style*="background"] {
  padding: 2px 8px !important;
  border-radius: 999px !important;
  background: var(--dp-moss-tint) !important;
  color: var(--dp-moss-dark) !important;
  font-size: 13px !important;
}

html body .bk .bk-period {
  display: block;
  margin-top: 4px;
  color: var(--dp-granite);
  font-size: 15px;
}

.bk .bk-period:empty {
  display: none;
}

.bk-hint {
  margin: 6px 0 0 !important;
  color: var(--dp-granite) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.bk-head:has(.bk-period:not(:empty)) .bk-hint {
  display: none;
}

/* The stay box */
.bk-box {
  overflow: hidden;
  border: 1px solid #b6c2bb;
  border-radius: 14px;
  background: var(--dp-white);
}

.bk-form {
  margin: 0 !important;
}

.bk-dates {
  position: relative;
  border-bottom: 1px solid var(--dp-line);
}

.bk-dates:hover {
  background: var(--dp-snow);
}

.bk-label {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 1;
  color: var(--dp-granite);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

html body .bk .bk-dates__input {
  display: block;
  width: 100% !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 28px 46px 10px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

html body .bk .bk-dates__input:focus-visible {
  outline: 3px solid var(--dp-moss);
  outline-offset: -3px;
}

.bk-dates .ti {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--dp-moss);
  font-size: 21px;
  transform: translateY(-50%);
  pointer-events: none;
}

.bk-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 10px 8px 14px;
}

.bk-guest + .bk-guest {
  border-top: 1px solid var(--dp-line);
}

.bk-guest__label {
  display: flex;
  flex-direction: column;
  color: var(--dp-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.bk-guest__label small {
  margin-top: 2px;
  color: var(--dp-granite);
  font-size: 13px;
  font-weight: 400;
}

.bk-stepper {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
}

html body .bk .bk-step {
  display: inline-flex !important;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #b6c2bb !important;
  border-radius: 50% !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 18px !important;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

html body .bk .bk-step:hover {
  border-color: var(--dp-moss) !important;
  color: var(--dp-moss) !important;
}

html body .bk .bk-step:focus-visible {
  outline: 3px solid var(--dp-moss);
  outline-offset: 1px;
}

html body .bk .bk-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-align: center !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

.bk .bk-count::-webkit-outer-spin-button,
.bk .bk-count::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Buttons */
html body .bk .bk-check,
html body .bk .bk-primary,
html body .bk .bk-book {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 54px !important;
  margin: 14px 0 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--dp-moss) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--dp-sans) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transform: none !important;
  cursor: pointer;
}

html body .bk .bk-check:hover,
html body .bk .bk-primary:hover,
html body .bk .bk-book:hover {
  background: var(--dp-moss-dark) !important;
}

html body .bk .bk-check::before,
html body .bk .bk-book::before {
  display: none !important;
}

/* Once the price is on screen it recalculates by itself; the reservation button takes over. */
.bk:has(#priceResult[style*="block"]) .bk-check,
.bk--sheet:has(#mobilePriceResult[style*="block"]) .bk-check {
  display: none !important;
}

html body .bk .bk-secondary,
html body .bk .bk-phone .property-phone-cta-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 50px !important;
  margin: 10px 0 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 12px !important;
  background: var(--dp-white) !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer;
}

html body .bk .bk-secondary:hover,
html body .bk .bk-phone .property-phone-cta-btn:hover {
  border-color: var(--dp-moss) !important;
  color: var(--dp-moss-dark) !important;
}

html body .bk .bk-phone .property-phone-cta-btn.is-hidden {
  display: none !important;
}

html body .bk .bk-phone {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

/* Result: the header already shows the price, so the duplicate line under the form goes. */
html body .bk .bk-result {
  margin-top: 16px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body .bk .bk-result > .bk-result__price > #priceDisplay > div:first-child:has(strong),
html body .bk #nightsDisplay {
  display: none !important;
}

html body .bk #ratePlansContainer h3,
html body .bk #mobileRatePlansContainer h3 {
  margin: 22px 0 10px !important;
  color: var(--dp-spruce) !important;
  font-family: var(--dp-display) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Loader over the card while the price is fetched (shown and hidden by the script). */
html body .bk .bk-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dp-granite);
  font-size: 15px;
  font-weight: 600;
}

.bk-loader__spin {
  width: 34px;
  height: 34px;
  border: 3px solid var(--dp-line);
  border-top-color: var(--dp-moss);
  border-radius: 50%;
  animation: bk-spin 0.9s linear infinite;
}

@keyframes bk-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bk-loader__spin {
    animation-duration: 3s;
  }
}

/* Website and social links of a house priced on request */
.bk-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--dp-line);
}

html body .bk .bk-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--dp-moss-dark) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: break-all;
}

.bk-social {
  display: flex;
  gap: 8px;
}

html body .bk .bk-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dp-snow);
  color: var(--dp-spruce) !important;
  font-size: 20px;
  text-decoration: none;
}

html body .bk .bk-social .social-link:hover {
  background: var(--dp-moss-tint);
}

/* ----- Phones and tablets ----- */
@media (max-width: 1024px) {
  /* The sheet with dates and guests (booking mode) */
  html body .bk-sheet.mobile-booking-sticky {
    max-height: min(88vh, 760px);
    border: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(10, 30, 22, 0.24) !important;
  }

  html body .bk-sheet .bk-sheet__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0 !important;
    padding: 14px 14px 12px 20px !important;
    border-bottom: 1px solid var(--dp-line);
    background: var(--dp-white) !important;
    cursor: default;
  }

  .bk-sheet__title {
    margin: 0;
    color: var(--dp-spruce);
    font-family: var(--dp-display);
    font-size: 20px;
    font-weight: 700;
  }

  html body .bk-sheet .bk-sheet__close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--dp-snow) !important;
    box-shadow: none !important;
    color: var(--dp-ink) !important;
    font-size: 22px;
  }

  html body .bk-sheet .bk-sheet__body {
    padding: 0 !important;
  }

  html body .property-detail-page .bk-sheet .bk--sheet,
  html body .bk-sheet .bk--sheet {
    max-width: 560px;
    margin: 0 auto !important;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* The bar: stay and price on the left, the action on the right (booking mode). */
  html body .pd-mobile-bar.pd-mobile-bar--booking {
    align-items: center;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px;
    border-top: 1px solid var(--dp-line);
    background: var(--dp-white);
    box-shadow: 0 -8px 24px rgba(10, 30, 22, 0.12);
  }

  .pd-mobile-bar__summary {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--dp-ink);
    text-align: left;
    cursor: pointer;
  }

  .pd-mobile-bar__price {
    overflow: hidden;
    max-width: 100%;
    color: var(--dp-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pd-mobile-bar__stay {
    overflow: hidden;
    max-width: 100%;
    color: var(--dp-granite);
    font-size: 14px;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html body .pd-mobile-bar--booking .pd-mobile-bar__primary {
    flex: none;
    min-width: 128px;
    padding: 0 18px;
    background: var(--dp-moss);
    color: #fff;
  }

  html body .pd-mobile-bar--booking .property-phone-cta-btn {
    justify-content: center;
    width: 50px !important;
    padding: 0 !important;
    border: 1px solid var(--dp-line) !important;
    color: var(--dp-spruce) !important;
    font-size: 20px;
  }

  .pd-mobile-bar--booking .property-phone-cta-btn span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  /* Cards in the page column on phones lose the floating shadow. */
  .property-detail-page .property-sidebar .bk,
  .property-detail-page .bk.pd-action {
    box-shadow: none !important;
  }
}

/* booking-card-header is a flex row in property.css; the price and its period read top to bottom. */
html body .bk .bk-head {
  display: block !important;
}

/* Price plans */
#ratePlansList,
#mobileRatePlansList {
  display: grid;
  gap: 10px;
}

html body .rp {
  padding: 14px 16px;
  border: 1px solid var(--dp-line);
  border-radius: 14px;
  background: var(--dp-white);
}

html body .rp--cheapest {
  border-color: var(--dp-moss);
  box-shadow: inset 0 0 0 1px var(--dp-moss);
}

html body .rp--unavailable {
  border-color: #efd3d0;
  background: #fbf5f4;
}

.rp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.rp-name {
  color: var(--dp-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.rp-badge,
.rp-discount {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--dp-moss-tint);
  color: var(--dp-moss-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.rp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

.rp-old {
  color: var(--dp-granite);
  font-size: 14px;
  text-decoration: line-through;
}

.rp-amount {
  color: var(--dp-spruce);
  font-size: 20px;
  font-weight: 700;
}

.rp-nights {
  flex-basis: 100%;
  color: var(--dp-granite);
  font-size: 14px;
}

.rp-unavailable,
.rp-error {
  color: #a8261d;
  font-size: 14px;
  font-weight: 600;
}

.rp-error {
  flex-basis: 100%;
  font-weight: 400;
}

html body .rp-facts {
  margin: 10px 0 0;
  padding: 0;
}

.rp-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--dp-line);
  font-size: 14px;
}

.rp-facts dt {
  color: var(--dp-granite);
  font-weight: 400;
}

.rp-facts dd {
  margin: 0;
  color: var(--dp-ink);
  font-weight: 600;
  text-align: right;
}

html body .rp-terms {
  margin: 4px 0 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--dp-moss-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* In the phone sheet the price stays under the form: there is no price header there. */
html body .bk--sheet #mobilePriceDisplay > div:first-child:has(strong),
html body .bk--sheet #mobileNightsDisplay {
  display: block !important;
}

html body .bk--sheet .bk-result__price {
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  html body .pd-mobile-bar--booking .pd-mobile-bar__summary,
  html body .pd-mobile-bar--booking .pd-mobile-bar__summary:hover {
    min-height: 0 !important;
    padding: 2px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  html body .pd-mobile-bar--booking .property-phone-cta-btn .ti {
    color: var(--dp-spruce) !important;
    font-size: 22px !important;
  }
}

html body .bk .bk-period {
  margin-left: 0 !important;
  padding: 0 !important;
}

html body .rp .rp-terms,
html body .rp .rp-terms:hover {
  min-height: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Houses priced on request: the same light bar, the inquiry as the green action. */
@media (max-width: 1024px) {
  html body .pd-mobile-bar {
    border-top: 1px solid var(--dp-line);
    background: var(--dp-white);
    box-shadow: 0 -8px 24px rgba(10, 30, 22, 0.12);
  }

  html body .pd-mobile-bar .pd-mobile-bar__primary {
    background: var(--dp-moss);
    color: #fff;
  }

  html body .pd-mobile-bar .property-phone-cta-btn {
    border: 1px solid var(--dp-line) !important;
    color: var(--dp-spruce) !important;
  }

  html body .pd-mobile-bar .property-phone-cta-btn .ti {
    color: var(--dp-spruce) !important;
  }
}
