/* The reservation template has its own scrolling content and payment footer. */
.mdl-reserva.maha-with-header {
  display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh;
}
.mdl-reserva.maha-with-header > .mdl-content {
  flex: 1 1 0%; min-height: 0; height: auto; overflow-y: auto;
}
.mdl-reserva.maha-with-header > .mdl-footer { flex: 0 0 auto; }
.maha-site-head {
  flex: 0 0 auto; position: relative; z-index: 9; width: 100%; background: #222; color: #fff;
  font-family: Martel, Georgia, "Times New Roman", serif;
}
.maha-site-head *, .maha-site-head *::before, .maha-site-head *::after { box-sizing: border-box; }
.maha-head-inner { width: 80%; max-width: 1080px; margin: 0 auto; }
.maha-contact-bar { background: #c39d63; color: #fff; }
.maha-contact-inner {
  min-height: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 2px 4px; padding: 5px 0; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.maha-site-head .maha-contact-inner a { color: #fff; text-decoration: none; white-space: nowrap; }
.maha-site-head .maha-contact-inner a:hover { text-decoration: underline; }
.maha-nav-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.maha-brand { display: flex; flex: 0 0 auto; align-items: center; color: #fff; }
.maha-brand img { display: block; width: auto; height: 86px; max-width: 145px; object-fit: contain; }
.maha-site-head :is(a,button,summary,select):focus-visible { outline: 2px solid #dcb979; outline-offset: 3px; }
.maha-site-head ul { list-style: none; padding: 0; margin: 0; }
#maha-nav-list li::before { content: none; display: none; }
#maha-nav-list { display: flex; align-items: center; gap: clamp(12px,1.45vw,24px); }
#maha-nav-list > li { display: flex; align-items: center; list-style: none; position: relative; margin: 0; padding: 0; }
#maha-nav-list > li > a, #maha-nav-list > li > details > summary {
  display: inline-flex; gap: 5px; min-height: 38px; align-items: center;
  color: rgba(255,255,255,.94); font: 700 15px/1 Martel, Georgia, serif; white-space: nowrap;
  text-decoration: none; text-transform: uppercase; cursor: pointer;
}
.maha-site-head summary { list-style: none; }
.maha-site-head summary::-webkit-details-marker { display: none; }
#maha-nav-list > li > a:hover, #maha-nav-list > li > details > summary:hover { color: #dfbf91; }
#maha-nav-list > li.jointoday_button > a { min-height: 38px; padding: 0 17px; border: 2px solid #c39d63; color: #c39d63; font-size: 12px; }
#maha-nav-list > li.jointoday_button > a:hover { background: #c39d63; color: #222; }
.maha-site-head .maha-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; height: 32px; width: 17px;
  background: transparent; padding: 0; margin: 0; border: 0; color: #fff; cursor: pointer;
}
.maha-sub-toggle::after, .maha-nav-language summary::after, .maha-nav-currency summary::after {
  content: ''; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0;
  transform: translateY(-2px) rotate(45deg);
}
.maha-site-head .maha-nav-flyout, #maha-nav-list > li > .sub-menu, #maha-nav-list > li > details > .sub-menu {
  position: absolute; top: 100%; right: 0; z-index: 3; min-width: 125px; width: max-content; max-width: min(320px,92vw);
  border-top: 2px solid #c39d63; padding: 9px 11px; background: #fff; color: #34302b; box-shadow: 0 5px 18px #0002;
}
#maha-nav-list > li > .sub-menu { display: none; }
#maha-nav-list > li.maha-sub-open > .sub-menu { display: block; }
#maha-nav-list .sub-menu li { list-style: none; margin: 0; padding: 0; }
#maha-nav-list .sub-menu a, #maha-nav-list a.maha-account-link {
  display: block; color: #37332e; padding: 7px 10px; font: 600 13px/1.45 Martel, Georgia, serif; text-decoration: none;
}
#maha-nav-list .sub-menu a:hover, #maha-nav-list a.maha-account-link:hover { background: #f6f2ec; }
#maha-nav-list .sub-menu img { max-width: 17px; height: auto; vertical-align: middle; }
#maha-nav-list .maha-nav-account > details > summary { justify-content: center; min-width: 26px; }
.maha-nav-account .tme-access-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.maha-nav-account svg { display: block; width: 21px; height: 21px; }
.maha-nav-account .maha-nav-flyout { min-width: 210px; }
.maha-nav-currency .tme-currency { display: grid; gap: 5px; margin: 0; color: #35312c; font: 600 13px/1.4 Martel, Georgia, serif; }
.maha-nav-currency .tme-currency select { width: 100%; min-height: 34px; padding: 2px; border: 0; border-radius: 0; color: #26221e; background: #fff; font: inherit; }
.maha-nav-currency .tme-currency option { padding: 4px 9px; }
.maha-nav-currency .tme-currency small { max-width: 200px; font-size: 12px; font-weight: 400; }
#maha-draft-slot:has(.tme-draft) { border-top: 1px solid #e8e1d5; margin-top: 3px; }
.maha-site-head .tme-draft { width: 230px; max-width: 100%; text-align: left; margin: 5px 0; padding: 3px 10px; color: #4c4641; font: 400 13px/1.5 Martel, Georgia, serif; }
.maha-site-head .tme-draft input { width: 100%; min-height: 34px; }
.maha-site-head .tme-draft button { padding: 5px 0; margin-right: 9px; font: inherit; }
.tme-draft [role="status"]:empty { margin: 0; padding: 0; }
.maha-menu-toggle { display: none; }
.maha-booking-intro { box-sizing: border-box; max-width: 900px; margin: 0 auto 34px; padding: 8px 30px 25px; text-align: center; }
.maha-booking-kicker { color: #b48a51; font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.maha-booking-kicker::after { content: ''; display: block; width: 42px; height: 1px; margin: 12px auto 0; background: #c39d63; }
.mdl-reserva .maha-booking-intro h1 { margin: 0 0 10px; padding: 0; color: #1f1f1f; font: 400 32px/1.3 Martel, Georgia, serif; letter-spacing: -.3px; text-align: center; }
.maha-booking-intro p { max-width: 720px; margin: 0 auto; padding: 0; color: #6a6a6a; font-size: 15px; font-weight: 400; line-height: 1.65; }
.maha-booking-intro::after { content: ''; display: block; max-width: 760px; height: 1px; margin: 26px auto 0; background: #c39d6338; }
@media (max-width: 980px) {
  .maha-contact-inner { justify-content: center; width: 95%; }
  .maha-nav-inner { min-height: 80px; }
  .maha-brand img { height: 74px; }
  .maha-site-head.maha-nav-ready .maha-menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #080808; color: white; border: 0; padding: 0; cursor: pointer;
  }
  .maha-menu-toggle span, .maha-menu-toggle span::before, .maha-menu-toggle span::after { display: block; width: 24px; height: 2px; background: currentColor; }
  .maha-menu-toggle span { position: relative; }
  .maha-menu-toggle span::before, .maha-menu-toggle span::after { content: ''; position: absolute; left: 0; }
  .maha-menu-toggle span::before { top: -7px; } .maha-menu-toggle span::after { top: 7px; }
  .maha-menu-open .maha-menu-toggle span { background: transparent; }
  .maha-menu-open .maha-menu-toggle span::before, .maha-menu-open .maha-menu-toggle span::after { top: 0; transform: rotate(45deg); }
  .maha-menu-open .maha-menu-toggle span::after { transform: rotate(-45deg); }
  .maha-nav-ready #maha-main-nav { display: none; position: absolute; top: 100%; right: 0; width: min(100%,390px); max-height: calc(100dvh - 115px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 16px; background: #222; border-top: 2px solid #c39d63; box-shadow: 0 9px 20px #0003; }
  .maha-menu-open #maha-main-nav { display: block; }
  #maha-nav-list { flex-flow: column; align-items: stretch; gap: 1px; }
  #maha-nav-list > li { display: flex; flex-wrap: wrap; justify-content: space-between; }
  #maha-nav-list > li > a, #maha-nav-list > li > details > summary { min-height: 42px; }
  #maha-nav-list > li > details { width: 100%; }
  #maha-nav-list > li > details > summary { justify-content: space-between; }
  #maha-nav-list > li.maha-nav-account > details > summary { gap: 9px; justify-content: flex-start; }
  .maha-nav-account .tme-access-label { position: static; width: auto; height: auto; clip-path: none; }
  #maha-nav-list > li.jointoday_button > a { margin: 4px 0; }
  .maha-site-head .maha-nav-flyout, #maha-nav-list > li > .sub-menu, #maha-nav-list > li > details > .sub-menu {
    position: static; width: 100%; min-width: 0; max-width: none; box-shadow: none; padding: 7px 12px;
  }
  .maha-site-head .maha-sub-toggle { min-height: 42px; width: 44px; }
  .mdl-reserva.maha-with-header > .mdl-content { padding-top: 1.2rem; }
  .maha-booking-intro { margin: 0 auto 18px; padding: 12px 0 0; }
  .mdl-reserva .maha-booking-intro h1 { font-size: 22px; line-height: 1.25; margin: 0; }
  .maha-booking-kicker, .maha-booking-intro p, .maha-booking-intro::after { display: none; }
  .maha-with-header:has(.m-step-content.active:not(#step1):not(#step2)) .maha-booking-intro { display: none; }
}
@media (max-width: 960px) {
  .maha-with-header:has(.m-resume:not([data-step="2"])) > .mdl-content { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
