/* Hotel showcase ("下榻酒店") — cream paper, serif type, gold hairlines. */
.hotels-section {
  /* Shared tokens come from theme.css; fallbacks keep this file usable on its own. */
  --res-paper: var(--surface, #f7f1e4);
  --res-paper-deep: #efe6d2;
  --res-ink: var(--ink, #1f2a26);
  --res-green: var(--green, #1f3a30);
  --res-gold: var(--gold, #a3824a);
  --res-gold-soft: var(--gold-soft, #dccaa4);
  --res-muted: var(--muted, #6f6656);
  --res-serif: var(--serif, Georgia, serif);
}

.hotels-section .section-kicker { color: var(--res-gold); }

/* Stay order strip */
.res-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.res-strip::-webkit-scrollbar { display: none; }
.res-strip a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--res-gold-soft);
  border-radius: 999px;
  background: var(--res-paper);
  color: var(--res-green);
  text-decoration: none;
  white-space: nowrap;
}
.res-strip b { font: 600 14px/1 var(--res-serif); letter-spacing: 0.08em; }
.res-strip span { font-size: 12px; color: var(--res-muted); }
.res-strip__arrow { color: var(--res-gold); font-size: 13px; }

/* Card */
.res-card {
  position: relative;
  margin: 0 0 26px;
  border-radius: 18px;
  overflow: hidden;
  color: var(--res-ink);
  background:
    repeating-linear-gradient(0deg, rgba(120, 96, 52, 0.025) 0 1px, transparent 1px 3px),
    var(--res-paper);
  box-shadow: 0 1px 0 rgba(163, 130, 74, 0.35), 0 18px 44px rgba(53, 40, 18, 0.10);
  scroll-margin-top: 60px;
}
.res-card__inner {
  position: relative;
  margin: 10px;
  padding: 0 18px 20px;
  border: 1px solid var(--res-gold-soft);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

/* Gallery */
.res-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--res-green);
}
.res-gallery__track {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.res-gallery__track::-webkit-scrollbar { display: none; }
.res-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}
.res-slide[hidden] { display: none; }
.res-slide img { width: 100%; height: 100%; object-fit: cover; }
.res-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 16px 30px;
  background: linear-gradient(transparent, rgba(16, 24, 20, 0.72));
  color: #fbf6ea;
}
.res-slide figcaption span { display: block; font: 500 14px/1.35 var(--res-serif); letter-spacing: 0.02em; }
.res-slide figcaption small { display: block; margin-top: 3px; font-size: 10px; opacity: 0.72; letter-spacing: 0.04em; }
.res-gallery__dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.res-gallery__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(251, 246, 234, 0.45); }
.res-gallery__dots i.is-active { background: #fbf6ea; }
.res-gallery__dots i[hidden] { display: none; }
.res-gallery__plate {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: var(--res-gold-soft);
  background:
    radial-gradient(circle at 50% 45%, rgba(220, 202, 164, 0.16), transparent 60%),
    var(--res-green);
}
.res-gallery__plate span { font: 400 64px/1 var(--res-serif); letter-spacing: 0.12em; }
.res-gallery__plate small { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.res-gallery--empty .res-gallery__track { display: none; }
.res-gallery--empty { aspect-ratio: 16 / 9; }

/* Header */
.res-head { text-align: center; }
.res-seal {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px auto 12px;
  position: relative;
  z-index: 3;
  border-radius: 50%;
  background: var(--res-green);
  color: #f3e7c9;
  font: 500 18px/1 var(--res-serif);
  letter-spacing: 0.1em;
  box-shadow: 0 0 0 3px var(--res-paper), 0 0 0 4px var(--res-gold);
}
.res-brand {
  margin: 0 0 8px;
  color: var(--res-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.res-name {
  margin: 0;
  font: 600 23px/1.2 var(--res-serif);
  letter-spacing: 0.01em;
  color: var(--res-green);
}
.res-name-zh { margin: 6px 0 0; font: 400 14px/1.4 var(--res-serif); color: var(--res-muted); letter-spacing: 0.12em; }
.res-tagline {
  margin: 14px auto 0;
  max-width: 30em;
  padding-top: 12px;
  border-top: 1px solid var(--res-gold-soft);
  font: italic 400 14px/1.6 var(--res-serif);
  color: var(--res-ink);
}

/* Folio: stay dates */
.res-folio {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-block: 1px solid var(--res-gold-soft);
  text-align: center;
}
.res-folio div { min-width: 0; }
.res-folio dt { margin-bottom: 6px; color: var(--res-gold); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.res-folio dd { margin: 0; font: 500 14px/1.35 var(--res-serif); }
.res-folio dd b { display: block; margin-top: 2px; font: 600 18px/1.2 var(--res-serif); color: var(--res-green); }
.res-folio__nights {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 100%;
  padding-inline: 10px;
  border-inline: 1px dotted var(--res-gold-soft);
  font-size: 16px !important;
  color: var(--res-green);
}
.res-folio__note { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--res-muted); }
.res-status {
  margin: 12px auto 0;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--res-green);
  color: #f3e7c9;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.res-status:empty { display: none; }

/* Contact */
.res-contact { margin-top: 16px; text-align: center; }
.res-contact p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--res-muted); }
.res-actions { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.res-actions a {
  min-width: 72px;
  padding: 9px 14px;
  border: 1px solid var(--res-gold);
  border-radius: 999px;
  color: var(--res-green);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.res-actions a:first-child { background: var(--res-green); border-color: var(--res-green); color: #f3e7c9; }

/* Tabs */
.res-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0 14px;
  border-bottom: 1px solid var(--res-gold-soft);
}
.res-tabs button {
  padding: 11px 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--res-muted);
  font: 500 14px/1 var(--res-serif);
  letter-spacing: 0.1em;
  cursor: pointer;
}
.res-tabs button[aria-selected="true"] { color: var(--res-green); border-bottom-color: var(--res-gold); font-weight: 700; }
.res-panel[hidden] { display: none; }

/* Facilities */
.res-facility { border-bottom: 1px solid rgba(163, 130, 74, 0.22); }
.res-facility summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  list-style: none;
  cursor: pointer;
}
.res-facility summary::-webkit-details-marker { display: none; }
.res-facility__thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--res-paper-deep);
}
.res-facility__thumb--mark {
  display: grid;
  place-items: center;
  background: var(--res-green);
  color: var(--res-gold-soft);
  font: 500 15px/1 var(--res-serif);
  letter-spacing: 0.08em;
}
.res-facility__head { flex: 1; min-width: 0; }
.res-facility__head small { display: block; margin-bottom: 3px; color: var(--res-gold); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.res-facility__head strong { display: block; font: 600 15px/1.3 var(--res-serif); color: var(--res-green); }
.res-facility__chevron { color: var(--res-gold); font-size: 18px; transition: transform 0.2s ease; }
.res-facility[open] .res-facility__chevron { transform: rotate(45deg); }
.res-facility p { margin: 0 0 12px 68px; font-size: 14px; line-height: 1.7; }

/* Story */
.res-story { list-style: none; margin: 4px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--res-gold-soft); }
.res-story li { position: relative; padding: 0 0 16px 6px; }
.res-story li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--res-paper);
  box-shadow: inset 0 0 0 2px var(--res-gold);
}
.res-story__year { font: italic 600 17px/1.2 var(--res-serif); color: var(--res-green); }
.res-story p { margin: 4px 0 0; font-size: 14px; line-height: 1.7; }
.res-vibe {
  margin: 8px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--res-paper-deep);
  font: italic 400 14px/1.75 var(--res-serif);
  color: var(--res-ink);
}
.res-vibe::before { content: "“"; display: block; height: 18px; color: var(--res-gold); font: 400 36px/1 var(--res-serif); }

