/* =====================================================================
   KOHWAN — stays: the listing (.stl / .stf / .stc) and one stay (.hst).
   Laid out to the references in the site's own navy, gold and warm white.
   ===================================================================== */
.stl, .hst {
  --s-navy: #2e4755;
  --s-ink: #1f3441;
  --s-muted: #5f7380;
  --s-gold: #BD830D;
  --s-line: #E4EAED;
  --s-sky: #EAF5F8;
  --s-ease: cubic-bezier(.22, .61, .36, 1);
  color: var(--s-ink);
}

/* ============================== THE LISTING ============================== */
.stl { padding-block: clamp(24px, 3vw, 44px) clamp(48px, 6vw, 88px); }
/* style.css gives every inner page's <main> just the info bar's height on
   top, which wiped out the room these pages keep under the header. */
body.inner-page main.stl { padding-top: calc(var(--ubar-h, 0px) + clamp(28px, 3.4vw, 52px)); }
body.inner-page main.hst { padding-top: calc(var(--ubar-h, 0px) + clamp(24px, 2.8vw, 40px)); }
.stl-head { max-width: 72ch; margin-bottom: clamp(20px, 2.6vw, 34px); }
.stl-eyebrow { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--s-gold); }
.stl-head h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.12; color: var(--s-navy); }
.stl-lead { margin: 0; font-size: .96rem; line-height: 1.7; color: var(--s-muted); }

.stl-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 34px); align-items: start; }

/* ---- the filter rail ---- */
.stf { position: sticky; top: 96px; }
.stf__h { margin: 0 0 12px; font-size: .95rem; font-weight: 800; color: var(--s-ink); }
.stf__box { padding: 16px; border: 1px solid var(--s-line); border-radius: 10px; background: #FFFFFF; }
.stf__box + .stf__box { margin-top: 12px; border-top: 1px solid var(--s-line); }
.stf__box h3 { margin: 0 0 12px; font-size: .84rem; font-weight: 700; color: var(--s-ink); }
.stf__range { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: .82rem; color: var(--s-muted); }
.stf__slider { width: 100%; accent-color: var(--s-navy); }

.stf__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.stf__chip {
  padding: 7px 13px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #FFFFFF;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--s-ink);
  cursor: pointer;
  transition: background-color .18s var(--s-ease), border-color .18s var(--s-ease), color .18s var(--s-ease);
}
.stf__chip:hover { border-color: var(--s-navy); }
.stf__chip.is-on { background: var(--s-navy); border-color: var(--s-navy); color: #FFFFFF; }

.stf__places { margin: 0; padding: 0; list-style: none; }
.stf__places button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .84rem;
  color: var(--s-ink);
  text-align: left;
  cursor: pointer;
}
.stf__places button span { color: var(--s-muted); }
.stf__places button:hover { color: var(--s-gold); }
.stf__places button.is-on { font-weight: 800; color: var(--s-navy); }

.stf__clear {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: #FFFFFF;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: var(--s-navy);
  cursor: pointer;
}
.stf__clear:hover { border-color: var(--s-navy); background: var(--s-sky); }

/* ---- the results ---- */
.stl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stl-count { margin: 0; font-size: 1rem; }
.stl-count b { font-weight: 800; color: var(--s-navy); }
.stl-sort { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--s-muted); }
.stl-sort select { padding: 8px 10px; border: 1px solid var(--s-line); border-radius: 8px; background: #FFFFFF; font: inherit; font-size: .84rem; color: var(--s-ink); }

.stl-rows { display: flex; flex-direction: column; gap: 14px; }
.stc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 190px;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  background: #FFFFFF;
  transition: box-shadow .2s var(--s-ease), border-color .2s var(--s-ease);
}
.stc[hidden] { display: none; }
.stc:hover { border-color: #CFDBE1; box-shadow: 0 10px 26px rgba(20, 34, 44, .08); }
.stc__img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--s-sky); }
.stc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--s-ease); }
.stc:hover .stc__img img { transform: scale(1.04); }

