.hero-menu-picture {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
}

@media (max-width: 767.98px) and (orientation: portrait) {
  #heroSlider .carousel-inner,
  #heroSlider .carousel-item {
    height: min(177.78vw, max(18rem, 83vh)) !important;
    height: min(177.78vw, max(18rem, 83svh)) !important;
  }

  #heroSlider .hero-media {
    height: 100%;
  }

  #heroSlider video.hero-media,
  #heroSlider .hero-menu-picture img {
    object-fit: cover;
    object-position: center 45%;
  }

  #heroSlider video.hero-media {
    object-position: center top;
  }
}

.reservation-trigger {
  position: fixed;
  z-index: 1040;
  inset-inline-end: max(1rem, calc(env(safe-area-inset-right) + .75rem));
  inset-block-end: max(1rem, calc(env(safe-area-inset-bottom) + .75rem));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border: 1px solid #fff7e7;
  border-radius: 999px;
  background: #725132;
  color: #fffdf8;
  box-shadow: 0 8px 22px rgb(59 37 20 / 24%);
  font-weight: 700;
  text-decoration: none;
}

.reservation-trigger:hover,
.reservation-submit:hover {
  color: #fffdf8;
  background: #5b4026;
}

footer.text-center {
  padding-block-end: max(5rem, calc(env(safe-area-inset-bottom) + 4.5rem)) !important;
}

.reservation-dialog {
  width: min(28rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: clamp(1rem, 4vw, 1.6rem);
  border: 1px solid #d7c6aa;
  border-radius: 20px;
  background: #fffaf1;
  color: #312b24;
  overflow-y: auto;
  box-shadow: 0 20px 65px rgb(32 23 13 / 25%);
  overscroll-behavior: contain;
}

.reservation-dialog::backdrop {
  background: rgb(30 22 15 / 56%);
}

body:has(.reservation-dialog[open]) {
  overflow: hidden;
}

.reservation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.reservation-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
}

.reservation-close {
  flex: 0 0 44px;
  min-height: 44px;
  border: 1px solid #d7c6aa;
  border-radius: 50%;
  background: transparent;
  color: #463729;
  font-size: 1.45rem;
  line-height: 1;
}

.reservation-dialog label {
  display: block;
  margin-bottom: .3rem;
  font-size: .87rem;
  font-weight: 650;
}

.reservation-dialog input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-bottom: .9rem;
  padding: .5rem .7rem;
  border: 1px solid #cab798;
  border-radius: 10px;
  background: #fffdf8;
  color: #312b24;
  font-size: 1rem;
}

.reservation-schedule {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: .6rem;
}

.reservation-note {
  margin-bottom: .85rem;
  color: #655747;
  font-size: .83rem;
}

.reservation-submit {
  width: 100%;
  min-height: 46px;
  padding: .6rem .9rem;
  border: 0;
  border-radius: 999px;
  background: #725132;
  color: #fffdf8;
  font-weight: 700;
}