/* Must-do checklist */
.res-progress { margin: 0 0 6px; color: var(--res-gold); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; }
.res-checklist { list-style: none; margin: 0; padding: 0; }
.res-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(163, 130, 74, 0.22);
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}
.res-check input { position: absolute; opacity: 0; pointer-events: none; }
.res-check__box {
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--res-gold);
  border-radius: 4px;
  background: #fffaf0;
}
.res-check.is-done .res-check__box { background: var(--res-green); border-color: var(--res-green); }
.res-check.is-done .res-check__box::after { content: "✓"; display: block; color: #f3e7c9; font-size: 13px; line-height: 19px; text-align: center; }
.res-check.is-done > span:last-child { color: var(--res-muted); text-decoration: line-through; text-decoration-color: var(--res-gold); }
.res-check input:focus-visible + .res-check__box { outline: 2px solid var(--res-gold); outline-offset: 2px; }

.res-evening {
  margin-top: 18px;
  padding: 16px 16px 6px;
  border-radius: 12px;
  background: var(--res-green);
  color: #f3e7c9;
}
.res-evening__title { margin: 0 0 10px; font: 600 15px/1.3 var(--res-serif); letter-spacing: 0.04em; }
.res-evening ol { list-style: none; margin: 0; padding: 0; }
.res-evening li { display: flex; gap: 12px; padding: 0 0 10px; font-size: 13px; line-height: 1.5; }
.res-evening time { flex: 0 0 52px; color: var(--res-gold-soft); font: 600 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Tips and sources */
.res-tips { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.res-tips li::marker { color: var(--res-gold); }
.res-sources { margin-top: 14px; font-size: 12px; color: var(--res-muted); }
.res-sources summary { cursor: pointer; color: var(--res-gold); font-weight: 700; letter-spacing: 0.08em; }
.res-sources ul { margin: 8px 0 0; padding-left: 16px; line-height: 1.8; }
.res-sources a { color: var(--res-muted); }

/* Bar passport */
.bar-passport {
  margin-top: 6px;
  padding: 22px 16px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 202, 164, 0.12), transparent 45%),
    var(--res-green);
  color: #f3e7c9;
  text-align: center;
}
.bar-passport__eyebrow { margin: 0; color: var(--res-gold-soft); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; }
.bar-passport h3 { margin: 8px 0 4px; font: 600 22px/1.2 var(--res-serif); letter-spacing: 0.08em; }
.bar-passport__count { margin: 0 0 16px; font-size: 12px; opacity: 0.75; }
.bar-passport__stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bar-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.bar-stamp__ring {
  display: grid;
  place-content: center;
  gap: 3px;
  width: min(96px, 26vw);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(220, 202, 164, 0.55);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.bar-stamp__ring small { font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; opacity: 0.7; }
.bar-stamp__ring strong { font: 600 13px/1.15 var(--res-serif); padding-inline: 6px; }
.bar-stamp__ring em { font-style: normal; font-size: 9px; opacity: 0.7; padding-inline: 6px; }
.bar-stamp__fact { font-size: 11px; line-height: 1.5; opacity: 0.8; }
.bar-stamp.is-stamped .bar-stamp__ring {
  transform: rotate(-9deg);
  border: 3px double #e2b866;
  background: rgba(226, 184, 102, 0.12);
  color: #f6d48e;
}
.bar-stamp:focus-visible .bar-stamp__ring { outline: 2px solid var(--res-gold-soft); outline-offset: 3px; }

@media (min-width: 700px) {
  .res-gallery { aspect-ratio: 16 / 9; }
  .res-card__inner { padding-inline: 36px; }
}
