/* v2 proposal: shared components. Each site sets the tokens in its own /_sj/v2/<slug>.css. */
.sj-v2 {
  --sj-ink: #1d1d1b;
  --sj-muted: #5b5852;
  --sj-surface: #ffffff;
  --sj-accent: #1d1d1b;
  --sj-accent-ink: #ffffff;
  --sj-line: rgba(0, 0, 0, 0.1);
  --sj-font: inherit;
  --sj-radius: 10px;
}

.sjv2-hidden { display: none !important; }

/* Key facts directly under the hero: what a guest checks first. */
.sjv2-facts {
  background: var(--sj-surface);
  border-bottom: 1px solid var(--sj-line);
  position: relative;
  z-index: 2;
}
.sjv2-facts__list {
  list-style: none;
  margin: 0 auto;
  padding: 18px 24px;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.sjv2-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sj-ink);
  font: 500 15px/1.3 var(--sj-font);
  letter-spacing: 0.01em;
}
.sjv2-fact svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--sj-accent); }
@media (max-width: 767px) {
  .sjv2-facts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    padding: 16px;
  }
  .sjv2-fact { font-size: 14px; }
}

/* Sticky booking bar: always one tap from the calendar. */
.sjv2-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2147482000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--sj-surface);
  color: var(--sj-ink);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.25s ease;
  font-family: var(--sj-font);
}
.sjv2-bar.is-on { transform: none; }
.sjv2-bar__text { display: flex; flex-direction: column; min-width: 0; }
.sjv2-bar__text strong { font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sjv2-bar__text span { font-size: 12.5px; color: var(--sj-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sjv2-bar__btn {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--sj-accent);
  color: var(--sj-accent-ink) !important;
  font: 600 14px/1 var(--sj-font);
  text-decoration: none !important;
  letter-spacing: 0.02em;
}
@media (min-width: 992px) {
  .sjv2-bar { left: auto; right: 24px; bottom: 24px; max-width: 460px; }
}

/* Video: a light poster instead of a full-width black YouTube iframe; the player loads on click. */
.sjv2-video {
  max-width: 980px;
  margin-left: auto !important;
  margin-right: auto !important;
  /* Webflow's video wrapper reserves a 16:9 box with a grey YouTube placeholder; the poster has its own ratio. */
  padding-top: 0 !important;
  height: auto !important;
  background: none !important;
}
.sjv2-yt, .sjv2-yt__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--sj-radius);
  overflow: hidden;
}
.sjv2-yt {
  position: relative;
  cursor: pointer;
  background: #222 center / cover no-repeat;
  padding: 0;
}
.sjv2-yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05) 55%); }
.sjv2-yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  transition: transform 0.2s ease;
}
.sjv2-yt__play svg { width: 30px; height: 30px; margin-left: 4px; }
.sjv2-yt:hover .sjv2-yt__play { transform: scale(1.06); }
.sjv2-yt__label {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  color: #fff; font: 600 15px/1.2 var(--sj-font); letter-spacing: 0.02em;
}

/* Keep the version switch and the bar from covering the last content on phones. */
@media (max-width: 991px) {
  .sjv2-has-bar body { padding-bottom: 76px; }
}

/* Booking calendar and review widgets sat in Webflow's default .w-container (max 940px) while the
   rest of each page runs to ~1280px, which made those sections look cramped. Widen only the
   containers that hold a widget, so the surrounding layout stays as it was. */
.sj-v2 .w-container:has(> .w-embed iframe[src*="bookingmood.com"]),
.sj-v2 .w-container:has(> .w-embed [class*="elfsight-app"]),
.sj-v2 .w-container:has(> .w-embed iframe[src*="bookingmood.com"]) > .w-embed,
.sj-v2 .w-container:has(> .w-embed [class*="elfsight-app"]) > .w-embed {
  max-width: 1280px;
  width: 100%;
}
@media (min-width: 768px) {
  .sj-v2 .w-container:has(> .w-embed iframe[src*="bookingmood.com"]),
  .sj-v2 .w-container:has(> .w-embed [class*="elfsight-app"]) {
    width: calc(100% - 80px);
  }
}