.stc__body { min-width: 0; }
.stc__name { margin: 0 0 4px; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.stc__name a { color: var(--s-navy); text-decoration: none; }
.stc__name a:hover { color: var(--s-gold); }
.stc__stars { margin-left: 6px; font-size: .78rem; color: var(--s-gold); letter-spacing: 1px; }
.stc__stars i { font-style: normal; }
.stc__where { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; font-size: .82rem; color: var(--s-muted); }
.stc__where a { color: var(--s-navy); text-decoration: underline; text-underline-offset: 2px; }
.stc__points { margin: 0; padding: 0; list-style: none; font-size: .82rem; line-height: 1.7; color: var(--s-ink); }
.stc__points li { position: relative; padding-left: 14px; }
.stc__points li::before { content: "·"; position: absolute; left: 2px; color: var(--s-muted); }
.stc__free { color: #2F7D63 !important; }

.stc__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.stc__score { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; color: var(--s-muted); }
.stc__score b {
  display: grid;
  place-items: center;
  min-width: 42px;
  padding: 7px 9px;
  border-radius: 8px 8px 8px 0;
  background: var(--s-navy);
  color: #FFFFFF;
  font-size: .92rem;
  font-weight: 800;
}
.stc__price { margin: 0; }
.stc__price b { display: block; font-size: 1.32rem; font-weight: 800; color: var(--s-navy); }
.stc__price small { font-size: .74rem; color: var(--s-muted); }
.stc__ask { font-size: 1.05rem !important; }
.stc__go {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 8px;
  background: var(--s-navy);
  color: #FFFFFF;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s var(--s-ease);
}
.stc__go:hover { filter: brightness(1.15); }

.stl-none { padding: 36px 0; font-size: .95rem; color: var(--s-muted); }
.stl-none[hidden] { display: none; }
.stl-none button { border: 0; background: none; font: inherit; font-weight: 700; color: var(--s-navy); text-decoration: underline; cursor: pointer; }

.stl-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.stl-page {
  min-width: 38px;
  padding: 9px 12px;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: #FFFFFF;
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  color: var(--s-navy);
  cursor: pointer;
}
.stl-page.is-on { background: var(--s-navy); border-color: var(--s-navy); color: #FFFFFF; }
.stl-page[disabled] { opacity: .4; cursor: default; }

/* ============================== ONE STAY ============================== */
.hst { padding-block: clamp(18px, 2.4vw, 30px) clamp(48px, 6vw, 88px); }
.hst-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 14px; font-size: .78rem; color: var(--s-muted); }
.hst-crumbs a { color: var(--s-muted); text-decoration: none; }
.hst-crumbs a:hover { color: var(--s-navy); text-decoration: underline; }

.hst-sent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-left: 3px solid #2F7D63;
  border-radius: 8px;
  background: #ECF6F2;
  font-size: .9rem;
  line-height: 1.6;
  color: #23604D;
}
.hst-sent b { color: #1C4E3E; }

.hst-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hst-title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.2; color: var(--s-navy); }
.hst-stars { margin-left: 8px; font-size: .8rem; color: var(--s-gold); letter-spacing: 2px; }
.hst-stars i { font-style: normal; }
.hst-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hst-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #FFFFFF;
  font-size: .82rem;
  font-weight: 700;
  color: var(--s-navy);
  text-decoration: none;
  cursor: pointer;
}
.hst-act svg { width: 15px; height: 15px; }
.hst-act:hover { border-color: var(--s-navy); background: var(--s-sky); }
.hst-act[hidden] { display: none; }
.hst-act--added { border-color: #2F7D63; background: #ECF6F2; color: #2F7D63; }
.hst-act--added button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(47, 125, 99, .16); color: inherit; cursor: pointer; }
.hst-act--added button svg { width: 11px; height: 11px; }

