body.qrm-garden {
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

.qrm-garden .qrm-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding: 0 12px env(safe-area-inset-bottom, 0px);
  border-top: 1px solid var(--qrm-line);
  background: rgb(25 32 18 / 98%);
  box-shadow: 0 -8px 28px rgb(0 0 0 / 18%);
}

.qrm-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 0 auto;
}

.qrm-footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 80px;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--qrm-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.qrm-footer-link svg {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: var(--qrm-gold);
  pointer-events: none;
}

.qrm-footer-link > span:last-child {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.qrm-footer-link:hover,
.qrm-footer-link:focus-visible {
  background: #293320;
  color: #efd29c;
}

.qrm-garden .qrm-footer-link:focus-visible {
  outline-offset: -4px;
}

.qrm-reservation-modal__dialog {
  overflow-y: auto;
  max-height: min(760px, calc(100dvh - 34px));
  scrollbar-width: thin;
}

.qrm-feedback-modal .qrm-reservation-modal__intro h2 {
  padding-right: 28px;
  font-size: 26px;
  line-height: 1.2;
}

.qrm-feedback-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--qrm-line);
  border-radius: 8px;
  background: var(--qrm-product-bg);
  color: var(--qrm-ink);
  font: inherit;
}

.qrm-feedback-privacy {
  margin: 0;
  color: var(--qrm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.qrm-feedback-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .qrm-footer-link {
    min-height: 82px;
    font-size: 11px;
  }

  .qrm-footer-link > span:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
  }

  .qrm-reservation-modal__dialog {
    max-height: calc(100dvh - 20px);
  }

  .qrm-feedback-form input,
  .qrm-feedback-form textarea,
  .qrm-feedback-form select {
    font-size: 16px;
  }
}
