/* Homepage website builder canvas. Variables match the editor mockup. */

.home-wb-stage {
  position: relative;
  margin-top: 56px;
}

#home-website .div-block-22 {
  margin-bottom: 0;
}

.home-wb-stage::before {
  position: absolute;
  inset: 0 5% 28% 5%;
  z-index: -1;
  pointer-events: none;
  content: "";
  border-radius: 20px 20px 28px 28px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 70%),
    0 1px 2px rgb(26 25 37 / 6%),
    0 18px 40px -14px rgb(26 25 37 / 20%),
    0 36px 70px -32px rgb(26 25 37 / 16%);
}

.home-wb-canvas.wb-canvas {
  --wb-fg: #09090b;
  --wb-muted: #fafafa;
  --wb-muted-fg: #71717a;
  --wb-border: #e4e4e7;
  --wb-special: hsl(48 43% 58%);
  --wb-dots: radial-gradient(circle, #d0d0d0 1.15px, transparent 1.25px) 0 0 /
    22px 22px;
  --wb-float-shadow:
    0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);

  width: 90%;
  height: clamp(460px, 32vw, 500px);
  margin-top: 8px;
  margin-right: auto;
  margin-left: auto;
  border-width: 6px;
  border-color: rgb(255 255 255 / 78%);
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / 96%),
    inset 0 -1px 0 rgb(255 255 255 / 28%),
    inset 0 0 0 1px rgb(255 255 255 / 42%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 72%, transparent 100%);
}

.home-wb-canvas .wb-canvas__world {
  top: 156px;
  right: 40px;
  left: 40px;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  transform: none;
}

.home-wb-canvas .wb-canvas__page--home {
  width: 46%;
}

.home-wb-canvas .wb-canvas__page--locations,
.home-wb-canvas .wb-canvas__page--blog {
  width: 26%;
  margin-top: 48px;
}

.home-wb-canvas .wb-canvas__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-wb-canvas .wb-canvas__chrome {
  top: 16px;
  right: 24px;
  left: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.home-wb-canvas .wb-canvas__chrome > .wb-pill:first-child {
  justify-self: start;
}

.home-wb-canvas .wb-pill.wb-pill--page {
  position: relative;
  left: auto;
  justify-self: center;
  max-width: 100%;
  margin: 0;
  transform: none;
}

.home-wb-canvas .wb-canvas__chrome-right {
  justify-self: end;
  gap: 10px;
}

.home-wb-canvas .wb-pill {
  position: relative;
  background: rgb(255 255 255 / 58%);
  border: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 78%),
    0 1px 2px rgb(0 0 0 / 4%),
    0 10px 28px rgb(0 0 0 / 8%);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}

.home-wb-canvas .wb-pill::before {
  position: absolute;
  inset: 0;
  padding: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    152deg,
    rgb(255 255 255 / 98%) 0%,
    rgb(255 255 255 / 52%) 16%,
    rgb(0 0 0 / 8%) 58%,
    rgb(0 0 0 / 4%) 100%
  );
  border-radius: inherit;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.home-wb-canvas .wb-save,
.home-wb-canvas .wb-save svg {
  color: #fff;
}

.home-wb-canvas .wb-save {
  background: #c2b067;
  border: 1px solid color-mix(in srgb, #c2b067 75%, white);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 15%),
    0 1px 2px rgb(0 0 0 / 4%),
    0 10px 28px rgb(0 0 0 / 8%);
}

.home-wb-canvas .wb-save__count {
  color: #fff;
  background: rgb(255 255 255 / 22%);
}

.home-wb-canvas.wb-canvas::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 58%;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    rgb(255 255 255 / 0%) 0%,
    rgb(255 255 255 / 42%) 28%,
    rgb(255 255 255 / 82%) 58%,
    #fff 82%
  );
}