/* ---- the photographs ---- */
.hst-shots { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 8px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.hst-shots__big { display: block; aspect-ratio: 4 / 3; border-radius: 12px 0 0 12px; overflow: hidden; background: var(--s-sky); }
/* One photograph on its own runs the width, rather than leaving empty cells. */
.hst-shots--solo { grid-template-columns: minmax(0, 1fr); }
.hst-shots--solo .hst-shots__big { aspect-ratio: 21 / 9; border-radius: 12px; }
.hst-shots__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.hst-shots__cell { display: block; overflow: hidden; background: var(--s-sky); }
.hst-shots__cell:nth-child(2) { border-radius: 0 12px 0 0; }
.hst-shots__cell:nth-child(4) { border-radius: 0 0 12px 0; }
.hst-shots__cell--empty { background: #F2F5F6; }
.hst-shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--s-ease); }
.hst-shots a:hover img { transform: scale(1.04); }
.hst-shots__all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #22323B;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  color: var(--s-ink);
  cursor: pointer;
}
.hst-shots__all svg { width: 14px; height: 14px; }
.hst-shots__all:hover { background: #FFFFFF; }

/* ---- the body ---- */
.hst-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 372px); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.hst-block { padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--s-line); }
.hst-block--intro { padding-top: 0; }
.hst-block--intro h2 { margin: 0 0 8px; font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 800; color: var(--s-navy); }
.hst-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: .88rem; color: var(--s-muted); }
.hst-facts span + span::before { content: "· "; }

.hst-fav { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--s-line); border-radius: 12px; }
.hst-fav__ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--s-sky); color: var(--s-gold); }
.hst-fav__ic svg { width: 20px; height: 20px; }
.hst-fav div { display: flex; flex-direction: column; margin-right: auto; }
.hst-fav b { font-size: .95rem; color: var(--s-navy); }
.hst-fav span { font-size: .82rem; color: var(--s-muted); }
.hst-fav__score { margin: 0; text-align: center; }
.hst-fav__score b { display: block; font-size: 1.4rem; font-weight: 800; color: var(--s-navy); }
.hst-fav__score small { font-size: .72rem; color: var(--s-muted); }

.hst-marks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hst-marks li { display: flex; gap: 14px; }
.hst-marks__ic { display: grid; place-items: center; width: 26px; height: 26px; flex: none; color: var(--s-navy); }
.hst-marks__ic svg { width: 18px; height: 18px; }
.hst-marks b { display: block; font-size: .93rem; color: var(--s-ink); }
.hst-marks small { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.55; color: var(--s-muted); }

.hst-about p { margin: 0; font-size: .93rem; line-height: 1.8; color: var(--s-muted); }
.hst-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--s-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hst-more svg { width: 14px; height: 14px; transition: transform .22s var(--s-ease); }
.hst-more.is-open svg { transform: rotate(180deg); }

.hst-h { margin: 0 0 14px; font-size: 1.12rem; font-weight: 800; color: var(--s-navy); }
.hst-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.hst-rooms li { display: flex; flex-direction: column; gap: 6px; }
.hst-rooms__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--s-sky); }
.hst-rooms__img img { width: 100%; height: 100%; object-fit: cover; }
.hst-rooms b { font-size: .92rem; color: var(--s-ink); }
.hst-rooms small { font-size: .8rem; color: var(--s-muted); }

.hst-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.hst-amen li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--s-ink); }
.hst-amen svg { width: 16px; height: 16px; flex: none; color: var(--s-navy); }

.hst-where { margin: 0 0 10px; font-size: .9rem; color: var(--s-muted); }
.hst-map { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--s-navy); text-decoration: underline; text-underline-offset: 3px; }
.hst-map svg { width: 14px; height: 14px; }

