/* Room detail pages (room-*.html) */
.rp { background: #fff; }
.rp svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* hero */
.rp-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #1b1714; }
.rp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 28%, rgba(10, 8, 6, .15) 50%, rgba(10, 8, 6, .82) 100%); }
.rp-hero-inner { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 56px; }
.rp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .9); }
.rp-crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.rp-crumbs a:hover { text-decoration-color: #fff; }
.rp-hero h1 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1; margin: 0 0 16px; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.rp-hero-rate { font-size: 1.1rem; margin: 0 0 26px; color: #fff; }
.rp-hero-rate strong { font-weight: 600; }
.rp-hero-cta { display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; border-radius: 999px; background: #fff; color: #14141f; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .15s, background .2s; }
.rp-hero-cta:hover { background: #f1ebe3; }
.rp-hero-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* layout */
.rp-body { padding: 72px 0 40px; }
.rp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "intro aside" "details aside"; column-gap: 72px; align-items: start; }
.rp-intro { grid-area: intro; }
.rp-aside { grid-area: aside; align-self: stretch; }
.rp-details { grid-area: details; }
.rp-sticky { position: sticky; top: 110px; }
.rp-kicker { margin: 0 0 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7a6247; }
.rp-lead { margin: 0 0 40px; font-family: var(--font-heading); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.3; color: #14141f; }
.rp-h { font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; color: #14141f; margin: 48px 0 18px; line-height: 1.2; }

/* gallery */
.rp-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; }
.rp-shot { all: unset; box-sizing: border-box; cursor: zoom-in; position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: #efe9e1; }
.rp-shot--lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 20px; }
.rp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.rp-shot:hover img { transform: scale(1.04); }
.rp-shot:focus-visible { outline: 3px solid #14141f; outline-offset: 3px; }

/* amenities */
.rp-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.rp-amen li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #2b2b34; }
.rp-amen svg { width: 20px; height: 20px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: #f3ede5; color: #7a6247; }
.rp-terms { margin-top: 8px; }
.rp-terms ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #3d3d48; font-size: .95rem; line-height: 1.6; }

/* other rooms */
.rp-others-wrap { background: #f6f2ec; padding: 64px 0 80px; }
.rp-others-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.rp-others-head .rp-h { margin: 0; }
.rp-link { display: inline-flex; align-items: center; gap: 8px; color: #14141f; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rp-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rp-other { display: grid; gap: 4px; text-decoration: none; color: #14141f; background: #fff; border-radius: 18px; overflow: hidden; padding-bottom: 16px; transition: transform .2s, box-shadow .2s; }
.rp-other:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(20, 20, 31, .4); }
.rp-other:focus-visible { outline: 3px solid #14141f; outline-offset: 3px; }
.rp-other img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; display: block; }
.rp-other-name { font-family: var(--font-heading); font-size: 1.4rem; padding: 0 18px; }
.rp-other-rate { padding: 0 18px; font-weight: 600; font-size: .95rem; }
.rp-other-rate small { font-weight: 400; color: #5c5c66; }

/* mobile sticky bar */
.rp-mobilebar { display: none; }

/* lightbox */
.rp-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.rp-lightbox::backdrop { background: rgba(8, 8, 12, .92); }
.rp-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.rp-lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; border-radius: 12px; object-fit: contain; }
.rp-lb-x, .rp-lb-nav { all: unset; cursor: pointer; position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; }
.rp-lb-x:hover, .rp-lb-nav:hover { background: rgba(255, 255, 255, .28); }
.rp-lb-x:focus-visible, .rp-lb-nav:focus-visible { outline: 2px solid #fff; }
.rp-lb-x { top: 18px; right: 18px; }
.rp-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.rp-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1024px) {
  .rp-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "aside" "details"; }
  .rp-sticky { position: static; }
  .rp-lead { margin-bottom: 28px; }
  .rp-aside { margin-bottom: 16px; }
  .rp-others { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rp-hero { min-height: 72vh; min-height: 72svh; }
  .rp-hero-inner { padding-bottom: 36px; }
  .rp-hero-rate { font-size: 1rem; }
  .rp-body { padding: 44px 0 24px; }
  .rp-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rp-amen { grid-template-columns: 1fr; }
  .rp-h { font-size: 1.6rem; margin-top: 40px; }
  .rp-others { grid-template-columns: 1fr; }
  .bwb--card { padding: 22px 18px; border-radius: 20px; }
  .rp-mobilebar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #e3ddd5; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .18);
    transition: transform .25s;
  }
  .rp-mobilebar.is-hidden { transform: translateY(110%); }
  .rp-mobilebar-price { display: grid; line-height: 1.2; }
  .rp-mobilebar-price strong { font-size: 1.15rem; color: #14141f; }
  .rp-mobilebar-price span { font-size: .8rem; color: #5c5c66; }
  .rp-mobilebar button { all: unset; cursor: pointer; background: #14141f; color: #fff; font-weight: 600; font-size: .95rem; padding: 14px 24px; border-radius: 999px; }
  .rp-mobilebar button:focus-visible { outline: 3px solid #7a6247; outline-offset: 2px; }
  .rp ~ footer { padding-bottom: 90px; }
  .rp-lb-prev, .rp-lb-next { top: auto; bottom: 24px; transform: none; }
}
