.kmh-accommodation-single {
  --kmh-single-success: #176b4d;
  --kmh-single-success-soft: #eaf7f1;
  --kmh-single-warning: #815b09;
  --kmh-single-warning-soft: #fff7dc;
  --kmh-single-danger: #a73535;
  --kmh-single-danger-soft: #fff2f0;
  color: var(--kmh-ink);
  background: #fff;
  overflow: clip;
}

.kmh-accommodation-single *,
.kmh-accommodation-single *::before,
.kmh-accommodation-single *::after {
  box-sizing: border-box;
}

.kmh-accommodation-single .kmh-public-container {
  width: min(1240px, calc(100% - 40px));
}

.kmh-single-intro {
  padding: clamp(40px, 6vw, 78px) 0 clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 185, 66, .16), transparent 26%),
    linear-gradient(180deg, #f8fbfc, #fff);
}

.kmh-single-breadcrumbs {
  margin-bottom: 20px;
}

.kmh-single-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--kmh-muted);
  font-size: 13px;
  list-style: none !important;
  counter-reset: none !important;
}

.kmh-single-breadcrumbs li {
  list-style: none !important;
  counter-increment: none !important;
}

.kmh-single-breadcrumbs li::marker,
.kmh-single-breadcrumbs li::before {
  display: none !important;
  content: "" !important;
}

.kmh-single-breadcrumbs li:not(:last-child)::after {
  margin-left: 7px;
  color: #94a1ad;
  content: "/";
}

.kmh-single-breadcrumbs a,
.kmh-single-back {
  color: var(--kmh-blue-dark);
  font-weight: 750;
}

.kmh-single-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 24px;
}

.kmh-single-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.kmh-single-heading > div:first-child {
  max-width: 850px;
}

.kmh-single-heading h1 {
  margin: 0 0 18px;
  color: var(--kmh-ink);
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -.04em;
}

.kmh-single-lead {
  max-width: 800px;
  margin: 0 !important;
  color: var(--kmh-muted);
  font-size: clamp(17px, 2vw, 21px) !important;
  line-height: 1.6 !important;
}

.kmh-single-badges {
  display: flex;
  max-width: 310px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.kmh-single-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #3d5267;
  background: var(--kmh-soft);
  font-size: 13px;
  font-weight: 800;
}

.kmh-single-badge--featured {
  color: #563900;
  background: #ffe6a3;
}

.kmh-single-gallery-section,
.kmh-single-main-section {
  padding: clamp(34px, 5vw, 68px) 0;
}

.kmh-single-gallery-section {
  background: #fff;
}

.kmh-single-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.kmh-single-section-heading h2,
.kmh-single-content h2,
.kmh-single-booking h2 {
  margin: 0;
  color: var(--kmh-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.kmh-single-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(250px, .7fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 14px;
  height: clamp(460px, 50vw, 650px);
}

.kmh-single-gallery--single {
  display: block;
  height: auto;
}

.kmh-gallery-main,
.kmh-gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #e7edf1;
  cursor: zoom-in;
}

.kmh-gallery-main {
  min-height: 0;
  grid-row: 1 / -1;
  border-radius: 22px;
}

.kmh-gallery-main img,
.kmh-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.kmh-gallery-main:hover img,
.kmh-gallery-thumb:hover img {
  transform: scale(1.02);
}

.kmh-gallery-thumb {
  min-height: 0;
}

.kmh-single-gallery > .kmh-gallery-thumb {
  display: none;
}

.kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(2),
.kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(3),
.kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(4),
.kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(5) {
  display: block;
}

.kmh-single-gallery button:focus-visible,
.kmh-gallery-dialog button:focus-visible,
.kmh-single-search summary:focus-visible,
.kmh-single-disclosures summary:focus-visible,
.kmh-accommodation-single a:focus-visible,
.kmh-accommodation-single input:focus-visible,
.kmh-accommodation-single select:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.kmh-single-no-image {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px dashed var(--kmh-border);
  border-radius: var(--kmh-radius);
  color: var(--kmh-muted);
  background: var(--kmh-soft);
  text-align: center;
}

.kmh-single-main-section {
  background: #f8fbfc;
}

.kmh-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: start;
  gap: clamp(34px, 5vw, 64px);
}

.kmh-single-content {
  min-width: 0;
}

.kmh-single-content > section {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.kmh-single-description {
  margin-top: 22px;
  color: #34475a;
  font-size: 17px;
  line-height: 1.75;
}

.kmh-single-description > *:last-child {
  margin-bottom: 0;
}

.kmh-single-description h2,
.kmh-single-description h3 {
  margin-top: 30px;
  font-size: clamp(22px, 3vw, 29px);
}

.kmh-single-description img {
  max-width: 100%;
  height: auto;
}

.kmh-single-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.kmh-single-facts > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--kmh-border);
  border-radius: 14px;
  background: #fff;
}