/* ---- the reserve card ---- */
.hst-side { position: sticky; top: 96px; }
.hst-card { padding: 20px; border: 1px solid var(--s-line); border-radius: 14px; background: #FFFFFF; box-shadow: 0 12px 30px rgba(20, 34, 44, .09); }
.hst-card__price { margin: 0 0 14px; display: flex; align-items: baseline; gap: 7px; }
.hst-card__price b { font-size: 1.5rem; font-weight: 800; color: var(--s-navy); }
.hst-card__ask { font-size: 1.15rem !important; }
.hst-card__price span { font-size: .85rem; color: var(--s-muted); }
.hst-card__note { margin: 10px 0 0; font-size: .76rem; line-height: 1.55; text-align: center; color: var(--s-muted); }

.hst-err { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid #A3564E; background: #FCF1F0; color: #7A3A34; font-size: .84rem; }
.hst-err ul { margin: 0; padding-left: 16px; }

.hst-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: 10px; border: 1px solid #C6D2D8; border-radius: 10px; overflow: hidden; }
.hst-dates label { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; }
.hst-dates label + label { border-left: 1px solid #C6D2D8; }
.hst-dates span { font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--s-muted); }
.hst-dates input { border: 0; padding: 0; background: none; font: inherit; font-size: .88rem; color: var(--s-ink); outline: none; }

.hst-pick { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.hst-pick span { font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--s-muted); }
.hst-pick select, .hst-pick input, .hst-pick textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C6D2D8;
  border-radius: 10px;
  background: #FFFFFF;
  font: inherit;
  font-size: .88rem;
  color: var(--s-ink);
}
.hst-pick textarea { resize: vertical; }
.hst-pick select:focus, .hst-pick input:focus, .hst-pick textarea:focus { outline: 0; border-color: var(--s-navy); box-shadow: 0 0 0 3px rgba(185, 221, 229, .5); }

.hst-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 12px; padding-top: 12px; border-top: 1px solid var(--s-line); font-size: .88rem; color: var(--s-muted); }
.hst-sum[hidden] { display: none; }
.hst-sum b { font-size: 1.05rem; font-weight: 800; color: var(--s-navy); }
.hst-you[hidden] { display: none; }

.hst-go {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--s-navy);
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  color: #FFFFFF;
  cursor: pointer;
  transition: filter .2s var(--s-ease);
}
.hst-go:hover { filter: brightness(1.15); }

/* ---- more stays ---- */
.hst-more-stays { margin-top: clamp(34px, 4vw, 60px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--s-line); }
.hst-more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.hst-mcard { display: flex; flex-direction: column; gap: 5px; text-decoration: none; }
.hst-mcard__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--s-sky); }
.hst-mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--s-ease); }
.hst-mcard:hover img { transform: scale(1.05); }
.hst-mcard b { font-size: .9rem; color: var(--s-ink); }
.hst-mcard small { font-size: .8rem; color: var(--s-muted); }
.hst-mcard__price { font-size: .86rem; font-weight: 700; color: var(--s-navy); }
.hst-mcard__price i { font-style: normal; font-weight: 400; color: var(--s-muted); }

/* ---- the lightbox ---- */
.hst-lb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 60px);
  background: rgba(12, 20, 26, .92);
}
.hst-lb[hidden] { display: none; }
.hst-lb img { max-width: min(1100px, 100%); max-height: 84vh; object-fit: contain; border-radius: 8px; }
.hst-lb__close, .hst-lb__step {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #FFFFFF;
  cursor: pointer;
}
.hst-lb__close { top: 20px; right: 20px; }
.hst-lb__step--prev { left: 16px; }
.hst-lb__step--next { right: 16px; }
.hst-lb__close svg, .hst-lb__step svg { width: 20px; height: 20px; }
.hst-lb__close:hover, .hst-lb__step:hover { background: rgba(255, 255, 255, .26); }
.hst-lb__count { position: absolute; bottom: 20px; margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .8); }

@media (max-width: 980px) {
  .hst-grid { grid-template-columns: minmax(0, 1fr); }
  .hst-side { position: static; }
  .stl-grid { grid-template-columns: minmax(0, 1fr); }
  .stf { position: static; }
  .stc { grid-template-columns: 180px minmax(0, 1fr); }
  .stc__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}
@media (max-width: 620px) {
  .stc { grid-template-columns: minmax(0, 1fr); }
  .stc__img { aspect-ratio: 16 / 9; }
  .hst-shots { grid-template-columns: minmax(0, 1fr); }
  .hst-shots__big { border-radius: 12px; }
  .hst-shots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 80px; }
  .hst-shots__cell, .hst-shots__cell:nth-child(2), .hst-shots__cell:nth-child(4) { border-radius: 8px; }
}