/* iOS Safari zooms into any form field under 16px when tapped, and doesn't zoom back out. */
@media (max-width: 767px) {
  .sj-v2 input, .sj-v2 select, .sj-v2 textarea { font-size: 16px !important; }
}

/* Own film: a silent loop in place of the YouTube embed; the full film opens in a lightbox. */
.sjv2-film {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--sj-radius);
  overflow: hidden;
  background: #1d1f22;
}
.sjv2-film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sjv2-film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,.08) 55%, rgba(0,0,0,.15)); }
.sjv2-film__btn {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: #fff; text-align: center;
}
.sjv2-film__play {
  width: 78px; height: 78px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease;
}
.sjv2-film__play svg { width: 28px; height: 28px; margin-left: 4px; }
.sjv2-film__btn:hover .sjv2-film__play, .sjv2-film__btn:focus-visible .sjv2-film__play { transform: scale(1.06); background: rgba(255,255,255,.28); }
.sjv2-film__btn:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.sjv2-film__label { font: 400 15px/1.2 "Bebas Neue", var(--sj-font); letter-spacing: 5px; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.sjv2-film__label small { display: block; margin-top: 6px; font: 500 12px/1 var(--sj-font); letter-spacing: .04em; text-transform: none; opacity: .85; }
@media (max-width: 767px) { .sjv2-film__play { width: 60px; height: 60px; } }
.sjv2-film.is-playing::after, .sjv2-film.is-playing .sjv2-film__btn { display: none; }
.sjv2-film.is-playing .sjv2-film__video { object-fit: contain; background: #000; }

/* Guest reviews in the site's own design (data from /api/reviews). */
.sjv2-reviews { margin-top: 28px; }
.sjv2-reviews__summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding-bottom: 22px; margin-bottom: 28px; border-bottom: 1px solid var(--sj-line);
  font: 400 15px/1.3 var(--sj-font); color: var(--sj-muted);
}
.sjv2-reviews__score { font: 300 44px/1 Newsreader, Georgia, serif; color: var(--sj-ink); }
.sjv2-reviews__summary .sjv2-stars svg { width: 20px; height: 20px; }
.sjv2-reviews__src { margin-left: auto; color: var(--sj-ink); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.sjv2-stars { display: inline-flex; gap: 2px; color: rgba(40, 43, 47, .18); }
.sjv2-stars svg { width: 15px; height: 15px; }
.sjv2-stars svg.on { color: var(--sj-accent); }
.sjv2-reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 991px) { .sjv2-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .sjv2-reviews__grid { grid-template-columns: minmax(0, 1fr); } .sjv2-reviews__src { margin-left: 0; flex-basis: 100%; } }
.sjv2-review {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; background: rgba(255, 255, 255, .55); border: 1px solid var(--sj-line); border-radius: var(--sj-radius);
}
.sjv2-review.is-extra { display: none; }
.sjv2-reviews.is-open .sjv2-review.is-extra { display: flex; }
.sjv2-review__text {
  margin: 0; white-space: pre-line; overflow-wrap: anywhere;
  font: 300 18px/1.55 Newsreader, Georgia, serif; color: var(--sj-ink);
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.sjv2-review.is-full .sjv2-review__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.sjv2-review__more { all: unset; cursor: pointer; align-self: flex-start; margin-top: -6px; font: 500 13px/1.2 var(--sj-font); color: var(--sj-accent); text-decoration: underline; text-underline-offset: 3px; }
.sjv2-review__more[hidden] { display: none; }
.sjv2-review__by { margin: auto 0 0; display: flex; flex-direction: column; gap: 2px; font: 400 13px/1.35 var(--sj-font); color: var(--sj-muted); }
.sjv2-review__by strong { font-weight: 600; color: var(--sj-ink); font-size: 14px; }
.sjv2-reviews__all {
  all: unset; box-sizing: border-box; cursor: pointer; display: block; margin: 32px auto 0;
  padding: 14px 28px; border: 1px solid var(--sj-ink); border-radius: var(--sj-radius);
  font: 400 14px/1 "Bebas Neue", var(--sj-font); letter-spacing: 4px; color: var(--sj-ink);
}
.sjv2-reviews__all:hover, .sjv2-reviews__all:focus-visible { background: var(--sj-ink); color: var(--sj-surface); }
