:root {
  --wine: #7B1E22;
  --gold: #C4A06A;
  --blush: #FBF1EE;
  --line: #EBDCD5;
  --line2: #E1CFC6;
  --grid: #EFE6E2;
  --ink: #2B1D1A;
  --ink2: #4A3630;
  --muted: #6E4E3E;
  --free: #FBEDE8;
  --free-bd: #D9A99A;
  --now: #C2410C;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 15px/1.5 'Be Vietnam Pro', system-ui, sans-serif;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: var(--wine); }
a:hover { color: #5a1417; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.wine { color: var(--wine); }
h1, h2, .sub, .serif { margin: 0; font-family: var(--serif); font-style: italic; color: var(--wine); }
h1, h2 { font-weight: 700; }
h1 { font-size: 24px; line-height: 1.15; }
h2 { font-size: 24px; line-height: 1.2; }
.sub { font-size: 15px; color: var(--muted); }

/* double frame */
.frame { margin: 10px; border: 1px solid var(--wine); padding: 4px; min-height: calc(100vh - 20px); }
.inner { border: 1px solid var(--gold); padding: 18px 16px 32px; display: flex; flex-direction: column; gap: 18px; max-width: 1080px; margin: 0 auto; }

.brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.brand img { width: 84px; height: auto; }

.row { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.row > svg { margin-top: 1px; }
.row.wrap { flex-wrap: wrap; gap: 6px 16px; }
.row.wrap span { display: flex; align-items: center; gap: 8px; }
.info { background: var(--blush); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cta { min-height: 44px; border-radius: 999px; background: var(--wine); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cta:hover { background: #5a1417; color: #fff; }
.cta svg { stroke: currentColor; }

/* room cards */
.rooms { display: grid; gap: 16px; }
.room { text-align: left; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 10px; color: inherit; }
.room:hover { border-color: var(--gold); }
.room > :not(.gal) { padding: 0 4px; }
.gal { position: relative; }
.gal .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 10px; }
.gal .track::-webkit-scrollbar { display: none; }
.gal img { display: block; flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.gal .nav { position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 16px; padding: 0; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gal .nav[hidden] { display: none; }
.gal .nav svg { width: 16px; height: 16px; stroke-width: 2.5; }
.gal .prev { left: 8px; }
.gal .next { right: 8px; }
.gal .count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(43, 29, 26, .6); color: #fff; font-size: 12px; font-weight: 500; }
.room .name { font: italic 700 22px var(--serif); color: var(--wine); }
.room .desc { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.facts span { background: var(--blush); border-radius: 10px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.3; }
.facts svg, .amen svg { width: 18px; height: 18px; flex-basis: 18px; stroke-width: 1.6; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.amen-wrap { display: flex; flex-direction: column; gap: 8px; }
.amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.amen span { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.room .price { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding-top: 10px; padding-bottom: 2px; border-top: 1px solid var(--line); }
.price b { display: block; font-size: 16px; font-weight: 600; }
.price small { font-size: 13px; color: var(--muted); }
.price b small { font-weight: 400; }
.price .go { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--wine); white-space: nowrap; }

footer { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.divider { display: flex; align-items: center; gap: 10px; }
.divider span { width: 72px; height: 1px; background: var(--gold); }
.divider i { width: 8px; height: 8px; background: var(--wine); transform: rotate(45deg); }
.contact { width: 100%; max-width: 520px; background: var(--blush); border-radius: 14px; padding: 0 14px 4px; display: flex; flex-direction: column; }
.contact .eyebrow { padding: 12px 0 8px; font-size: 10px; }
.contact a { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; }
.contact .grow { flex: 1; }
.contact .muted { font-weight: 400; }
.badge { flex: 0 0 36px; height: 36px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--wine); }
.chev { width: 16px; height: 16px; stroke: #A0784F; stroke-width: 2; }
.bye { margin: 0; font: italic 13px var(--serif); color: var(--muted); }

/* bottom sheet */
dialog { position: fixed; inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 480px; max-height: none; height: min(780px, 94dvh); padding: 0; border: 0; border-radius: 24px 24px 0 0; background: #fff; color: inherit; box-shadow: 0 -8px 24px rgba(43, 29, 26, .18); flex-direction: column; overflow: hidden; }
dialog[open] { display: flex; }
dialog::backdrop { background: rgba(43, 29, 26, .45); }
.sheet-top { background: var(--blush); display: flex; flex-direction: column; }
.grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: #D6C2B9; margin-top: 10px; }
.sheet-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; }
.close { flex: 0 0 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line2); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.close svg { width: 18px; height: 18px; stroke-width: 2; }
.sheet-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.pricing { background: var(--blush); padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.pricing .row { color: var(--ink2); line-height: 1.45; }
.pricing .row svg { width: 18px; height: 18px; flex-basis: 18px; }
.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; font-size: 13px; }
.prices th { background: var(--wine); color: #fff; font-size: 12px; font-weight: 600; text-align: left; padding: 9px 10px; }
.prices td { border-top: 1px solid #F0E4DF; padding: 8px 10px; }
.prices th + th, .prices td + td { text-align: right; }

.cal { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #E8DCD6; touch-action: pan-y; user-select: none; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 4px 16px; }
.cal-nav > div { display: flex; }
.cal-nav > div:first-child { flex-direction: column; }
.range { font: italic 700 18px var(--serif); color: var(--wine); }
.hint { font-size: 11px; color: var(--muted); }
.cal-nav button { width: 44px; height: 44px; border: 0; border-radius: 22px; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.cal-nav button svg { width: 20px; height: 20px; stroke-width: 2; }
.cal-nav button:disabled { cursor: default; }
.cal-nav button:disabled svg { stroke: #C9BBB5; }
.day-head { display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)); padding-bottom: 8px; margin-right: 8px; }
.day-head > span { font-size: 10px; color: var(--muted); align-self: end; text-align: center; }
.day-head div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.day-head .wd { font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--ink2); }
.day-head .num { width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; }
.day-head .freeh { font-size: 11px; font-weight: 600; color: var(--wine); }
.day-head .today .wd { color: var(--wine); }
.day-head .today .num { background: var(--wine); color: #fff; }

.grid { display: grid; grid-template-columns: 48px repeat(3, minmax(0, 1fr)); padding: 8px 8px 16px 0; touch-action: pan-y; user-select: none; }
.hours { position: relative; height: 640px; }
.hours span { position: absolute; right: 8px; font-size: 10px; color: var(--muted); transform: translateY(-50%); }
.col { position: relative; height: 640px; border-left: 1px solid var(--grid); background: repeating-linear-gradient(var(--grid) 0 1px, transparent 1px 40px); }
.blk { position: absolute; left: 3px; right: 3px; border-radius: 6px; padding: 3px 6px; overflow: hidden; display: flex; flex-direction: column; gap: 1px; font-size: 10px; line-height: 1.2; text-decoration: none; }
.blk b { font-size: 11px; font-weight: 600; }
.blk.off { background: var(--wine); color: #fff; }
a.blk { background: var(--free); border: 1px solid var(--free-bd); color: var(--wine); padding: 4px 6px; gap: 2px; }
a.blk:hover { background: #F6DED6; color: var(--wine); }
a.blk b { font-size: 12px; }
a.blk span { color: var(--muted); }
a.blk u { margin-top: auto; font-weight: 600; }
.now { position: absolute; left: -4px; right: 0; height: 2px; background: var(--now); z-index: 2; }
.now::before { content: ''; position: absolute; left: -1px; top: -4px; width: 10px; height: 10px; border-radius: 5px; background: var(--now); }
.state { grid-column: 1 / -1; margin: 16px; background: var(--blush); border-radius: 14px; padding: 16px; text-align: center; font-size: 14px; color: var(--ink2); }

.sheet-foot { border-top: 1px solid var(--line2); background: #fff; padding: 10px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.sheet-foot .cta { min-height: 48px; }
.legend { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink2); }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend .wine { font-weight: 600; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.free { background: var(--free); border: 1px solid var(--free-bd); }
.sw.off { background: var(--wine); }

@media (min-width: 760px) {
  .inner { padding: 32px 32px 40px; gap: 28px; }
  h1 { font-size: 34px; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dialog { inset: 0; margin: auto; border-radius: 24px; }
}

.gal img { cursor: zoom-in; }
.pswp svg { stroke: none; } /* undo the site-wide icon stroke inside PhotoSwipe */