.kmh-single-facts dt {
  margin-bottom: 5px;
  color: var(--kmh-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kmh-single-facts dd {
  margin: 0;
  color: var(--kmh-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.kmh-single-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.kmh-single-features li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #34475a;
  background: #fff;
  font-weight: 700;
}

.kmh-single-features span {
  color: var(--kmh-single-success);
  font-weight: 900;
}

.kmh-single-location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--kmh-border);
  border-radius: var(--kmh-radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(27, 52, 77, .07);
}

.kmh-single-location-card p:not(.kmh-eyebrow) {
  margin: 12px 0 0 !important;
  color: var(--kmh-muted);
}

.kmh-single-management-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--kmh-blue);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .72);
}

.kmh-single-management-note h2 {
  margin: 0 0 5px;
  color: var(--kmh-ink);
  font-size: 18px;
  line-height: 1.3;
}

.kmh-single-management-note p {
  margin: 0 !important;
  color: var(--kmh-muted);
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.kmh-single-management-note a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
}

.kmh-single-location-card .kmh-public-actions {
  flex: 0 0 auto;
  align-items: flex-start;
}

.kmh-single-disclosures {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.kmh-single-disclosures details {
  border: 1px solid var(--kmh-border);
  border-radius: 14px;
  background: #fff;
}

.kmh-single-disclosures summary {
  padding: 16px 18px;
  color: var(--kmh-ink);
  font-weight: 800;
  cursor: pointer;
}

.kmh-single-disclosures details > p,
.kmh-single-disclosures details > a {
  margin-right: 18px;
  margin-left: 18px;
}

.kmh-single-disclosures details > p {
  color: var(--kmh-muted);
}

.kmh-single-disclosures details > a {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 800;
}

.kmh-single-booking {
  position: sticky;
  top: 24px;
}

.kmh-single-booking__inner {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--kmh-border);
  border-radius: var(--kmh-radius);
  background: #fff;
  box-shadow: var(--kmh-shadow);
}

.kmh-single-booking h2 {
  margin-bottom: 18px;
  font-size: clamp(27px, 3vw, 36px);
}

.kmh-booking-state {
  padding: 14px 15px;
  border-left: 4px solid var(--kmh-blue);
  border-radius: 10px;
  background: var(--kmh-soft);
}

.kmh-booking-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--kmh-ink);
  font-size: 16px !important;
}

.kmh-booking-state p {
  margin: 0 !important;
  color: var(--kmh-muted);
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.kmh-booking-state--available {
  border-left-color: var(--kmh-single-success);
  background: var(--kmh-single-success-soft);
}

.kmh-booking-state--unavailable,
.kmh-booking-state--capacity_exceeded,
.kmh-booking-state--pets_not_supported {
  border-left-color: var(--kmh-single-warning);
  background: var(--kmh-single-warning-soft);
}

.kmh-booking-state--invalid_search,
.kmh-booking-state--availability_unavailable,
.kmh-booking-state--price_unavailable,
.kmh-booking-state--service_unavailable {
  border-left-color: var(--kmh-single-danger);
  background: var(--kmh-single-danger-soft);
}

.kmh-booking-errors {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--kmh-single-danger);
  font-size: 13px;
}

.kmh-booking-summary {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--kmh-border);
}

.kmh-booking-summary > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--kmh-border);
}

.kmh-booking-summary dt {
  color: var(--kmh-muted);
  font-size: 13px;
  font-weight: 750;
}

.kmh-booking-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--kmh-ink);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.kmh-booking-price {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #102a43, #0d527e);
}

.kmh-booking-price strong {
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.kmh-booking-price > span:not(.kmh-booking-price__was) {
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

.kmh-booking-price__was {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  text-decoration: line-through;
}

.kmh-booking-price em {
  color: #ffe8a8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.kmh-booking-passes {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #ecd788;
  border-radius: 12px;
  background: var(--kmh-single-warning-soft);
}

.kmh-booking-passes strong {
  color: var(--kmh-ink);
  font-size: 14px;
}

.kmh-booking-passes p {
  margin: 5px 0 0 !important;
  color: #66501d;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.kmh-single-add-to-cart {
  width: 100%;
  margin-top: 16px;
}

.kmh-single-add-to-cart[disabled] {
  opacity: .65;
  cursor: wait;
}

.kmh-single-cart-message {
  min-height: 22px;
  margin-top: 8px;
  color: var(--kmh-single-success);
  font-size: 13px;
  font-weight: 700;
}

.kmh-single-cart-message.is-error {
  color: var(--kmh-single-danger);
}

.kmh-single-cart-message a {
  margin-left: 4px;
  font-weight: 900;
}

.kmh-single-search {
  margin-top: 16px;
  border: 1px solid var(--kmh-border);
  border-radius: 13px;
}

.kmh-single-search > summary {
  padding: 13px 15px;
  color: var(--kmh-blue-dark);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.kmh-single-search form {
  display: grid;
  gap: 13px;
  padding: 4px 15px 16px;
}

.kmh-single-search .kmh-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--kmh-ink);
  font-size: 13px;
  font-weight: 800;
}

.kmh-single-search .kmh-field input,
.kmh-single-search .kmh-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #cfd9e0;
  border-radius: 8px;
  color: var(--kmh-ink);
  background: #fff;
  font: inherit;
  font-size: 16px !important;
  line-height: 1.3;
}

