body.mahina-booking-open {
  overflow: hidden;
}

.mahina-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  pointer-events: none;
}

.mahina-booking-overlay[hidden] {
  display: none;
}

.mahina-booking-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mahina-booking-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(235, 235, 238, 0.68);
  opacity: 0;
  cursor: default;
  transition: opacity 0.28s ease;
  -webkit-backdrop-filter: blur(18px) saturate(90%);
  backdrop-filter: blur(18px) saturate(90%);
}

.mahina-booking-overlay.is-open .mahina-booking-backdrop {
  opacity: 1;
}

.mahina-booking-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  max-height: calc(100svh - 44px);
  padding: clamp(26px, 4vw, 44px);
  overflow: auto;
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 80px rgba(20, 20, 22, 0.12);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-backdrop-filter: blur(28px) saturate(108%);
  backdrop-filter: blur(28px) saturate(108%);
}

.mahina-booking-overlay.is-open .mahina-booking-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mahina-booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.mahina-booking-head > div > span {
  color: #8a8a8f;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.16em;
}

.mahina-booking-head h2 {
  margin: 8px 0 0;
  color: #202020;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.mahina-booking-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mahina-booking-close:hover {
  background: rgba(30, 30, 32, 0.07);
}

.mahina-booking-close:focus-visible,
.mahina-booking-options a:focus-visible {
  outline: 2px solid rgba(32, 32, 32, 0.65);
  outline-offset: 3px;
}

.mahina-booking-close svg {
  width: 20px;
  height: 20px;
}

.mahina-booking-close path,
.mahina-booking-options svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mahina-booking-guide {
  max-width: 580px;
  margin: 20px 0 26px;
  color: #6a6a6d;
  font-size: 14px;
  line-height: 1.65;
}

.mahina-booking-options {
  display: grid;
  gap: 10px;
}

.mahina-booking-options a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.12);
  color: inherit;
  text-decoration: none;
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.mahina-booking-options a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.mahina-booking-options a > svg {
  width: 19px;
  height: 19px;
}

.mahina-booking-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(35, 35, 37, 0.08);
  color: #6a6a6d;
  font-size: 10px;
  font-weight: 600;
}

.mahina-booking-copy {
  display: grid;
  min-width: 0;
}

.mahina-booking-copy small {
  color: #8a8a8f;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.mahina-booking-copy strong {
  margin-top: 3px;
  color: #202020;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.4;
}

.mahina-booking-copy em {
  margin-top: 2px;
  color: #6a6a6d;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.mahina-booking-overlay[dir="rtl"] .mahina-booking-panel {
  text-align: right;
}

.mahina-booking-overlay[dir="rtl"] .mahina-booking-options a > svg {
  transform: scaleX(-1);
}

@media (max-width: 760px) {
  .mahina-booking-overlay {
    padding: 12px;
  }

  .mahina-booking-panel {
    max-height: calc(100svh - 24px);
    border-radius: 22px;
  }
}

@media (max-width: 460px) {
  .mahina-booking-panel {
    padding: 24px 18px;
  }

  .mahina-booking-guide {
    margin: 16px 0 20px;
  }

  .mahina-booking-options a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 86px;
    padding: 15px 13px;
  }

  .mahina-booking-mark {
    width: 38px;
    height: 38px;
  }

  .mahina-booking-copy strong {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mahina-booking-backdrop,
  .mahina-booking-panel,
  .mahina-booking-options a {
    transition-duration: 0.001ms !important;
  }
}
