.ra-mob-nav {
  display: none;
  --ra-mob-bar: #ffffff;
  --ra-mob-menu: #0b6cb5;
  --ra-mob-logo-h: 34px;
  --ra-mob-write: #0b6cb5;
  --ra-mob-call: #d21f2a;
  --ra-mob-radius: 10px;
  --ra-mob-bar-h: 64px;
  --ra-mob-dock-h: 64px;
}

@media (min-width: 781px) {
  .ra-mob-nav-slot {
    display: none !important;
  }
}

@media (max-width: 780px) {
  .ra-mob-nav {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    font-family: Roboto, sans-serif;
  }

  .elementor-widget-ra_mobile_nav {
    margin-bottom: 0 !important;
  }

  body:has(.ra-mob-nav) {
    padding-top: var(--ra-mob-bar-h);
    padding-bottom: calc(var(--ra-mob-dock-h) + 10px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.ra-mob-nav) .elementor-widget-jpbe_pravo_masthead,
  body:has(.ra-mob-nav) .elementor-element-b42f1dd {
    display: none !important;
  }

  .ra-mob-nav__bar {
    position: fixed;
    z-index: 99990;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ra-mob-bar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(11, 108, 181, 0.18);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.55), transparent 46%),
      color-mix(in srgb, var(--ra-mob-bar) 82%, transparent);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    box-shadow: none;
  }

  body.admin-bar .ra-mob-nav__bar {
    top: 46px;
  }

  .ra-mob-nav__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
  }

  .ra-mob-nav__brand img {
    display: block;
    width: auto;
    max-width: none;
    height: var(--ra-mob-logo-h, 34px);
    object-fit: contain;
  }

  .ra-mob-nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #0b6cb5;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }

  .ra-mob-nav__burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #0b6cb5;
  }

  .ra-mob-nav__panel {
    position: fixed;
    z-index: 99989;
    top: var(--ra-mob-bar-h);
    left: 0;
    right: 0;
    bottom: calc(var(--ra-mob-dock-h) + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    overflow: auto;
    border-radius: 0 0 22px 22px;
    background: var(--ra-mob-menu, #0b6cb5);
    box-shadow: none;
  }

  body.admin-bar .ra-mob-nav__panel {
    top: calc(var(--ra-mob-bar-h) + 46px);
  }

  .ra-mob-nav__panel[hidden] {
    display: none;
  }

  .ra-mob-nav__panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }

  .ra-mob-nav__panel a:hover,
  .ra-mob-nav__panel a:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
  }

  .ra-mob-nav__dock {
    position: fixed;
    z-index: 99990;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-height: var(--ra-mob-dock-h);
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.55), transparent 46%),
      color-mix(in srgb, var(--ra-mob-bar) 82%, transparent);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    box-shadow: none;
  }

  .ra-mob-nav__dock a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    border-radius: var(--ra-mob-radius);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
  }

  .ra-mob-nav__dock a:hover,
  .ra-mob-nav__dock a:focus-visible {
    color: #fff !important;
    box-shadow: none;
    filter: none;
  }

  .ra-mob-nav__dock svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .ra-mob-nav__dock span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ra-mob-nav__write {
    background: var(--ra-mob-write);
  }

  .ra-mob-nav__call {
    background: var(--ra-mob-call);
  }
}
