:root {
  --airbase-app-bg: #202020;
  --airbase-app-panel: #272727;
  --airbase-app-panel-soft: #303030;
  --airbase-app-text: #f5f5f5;
  --airbase-app-muted: rgba(245, 245, 245, .68);
  --airbase-app-border: rgba(255, 255, 255, .14);
  --airbase-app-accent: #00ff00;
  --airbase-app-touch: 48px;
  --airbase-app-edge: 14px;
  --airbase-app-shell-max: 560px;
  --airbase-app-gap: 18px;
  --airbase-app-card-pad: 14px;
  --airbase-app-hero-pad: 18px;
}

.airbase-mobile-shell,
.airbase-mobile-tabbar {
  display: none;
}

@media (max-width: 991.98px) {
  html {
    background: var(--airbase-app-bg);
  }

  body.site {
    background: var(--airbase-app-bg) !important;
    color: var(--airbase-app-text);
    padding-top: calc(64px + env(safe-area-inset-top));
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    -webkit-tap-highlight-color: transparent;
  }

  body.site.airbase-mobile-menu-open {
    overflow: hidden;
  }

  body.site .body-wrapper,
  body.site .body-innerwrapper,
  body.site #sp-main {
    background: var(--airbase-app-bg) !important;
  }

  body.site #sp-header,
  body.site #sp-top-bar,
  body.site .sp-megamenu-wrapper,
  body.site .offcanvas-menu,
  body.site .offcanvas-overlay {
    display: none !important;
  }

  body.site .container,
  body.site .sppb-row-container,
  body.site .sppb-container,
  body.site .sppb-container-inner {
    width: 100% !important;
    max-width: var(--airbase-app-shell-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--airbase-app-edge) !important;
    padding-right: var(--airbase-app-edge) !important;
  }

  body.site .sppb-section,
  body.site .sppb-addon-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.site #sp-main-body,
  body.site #sp_main_body,
  body.site #sp-component,
  body.site #sp-component > .sp-column,
  body.site .item-page,
  body.site .blog,
  body.site .category-list,
  body.site .login,
  body.site .logout,
  body.site .registration,
  body.site .profile,
  body.site .profile-edit,
  body.site .remind,
  body.site .reset,
  body.site .finder,
  body.site .search,
  body.site .contact,
  body.site .com-unitybooking,
  body.site .unitybooking-subscription-checkout,
  body.site .unitybooking-voucher-checkout,
  body.site .mod-unitybooking-offers {
    width: 100% !important;
    max-width: var(--airbase-app-shell-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    color: var(--airbase-app-text);
  }

  body.site #sp-main-body > .container,
  body.site #sp_main_body > .container,
  body.site #sp-main-body .container,
  body.site #sp_main_body .container,
  body.site #sp-component .container,
  body.site #sp-component .container-fluid,
  body.site .com-unitybooking .container,
  body.site .com-unitybooking .container-fluid,
  body.site .unitybooking-subscription-checkout .container,
  body.site .unitybooking-voucher-checkout .container {
    max-width: var(--airbase-app-shell-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--airbase-app-edge) !important;
    padding-right: var(--airbase-app-edge) !important;
  }

  body.site .row,
  body.site .sppb-row,
  body.site .sppb-row-column {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.site [class*="col-"],
  body.site .sppb-col-md-1,
  body.site .sppb-col-md-2,
  body.site .sppb-col-md-3,
  body.site .sppb-col-md-4,
  body.site .sppb-col-md-5,
  body.site .sppb-col-md-6,
  body.site .sppb-col-md-7,
  body.site .sppb-col-md-8,
  body.site .sppb-col-md-9,
  body.site .sppb-col-md-10,
  body.site .sppb-col-md-11,
  body.site .sppb-col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.site .card,
  body.site .card-body,
  body.site .card-header,
  body.site .card-footer,
  body.site .sp-module,
  body.site .moduletable,
  body.site .sppb-addon,
  body.site .sppb-addon-content,
  body.site .sppb-addon-single-image,
  body.site .sppb-addon-feature,
  body.site .sppb-addon-text-block,
  body.site .sppb-addon-accordion,
  body.site .alert,
  body.site .well,
  body.site fieldset,
  body.site .com-unitybooking .ub-flow-card,
  body.site .com-unitybooking .ub-ticketlist-card,
  body.site .com-unitybooking .ub-summary-card,
  body.site .com-unitybooking .ub-data-block,
  body.site .com-unitybooking .ub-choice-card,
  body.site .com-unitybooking .ub-selectable-tile,
  body.site .unitybooking-subscription-checkout .ub-flow-card,
  body.site .unitybooking-subscription-checkout .ub-data-block,
  body.site .unitybooking-voucher-checkout .ub-flow-card,
  body.site .unitybooking-voucher-checkout .ub-data-block {
    border-radius: 0 !important;
    background-color: var(--airbase-app-panel) !important;
    color: var(--airbase-app-text) !important;
    box-shadow: none !important;
  }

  body.site .sp-module,
  body.site .moduletable,
  body.site .sppb-addon,
  body.site .alert,
  body.site fieldset,
  body.site .com-unitybooking .ub-flow-card,
  body.site .com-unitybooking .ub-ticketlist-card,
  body.site .com-unitybooking .ub-summary-card,
  body.site .com-unitybooking .ub-data-block,
  body.site .com-unitybooking .ub-choice-card,
  body.site .com-unitybooking .ub-selectable-tile,
  body.site .unitybooking-subscription-checkout .ub-flow-card,
  body.site .unitybooking-subscription-checkout .ub-data-block,
  body.site .unitybooking-voucher-checkout .ub-flow-card,
  body.site .unitybooking-voucher-checkout .ub-data-block {
    border-color: var(--airbase-app-border) !important;
  }

  body.site .item-page,
  body.site .blog,
  body.site .category-list,
  body.site .login,
  body.site .logout,
  body.site .registration,
  body.site .profile,
  body.site .profile-edit,
  body.site .remind,
  body.site .reset,
  body.site .finder,
  body.site .search,
  body.site .contact,
  body.site .com-unitybooking,
  body.site .unitybooking-subscription-checkout,
  body.site .unitybooking-voucher-checkout {
    display: grid !important;
    gap: var(--airbase-app-gap) !important;
  }

  body.site .card,
  body.site .sp-module,
  body.site .moduletable,
  body.site .sppb-addon,
  body.site .alert,
  body.site fieldset,
  body.site .ub-flow-card,
  body.site .ub-data-block,
  body.site .ub-section-card,
  body.site .ub-summary-card,
  body.site .ub-ticketlist-card-inner,
  body.site .ub-subscriptionplan-card,
  body.site .ub-waiver-panel,
  body.site .ub-card-panel {
    padding: var(--airbase-app-card-pad) !important;
  }

  body.site .card {
    padding: 0 !important;
  }

  body.site .ub-flow-card-header,
  body.site .ub-ticketlist-title-row,
  body.site .ub-subscriptionplan-title-row,
  body.site .ub-account-header,
  body.site .ub-account-booking-header,
  body.site .ub-waiver-header {
    padding: var(--airbase-app-card-pad) !important;
  }

  body.site .ub-ticketlist-card-main,
  body.site .ub-subscriptionplan-body,
  body.site .ub-flow-card-body,
  body.site .card-body {
    padding: var(--airbase-app-card-pad) !important;
  }

  body.site img,
  body.site picture,
  body.site video,
  body.site iframe {
    max-width: 100%;
  }

  body.site h1,
  body.site .h1,
  body.site h2,
  body.site .h2,
  body.site h3,
  body.site .h3 {
    color: var(--airbase-app-text) !important;
    letter-spacing: 0;
  }

  body.site p,
  body.site li,
  body.site .text-muted,
  body.site .small,
  body.site .article-info,
  body.site .sppb-addon-content,
  body.site .com-unitybooking {
    color: var(--airbase-app-text) !important;
  }

  body.site .text-muted,
  body.site .article-info,
  body.site .small {
    opacity: .78;
  }

  body.site a,
  body.site button,
  body.site input,
  body.site select,
  body.site textarea {
    touch-action: manipulation;
  }

  .airbase-mobile-shell {
    display: block;
  }

  .airbase-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(64px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) var(--airbase-app-edge) 10px;
    background: rgba(32, 32, 32, .96);
    border-bottom: 1px solid var(--airbase-app-border);
    backdrop-filter: blur(14px);
  }

  .airbase-mobile-header.is-scrolled {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  }

  .airbase-mobile-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: calc(100vw - 140px);
    text-decoration: none;
  }

  .airbase-mobile-logo img {
    display: block;
    width: auto;
    height: 38px;
    max-width: 100%;
  }

  .airbase-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .airbase-mobile-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--airbase-app-touch);
    height: var(--airbase-app-touch);
    min-width: var(--airbase-app-touch);
    border: 1px solid var(--airbase-app-border);
    border-radius: 0;
    background: var(--airbase-app-panel);
    color: var(--airbase-app-text);
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1;
  }

  .airbase-mobile-icon-button:hover,
  .airbase-mobile-icon-button:focus,
  .airbase-mobile-icon-button.is-active {
    border-color: var(--airbase-app-accent);
    color: var(--airbase-app-accent);
    outline: none;
  }

  .airbase-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1035;
    padding: calc(76px + env(safe-area-inset-top)) var(--airbase-app-edge) calc(96px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(8px);
  }

  .airbase-mobile-menu-panel {
    display: grid;
    gap: 10px;
    width: 100%;
    background: var(--airbase-app-panel);
    border: 1px solid var(--airbase-app-border);
    padding: 12px;
  }

  .airbase-mobile-menu-panel a {
    display: flex;
    align-items: center;
    min-height: var(--airbase-app-touch);
    padding: 0 14px;
    background: var(--airbase-app-panel-soft);
    border-left: 4px solid var(--airbase-app-accent);
    color: var(--airbase-app-text);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.2;
  }

  .airbase-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(70px + env(safe-area-inset-bottom));
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(32, 32, 32, .97);
    border-top: 1px solid var(--airbase-app-border);
    backdrop-filter: blur(14px);
  }

  .airbase-mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 54px;
    color: var(--airbase-app-muted);
    text-decoration: none;
    font-size: .72rem;
    line-height: 1;
    transition:
      color .16s ease,
      background-color .16s ease,
      border-color .16s ease,
      box-shadow .16s ease,
      transform .12s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .airbase-mobile-tab i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .airbase-mobile-tab span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .airbase-mobile-tab:hover,
  .airbase-mobile-tab:focus,
  .airbase-mobile-tab.is-active {
    color: var(--airbase-app-accent);
    outline: none;
  }

  .airbase-mobile-tab:active,
  .airbase-mobile-tab.is-pressed {
    color: #202020;
    background: var(--airbase-app-accent);
    box-shadow: 0 0 0 1px rgba(0, 255, 0, .45), 0 0 18px rgba(0, 255, 0, .26);
    transform: translateY(1px) scale(.96);
  }

  .airbase-mobile-tab.is-active {
    background: rgba(0, 255, 0, .08);
  }

  @media (display-mode: standalone) {
    body.site {
      padding-top: calc(68px + env(safe-area-inset-top));
    }

    .airbase-mobile-header {
      min-height: calc(68px + env(safe-area-inset-top));
    }
  }
}

@media (min-width: 992px) {
  body.site {
    padding-top: 0;
    padding-bottom: 0;
  }
}
