:root {
  --paper: #f7f5ef;
  --surface: #fffefa;
  --ink: #222b24;
  --muted: #72796f;
  --green: #344c3b;
  --green-dark: #26392d;
  --sage: #dfe5d9;
  --line: #e4e2d9;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(248, 246, 239, .85);
  border-bottom: 1px solid rgba(32, 53, 45, .10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Only the home page places the shared header over its Hero. */
body:has(.home-page) .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: rgba(248, 246, 239, .55);
}
body:has(.home-page) .menu-toggle {
  border-color: rgba(32, 53, 45, .16);
  background: rgba(248, 246, 239, .34);
}
body:has(.home-page) .menu-toggle:hover,
body:has(.home-page) .menu-toggle:focus-visible {
  border-color: rgba(32, 53, 45, .28);
  background: rgba(248, 246, 239, .58);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.header-brand-logo,
.footer-brand-logo { display: block; width: 70px; height: auto; object-fit: contain; }
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd2c5;
  border-radius: 50%;
  color: var(--green);
  font-family: var(--sans);
  font-size: 26px;
}
.brand-name { font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.brand-name span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .8px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { color: #525a51; font-size: 13px; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: #718b65; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 23px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-small { min-height: 43px; padding: 0 17px; gap: 12px; font-size: 12px; }
.button-light { background: var(--paper); color: var(--green-dark); border-color: var(--paper); }
.button-light:hover { background: white; color: var(--green-dark); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; transition: color .2s; }

.hero {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #d6ded1;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 37, 28, .78) 0%, rgba(23, 37, 28, .48) 44%, rgba(23, 37, 28, .05) 100%),
    linear-gradient(0deg, rgba(23, 37, 28, .25), transparent 42%),
    url("/static/images/hero.jpg") center 52% / cover,
    linear-gradient(120deg, #60735c, #bdc8b4 60%, #e3dfce);
}
.hero-content { position: relative; z-index: 1; padding-top: 45px; padding-bottom: 60px; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 2px; line-height: 1.5; }
.hero .eyebrow, .closing-section .eyebrow { color: #e2e8dc; }
.eyebrow-dot { width: 7px; height: 7px; background: #b4c9a4; border-radius: 50%; }
.hero h1, .section-heading h2, .about-copy h2, .closing-inner h2, .detail-heading h1 {
  margin: 23px 0 0;
  font-family: var(--sans);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.06em;
}
.hero h1 em, .section-heading h2 em, .about-copy h2 em, .closing-inner h2 em, .detail-heading h1 em {
  font-weight: 600;
  color: #d5e0ca;
}
.hero-description { max-width: 425px; margin: 25px 0 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 31px; }
.hero-actions .button { background: #f7f5ef; border-color: #f7f5ef; color: var(--green-dark); }
.hero-actions .button:hover { background: white; }
.hero-secondary { color: white; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 64px; color: rgba(255,255,255,.76); font-size: 11px; letter-spacing: .3px; }
.hero-note-line { width: 35px; height: 1px; background: #d5e0ca; }
.hero-index { position: absolute; right: 32px; bottom: 27px; color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: 2px; }

.section { padding: 105px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 43px; }
.section-heading h2, .about-copy h2, .closing-inner h2 { margin-top: 17px; font-size: clamp(37px, 4.5vw, 55px); line-height: 1.12; letter-spacing: -1.5px; }
.section-heading h2 em, .about-copy h2 em { color: #73836b; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.9; }

.cabins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.cabin-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); }
.cabin-photo { position: relative; display: block; aspect-ratio: 1.28; overflow: hidden; background: #e0e5da; }
.cabin-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cabin-card:hover .cabin-photo img { transform: scale(1.035); }
.photo-arrow { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; font-size: 17px; }
.photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #798571; background: linear-gradient(135deg, #e6e8df, #cbd4c5); font-size: 11px; letter-spacing: .5px; }
.photo-placeholder span:first-child { font-family: var(--sans); font-size: 49px; }
.cabin-card-content { padding: 22px 21px 19px; }
.cabin-card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.cabin-card h3 { margin: 0; font-family: var(--sans); font-size: 23px; font-weight: 600; line-height: 1.25; }
.cabin-capacity { padding: 4px 8px; color: var(--muted); background: #f0f0e9; font-size: 10px; white-space: nowrap; }
.cabin-description { min-height: 42px; margin: 12px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.cabin-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.cabin-price { display: flex; flex-direction: column; margin: 0; }
.cabin-price strong { font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
.cabin-price span { color: var(--muted); font-size: 10px; }
.cabin-card-bottom .text-link { padding-bottom: 4px; font-size: 11px; }
.empty-cabins { padding: 64px 25px; text-align: center; border: 1px dashed #cbd1c5; background: rgba(255,255,255,.3); }
.empty-icon { color: #8b9b80; font-family: var(--sans); font-size: 48px; }
.empty-cabins h3 { margin: 12px 0 8px; font-family: var(--sans); font-size: 25px; font-weight: 600; }
.empty-cabins p { margin: 0; color: var(--muted); font-size: 13px; }

.about-section { padding: 92px 0; background: #e9ebe2; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.about-copy h2 { margin-bottom: 23px; }
.about-copy > p { max-width: 430px; margin: 0 0 25px; color: #646c61; font-size: 14px; line-height: 1.9; }
.about-visual { position: relative; min-height: 390px; padding: 0 27px 27px 0; }
.about-visual-main { min-height: 363px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 50px; color: #f4f3e9; background: radial-gradient(ellipse at 70% 15%, #899a7e 0, transparent 35%), linear-gradient(145deg, #526a51, #293f32); }
.about-visual-mark { font-size: 65px; font-weight: 200; }
.about-visual-caption { text-align: center; font-size: 10px; line-height: 1.9; letter-spacing: 3px; }
.about-side-note { position: absolute; right: 0; bottom: 0; padding: 12px 15px; background: #d3d9cb; color: var(--green-dark); font-size: 9px; letter-spacing: 1.5px; }

.closing-section { padding: 90px 0 95px; color: white; background: var(--green-dark); }
.closing-inner { text-align: center; }
.closing-inner h2 { margin: 18px 0 28px; }
.closing-inner h2 em { color: #c4d2b9; }
.site-footer { padding: 30px 0; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-copy { color: var(--muted); font-size: 10px; }

.detail-page { padding: 60px 0 100px; }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: 12px; }
.detail-heading { margin: 25px 0 30px; }
.detail-heading h1 { margin-top: 0; color: var(--ink); font-size: clamp(38px, 5vw, 60px); }
.detail-heading h1 em { color: #73836b; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 17px; color: var(--muted); font-size: 13px; }
.detail-content-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 55px; }
.detail-description { color: #5d665c; line-height: 1.9; white-space: pre-line; }
.detail-panel { padding: 25px; border: 1px solid var(--line); background: var(--surface); }
.detail-panel .cabin-price strong { font-size: 28px; }
.detail-panel h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; }
.detail-services { padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 2; }

@media (max-width: 900px) {
  .container { width: min(100% - 40px, 720px); }
  .main-nav { gap: 18px; }
  .hero { min-height: 590px; }
  .hero-image { background-position: center, center, 60% center, center; }
  .cabins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .about-grid { gap: 35px; }
  .about-visual { min-height: 320px; }
  .about-visual-main { min-height: 295px; }
  .detail-content-grid { gap: 30px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 69px; gap: 12px; }
  .brand { gap: 8px; }
  .header-brand-logo,
  .footer-brand-logo { width: 57px; height: auto; }
  .brand-mark { width: 34px; height: 34px; font-size: 23px; }
  .brand-name { font-size: 12px; }
  .brand-name span { font-size: 9px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .main-nav a:nth-child(2) { display: none; }
  .hero { min-height: 590px; align-items: end; }
  .hero-image {
    background:
      linear-gradient(0deg, rgba(23,37,28,.83), rgba(23,37,28,.22) 80%),
      url("/static/images/hero.jpg") 58% center / cover,
      linear-gradient(120deg, #60735c, #bdc8b4);
  }
  .hero-content { padding-top: 70px; padding-bottom: 55px; }
  .hero h1 { margin-top: 20px; font-size: clamp(48px, 13vw, 65px); letter-spacing: -1.8px; }
  .hero-description { max-width: 350px; margin-top: 20px; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 25px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-note { margin-top: 35px; }
  .hero-index { right: 18px; bottom: 15px; font-size: 8px; }
  .section { padding: 67px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 28px; }
  .section-heading h2, .about-copy h2, .closing-inner h2 { font-size: 39px; letter-spacing: -1px; }
  .section-heading > p { font-size: 12px; }
  .cabins-grid { grid-template-columns: 1fr; gap: 20px; }
  .cabin-photo { aspect-ratio: 1.25; }
  .cabin-card-content { padding: 20px 18px 17px; }
  .cabin-card h3 { font-size: 24px; }
  .cabin-description { min-height: 0; }
  .about-section { padding: 65px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-copy h2 { margin-bottom: 18px; }
  .about-copy > p { font-size: 13px; }
  .about-visual { min-height: 290px; padding-right: 15px; }
  .about-visual-main { min-height: 270px; gap: 30px; }
  .about-side-note { font-size: 8px; letter-spacing: 1px; }
  .closing-section { padding: 67px 0 72px; }
  .closing-inner h2 { margin-bottom: 25px; }
  .site-footer { padding: 25px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-inner > p { font-size: 11px; }
  .detail-page { padding: 35px 0 65px; }
  .detail-heading h1 { font-size: 40px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-content-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Cabin photo gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 38px;
  min-width: 0;
}

.gallery-main,
.gallery-thumb {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #e5e7df;
  cursor: zoom-in;
}

.gallery-main {
  min-height: 360px;
  height: clamp(360px, 39vw, 540px);
}

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

.gallery-main img {
  object-position: center;
}

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

.gallery-open-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 13px;
  color: #fff;
  background: rgba(25, 35, 27, .76);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 11px;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-main:hover .gallery-open-hint,
.gallery-main:focus-visible .gallery-open-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.gallery-thumb {
  min-height: 0;
  aspect-ratio: 1.08;
}

.gallery-thumb img {
  object-position: center;
}

.gallery-thumb:focus-visible,
.gallery-main:focus-visible,
.lightbox-close:focus-visible,
.lightbox-arrow:focus-visible {
  outline: 3px solid #9eae91;
  outline-offset: 3px;
}

.gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #fff;
  background: rgba(22, 31, 24, .62);
  font-size: 14px;
  font-weight: 600;
}

.detail-gallery:has(.gallery-main:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.detail-gallery:has(.gallery-main:only-child) .gallery-main {
  height: clamp(280px, 48vw, 590px);
}

.detail-gallery-empty {
  display: block;
}

.detail-gallery-empty .photo-placeholder {
  min-height: 300px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 62px 78px 76px;
  overflow: hidden;
  color: #fff;
  background: rgba(15, 19, 16, .97);
  border: 0;
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 16px;
}

.gallery-lightbox::backdrop {
  background: rgba(15, 19, 16, .94);
}

.lightbox-toolbar {
  position: absolute;
  top: 20px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox-counter {
  color: #e6e9e3;
  font-size: 13px;
  letter-spacing: .08em;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255,255,255,.2);
}

.lightbox-close {
  font-size: 19px;
}

.lightbox-arrow {
  font-size: 36px;
  line-height: 1;
}

.lightbox-image {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 165px);
  object-fit: contain;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox-caption {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 75ch;
  margin: 0;
  color: #d6dbd3;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .detail-gallery {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 8px;
  }

  .gallery-main {
    height: clamp(300px, 43vw, 440px);
    min-height: 300px;
  }

  .gallery-side {
    gap: 8px;
  }

  .gallery-lightbox {
    padding: 64px 22px 70px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .detail-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 28px;
  }

  .gallery-main {
    height: clamp(235px, 68vw, 360px);
    min-height: 235px;
  }

  .gallery-open-hint {
    left: 10px;
    bottom: 10px;
    padding: 8px 10px;
    opacity: 1;
    transform: none;
    font-size: 10px;
  }

  .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 8px;
  }

  .gallery-thumb {
    aspect-ratio: 1.35;
  }

  .detail-gallery:has(.gallery-main:only-child) .gallery-main {
    height: clamp(235px, 68vw, 380px);
    min-height: 235px;
  }

  .detail-gallery-empty .photo-placeholder {
    min-height: 230px;
  }

  .gallery-lightbox {
    padding: 70px 10px 52px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 5px;
  }

  .lightbox-toolbar {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .lightbox-close,
  .lightbox-arrow {
    width: 34px;
    height: 34px;
  }

  .lightbox-arrow {
    font-size: 27px;
  }

  .lightbox-image {
    max-height: calc(100dvh - 145px);
  }

  .lightbox-caption {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-main img,
  .gallery-thumb img,
  .gallery-open-hint,
  .lightbox-close,
  .lightbox-arrow {
    transition: none;
  }
}

/* Lightbox: translucent backdrop */
.gallery-lightbox {
  background: rgba(18, 24, 19, .76);
}

.gallery-lightbox::backdrop {
  background: rgba(18, 24, 19, .48);
}


/* Fix lightbox click area: image must not cover empty space */
.gallery-lightbox[open] .lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 165px);
  object-fit: contain;
  justify-self: center;
  align-self: center;
}

@media (max-width: 600px) {
  .gallery-lightbox[open] .lightbox-image {
    max-height: calc(100dvh - 145px);
  }
}

/* Admin availability calendar */
.availability-admin { padding-bottom: 48px; }
.availability-title {
  font-family: var(--sans);
  font-weight: 600;
  margin: 20px 0 8px;
}
.availability-intro { color: var(--muted); max-width: 760px; line-height: 1.65; }
.availability-picker, .availability-calendar-panel, .availability-form-panel { margin-top: 22px; }
.availability-picker-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.availability-picker-row select {
  min-width:240px; max-width:100%; padding:12px; font:inherit;
}
.availability-alert {
  margin-top:18px; padding:14px 16px; border:1px solid #c65b4b;
  border-radius:8px; background:#fff0ed; color:#812c20;
}
.availability-section-heading { margin-top:28px; }
.availability-section-heading h2 {
  font-family:var(--sans); font-weight:600; overflow-wrap:anywhere;
}
.availability-calendar-header {
  display:flex; align-items:center; justify-content:center; gap:18px; margin-bottom:20px;
}
.availability-calendar-header h3 {
  min-width:190px; margin:0; text-align:center; text-transform:capitalize;
  font-family:var(--sans); font-size:1.45rem; font-weight:600;
}
.availability-month-nav { min-width:42px; text-align:center; text-decoration:none; }
.availability-legend {
  display:flex; flex-wrap:wrap; gap:14px 22px; margin:0 0 18px;
  color:var(--muted); font-size:.9rem;
}
.availability-legend span { display:inline-flex; align-items:center; gap:7px; }
.availability-legend-dot { width:11px; height:11px; display:inline-block; border-radius:50%; }
.availability-legend-dot.is-free { background:#dcefe3; border:1px solid #6a9c7d; }
.availability-legend-dot.is-blocked { background:#f6d9d5; border:1px solid #c65b4b; }
.availability-legend-dot.is-today { background:#e4e9f8; border:1px solid #526bb0; }
.availability-calendar-grid {
  display:grid; grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
}
.availability-weekday {
  padding:8px 2px; text-align:center; font-size:.85rem; font-weight:700;
  color:var(--muted);
}
.availability-day {
  display:flex; flex-direction:column; align-items:flex-start; gap:7px;
  min-width:0; min-height:92px; padding:10px;
  border:1px solid #d4e4d8; border-radius:9px;
  background:#f0f8f2; color:var(--text, #24362b);
  text-decoration:none; overflow-wrap:anywhere;
  transition:border-color .15s, transform .15s;
}
.availability-day:hover { border-color:#528466; transform:translateY(-1px); }
.availability-day-number { font-weight:700; font-size:1rem; }
.availability-day-status { font-size:.76rem; line-height:1.25; }
.availability-day-reason { font-size:.72rem; line-height:1.25; color:#812c20; }
.availability-day.is-blocked {
  background:#fff0ed; border-color:#dca49b; color:#812c20;
}
.availability-day.is-outside-month { opacity:.48; }
.availability-day.is-today { outline:2px solid #526bb0; outline-offset:-2px; }
.availability-calendar-note { margin:16px 0 0; color:var(--muted); font-size:.88rem; line-height:1.55; }
.availability-form-panel h3, .availability-existing-heading h3 { font-weight:500; }
.availability-form-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:14px 0;
}
.availability-form-grid label { display:block; }
.availability-form-grid input {
  display:block; width:100%; box-sizing:border-box; padding:11px;
  margin-top:6px; min-width:0;
}
.availability-existing-heading { margin:30px 0 14px; }
.availability-block-list { display:grid; gap:16px; }
.availability-block-card { border:1px solid var(--line, #e5e1d8); }
.availability-delete-form { margin-top:10px; }
.availability-empty { margin-top:20px; }

@media (max-width:700px) {
  .availability-calendar-panel, .availability-form-panel { padding:15px; }
  .availability-calendar-grid { gap:4px; }
  .availability-day { min-height:72px; padding:6px 4px; gap:5px; border-radius:6px; }
  .availability-day-number { font-size:.9rem; }
  .availability-day-status { font-size:.65rem; }
  .availability-day-reason { display:none; }
  .availability-weekday { font-size:.72rem; padding:6px 0; }
  .availability-calendar-header { gap:10px; }
  .availability-calendar-header h3 { min-width:0; flex:1; font-size:1.2rem; }
  .availability-form-grid { grid-template-columns:1fr; }
  .availability-picker-row select { min-width:0; flex:1; }
}
/* Public cabin availability calendar */
.public-availability {
  margin: 36px 0 48px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--border, #e5e1d8);
  border-radius: 18px;
  background: var(--surface, #fff);
}
.public-availability-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.public-availability-heading h2 {
  margin: 12px 0 8px;
  font-family: var(--sans);
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 600;
}
.public-availability-heading p,
.public-calendar-note {
  color: var(--muted, #777);
  font-size: 13px;
  line-height: 1.6;
}
.public-calendar-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.public-calendar-nav a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border, #e5e1d8);
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  font-size: 25px;
}
.public-calendar-nav a:hover {
  background: var(--surface-muted, #f5f3ee);
}
.public-calendar-nav strong {
  min-width: 130px;
  text-align: center;
  font-size: 14px;
}
.public-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 22px 0 14px;
  font-size: 12px;
  color: var(--muted, #777);
}
.public-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.public-calendar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.public-calendar-dot.is-free {
  background: #718c72;
}
.public-calendar-dot.is-blocked {
  background: #bd7770;
}
.public-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.public-calendar-weekday {
  padding: 10px 2px;
  text-align: center;
  color: var(--muted, #777);
  font-size: 11px;
  font-weight: 600;
}
.public-calendar-day {
  display: flex;
  min-width: 0;
  min-height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
}
.public-calendar-day small {
  font-size: 9px;
  line-height: 1.2;
}
.public-calendar-day.is-free {
  background: #edf3eb;
  color: #385b3a;
}
.public-calendar-day.is-blocked {
  background: #f7e9e7;
  color: #8a413c;
}
.public-calendar-day.is-outside {
  background: transparent;
  color: var(--muted, #aaa);
  opacity: .45;
}
.public-calendar-day.is-today {
  border-color: currentColor;
  font-weight: 700;
}
.public-calendar-note {
  margin: 16px 0 0;
}
@media (max-width: 600px) {
  .public-availability {
    margin: 26px 0 34px;
    padding: 15px 11px;
    border-radius: 13px;
  }
  .public-availability-heading {
    gap: 14px;
  }
  .public-calendar-nav {
    width: 100%;
    justify-content: space-between;
  }
  .public-calendar-grid {
    gap: 3px;
  }
  .public-calendar-day {
    min-height: 49px;
    gap: 4px;
    border-radius: 6px;
    font-size: 13px;
  }
  .public-calendar-day small {
    font-size: 8px;
  }
  .public-calendar-weekday {
    font-size: 10px;
  }
}


/* Booking request form */
.booking-actions {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.booking-actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.booking-form-panel {
  margin-top: 36px;
  scroll-margin-top: 24px;
}
.booking-form-panel h2 {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 600;
}
.booking-intro {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}
.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.booking-fields label {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.booking-fields input,
.booking-fields textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.booking-fields textarea {
  min-height: 96px;
  resize: vertical;
}
.booking-fields input:focus-visible,
.booking-fields textarea:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}
.booking-comment {
  grid-column: 1 / -1;
}
.booking-form > .button {
  min-height: 48px;
  cursor: pointer;
}
.booking-flashes {
  margin: 0 0 22px;
}
.booking-flash {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.5;
}
.booking-flash-success {
  background: #edf3eb;
  color: #385b3a;
}
.booking-flash-error {
  background: #f7e9e7;
  color: #8a413c;
}
@media (max-width: 600px) {
  .booking-form-panel {
    margin-top: 24px;
    padding: 18px 14px;
  }
  .booking-form-panel h2 {
    font-size: 25px;
  }
  .booking-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin: 20px 0;
  }
  .booking-comment {
    grid-column: auto;
  }
}


/* Booking form validation */
.field-error {
  margin: -8px 0 12px;
  color: #a12f2a;
  font-size: 14px;
  line-height: 1.45;
}

.booking-form [aria-invalid="true"] {
  border-color: #b33a32;
  outline-color: #b33a32;
}

#booking-error-summary {
  margin-bottom: 18px;
}


/* Happy Nest — cabin detail redesign v1 */

/* Happy Nest — reference layout v2 */
.detail-page { padding: 22px 0 56px; }
.detail-page > .container { max-width: 1120px; }
.detail-page .breadcrumbs { margin-bottom: 12px; }
.detail-page .detail-heading { margin-bottom: 16px; }
.detail-page .detail-heading h1 { font-size: clamp(27px, 3vw, 36px); }
.detail-page .detail-meta { margin-top: 8px; font-size: 12px; }
.detail-page .detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
  border-radius: 10px;
  min-width: 0;
}
.detail-page .gallery-main {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  border-radius: 6px;
}
.detail-page .gallery-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.detail-page .gallery-main,
.detail-page .gallery-thumb {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
}
.detail-page .gallery-main {
  height: auto;
  align-self: stretch;
}
.detail-page .gallery-main img,
.detail-page .gallery-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-page .gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 6px;
}
.detail-page .detail-content-grid { display: block; }
.detail-page .detail-content-grid > aside { display: none; }
.detail-page .public-calendar-grid {
  padding: 8px; gap: 4px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px;
}
.detail-page .public-calendar-weekday { padding: 4px 0; }
.detail-page .public-calendar-day { min-height: 34px; border-radius: 5px; }
.detail-page .public-calendar-day small { display: none; }
.detail-page .public-calendar-note { margin: 8px 0 0; font-size: 10px; }
.detail-page .detail-content-grid > article > h2 {
  margin: 18px 0 10px !important; font: 600 16px/1.4 var(--sans) !important;
}
.detail-page .detail-services { display: grid; gap: 8px; }
.detail-page .detail-services > .detail-panel:not(.service-card) {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center; gap: 10px; margin: 0 !important;
  padding: 10px !important; border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); box-shadow: none;
}
.detail-page .detail-services > .detail-panel > img {
  grid-column: 1; grid-row: 1 / span 4; width: 68px !important;
  height: 68px; margin: 0 !important; border-radius: 6px; object-fit: cover;
}
.detail-page .detail-services > .detail-panel:not(.service-card) h3 {
  grid-column: 2 / 4; margin: 0 !important; font: 600 14px/1.3 var(--sans);
}
.detail-page .detail-services > .detail-panel:not(.service-card) p { grid-column: 2 / 4; margin: 0; font-size: 12px; color: var(--muted); }
.detail-page .detail-services > .detail-panel:not(.service-card) label { grid-column: 2 / 4; margin: 2px 0 !important; font-size: 12px; }
.detail-page .detail-services > .detail-panel:not(.service-card) label input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--green);
}
.detail-page .detail-services > .detail-panel:not(.service-card) > p strong { color: var(--ink); font-size: 13px; }
.detail-page .detail-services .service-slot-options { grid-column: 1 / -1; width: 100%; }
.detail-page .booking-form-panel {
  max-width: none; margin: 20px 0 0; padding: 18px;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: none;
}
.detail-page .booking-form-panel > h2,
.detail-page .booking-form-panel > .booking-intro { display: none; }
.detail-page .booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.detail-page .booking-fields .booking-comment { grid-column: 1 / -1; }
.detail-page .booking-fields label { display: flex; flex-direction: column; gap: 5px; }
.detail-page .booking-fields input,
.detail-page .booking-fields textarea { width: 100%; min-width: 0; padding: 10px 12px; }
.detail-page #booking-estimate {
  margin: 12px 0 !important; padding: 12px !important;
  border: 0; border-radius: 8px; background: #f1f2eb;
}
.detail-page #booking-estimate h3 { margin: 0 0 6px !important; font: 600 15px/1.4 var(--sans); }
.detail-page #estimate-hint { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.detail-page #estimate-breakdown p { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 !important; font-size: 12px; }
.detail-page #estimate-breakdown p:last-child { padding-top: 8px; border-top: 1px solid var(--line); font-size: 15px !important; }
.detail-page .booking-form > .button { width: 100%; min-height: 46px; border-radius: 7px; }
@media (max-width: 700px) {
  .detail-page { padding: 16px 0 36px; }
  .detail-page .detail-gallery { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .detail-page .gallery-main { aspect-ratio: 1.35 / 1; }
  .detail-page .gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    overflow: visible;
  }
  .detail-page .gallery-thumb { height: auto; }
  .detail-page .gallery-thumb { aspect-ratio: 1.45 / 1; }
  .detail-page .public-availability { padding: 14px 0 16px; }
  .detail-page .public-calendar-grid { padding: 5px; gap: 3px; }
  .detail-page .public-calendar-day { min-height: 34px; font-size: 12px; }
  .detail-page .detail-services > .detail-panel:not(.service-card) { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 8px; padding: 8px !important; }
  .detail-page .detail-services > .detail-panel:not(.service-card) > img { width: 58px !important; height: 58px; }
  .detail-page .booking-form-panel { padding: 12px; }
  .detail-page .booking-fields { grid-template-columns: minmax(0, 1fr); }
  .detail-page .booking-fields .booking-comment { grid-column: auto; }
}


/* Price aligned with cabin details below the gallery */
.detail-page .detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 18px;
  min-width: 0;
}
.detail-page .detail-meta-row .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}
.detail-page .detail-night-price {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--muted, #77786f);
}
.detail-page .detail-night-price strong {
  color: #456b50;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.detail-page .detail-night-price span {
  color: var(--muted, #77786f);
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .detail-page .detail-meta-row {
    align-items: flex-start;
    gap: 10px;
  }
  .detail-page .detail-meta-row .detail-meta {
    gap: 8px;
  }
  .detail-page .detail-night-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }
  .detail-page .detail-night-price strong {
    font-size: 16px;
  }
}


/* Happy Nest — reference booking layout v2 */
.detail-date-picker,
.detail-booking-summary {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--border, #e8e3da);
  border-radius: 16px;
  background: var(--surface, #fff);
}

.detail-date-picker h2,
.detail-booking-summary h2 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.detail-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-date-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted, #6b6b65);
  font-size: 13px;
  font-weight: 600;
}

.detail-date-fields input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border, #ddd8cf);
  border-radius: 10px;
  background: #fff;
  color: var(--text, #282821);
  font: inherit;
}

.detail-date-fields input:focus-visible {
  outline: 2px solid var(--accent, #8c9b70);
  outline-offset: 2px;
}

.detail-date-hint,
.detail-summary-dates {
  margin: 12px 0 0;
  color: var(--muted, #6b6b65);
  font-size: 13px;
  line-height: 1.5;
}

.detail-booking-summary {
  scroll-margin-top: 24px;
  background: var(--surface, #fff);
}

#detail-summary-estimate #booking-estimate {
  margin: 12px 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#detail-summary-estimate #booking-estimate h3 {
  display: none;
}

#detail-summary-estimate #estimate-hint {
  font-size: 13px;
  line-height: 1.5;
}

#detail-summary-estimate #estimate-breakdown p {
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#detail-summary-estimate #estimate-breakdown p:last-child {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e8e3da);
  font-size: 20px !important;
}

.detail-summary-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
}

#booking {
  scroll-margin-top: 24px;
}

@media (max-width: 640px) {
  .detail-date-picker,
  .detail-booking-summary {
    margin: 14px 0;
    padding: 16px;
    border-radius: 13px;
  }

  .detail-date-fields {
    gap: 9px;
  }

  .detail-date-fields input {
    padding: 9px 7px;
    font-size: 13px;
  }
}

/* Interactive public availability calendar */
.public-calendar-date {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.public-calendar-date:hover {
  background: rgba(69, 107, 80, .14);
}

.public-calendar-date:focus-visible {
  outline: 2px solid #456b50;
  outline-offset: 1px;
}

.public-calendar-day.is-range-start,
.public-calendar-day.is-range-end {
  background: #456b50;
  color: #fff;
  border-color: #456b50;
}

.public-calendar-day.is-in-range {
  background: #dce9dc;
  color: #2f5137;
}

.public-calendar-day.is-range-start .public-calendar-date,
.public-calendar-day.is-range-end .public-calendar-date {
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .public-calendar-day.is-range-start,
  .public-calendar-day.is-range-end {
    animation: calendar-date-selected .2s ease-out;
  }

  @keyframes calendar-date-selected {
    from { transform: scale(.94); }
    to { transform: scale(1); }
  }
}

/* Past dates: visible for context, never selectable */
.public-calendar-day.is-past {
  background: #eeeeeb;
  color: #a5a59f;
  border-color: transparent;
  opacity: .75;
}

.public-calendar-day.is-past .public-calendar-date {
  cursor: not-allowed;
  pointer-events: none;
  color: #a5a59f;
}

.public-calendar-nav[aria-busy="true"] {
  opacity: .65;
  pointer-events: none;
}


/* Home button beside cabin title */
.detail-page .detail-heading-with-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.detail-page .detail-heading-with-home h1 {
  min-width: 0;
  margin-right: auto;
}

.detail-page .detail-home-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line, #e5e1d8);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: #456b50;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.detail-page .detail-home-button span {
  font-size: 19px;
  line-height: 1;
}

.detail-page .detail-home-button:hover {
  background: #e8eee6;
  border-color: #b9cbb9;
  transform: translateX(-2px);
}

.detail-page .detail-home-button:focus-visible {
  outline: 2px solid #456b50;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .detail-page .detail-heading-with-home {
    gap: 10px;
  }

  .detail-page .detail-home-button {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .detail-page .detail-home-button {
    padding: 8px;
    gap: 4px;
  }
}

/* Modern additional service cards */
.detail-page .detail-services {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}

.detail-page .service-card {
  margin: 0 !important;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #e8e4da;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 2px 8px rgba(42, 53, 39, .035);
}

.detail-page .service-card-main {
  display: grid;
  grid-template-columns: minmax(90px, 22%) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.detail-page .service-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 9px;
  background: #f0f0eb;
}

.detail-page .service-card-content { min-width: 0; }

.detail-page .service-card-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.detail-page .service-card-heading h3 {
  margin: 0 !important;
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: #263d2c;
  overflow-wrap: break-word;
}

.detail-page .service-card-price {
  flex: 0 0 auto;
  color: #31583c;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  white-space: normal;
}

.detail-page .service-card-description {
  margin: 6px 0 10px !important;
  color: #73756d;
  font-size: 12px;
  line-height: 1.4;
}

.detail-page .service-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #aebfae;
  border-radius: 9px;
  background: #fff;
  color: #25452e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.detail-page .service-card-toggle:has(input:checked) {
  background: #eaf0e7;
  border-color: #8da58e;
}

.detail-page .service-card-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #31583c;
}

.detail-page .service-card-note {
  margin: 7px 0 0 !important;
  color: #73756d;
  font-size: 11px;
  line-height: 1.4;
}

.detail-page .service-card > .service-slot-options-modern {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e8e9df;
  border-radius: 10px;
  background: #f5f6f0;
}

.detail-page .service-slot-options-modern[hidden] { display: none !important; }

.detail-page .service-card > .service-slot-options-modern > .service-slot-fields {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .95fr);
  align-items: start;
  gap: 10px;
}

.detail-page .service-slot-fields > label {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}

.detail-page .service-slot-fields label {
  display: grid;
  align-content: start;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.detail-page .service-slot-fields label > span {
  color: #46564a;
  font-size: 11px;
  font-weight: 600;
}

.detail-page .service-slot-fields select,
.detail-page .service-slot-fields input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid #e0e1da;
  border-radius: 8px;
  background: #fff;
  color: #344238;
  font: inherit;
  font-size: 12px;
}

.detail-page .service-slot-fields select:focus,
.detail-page .service-slot-fields input:focus {
  border-color: #78947a;
  outline: 2px solid rgba(69, 107, 80, .12);
}

.detail-page .service-slot-status {
  display: block;
  margin-top: 9px;
  color: #777b70;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .detail-page .service-card { padding: 10px; }

  .detail-page .service-card-main {
    grid-template-columns: minmax(86px, 30%) minmax(0, 1fr);
    gap: 12px;
  }

  .detail-page .service-card-heading h3 { font-size: 28px; }
  .detail-page .service-card-price { font-size: 14px; }
  .detail-page .service-card-description { font-size: 11px; }

  .detail-page .service-card-toggle {
    padding: 7px 8px;
    font-size: 11px;
  }

  .detail-page .service-slot-options-modern { padding: 10px; }

  .detail-page .service-slot-fields {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .95fr);
    gap: 7px;
  }

  .detail-page .service-slot-fields select,
  .detail-page .service-slot-fields input {
    padding: 7px 5px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .detail-page .service-card-main {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
  }
}


/* Service button label states */
.detail-page .service-toggle-added { display: none; }
.detail-page .service-card-toggle:has(input:checked) .service-toggle-add { display: none; }
.detail-page .service-card-toggle:has(input:checked) .service-toggle-added { display: inline; }



/* Service slot availability hint */
.detail-page .service-slot-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #85877f;
  font-size: 12px;
  line-height: 1.5;
}
.detail-page .service-slot-status::before {
  content: "i";
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Service card: price and action on one row */
.detail-page .service-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}
.detail-page .service-card-action-row .service-card-price {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
}
.detail-page .service-card-action-row .service-card-toggle {
  margin: 0;
  flex: 0 0 auto;
}
.detail-page .service-toggle-added { display: none; }
.detail-page .service-card-toggle:has(input:checked) .service-toggle-add { display: none; }
.detail-page .service-card-toggle:has(input:checked) .service-toggle-added { display: inline; }

/* Floating booking success toast */
.booking-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(440px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #dfe5da;
  border-radius: 16px;
  background: #fff;
  color: #4e574e;
  box-shadow: 0 12px 36px rgba(25, 40, 27, .16);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
}

.booking-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-toast-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0e5;
  color: #456b50;
  font-size: 25px;
  line-height: 1;
}

.booking-toast-title {
  margin: 0 0 5px;
  color: #294d35;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.booking-toast-message {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.booking-toast-close {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #858b82;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.booking-toast-progress {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #e8eee5;
}

.booking-toast-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  background: #789477;
  content: "";
  transform-origin: left;
  animation: booking-toast-countdown 7s linear forwards;
}

@keyframes booking-toast-countdown {
  to { transform: scaleX(0); }
}

@media (max-width: 600px) {
  .booking-toast {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-toast,
  .booking-toast-progress::after {
    transition: none;
    animation: none;
  }
}

/* Happy Nest Cottage — header menu */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.brand-subtitle {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .28em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  position: relative;
  display: grid;
  order: 1;
  width: 70px;
  height: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  border: 1px solid rgba(32,53,45,.14);
  border-radius: 999px;
  background: rgba(248,246,239,.28);
  isolation: isolate;
}
.language-switcher-indicator {
  position: absolute;
  z-index: -1;
  inset: 3px auto 3px 3px;
  width: calc(50% - 3px);
  border-radius: inherit;
  background: rgba(248,246,239,.9);
  box-shadow: 0 2px 7px rgba(23,58,49,.09);
  transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.language-switcher.is-en .language-switcher-indicator { transform: translateX(100%); }
.language-switcher-button {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23,58,49,.62);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  transition: color .2s ease;
}
.language-switcher-button[aria-pressed="true"] { color: var(--green-dark); }
.language-switcher-button:focus-visible { outline: 2px solid var(--accent, #789477); outline-offset: 2px; }
.language-switcher-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
body:has(.home-page) .language-switcher { border-color: rgba(32,53,45,.16); background: rgba(248,246,239,.24); }
body:has(.home-page) .language-switcher-indicator { background: rgba(248,246,239,.84); }

.header-menu {
  position: relative;
  flex: 0 0 auto;
}

.header-menu > summary {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background .2s ease, border-color .2s ease;
}

.header-menu > summary::-webkit-details-marker {
  display: none;
}

.header-menu > summary:hover,
.header-menu[open] > summary {
  background: var(--surface, #efeee7);
  border-color: var(--muted, #9aa392);
}

.menu-icon {
  display: flex;
  width: 19px;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 19px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, width .2s ease;
}

.header-menu[open] .menu-icon span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.header-menu[open] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.header-menu[open] .menu-icon span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.header-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  display: grid;
  width: 230px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper, #f7f5ef);
  box-shadow: 0 14px 36px rgba(32, 43, 34, .13);
}

.header-menu-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease;
}

.header-menu-panel a:hover,
.header-menu-panel a:focus-visible {
  background: rgba(52, 76, 59, .08);
}

.header-menu > summary:focus-visible,
.header-menu-panel a:focus-visible {
  outline: 2px solid var(--accent, #789477);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-menu > summary {
    width: 42px;
    height: 42px;
  }

  .header-menu-panel {
    width: min(230px, calc(100vw - 32px));
  }
}

/* Happy Nest Cottage — expanded navigation and footer */
.menu-group-title {
  display: block;
  padding: 10px 14px 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
}
.header-menu-panel .menu-group-title:not(:first-child) {
  margin-top: 5px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.footer-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) 1fr 1fr;
  column-gap: 48px;
  row-gap: 28px;
  align-items: start;
}
.footer-intro { display: flex; flex-direction: column; gap: 14px; }
.footer-description {
  margin: 0;
  color: #63766a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
}
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2 {
  margin: 4px 0 5px;
  color: #213e33;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.footer-column a {
  color: #405b4d;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-column a:hover { color: #213e33; }
.footer-column a:focus-visible { outline: 2px solid #789477; outline-offset: 3px; }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.footer-copy { color: #63766a; font-size: 12px; font-weight: 400; }

@media (max-width: 640px) {
  .footer-layout {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 26px;
  }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { grid-column: 1 / -1; }
  .footer-column { gap: 10px; }
  .footer-column a { font-size: 12px; }
}

/* Happy Nest Cottage — animated navigation drawer */
.menu-toggle,
.drawer-close,
.drawer-accordion-toggle {
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle {
  display: flex;
  order: 2;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  transition: background .2s ease, border-color .2s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--surface, #efeee7);
  border-color: var(--muted, #9aa392);
}
.menu-toggle .menu-icon {
  display: flex;
  width: 20px;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle .menu-icon span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1990;
  background: rgba(8, 25, 21, .56);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.site-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  width: min(390px, 90vw);
  height: 100vh;
  height: 100dvh;
  padding: 22px 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(160deg, #426757 0%, #365a4b 54%, #2f5043 100%);
  color: #f7f2e8;
  box-shadow: -18px 0 52px rgba(20, 50, 40, .22);
  transform: translateX(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.22, .75, .25, 1), opacity .24s ease;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.drawer-open .site-drawer {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(248,246,239,.15);
}
.drawer-header .brand { min-width: 0; }
.drawer-header .brand-name { font-size: 21px; }
.drawer-close {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgba(248,246,239,.24);
  border-radius: 50%;
  background: rgba(248,246,239,.08);
  color: #f7f2e8;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.drawer-close:hover { background: rgba(248,246,239,.16); transform: rotate(90deg); }
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0 20px;
}
.drawer-nav .menu-group-title {
  padding: 0 12px 10px;
  color: #c9d9cb;
  font-size: 10px;
  letter-spacing: .14em;
}
.drawer-nav > a,
.drawer-nav-unavailable {
  display: block;
  padding: 12px;
  border-radius: 7px;
  color: #f7f2e8;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.drawer-nav > a:hover,
.drawer-nav > a:focus-visible {
  background: rgba(248,246,239,.12);
  color: #fffdf6;
  transform: translateX(4px);
}
.drawer-nav-unavailable { color: rgba(248,246,239,.62); cursor: default; }
.drawer-nav-unavailable small { margin-left: 7px; color: #c9d9cb; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.drawer-contacts,
.drawer-socials { border-top: 1px solid rgba(248,246,239,.14); padding-top: 22px; }
.drawer-contacts .menu-group-title,
.drawer-socials .menu-group-title { display: block; margin-bottom: 13px; color: #c9d9cb; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.drawer-phone { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #fffaf0; font-size: 16px; font-weight: 600; }
.drawer-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.drawer-contact-item { margin-top: 18px; }
.drawer-contact-item h2 { margin: 0 0 4px; color: #f7f2e8; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.drawer-contact-item p { margin: 0; color: #fffaf0; font-size: 14px; }
.drawer-contact-item small { display: block; margin-top: 5px; color: rgba(232,239,223,.72); font-size: 11px; line-height: 1.55; }
.drawer-map-link { display: inline-flex; gap: 6px; margin-top: 8px; color: #deead8; font-size: 12px; text-decoration: underline; text-decoration-color: rgba(222,234,216,.5); text-underline-offset: 3px; }
.drawer-map-link:hover { color: #fffaf0; }
.drawer-map-link span { color: rgba(232,239,223,.68); }
.drawer-socials { margin-top: 24px; }
.drawer-social-list { display: flex; gap: 9px; }
.drawer-social-button { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid rgba(248,246,239,.34); border-radius: 50%; background: rgba(248,246,239,.09); color: #f7f2e8; font-size: 11px; font-weight: 700; letter-spacing: -.03em; opacity: 1; }
.drawer-social-button[aria-disabled="true"] { cursor: help; }
.drawer-social-button:hover, .drawer-social-button:focus-visible { background: rgba(248,246,239,.2); border-color: rgba(248,246,239,.68); color: #fffdf6; transform: translateY(-2px); }
.drawer-accordion {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.drawer-accordion-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease;
}
.drawer-accordion-toggle:hover { background: rgba(52, 76, 59, .06); }
.drawer-accordion-toggle svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.drawer-accordion-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 10px;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows .28s ease, opacity .22s ease;
}
.drawer-accordion-panel > a { min-height: 0; }
.drawer-accordion-panel.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}
.drawer-accordion-panel:not(.is-expanded) {
  display: block;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  visibility: hidden;
}
.drawer-accordion-panel.is-expanded {
  max-height: 500px;
  visibility: visible;
}
.drawer-nav a:focus-visible,
.drawer-close:focus-visible,
.drawer-accordion-toggle:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent, #789477);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .menu-toggle { width: 44px; height: 44px; margin-top: 1px; }
  .language-switcher { width: 64px; height: 32px; }
  .site-drawer { width: min(360px, 90vw); padding: 18px 18px 24px; }
  .drawer-header { padding-bottom: 16px; }
  .drawer-nav { padding-top: 14px; }
  .drawer-nav > a,
  .drawer-accordion-panel a { padding-top: 12px; padding-bottom: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-switcher-indicator,
  .language-switcher-button {
    transition: none;
  }
  .drawer-backdrop, .site-drawer, .menu-toggle .menu-icon span,
  .drawer-accordion-toggle svg, .drawer-accordion-panel,
  .drawer-close { transition: none !important; }
}

/* Drawer animation refinement */
.drawer-header-compact {
  min-height: 42px;
  padding-bottom: 16px;
}
.drawer-heading {
  color: #c8d4c4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
}
.drawer-backdrop {
  transition: opacity .24s ease, visibility .24s ease;
}
.site-drawer {
  transform: translateX(100%);
  transition:
    transform .38s cubic-bezier(.22, 1, .36, 1),
    opacity .24s ease;
}
body.drawer-open .site-drawer {
  transform: translateX(0);
}
.drawer-close {
  transition: background .2s ease, transform .25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .drawer-backdrop,
  .site-drawer,
  .drawer-close {
    transition: none !important;
  }
}

/* Footer brand attribution */
.footer-powered {
  margin: -7px 0 0;
  color: #63766a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .01em;
}
.footer-powered strong {
  color: #405b4d;
  font-weight: 600;
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + 16px);
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border, rgba(30, 50, 40, .14));
  border-radius: 50%;
  background: var(--paper, #fff);
  color: var(--ink, #263a30);
  box-shadow: 0 5px 20px rgba(25, 40, 30, .12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .28s ease,
              visibility .28s ease, background .2s ease,
              box-shadow .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--surface, #f5f4ef);
  box-shadow: 0 7px 24px rgba(25, 40, 30, .17);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent, #55735e);
  outline-offset: 4px;
}

body.drawer-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

/* Floating contact widget */
.contact-widget {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(max(22px, env(safe-area-inset-bottom)) + 76px);
  z-index: 890;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.contact-trigger {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(248,246,239,.22);
  border-radius: 999px;
  background: #244b3d;
  color: #f8f6ef;
  box-shadow: 0 9px 24px rgba(16,49,41,.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: min-width .22s ease, padding .22s ease, transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.contact-trigger-label { max-width: 120px; overflow: hidden; white-space: nowrap; transition: max-width .2s ease, opacity .16s ease; }
.contact-widget.is-compact .contact-trigger { min-width: 46px; padding: 0; border-radius: 50%; }
.contact-widget.is-compact .contact-trigger-label { max-width: 0; opacity: 0; }
.contact-trigger:hover { background: #1d4034; box-shadow: 0 13px 28px rgba(16,49,41,.27); transform: translateY(-2px); }
.contact-trigger:focus-visible,
.contact-panel-close:focus-visible,
.contact-option:focus-visible { outline: 2px solid #9ab495; outline-offset: 3px; }
.contact-trigger-icon { position: relative; display: grid; width: 19px; height: 19px; place-items: center; }
.contact-trigger-icon svg { position: absolute; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: opacity .22s ease, transform .22s ease; }
.contact-icon-close { opacity: 0; transform: rotate(-45deg) scale(.7); }
.contact-widget.is-open .contact-icon-message { opacity: 0; transform: rotate(45deg) scale(.7); }
.contact-widget.is-open .contact-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - 44px));
  padding: 18px;
  border: 1px solid rgba(35,67,55,.13);
  border-radius: 16px;
  background: #f8f6ef;
  box-shadow: 0 18px 42px rgba(15,42,34,.18);
  color: #20352d;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease;
}
.contact-widget.is-open .contact-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.contact-panel-header { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 15px; border-bottom: 1px solid rgba(35,67,55,.12); }
.contact-panel-header h2 { margin: 0; color: #244b3d; font-family: var(--sans); font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.contact-panel-header p { margin: 8px 0 0; color: #637168; font-size: 12px; line-height: 1.55; }
.contact-panel-close { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid rgba(35,67,55,.14); border-radius: 50%; background: transparent; color: #244b3d; cursor: pointer; font-size: 22px; font-weight: 300; line-height: 1; transition: background .2s ease, transform .2s ease; }
.contact-panel-close:hover { background: #e6ece1; transform: rotate(90deg); }
.contact-panel-options { display: grid; margin-top: 7px; }
.contact-option { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 11px; width: 100%; padding: 13px 1px; border: 0; border-bottom: 1px solid rgba(35,67,55,.1); background: transparent; color: #244b3d; cursor: help; text-align: left; transition: color .2s ease, padding-left .2s ease; }
.contact-option:last-child { border-bottom: 0; padding-bottom: 4px; }
.contact-option:hover { padding-left: 4px; color: #55735e; }
.contact-option svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.contact-option > span:not(.contact-option-arrow) { display: grid; gap: 2px; font-size: 13px; font-weight: 700; }
.contact-option small { color: #7d887f; font-size: 10px; font-weight: 500; }
.contact-option-arrow { color: #789077; font-size: 15px; }
body.drawer-open .contact-widget,
body:has(.gallery-lightbox[open]) .contact-widget,
.contact-widget.is-context-hidden,
.contact-widget.is-modal-blocked { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); }

@media (max-width: 640px) {
  .back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 16px);
    width: 44px;
    height: 44px;
  }
  .contact-widget { right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 74px); }
  .contact-trigger { min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
  .contact-trigger-label { max-width: 0; opacity: 0; }
  .contact-widget.is-compact .contact-trigger { min-width: 44px; }
  .contact-panel { width: min(340px, calc(100vw - 32px)); padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none !important;
    transform: none;
  }
  .contact-widget,
  .contact-trigger,
  .contact-trigger-label,
  .contact-trigger-icon svg,
  .contact-panel,
  .contact-panel-close,
  .contact-option { transition: none; }
}

/* Hero redesign: centered, minimal */
.hero {
  justify-content: center;
  text-align: center;
}
.hero-image {
  background:
    linear-gradient(180deg, rgba(23,37,28,.30), rgba(23,37,28,.48) 55%, rgba(23,37,28,.62)),
    url("/static/images/hero.jpg") center 52% / cover,
    linear-gradient(120deg, #60735c, #bdc8b4);
}
.hero-content {
  width: 100%;
  padding-top: 70px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content h1 {
  max-width: 850px;
  margin-top: 0;
  text-wrap: balance;
}
.hero-description {
  max-width: none;
  margin-top: 20px;
  font-size: 15px;
  letter-spacing: .3px;
}
.hero-actions {
  justify-content: center;
  margin-top: 30px;
}
.hero-actions .button {
  width: auto;
  min-width: 220px;
  justify-content: center;
  gap: 18px;
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 25px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: white;
  transition: background .2s, transform .2s;
}
.hero-scroll:hover {
  background: rgba(255,255,255,.14);
  transform: translate(-50%, 3px);
}
.hero-scroll span {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid white;
  border-bottom: 1.5px solid white;
  transform: translateY(-2px) rotate(45deg);
}
@media (max-width: 600px) {
  .hero {
    min-height: 590px;
    align-items: center;
  }
  .hero-image {
    background:
      linear-gradient(180deg, rgba(23,37,28,.32), rgba(23,37,28,.58) 100%),
      url("/static/images/hero.jpg") 58% center / cover,
      linear-gradient(120deg, #60735c, #bdc8b4);
  }
  .hero-content {
    padding-top: 65px;
    padding-bottom: 75px;
  }
  .hero h1 {
    margin-top: 0;
    font-size: clamp(43px, 11vw, 60px);
    letter-spacing: -1.5px;
  }
  .hero-description {
    margin-top: 18px;
    font-size: 13px;
  }
  .hero-actions {
    align-items: center;
    margin-top: 26px;
  }
  .hero-actions .button {
    width: auto;
    min-width: 210px;
  }
  .hero-scroll {
    bottom: 18px;
  }
}

/* Hero scroll cue: arrow + caption as one centered block */
.hero-scroll-block {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
}
.hero-scroll-block .hero-scroll {
  position: static;
  left: auto;
  bottom: auto;
  flex: 0 0 42px;
  transform: none;
}
.hero-scroll-block .hero-scroll:hover {
  transform: translateY(3px);
}
.hero-scroll-caption {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .8px;
  text-align: center;
}
@media (max-width: 600px) {
  .hero-content {
    padding-bottom: 115px;
  }
  .hero-scroll-block {
    bottom: 14px;
    gap: 7px;
  }
  .hero-scroll-block .hero-scroll {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  .hero-scroll-caption {
    font-size: 10px;
    letter-spacing: .5px;
  }
}

/* Custom icons for cabin features */
.cabin-feature-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* Happy Nest — restored cabin description */
.detail-page .detail-content-grid > article > .eyebrow,
.detail-page .cabin-description-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
}
.detail-page .detail-description {
  display: block;
  margin: 0 0 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}

/* Calendar heading icon */
.detail-page .calendar-heading-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  vertical-align: middle;
}

/* Happy Nest — use the uploaded calendar icon */

/* Service card — align price and booking action with bottom of photo */
.detail-page .service-card-main {
  align-items: start;
}
.detail-page .service-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.detail-page .service-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
}
.detail-page .service-card-note {
  margin-bottom: 0 !important;
}

/* Happy Nest — clearer booking form and fixed date fields */
.detail-page .booking-form-panel > h2 {
  display: block;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
}
.detail-page .booking-form-panel > .booking-intro {
  display: block;
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.detail-page .booking-fields input[type="date"][readonly] {
  background: #f1f2eb;
  color: var(--green-dark);
  font-weight: 600;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
}
.detail-page .booking-fields input[type="date"][readonly]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
.detail-page .booking-fields input[type="date"][readonly]::-webkit-inner-spin-button {
  display: none;
}

/* Booking form — minimal, non-interactive date display */
.detail-page .booking-form-panel > .booking-intro {
  display: block;
}
.detail-page .booking-fields input[type="date"][readonly] {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(32, 53, 45, .18);
  border-radius: 4px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  background: #fffdf8;
  color: var(--green-dark);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}

/* Booking form heading — centered, clean sans-serif */
.detail-page .booking-form-panel > h2 {
  text-align: center;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Booking form — clearer visual hierarchy */
.detail-page .booking-form-panel > h2 {
  margin: 0 0 20px;
  font-size: 23px;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: var(--green-dark);
}

.detail-page .booking-fields label:has(input[type="date"][readonly]) {
  gap: 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.detail-page .booking-fields input[type="date"][readonly] {
  min-height: 48px;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--green-dark);
}

.detail-page .booking-fields {
  row-gap: 14px;
}

/* Booking dates — centered labels and values */
.detail-page .booking-fields label:has(input[type="date"][readonly]) {
  align-items: flex-start;
  text-align: left;
}
.detail-page .booking-fields input[type="date"][readonly] {
  text-align: left;
  align-self: stretch;
  width: 100%;
}

/* Home page — Modern Nature Retreat. Scoped to avoid affecting other pages. */
.home-page {
  --retreat-milk: #f4f0e7;
  --retreat-sand: #ded0b9;
  --retreat-sage: #aab6a0;
  --retreat-sage-pale: #dce2d5;
  --retreat-forest: #173a31;
  --retreat-forest-deep: #0d2822;
  --retreat-terracotta: #b56e50;
  --retreat-ink: #20352d;
  --retreat-muted: #647169;
  color: var(--retreat-ink);
  background: var(--retreat-milk);
}

.home-page .home-hero { min-height: min(780px, calc(100vh - 84px)); isolation: isolate; align-items: stretch; background: radial-gradient(ellipse at 74% 21%, rgba(255,225,169,.78) 0 3%, transparent 15%), radial-gradient(ellipse at 74% 27%, rgba(238,199,133,.22) 0 13%, transparent 29%), linear-gradient(119deg, #0b2924 0%, #21483c 39%, #789179 77%, #bac4ac 100%); }
.home-page .home-hero-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.home-page .home-hero::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(7,27,23,.18), rgba(7,27,23,.03) 48%, rgba(7,27,23,.22)); pointer-events: none; }
.home-page .hero-scroll-block { z-index: 2; }
.home-page .hero-scroll-caption { color: rgba(245,236,223,.7); }
.home-page .hero-scroll { border-color: rgba(245,236,223,.45); }

.home-page .cabins-section { padding: clamp(38px,3.8vw,56px) 0 clamp(56px,4vw,72px); background: var(--retreat-milk); }
.home-page .section-heading { margin-bottom: clamp(36px,5vw,62px); }
.home-page .eyebrow { color: var(--retreat-terracotta); font-size: 10px; letter-spacing: .19em; }
.home-page .section-heading h2, .home-page .about-copy h2, .home-page .closing-inner h2 { color: var(--retreat-ink); font-size: clamp(42px,5vw,68px); letter-spacing: -.055em; }
.home-page .section-heading h2 em, .home-page .about-copy h2 em { color: #768d76; }
.home-page .cabins-section .section-heading h2 { font-family: var(--sans); font-size: clamp(34px,3.9vw,52px); font-style: normal; font-weight: 600; line-height: 1.12; letter-spacing: -.04em; }
.home-page .cabins-section .section-heading h2 em { font-style: normal; font-weight: inherit; }
.home-page .section-heading > p { max-width: 270px; color: var(--retreat-muted); font-size: 14px; }
.home-page .cabins-grid { gap: clamp(18px,2.5vw,34px); }
.home-page .cabin-card { position: relative; display: flex; min-height: 100%; overflow: hidden; flex-direction: column; border: 1px solid rgba(32,53,45,.11); border-radius: 3px; background: #fbf9f3; box-shadow: 0 4px 0 rgba(23,58,49,.03); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s cubic-bezier(.22,1,.36,1), border-color .28s ease; }
.home-page .cabin-photo { aspect-ratio: .97; background: var(--retreat-sage-pale); }
.home-page .cabin-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 58%, rgba(12,37,31,.28)); pointer-events: none; }
.home-page .photo-arrow { z-index: 1; right: 18px; bottom: 18px; width: 46px; height: 46px; background: var(--retreat-milk); color: var(--retreat-forest); font-size: 20px; transition: background .25s ease, color .25s ease, transform .25s ease; }
.home-page .cabin-card-content { display: flex; flex: 1; flex-direction: column; padding: 27px 25px 23px; }
.home-page .cabin-card-top { display: block; }
.home-page .cabin-card h3 { min-width: 0; color: var(--retreat-ink); font-family: var(--sans); font-size: clamp(24px,2vw,29px); font-style: normal; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.home-page .cabin-card h3 a:hover { color: var(--retreat-terracotta); }
.home-page .cabin-capacity { position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgba(49,87,70,.14); border-radius: 4px; background: rgba(228,235,223,.92); color: #315746; font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; pointer-events: none; }
.home-page .cabin-capacity svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.home-page .cabin-description { min-height: 0; margin: 16px 0 22px; color: var(--retreat-muted); font-size: 13px; line-height: 1.75; }
.home-page .cabin-card-bottom { align-items: center; margin-top: auto; padding-top: 18px; border-color: rgba(32,53,45,.12); }
.home-page .cabin-price strong { color: var(--retreat-forest); font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.home-page .cabin-price span { color: var(--retreat-muted); font-size: 11px; }
.home-page .cabin-card-bottom .text-link { padding: 8px 0; color: var(--retreat-forest); font-size: 12px; }
.home-page .cabin-card-bottom .text-link:hover { color: var(--retreat-terracotta); }

@media (min-width: 1280px) {
  .home-page .cabins-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-page .cabin-card-content { padding: 21px 18px 18px; }
  .home-page .cabin-card h3 { font-size: clamp(22px, 1.75vw, 25px); }
}

@media (hover: hover) and (pointer: fine) {
  .home-page .cabin-card:hover { border-color: rgba(181,110,80,.4); box-shadow: 0 14px 28px rgba(24,47,37,.12); transform: translateY(-4px); }
  .home-page .cabin-card:hover .cabin-photo img { transform: scale(1.025); }
  .home-page .cabin-card:hover .photo-arrow { background: var(--retreat-terracotta); color: white; transform: rotate(45deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .cabin-card.is-reveal-pending:not(.is-revealed) { opacity: 0; transform: translateY(20px); }
  .home-page .cabin-card.is-reveal-pending.is-revealed { opacity: 1; transform: translateY(0); transition: opacity .58s cubic-bezier(.22,1,.36,1) var(--cabin-reveal-delay, 0ms), transform .58s cubic-bezier(.22,1,.36,1) var(--cabin-reveal-delay, 0ms), box-shadow .28s cubic-bezier(.22,1,.36,1), border-color .28s ease; }
}

.home-page .amenities-section { padding: clamp(60px,6vw,76px) 0 clamp(48px,4vw,60px); background: #ecece4; }
.home-page .amenities-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,340px); align-items: end; gap: 28px; margin-bottom: clamp(26px,3.5vw,40px); }
.home-page .amenities-heading .eyebrow { color: var(--retreat-terracotta); }
.home-page .amenities-heading h2 { margin: 13px 0 0; color: var(--retreat-ink); font-family: var(--sans); font-size: clamp(28px,3vw,40px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.home-page .amenities-heading p { max-width: 340px; margin: 0 0 3px; color: var(--retreat-muted); font-size: 14px; line-height: 1.65; }
.home-page .information-tabs { display: inline-flex; max-width: 100%; gap: 3px; margin-bottom: 20px; padding: 4px; border: 1px solid rgba(32,53,45,.14); border-radius: 999px; background: rgba(255,253,248,.72); }
.home-page .information-tab { min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--retreat-forest); font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.home-page .information-tab:hover { background: rgba(52,76,59,.08); }
.home-page .information-tab.is-active { background: var(--retreat-forest); color: #fffdf8; box-shadow: 0 2px 6px rgba(24,47,37,.14); }
.home-page .information-tab:focus-visible, .home-page .information-accordion-trigger:focus-visible { outline: 2px solid #789477; outline-offset: 3px; }
.home-page .information-panel[hidden] { display: none; }
.home-page .amenities-panel, .home-page .information-accordion, .home-page .information-empty-state { border: 1px solid rgba(32,53,45,.12); border-radius: 12px; background: rgba(255,253,248,.68); }
.home-page .amenities-panel { padding: clamp(20px,3vw,30px); }
.home-page .amenities-panel h3, .home-page .information-empty-state h3 { margin: 0; color: var(--retreat-ink); font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.35; }
.home-page .amenities-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: 24px; row-gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.home-page .amenity-card { display: flex; align-items: center; gap: 11px; padding: 3px 0; color: var(--retreat-forest); }
.home-page .amenity-card svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: #597463; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.home-page .amenity-card span { font-size: 12px; font-weight: 500; line-height: 1.35; }
.home-page .amenities-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid rgba(32,53,45,.11); color: var(--retreat-muted); font-size: 12px; line-height: 1.55; }
.home-page .information-accordion { overflow: hidden; }
.home-page .information-accordion-item + .information-accordion-item { border-top: 1px solid rgba(32,53,45,.11); }
.home-page .information-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 0; background: transparent; color: var(--retreat-ink); font-size: 14px; font-weight: 600; line-height: 1.45; text-align: left; cursor: pointer; }
.home-page .information-accordion-trigger svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; transition: transform .24s ease; }
.home-page .information-accordion-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.home-page .information-accordion-content { display: grid; grid-template-rows: 0fr; padding: 0 20px; color: var(--retreat-muted); font-size: 13px; line-height: 1.7; transition: grid-template-rows .24s ease, padding-bottom .24s ease; }
.home-page .information-accordion-content > div { overflow: hidden; }
.home-page .information-accordion-content p { margin: 0; }
.home-page .information-accordion-content.is-open { grid-template-rows: 1fr; padding-bottom: 19px; }
.home-page .information-empty-state { padding: 28px; }
.home-page .information-empty-state p { max-width: 480px; margin: 8px 0 0; color: var(--retreat-muted); font-size: 13px; line-height: 1.65; }

.home-page .atmosphere-section { padding: clamp(58px,6vw,82px) 0 clamp(62px,6vw,86px); background: #dfe3d7; }
.home-page .atmosphere-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,420px); align-items: end; gap: clamp(28px,6vw,100px); margin-bottom: clamp(28px,4vw,46px); }
.home-page .atmosphere-heading .eyebrow { color: var(--retreat-terracotta); }
.home-page .atmosphere-heading h2 { max-width: 680px; margin: 13px 0 0; color: var(--retreat-ink); font-family: var(--sans); font-size: clamp(30px,3.3vw,46px); font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.home-page .atmosphere-heading p { max-width: 420px; margin: 0 0 3px; color: #53645a; font-size: 14px; line-height: 1.75; }
.home-page .atmosphere-video { position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; min-height: 360px; border-radius: 12px; background: #789077; }
.home-page .atmosphere-video-media { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-page .atmosphere-video-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; background: linear-gradient(135deg, #5f7d6b, #365a4b 56%, #263f35); color: #f8f6ef; text-align: center; }
.home-page .atmosphere-video-placeholder::before { position: absolute; inset: 14%; content: ""; border: 1px solid rgba(248,246,239,.22); border-radius: 50% 42% 48% 45%; transform: rotate(-8deg); }
.home-page .atmosphere-video-placeholder svg { position: relative; width: 44px; height: 44px; fill: none; stroke: #dce2d5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.home-page .atmosphere-video-placeholder strong, .home-page .atmosphere-video-placeholder span { position: relative; }
.home-page .atmosphere-video-placeholder strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.home-page .atmosphere-video-placeholder span { color: rgba(248,246,239,.76); font-size: 12px; }
.home-page .atmosphere-video-toggle { position: absolute; top: 50%; left: 50%; display: grid; width: 68px; height: 68px; place-items: center; padding: 0; border: 1px solid rgba(248,246,239,.55); border-radius: 50%; background: rgba(18,49,40,.72); color: #fffdf8; cursor: pointer; transform: translate(-50%,-50%); transition: opacity .2s ease, visibility .2s ease, background .2s ease, transform .2s ease; backdrop-filter: blur(8px); }
.home-page .atmosphere-video-toggle svg { width: 26px; height: 26px; margin-left: 3px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.home-page .atmosphere-video-toggle:hover { background: rgba(18,49,40,.9); transform: translate(-50%,-50%) scale(1.04); }
.home-page .atmosphere-video.is-playing .atmosphere-video-toggle { visibility: hidden; opacity: 0; pointer-events: none; }
.home-page .atmosphere-video-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; background: linear-gradient(135deg, #5f7d6b, #365a4b 56%, #263f35); color: #f8f6ef; text-align: center; }
.home-page .atmosphere-video-fallback[hidden] { display: none; }
.home-page .atmosphere-video-fallback svg { width: 44px; height: 44px; fill: none; stroke: #dce2d5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.home-page .atmosphere-video-fallback strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.home-page .atmosphere-video-fallback span { color: rgba(248,246,239,.76); font-size: 12px; }
.home-page .atmosphere-video-toggle:focus-visible, .home-page .atmosphere-gallery-item:focus-visible, .atmosphere-lightbox button:focus-visible { outline: 2px solid #fffdf8; outline-offset: 3px; }
.home-page .atmosphere-gallery { display: grid; grid-template-columns: 1.22fr .78fr .92fr 1.08fr; grid-auto-rows: 168px; gap: 16px; margin-top: 16px; }
.home-page .atmosphere-gallery-item { position: relative; display: flex; overflow: hidden; align-items: flex-end; min-width: 0; padding: 18px; border: 0; border-radius: 10px; background: #bfcab7; color: var(--retreat-ink); font: inherit; text-align: left; }
.home-page .atmosphere-gallery-item:nth-child(1) { grid-row: span 2; background: #b5c4ac; }
.home-page .atmosphere-gallery-item:nth-child(2) { background: #d4c7b3; }
.home-page .atmosphere-gallery-item:nth-child(3) { grid-row: span 2; background: #91a38d; }
.home-page .atmosphere-gallery-item:nth-child(4) { background: #c5cec1; }
.home-page .atmosphere-gallery-item:not(.is-placeholder) { cursor: zoom-in; }
.home-page .atmosphere-gallery-item:not(.is-placeholder)::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 38%, rgba(21,58,49,.48)); pointer-events: none; }
.home-page .atmosphere-gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.home-page .atmosphere-gallery-item:not(.is-placeholder) .atmosphere-gallery-label { color: #fffdf8; }
.home-page .atmosphere-gallery-item:not(.is-placeholder):hover img { transform: scale(1.025); }
.home-page .atmosphere-gallery-placeholder-mark { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border: 1px solid rgba(32,53,45,.36); border-radius: 50% 42% 46% 42%; }
.home-page .atmosphere-gallery-placeholder-mark::before { position: absolute; top: -7px; left: 10px; width: 1px; height: 35px; content: ""; background: rgba(32,53,45,.36); transform: rotate(45deg); }
.home-page .atmosphere-gallery-label { position: relative; z-index: 1; display: grid; gap: 4px; }
.home-page .atmosphere-gallery-label strong { font-size: 14px; font-weight: 600; line-height: 1.25; }
.home-page .atmosphere-gallery-label small { color: currentColor; font-size: 11px; line-height: 1.45; opacity: .78; }
.atmosphere-lightbox[hidden] { display: none; }
.atmosphere-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.atmosphere-lightbox-backdrop { position: absolute; inset: 0; background: rgba(11,35,29,.82); backdrop-filter: blur(4px); }
.atmosphere-lightbox-dialog { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; width: min(1100px,100%); max-height: min(800px,calc(100vh - 48px)); }
.atmosphere-lightbox figure { margin: 0; text-align: center; }
.atmosphere-lightbox figure img { display: block; width: auto; max-width: 100%; max-height: calc(100vh - 112px); margin: 0 auto; border-radius: 8px; object-fit: contain; }
.atmosphere-lightbox figcaption { padding-top: 10px; color: #fffdf8; font-size: 13px; font-weight: 600; }
.atmosphere-lightbox button { border: 0; background: transparent; color: #fffdf8; cursor: pointer; }
.atmosphere-lightbox-close { position: absolute; top: -38px; right: 0; font-size: 32px; line-height: 1; }
.atmosphere-lightbox-nav { width: 48px; height: 48px; font-size: 42px; line-height: 1; }
body.is-atmosphere-lightbox-open { overflow: hidden; }
.home-page .closing-section { position: relative; overflow: hidden; padding: clamp(88px,10vw,132px) 0; background: #365a4b; }
.home-page .closing-section::before { position: absolute; top: -220px; left: 50%; width: 620px; height: 520px; content: ""; border: 1px solid rgba(225,201,159,.32); border-radius: 50%; transform: translateX(-50%); }
.home-page .closing-inner { position: relative; }
.home-page .closing-inner h2 { color: #fbf6eb; }
.home-page .closing-inner h2 em { color: #ddba87; }
.home-page .closing-section .eyebrow { color: #ddba87; }
.home-page .closing-section .button { border-color: #f5ecdf; background: #f5ecdf; color: var(--retreat-forest-deep); }
.home-page .closing-section .button:hover { background: #fffaf1; transform: translateY(-3px); }

@media (max-width: 900px) {
  .home-page .home-hero { min-height: 680px; }
  .home-page .cabin-photo { aspect-ratio: 1.08; }
  .home-page .amenities-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-page .atmosphere-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 190px; }
  .home-page .atmosphere-gallery-item:nth-child(n) { grid-row: auto; }
  .home-page .atmosphere-gallery-item:nth-child(1), .home-page .atmosphere-gallery-item:nth-child(3) { grid-row: span 1; }
}
@media (max-width: 600px) {
  .home-page .home-hero { min-height: 670px; }
  .home-page .home-hero { background: radial-gradient(ellipse at 74% 18%, rgba(255,225,169,.72) 0 3%, transparent 13%), linear-gradient(145deg, #153b32 0%, #315d4b 51%, #92a486 100%); }
  .home-page .cabins-section { padding: 48px 0 82px; }
  .home-page .cabins-section .section-heading h2 { font-size: clamp(30px,8vw,38px); }
  .home-page .closing-inner h2 { font-size: clamp(36px,10.5vw,48px); }
  .home-page .section-heading > p { max-width: 310px; }
  .home-page .cabin-photo { aspect-ratio: 1.11; }
  .home-page .cabin-card-content { padding: 23px 20px 20px; }
  .home-page .photo-arrow { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .home-page .amenities-section { padding: 58px 0 62px; }
  .home-page .amenities-heading { grid-template-columns: 1fr; align-items: start; gap: 13px; margin-bottom: 27px; }
  .home-page .amenities-heading h2 { font-size: clamp(27px,8vw,34px); }
  .home-page .amenities-heading p { max-width: 310px; font-size: 13px; }
  .home-page .information-tabs { width: 100%; margin-bottom: 16px; }
  .home-page .information-tab { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 12px; }
  .home-page .amenities-panel { padding: 18px; }
  .home-page .amenities-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; row-gap: 16px; margin-top: 17px; }
  .home-page .amenity-card { gap: 10px; padding: 3px 0; }
  .home-page .amenity-card svg { width: 21px; height: 21px; }
  .home-page .amenity-card span { font-size: 12px; }
  .home-page .amenities-note { margin-top: 15px; font-size: 11px; }
  .home-page .atmosphere-section { padding: 58px 0 64px; }
  .home-page .atmosphere-heading { grid-template-columns: 1fr; align-items: start; gap: 13px; margin-bottom: 27px; }
  .home-page .atmosphere-heading h2 { font-size: clamp(27px,8vw,34px); }
  .home-page .atmosphere-heading p { max-width: 320px; font-size: 13px; }
  .home-page .atmosphere-video { height: clamp(250px,70vw,300px); min-height: 0; aspect-ratio: auto; border-radius: 9px; }
  .home-page .atmosphere-video-placeholder strong { font-size: 16px; }
  .home-page .atmosphere-video-toggle { width: 60px; height: 60px; }
  .home-page .atmosphere-gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 12px; margin-top: 12px; }
  .home-page .atmosphere-gallery-item { padding: 16px; border-radius: 8px; }
  .home-page .atmosphere-gallery-placeholder-mark { top: 16px; right: 16px; }
  .atmosphere-lightbox { padding: 18px; }
  .atmosphere-lightbox-dialog { width: 100%; }
  .atmosphere-lightbox-nav { position: absolute; bottom: 28px; z-index: 2; background: rgba(11,35,29,.58); }
  .atmosphere-lightbox-prev { left: 8px; }
  .atmosphere-lightbox-next { right: 8px; }
  .home-page .closing-section { padding: 82px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero-video { display: none; }
  .home-page .information-tab,
  .home-page .information-accordion-trigger svg,
  .home-page .information-accordion-content,
  .home-page .atmosphere-gallery-item img { transition: none; }
}

/* Cabin detail — Modern Nature Retreat */
.detail-page {
  --detail-milk: #f4f0e7;
  --detail-surface: #fbf9f3;
  --detail-forest: #173a31;
  --detail-forest-deep: #0d2822;
  --detail-sage: #dce2d5;
  --detail-sage-strong: #789077;
  --detail-sand: #ded0b9;
  --detail-terracotta: #b56e50;
  --detail-ink: #20352d;
  --detail-muted: #647169;
  --detail-line: rgba(32, 53, 45, .13);
  padding-top: clamp(28px, 2.8vw, 40px);
  background: var(--detail-milk);
}

.detail-page > .container { max-width: 1200px; }
.detail-page .breadcrumbs { gap: 10px; color: var(--detail-muted); font-size: 11px; letter-spacing: .03em; }
.detail-page .breadcrumbs a:hover { color: var(--detail-terracotta); }
.detail-page .detail-heading { margin: 18px 0 30px; }
.detail-page .detail-heading h1 { color: var(--detail-ink); font-size: clamp(42px, 5vw, 68px); letter-spacing: -.055em; line-height: 1; }
.detail-page .detail-home-button { border-color: var(--detail-line); background: rgba(251,249,243,.78); color: var(--detail-forest); }
.detail-page .detail-home-button:hover { border-color: var(--detail-terracotta); background: var(--detail-terracotta); color: #fffaf0; }

.detail-page .detail-gallery { gap: 14px; margin-bottom: 22px; }
.detail-page .gallery-main,
.detail-page .gallery-thumb { border-radius: 14px; background: var(--detail-sage); box-shadow: 0 12px 30px rgba(17, 44, 35, .08); }
.detail-page .gallery-main { height: clamp(390px, 46vw, 620px); min-height: 390px; }
.detail-page .gallery-side { gap: 14px; }
.detail-page .gallery-thumb { aspect-ratio: auto; }
.detail-page .gallery-main::after,
.detail-page .gallery-thumb::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(9,31,26,.32)); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.detail-page .gallery-main:hover::after,
.detail-page .gallery-thumb:hover::after { opacity: 1; }
.detail-page .gallery-main:hover img,
.detail-page .gallery-thumb:hover img { transform: scale(1.05); }
.detail-page .gallery-open-hint { left: 20px; bottom: 20px; z-index: 1; padding: 11px 14px; border-color: rgba(255,250,240,.38); border-radius: 2px; background: rgba(13,40,34,.82); color: #fffaf0; letter-spacing: .06em; }
.detail-page .gallery-more { background: rgba(13,40,34,.72); font-size: 16px; }
.detail-page .gallery-main:focus-visible,
.detail-page .gallery-thumb:focus-visible,
.detail-page .lightbox-close:focus-visible,
.detail-page .lightbox-arrow:focus-visible { outline-color: var(--detail-terracotta); }
.detail-page .detail-gallery-empty .photo-placeholder { min-height: 390px; border-radius: 14px; }

.detail-page .detail-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 clamp(24px, 2.3vw, 32px); padding: 16px 0; border: 0; border-radius: 0; background: transparent; }
.detail-page .detail-meta-row .detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 0; }
.detail-page .detail-meta-row .detail-feature { display: inline-flex; align-items: center; gap: 8px; color: var(--detail-forest); font-size: 14px; font-weight: 500; line-height: 1.35; }
.detail-page .detail-feature .cabin-feature-icon { width: 19px; height: 19px; flex: 0 0 auto; margin: 0; object-fit: contain; filter: invert(30%) sepia(16%) saturate(1100%) hue-rotate(106deg) brightness(90%) contrast(90%); opacity: .8; }
.detail-page .detail-meta-divider { width: 1px; height: 21px; flex: 0 0 auto; background: var(--detail-line); }
.detail-page .detail-night-price { display: flex; flex: 0 0 auto; align-items: baseline; gap: 9px; margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--detail-muted); }
.detail-page .detail-night-price strong { color: var(--detail-forest); font-family: var(--sans); font-size: clamp(30px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.detail-page .detail-night-price span { color: var(--detail-muted); font-size: 12px; }

.detail-page .public-availability { margin: 0 0 clamp(32px, 3vw, 40px); padding: clamp(20px, 3vw, 30px); border: 1px solid var(--detail-line); border-radius: 14px; background: var(--detail-surface); box-shadow: 0 15px 36px rgba(21,51,42,.06); }
.detail-page .calendar-disclosure-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-page .calendar-disclosure-copy { display: flex; min-width: 0; align-items: center; gap: 11px; }
.detail-page .calendar-heading-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; filter: invert(30%) sepia(16%) saturate(1100%) hue-rotate(106deg) brightness(90%) contrast(90%); }
.detail-page .calendar-disclosure-copy h2 { margin: 0; color: var(--detail-forest); font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.detail-page .calendar-disclosure-copy p { margin: 4px 0 0; color: var(--detail-muted); font-size: 12px; line-height: 1.4; }
.detail-page .calendar-disclosure-summary { color: var(--detail-forest); font-weight: 600; }
.detail-page .calendar-disclosure-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 13px; border: 1px solid var(--detail-line); border-radius: 8px; background: #f8f6ef; color: var(--detail-forest); font: 600 12px/1.2 var(--sans); white-space: nowrap; cursor: pointer; transition: border-color .24s ease, background-color .24s ease, color .24s ease; }
.detail-page .calendar-disclosure-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .28s ease; }
.detail-page .calendar-disclosure-toggle:hover { border-color: var(--detail-sage-strong); background: #eef2ea; }
.detail-page .calendar-disclosure-toggle:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .calendar-disclosure.is-expanded .calendar-disclosure-toggle svg { transform: rotate(180deg); }
.detail-page .calendar-disclosure.is-expanded .calendar-disclosure-header { padding-bottom: 15px; border-bottom: 1px solid #e4e1d8; }
.detail-page .calendar-disclosure-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .24s ease; }
.detail-page .calendar-disclosure-panel-inner { transform: translateY(-8px); transition: transform .3s ease; }
.detail-page .calendar-disclosure.is-expanded .calendar-disclosure-panel { opacity: 1; }
.detail-page .calendar-disclosure.is-expanded .calendar-disclosure-panel-inner { transform: translateY(0); }
.detail-page .public-calendar-toolbar { margin: 13px 0 10px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.detail-page .public-calendar-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin: 0; }
.detail-page .public-calendar-nav > a { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--detail-forest); }
.detail-page .public-calendar-nav > a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.detail-page .public-calendar-nav > a:hover { background: transparent; color: var(--detail-sage-strong); opacity: .82; transform: none; }
.detail-page .public-calendar-nav > a:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .public-calendar-month-meta { display: flex; align-items: center; justify-self: center; gap: 15px; min-width: 0; }
.detail-page .public-calendar-month-meta > strong { color: var(--detail-forest); font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.detail-page .public-calendar-legend { gap: 11px; margin: 0; color: var(--detail-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.detail-page .public-calendar-legend span { gap: 5px; }
.detail-page .public-calendar-dot { width: 8px; height: 8px; }
.detail-page .public-calendar-dot.is-free { background: var(--detail-sage-strong); }
.detail-page .public-calendar-dot.is-blocked { background: var(--detail-terracotta); }
.detail-page .public-calendar-grid { padding: 6px; gap: 5px; }
.detail-page .public-calendar-weekday { padding: 6px 2px; color: var(--detail-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-page .public-calendar-day { min-height: 50px; gap: 3px; border-radius: 5px; transition: transform .2s ease, box-shadow .2s ease; }
.detail-page .public-calendar-day.is-free { background: #e6ece1; color: var(--detail-forest); }
.detail-page .public-calendar-day.is-blocked { background: #f3e2da; color: #93553e; }
.detail-page .public-calendar-day.is-outside { background: transparent; }
.detail-page .public-calendar-day.is-today { border-color: var(--detail-sage-strong); box-shadow: inset 0 0 0 1px rgba(120,144,119,.34); }
.detail-page .public-calendar-day small { font-size: 9px; letter-spacing: .02em; }
.detail-page .public-calendar-date { width: 100%; height: 100%; padding: 5px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.detail-page .public-calendar-day.is-free:has(.public-calendar-date:hover) { box-shadow: inset 0 0 0 1px var(--detail-forest), 0 5px 13px rgba(17,50,41,.12); transform: translateY(-2px); }
.detail-page .public-calendar-day.is-range-start,
.detail-page .public-calendar-day.is-range-end { border-color: var(--detail-forest); background: var(--detail-forest); color: #fffaf0; box-shadow: 0 3px 9px rgba(23,58,49,.16); }
.detail-page .public-calendar-day.is-in-range { border-color: transparent; background: #d8e2d4; color: var(--detail-forest); }
.detail-page .public-calendar-day.is-past { background: #eeeae1; color: #9b9f96; opacity: .82; }

@media (min-width: 601px) and (max-width: 900px) {
  .detail-page .public-calendar-grid { padding: 7px; gap: 6px; }
  .detail-page .public-calendar-weekday { padding-block: 7px; }
  .detail-page .public-calendar-day { min-height: 52px; }
  .detail-page .public-calendar-date { padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-page .calendar-disclosure-panel,
  .detail-page .calendar-disclosure-panel-inner,
  .detail-page .calendar-disclosure-toggle,
  .detail-page .calendar-disclosure-toggle svg,
  .detail-page .booking-contact-modal,
  .detail-page .booking-contact-toggle,
  .detail-page .booking-contact-toggle svg { transition: none; }
}

.detail-page .detail-content-grid { gap: clamp(38px, 6vw, 78px); }
.detail-page .detail-content-grid > article > .eyebrow,
.detail-page .cabin-description-heading .eyebrow { color: var(--detail-terracotta); letter-spacing: .17em; }
.detail-page .detail-description { max-width: 780px; margin-top: 12px; color: #485a50; font-size: 16px; line-height: 1.95; }
.detail-page .detail-content-grid > article > h2 { margin: clamp(32px, 3vw, 40px) 0 20px; color: var(--detail-ink); font-size: clamp(31px, 4vw, 45px); letter-spacing: -.04em; }
.detail-page .cabin-description-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 780px; }
.detail-page .cabin-description-heading .eyebrow { margin-bottom: 0; }
.detail-page .cabin-important-trigger { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 8px 12px; border: 1px solid rgba(146,76,53,.14); border-radius: 7px; background: #f4e4d9; color: #924c35; font: 600 13px/1.1 var(--sans); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.detail-page .cabin-important-trigger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.detail-page .cabin-important-trigger:hover { border-color: rgba(146,76,53,.3); background: #edd8cb; transform: translateY(-1px); }
.detail-page .cabin-important-trigger:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .cabin-important-modal { width: min(620px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 32px)); margin: auto; padding: 0; border: 1px solid var(--detail-line); border-radius: 12px; background: var(--detail-surface); color: var(--detail-ink); box-shadow: 0 24px 56px rgba(12,38,31,.24); opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, overlay .22s ease allow-discrete, display .22s ease allow-discrete; }
.detail-page .cabin-important-modal[open] { opacity: 1; transform: translateY(0); }
@starting-style { .detail-page .cabin-important-modal[open] { opacity: 0; transform: translateY(10px); } }
.detail-page .cabin-important-modal::backdrop { background: rgba(18,44,36,.48); backdrop-filter: blur(3px); }
body.is-cabin-important-open { overflow: hidden; }
.detail-page .cabin-important-modal-content { overflow-y: auto; padding: clamp(22px, 4vw, 30px); }
.detail-page .cabin-important-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.detail-page .cabin-important-modal-kicker { margin: 0 0 7px; color: var(--detail-terracotta); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.detail-page .cabin-important-modal h2 { margin: 0; color: var(--detail-forest); font: 700 clamp(26px, 4vw, 32px)/1.2 var(--sans); letter-spacing: -.045em; }
.detail-page .cabin-important-modal-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--detail-line); border-radius: 50%; background: transparent; color: var(--detail-forest); font: 300 25px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.detail-page .cabin-important-modal-close:hover { background: #e6ece1; transform: rotate(90deg); }
.detail-page .cabin-important-modal-close:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .cabin-important-modal-subtitle { margin: 10px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--detail-line); color: var(--detail-muted); font-size: 13px; line-height: 1.55; }
.detail-page .cabin-important-rules { display: grid; gap: 0; }
.detail-page .cabin-important-rule { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--detail-line); }
.detail-page .cabin-important-rule:first-child { padding-top: 0; }
.detail-page .cabin-important-rule:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-page .cabin-important-rule-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; background: #f4e4d9; color: #924c35; }
.detail-page .cabin-important-rule-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.detail-page .cabin-important-rule h3 { margin: 1px 0 5px; color: var(--detail-forest); font-size: 14px; font-weight: 700; line-height: 1.35; }
.detail-page .cabin-important-rule p,
.detail-page .cabin-important-rule ul { margin: 0; color: var(--detail-muted); font-size: 13px; line-height: 1.55; }
.detail-page .cabin-important-rule ul { padding-left: 18px; }

.detail-page .detail-services { gap: 16px; margin-top: 0; }
.detail-page .service-card { padding: 18px; border: 1px solid var(--detail-line); border-radius: 12px; background: var(--detail-surface); box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.detail-page .service-card:hover { border-color: rgba(181,110,80,.55); box-shadow: 0 14px 28px rgba(23,58,49,.1); transform: translateY(-3px); }
.detail-page .service-card-main { grid-template-columns: clamp(190px, 22vw, 220px) minmax(0, 1fr) auto; align-items: stretch; gap: clamp(18px, 2.5vw, 28px); }
.detail-page .service-card-photo { width: 100%; height: 160px; aspect-ratio: auto; border-radius: 8px; object-fit: cover; }
.detail-page .service-card-photo-placeholder { display: grid; place-items: center; border: 1px solid var(--detail-line); background: #edf0e8; color: var(--detail-sage-strong); }
.detail-page .service-card-photo-placeholder svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.detail-page .service-card-content { display: flex; flex-direction: column; justify-content: center; }
.detail-page .service-card-heading h3 { color: var(--detail-ink); font-size: clamp(23px, 2.3vw, 29px); line-height: 1.18; }
.detail-page .service-card-description { margin: 8px 0 14px; color: var(--detail-muted); font-size: 13px; line-height: 1.65; }
.detail-page .service-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: var(--detail-forest); }
.detail-page .service-card-price-amount { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.detail-page .service-card-price-unit { color: var(--detail-muted); font-size: 12px; font-weight: 500; }
.detail-page .service-card-action-row { display: flex; align-items: center; justify-content: flex-end; width: auto; margin: 0; padding: 0; border: 0; }
.detail-page .service-card-toggle { position: relative; display: inline-flex; min-height: 44px; padding: 10px 14px; border-color: var(--detail-forest); border-radius: 6px; background: var(--detail-forest); color: #f8f6ef; font-size: 13px; font-weight: 600; transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease; }
.detail-page .service-card-toggle:hover { border-color: var(--detail-forest-deep); background: var(--detail-forest-deep); box-shadow: 0 7px 15px rgba(23,58,49,.14); transform: translateY(-1px); }
.detail-page .service-card-toggle:has(input:checked) { border-color: var(--detail-sage-strong); background: #e1e9dd; color: var(--detail-forest); box-shadow: none; }
.detail-page .service-card-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.detail-page .service-card-toggle:has(input:focus-visible) { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .service-card-note { color: var(--detail-muted); }
.detail-page .service-card > .service-slot-options-modern { margin-top: 14px; padding: 15px; border-color: var(--detail-line); border-radius: 7px; background: #edf0e8; animation: service-options-in .24s ease-out; }
.detail-page .service-slot-fields select,
.detail-page .service-slot-fields input { min-height: 42px; border-color: rgba(32,53,45,.17); border-radius: 3px; background: #fffdf8; color: var(--detail-ink); }
.detail-page .service-slot-fields select:focus,
.detail-page .service-slot-fields input:focus { border-color: var(--detail-terracotta); outline-color: rgba(181,110,80,.18); }
.detail-page .service-slot-status { color: var(--detail-muted); }

@keyframes service-options-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .detail-page .service-card,
  .detail-page .service-card-toggle,
  .detail-page .service-card > .service-slot-options-modern { animation: none; transition: none; }
}

.detail-page .booking-form-panel { margin-top: clamp(44px, 6vw, 76px); padding: clamp(21px, 3.4vw, 40px); border-color: var(--detail-line); border-radius: 14px; background: var(--detail-surface); box-shadow: 0 14px 30px rgba(17,48,40,.07); color: var(--detail-ink); }
.detail-page .booking-form-panel > h2 { margin: 0; color: var(--detail-forest); font-size: clamp(32px, 4.2vw, 47px); letter-spacing: -.045em; }
.detail-page .booking-form-panel > .booking-intro { max-width: 670px; margin: 10px 0 22px; color: var(--detail-muted); }
.detail-page .booking-fields { gap: 17px; margin: 0 0 25px; }
.detail-page .booking-fields label { color: var(--detail-forest); font-size: 12px; letter-spacing: .03em; }
.detail-page .booking-fields input,
.detail-page .booking-fields textarea { border-color: rgba(32,53,45,.16); border-radius: 3px; background: #fffdf8; color: var(--detail-ink); }
.detail-page .booking-fields input:focus-visible,
.detail-page .booking-fields textarea:focus-visible { outline-color: var(--detail-terracotta); }
.detail-page #booking-estimate { margin: 0 0 14px; padding: 17px; border-color: rgba(120,144,119,.24); border-radius: 7px; background: #e6ece1; color: var(--detail-ink); }
.detail-page #booking-estimate h2 { margin: 0 0 6px; color: var(--detail-forest); font-family: var(--sans); font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.detail-page #estimate-hint,
.detail-page .estimate-note { color: var(--detail-muted); }
.detail-page #estimate-breakdown { display: grid; gap: 0; }
.detail-page .estimate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(32,53,45,.12); }
.detail-page .estimate-row-content { display: grid; gap: 3px; min-width: 0; }
.detail-page .estimate-row-title { color: var(--detail-forest); font-size: 14px; font-weight: 700; line-height: 1.35; }
.detail-page .estimate-row-period,
.detail-page .estimate-row-detail { color: var(--detail-muted); font-size: 12px; line-height: 1.45; }
.detail-page .estimate-row-amount { align-self: center; color: var(--detail-forest); font-size: 14px; font-weight: 700; line-height: 1.35; text-align: right; white-space: nowrap; }
.detail-page .estimate-total { margin-top: 3px; padding-top: 12px; border-top: 1px solid rgba(32,53,45,.16); color: var(--detail-forest); font-size: 17px; font-weight: 700; }
.detail-page .booking-contact-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--detail-forest); border-radius: 7px; background: var(--detail-forest); color: #f8f6ef; font: 600 14px/1.2 var(--sans); cursor: pointer; transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease; }
.detail-page .booking-contact-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .28s ease; }
.detail-page .booking-contact-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.detail-page .booking-contact-toggle:hover { border-color: var(--detail-forest-deep); background: var(--detail-forest-deep); box-shadow: 0 9px 18px rgba(23,58,49,.16); transform: translateY(-2px); }
.detail-page .booking-contact-toggle:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .booking-date-notice { margin: 10px 0 0; color: #9a533d; font-size: 13px; line-height: 1.45; }
.detail-page .booking-contact-modal { width: min(520px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 32px)); margin: auto; padding: 0; border: 1px solid var(--detail-line); border-radius: 12px; background: var(--detail-surface); color: var(--detail-ink); box-shadow: 0 24px 56px rgba(12,38,31,.24); opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, overlay .22s ease allow-discrete, display .22s ease allow-discrete; }
.detail-page .booking-contact-modal[open] { opacity: 1; transform: translateY(0); }
@starting-style { .detail-page .booking-contact-modal[open] { opacity: 0; transform: translateY(10px); } }
.detail-page .booking-contact-modal.is-closing { opacity: 0; transform: translateY(10px); }
.detail-page .booking-contact-modal::backdrop { background: rgba(18,44,36,.48); backdrop-filter: blur(3px); }
.detail-page .booking-contact-modal-content { padding: clamp(22px, 4vw, 30px); overflow-y: auto; }
.detail-page .booking-contact-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.detail-page .booking-contact-modal h2 { margin: 0; color: var(--detail-forest); font-family: var(--sans); font-size: clamp(26px, 4vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.detail-page .booking-contact-modal-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--detail-line); border-radius: 50%; background: transparent; color: var(--detail-forest); font: 300 25px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.detail-page .booking-contact-modal-close:hover { background: #e6ece1; transform: rotate(90deg); }
.detail-page .booking-contact-modal-close:focus-visible { outline: 2px solid var(--detail-terracotta); outline-offset: 3px; }
.detail-page .booking-contact-modal .booking-intro { max-width: 430px; margin: 9px 0 20px; color: var(--detail-muted); font-size: 13px; line-height: 1.55; }
.detail-page .booking-submit-button { width: 100%; min-height: 50px; border-color: #244b3d; background: #244b3d; color: #f8f6ef; box-shadow: none; }
.detail-page .booking-submit-button:hover { border-color: var(--detail-forest-deep); background: var(--detail-forest-deep); transform: translateY(-2px); }
.detail-page .booking-modal-note { margin: 12px 0 0; color: var(--detail-muted); font-size: 12px; line-height: 1.5; text-align: center; }
.detail-page .field-error { color: #a3503a; }

@media (prefers-reduced-motion: reduce) {
  .detail-page .booking-contact-modal,
  .detail-page .cabin-important-modal,
  .detail-page .booking-contact-toggle,
  .detail-page .booking-contact-toggle svg,
  .detail-page .cabin-important-trigger { transition: none; }
}

.detail-page .gallery-lightbox { background: rgba(8,30,25,.82); }
.detail-page .gallery-lightbox::backdrop { background: rgba(8,30,25,.74); backdrop-filter: blur(8px); }
.detail-page .lightbox-close,
.detail-page .lightbox-arrow { border-color: rgba(255,250,240,.25); background: rgba(255,250,240,.1); }
.detail-page .lightbox-close:hover,
.detail-page .lightbox-arrow:hover { background: var(--detail-terracotta); }

@media (max-width: 900px) {
  .detail-page .gallery-main { height: clamp(330px, 51vw, 510px); min-height: 330px; }
  .detail-page .detail-night-price { min-width: 0; }
  .detail-page .public-calendar-nav { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .detail-page .service-card-main { grid-template-columns: minmax(160px, 28%) minmax(0, 1fr) auto; gap: 16px; }
}

@media (max-width: 600px) {
  .detail-page { padding-top: 20px; padding-bottom: 60px; }
  .detail-page .detail-heading { align-items: flex-start; gap: 14px; margin: 14px 0 22px; }
  .detail-page .detail-heading h1 { font-size: clamp(38px, 12vw, 52px); }
  .detail-page .detail-home-button { padding: 8px 10px; font-size: 11px; }
  .detail-page .detail-gallery { gap: 9px; margin-bottom: 16px; }
  .detail-page .gallery-main { height: clamp(275px, 78vw, 380px); min-height: 275px; border-radius: 10px; }
  .detail-page .gallery-side { gap: 9px; }
  .detail-page .gallery-thumb { aspect-ratio: 1.3; border-radius: 9px; }
  .detail-page .gallery-open-hint { left: 12px; bottom: 12px; padding: 8px 10px; }
  .detail-page .detail-meta-row { flex-wrap: wrap; gap: 12px; margin-bottom: 22px; padding: 14px 0; }
  .detail-page .detail-meta-row .detail-meta { gap: 10px; }
  .detail-page .detail-meta-row .detail-feature { gap: 7px; font-size: 13px; }
  .detail-page .detail-feature .cabin-feature-icon { width: 18px; height: 18px; }
  .detail-page .detail-meta-divider { height: 18px; }
  .detail-page .detail-night-price { justify-content: flex-end; gap: 7px; width: 100%; }
  .detail-page .public-availability { margin-bottom: 28px; padding: 18px 14px; border-radius: 10px; }
  .detail-page .calendar-disclosure-header { align-items: flex-start; gap: 12px; }
  .detail-page .calendar-disclosure-copy { gap: 10px; }
  .detail-page .calendar-heading-icon { width: 18px; height: 18px; flex-basis: 18px; padding: 0; }
  .detail-page .calendar-disclosure-copy h2 { font-size: 16px; }
  .detail-page .calendar-disclosure-copy p { font-size: 11px; }
  .detail-page .calendar-disclosure-toggle { min-height: 40px; padding: 8px 10px; }
  .detail-page .public-calendar-toolbar { margin: 13px 0 10px; padding: 0; }
  .detail-page .public-calendar-nav { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; }
  .detail-page .public-calendar-month-meta { flex-direction: column; gap: 5px; }
  .detail-page .public-calendar-month-meta > strong { font-size: 14px; }
  .detail-page .public-calendar-nav > a:first-child { grid-column: 1; grid-row: 1; }
  .detail-page .public-calendar-nav > a:last-child { grid-column: 3; grid-row: 1; }
  .detail-page .public-calendar-nav .public-calendar-legend { justify-content: center; font-size: 12px; }
  .detail-page .public-calendar-grid { padding: 8px; gap: 3px; }
  .detail-page .public-calendar-weekday { padding: 6px 0; font-size: 9px; }
  .detail-page .public-calendar-day { min-height: 43px; gap: 1px; border-radius: 3px; font-size: 12px; }
  .detail-page .public-calendar-day small { display: none; }
  .detail-page .detail-description { font-size: 15px; line-height: 1.85; }
  .detail-page .cabin-description-heading { align-items: flex-start; gap: 12px; }
  .detail-page .cabin-important-trigger { min-height: 34px; padding: 7px 10px; font-size: 12px; }
  .detail-page .cabin-important-modal { width: min(100vw - 24px, 620px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .detail-page .cabin-important-modal-content { padding: 20px 16px; }
  .detail-page .detail-content-grid > article > h2 { margin-top: 32px; font-size: 34px; }
  .detail-page .detail-services { gap: 12px; }
  .detail-page .service-card { padding: 12px; border-radius: 9px; }
  .detail-page .service-card-main { grid-template-columns: 1fr; gap: 14px; }
  .detail-page .service-card-photo { height: clamp(150px, 48vw, 188px); }
  .detail-page .service-card-heading h3 { font-size: 24px; }
  .detail-page .service-card-description { margin: 5px 0 11px; font-size: 12px; line-height: 1.55; }
  .detail-page .service-card-action-row { justify-content: stretch; width: 100%; }
  .detail-page .service-card-price-amount { font-size: 17px; }
  .detail-page .service-card-toggle { width: 100%; min-height: 46px; padding: 9px 12px; font-size: 13px; }
  .detail-page .service-card > .service-slot-options-modern { padding: 10px; }
  .detail-page .service-card > .service-slot-options-modern > .service-slot-fields { grid-template-columns: 1fr; gap: 8px; }
  .detail-page .booking-form-panel { margin-top: 42px; padding: 17px 14px; border-radius: 10px; }
  .detail-page .booking-form-panel > h2 { font-size: 30px; }
  .detail-page .booking-form-panel > .booking-intro { display: none; margin-bottom: 0; font-size: 13px; }
  .detail-page .booking-fields { grid-template-columns: 1fr; gap: 11px; }
  .detail-page .booking-comment { grid-column: auto; }
  .detail-page .booking-fields textarea { min-height: 80px; }
  .detail-page #booking-estimate { margin: 0 0 13px; padding: 12px; }
  .detail-page #booking-estimate h2 { font-size: 21px; }
  .detail-page .estimate-row { gap: 10px; padding: 11px 0; }
  .detail-page .estimate-row-amount { font-size: 13px; }
  .detail-page .estimate-total { font-size: 16px; }
  .detail-page .booking-contact-modal { width: min(100vw - 24px, 520px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .detail-page .booking-contact-modal-content { padding: 20px 16px; }
  .detail-page .booking-contact-toggle { min-height: 50px; }
  .detail-page .gallery-lightbox { padding: 70px 9px 48px; }
}

@media (max-width: 360px) {
  .detail-page .calendar-disclosure-header { flex-wrap: wrap; }
  .detail-page .calendar-disclosure-toggle { margin-left: 28px; }
}