.home-wb-ask {
  position: absolute;
  top: 56%;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 16px;
  align-items: center;
  width: min(580px, 74%);
  height: 72px;
  padding: 7px 7px 7px 22px;
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 58%) 0%,
    rgb(255 255 255 / 22%) 46%,
    rgb(255 255 255 / 14%) 100%
  );
  border-radius: 999px;
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / 92%),
    inset 0 -10px 16px -12px rgb(255 255 255 / 70%),
    0 10px 28px rgb(9 9 11 / 14%);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(18px) saturate(1.8) brightness(1.06);
  backdrop-filter: blur(18px) saturate(1.8) brightness(1.06);
}

.home-wb-ask__field {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  gap: 12px;
  align-items: center;
  min-width: 0;
  height: auto;
  padding: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: #111113;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 0 rgb(255 255 255 / 55%);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.home-wb-ask__field svg {
  flex: none;
  color: #c2b067;
  filter: drop-shadow(0 1px 0 rgb(255 255 255 / 50%));
}

.home-wb-ask__field span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-wb-ask__send {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(180deg, #d4c27a 0%, #c2b067 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 45%),
    0 0 0 1px rgb(255 255 255 / 35%);
}

@media screen and (max-width: 767px) {
  .home-wb-canvas.wb-canvas {
    height: 480px;
    -webkit-mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%);
  }

  .home-wb-canvas.wb-canvas::after {
    height: 28%;
  }

  .home-wb-canvas .wb-canvas__world {
    top: 116px;
    right: 10px;
    left: 10px;
    gap: 8px;
  }

  .home-wb-canvas .wb-canvas__page--home {
    width: 46%;
  }

  .home-wb-canvas .wb-canvas__page--locations,
  .home-wb-canvas .wb-canvas__page--blog {
    width: 26%;
    margin-top: 28px;
  }

  .home-wb-canvas .wb-canvas__page--blog {
    display: flex;
  }

  .home-wb-canvas .wb-canvas__label {
    min-width: 0;
  }

  .home-wb-canvas .wb-canvas__label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-wb-canvas .wb-canvas__label svg {
    display: none;
  }

  .home-wb-canvas .wb-canvas__frame {
    height: 196px;
    overflow: hidden;
  }

  .home-wb-canvas .wb-canvas__page--locations .wb-canvas__frame,
  .home-wb-canvas .wb-canvas__page--blog .wb-canvas__frame {
    height: 156px;
  }

  .home-wb-canvas .wb-canvas__frame img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .home-wb-canvas .wb-canvas__chrome {
    right: 12px;
    left: 12px;
  }

  .home-wb-canvas .wb-canvas__chrome-right {
    grid-column: 3;
    justify-self: end;
  }

  .home-wb-ask {
    top: 50%;
    width: min(300px, 86%);
    height: 56px;
    padding-left: 14px;
  }

  .home-wb-ask__field {
    font-size: 14px;
  }

  .home-wb-ask__send {
    width: 44px;
    height: 44px;
  }
}

/* Sit the booking window below the buttons, slightly zoomed out.
   The hero keeps its height, so the following section stays put. */
.section.hero.v1 .home-hero-mobile-image .image-2.extra {
  transform: translateY(52px) scale(0.94);
  transform-origin: 50% 24%;
}

.section.hero.v1:has(.home-hero-mobile-image) {
  padding-bottom: 332px;
}

@media screen and (min-width: 1920px) {
  .section.hero.v1:has(.home-hero-mobile-image) {
    padding-bottom: 338px;
  }
}

@media screen and (max-width: 991px) {
  .section.hero.v1:has(.home-hero-mobile-image) {
    padding-bottom: 160px;
  }

  .section.hero.v1 .home-hero-mobile-image .image-2.extra {
    transform: translateY(-40px);
  }
}

@media screen and (max-width: 767px) {
  .section.hero.v1:has(.home-hero-mobile-image) {
    padding-bottom: 110px;
  }

  .section.hero.v1 .home-hero-mobile-image .image-2.extra {
    transform: translateY(-24px);
  }
}

@media screen and (max-width: 479px) {
  .section.hero.v1:has(.home-hero-mobile-image) {
    padding-bottom: 96px;
  }

  .section.hero.v1 .home-hero-mobile-image .image-2.extra {
    transform: none;
  }
}