.kmh-single-search input[type="date"] {
  display: block;
  max-width: 100%;
  min-height: 50px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.kmh-single-search input[type="date"]::-webkit-date-and-time-value {
  min-height: 1.3em;
  text-align: left;
}

.kmh-single-search input[type="date"]::-webkit-calendar-picker-indicator {
  min-width: 24px;
  min-height: 24px;
  margin: 0;
}

.kmh-single-search .kmh-field small {
  display: block;
  margin-top: 5px;
  color: var(--kmh-muted);
  font-size: 11px;
  line-height: 1.35;
}

.kmh-single-guest-grid,
.kmh-single-child-ages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.kmh-single-child-ages:empty {
  display: none;
}

.kmh-single-no-pets {
  align-self: end;
  margin: 0 !important;
  padding: 10px;
  border-radius: 8px;
  color: var(--kmh-muted);
  background: var(--kmh-soft);
  font-size: 12px !important;
}

.kmh-single-search .kmh-button {
  width: 100%;
  margin-top: 2px;
}

.kmh-booking-separation {
  margin: 14px 0 0 !important;
  color: var(--kmh-muted);
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.kmh-gallery-dialog {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  height: min(820px, calc(100% - 32px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: #0b1722;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}

.kmh-gallery-dialog::backdrop {
  background: rgba(4, 11, 18, .88);
  backdrop-filter: blur(4px);
}

.kmh-gallery-dialog__frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}

.kmh-gallery-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.kmh-gallery-dialog__header h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
}

.kmh-gallery-dialog__close,
.kmh-gallery-dialog__nav {
  display: inline-grid;
  width: 48px;
  min-width: 48px;
  height: 48px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 25px;
  cursor: pointer;
}

.kmh-gallery-dialog__close:hover,
.kmh-gallery-dialog__nav:hover {
  background: rgba(255,255,255,.18);
}

.kmh-gallery-dialog__viewer {
  display: grid;
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.kmh-gallery-dialog figure {
  display: grid;
  min-width: 0;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.kmh-gallery-dialog figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.kmh-gallery-dialog figcaption {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

body.kmh-gallery-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .kmh-single-location-card,
  .kmh-single-management-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .kmh-single-location-card .kmh-public-actions {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .kmh-single-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kmh-single-badges {
    max-width: none;
    justify-content: flex-start;
  }

  .kmh-single-gallery {
    grid-template-columns: minmax(0, 2fr) minmax(210px, .65fr);
    height: clamp(420px, 70vw, 560px);
  }

  .kmh-single-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .kmh-single-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .kmh-single-booking {
    position: static;
    width: 100%;
    order: -1;
  }
}

@media (max-width: 767px) {
  .kmh-accommodation-single .kmh-public-container {
    width: min(100% - 32px, 1240px);
  }

  .kmh-single-intro {
    padding-top: 28px;
  }

  .kmh-single-heading h1 {
    font-size: clamp(38px, 13vw, 54px);
    overflow-wrap: anywhere;
  }

  .kmh-single-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kmh-single-section-heading .kmh-button {
    width: 100%;
  }

  .kmh-single-gallery,
  .kmh-single-gallery--single {
    display: flex;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .kmh-gallery-main {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(n) {
    display: none;
  }

  .kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(2),
  .kmh-single-gallery > .kmh-gallery-thumb:nth-of-type(3) {
    display: block;
    width: calc(50% - 5px);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kmh-single-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .kmh-single-booking {
    position: static;
    width: 100%;
    order: -1;
  }

  .kmh-single-facts,
  .kmh-single-features {
    grid-template-columns: 1fr;
  }

  .kmh-single-location-card,
  .kmh-single-management-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .kmh-single-location-card .kmh-public-actions {
    width: 100%;
  }

  .kmh-single-guest-grid,
  .kmh-single-child-ages {
    grid-template-columns: 1fr;
  }

  .kmh-gallery-dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .kmh-gallery-dialog__viewer {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 6px;
    padding: 10px;
  }
}

@media (max-width: 380px) {
  .kmh-accommodation-single .kmh-public-container {
    width: min(100% - 24px, 1240px);
  }

  .kmh-single-booking__inner {
    padding: 18px;
  }

  .kmh-gallery-dialog__viewer {
    position: relative;
    display: block;
    padding: 8px;
  }

  .kmh-gallery-dialog__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 44px;
    min-width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: rgba(4,11,18,.72);
  }

  .kmh-gallery-dialog__nav:first-child {
    left: 10px;
  }

  .kmh-gallery-dialog__nav:last-child {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kmh-gallery-main img,
  .kmh-gallery-thumb img,
  .kmh-accommodation-single .kmh-button {
    transition: none !important;
  }
}
