/* Shared public bottom navigation. */
.landing-bottom-nav,
.offers-app-page .app-bottom-nav {
  display: none;
}

.landing-bottom-icon {
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}

.app-bottom-nav em {
  position: absolute;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 760px) {
  body.offers-app-page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.offer-detail-page {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .offers-app-page .app-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    min-height: 49px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(5, 40, 110, 0.1);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -10px 24px rgba(5, 40, 110, 0.16);
  }

  .offers-app-page .landing-bottom-link {
    position: relative;
    min-width: 0;
    min-height: 50px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 3px;
    padding: 5px 4px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: rgba(0, 0, 0, 0.86);
    font-size: 0.67rem;
    font-weight: 500;
    line-height: 1.05;
    text-decoration: none;
  }

  .offers-app-page .landing-bottom-link > span:not(.emoji-icon):not(.material-symbols-rounded) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .offers-app-page .landing-bottom-link .landing-bottom-icon,
  .offers-app-page .landing-bottom-link .emoji-icon,
  .offers-app-page .landing-bottom-link .material-symbols-rounded {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 33, 92, 0.18));
  }

  .offers-app-page .landing-bottom-link:hover,
  .offers-app-page .landing-bottom-link:focus-visible {
    background: rgba(7, 94, 208, 0.08);
    color: #075ed0;
    outline: 0;
  }

  .offers-app-page .landing-bottom-link-active,
  .offers-app-page .landing-bottom-link[aria-current="page"] {
    border-color: #d6e6ff;
    background: #fff;
    color: #075ed0;
    box-shadow: 0 10px 22px rgba(2, 23, 68, 0.14);
  }

  .offers-app-page .app-bottom-nav em {
    top: 5px;
    right: calc(50% - 27px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #075ed0;
    border-radius: 999px;
    background: #ff6a13;
    color: #fff;
    font-size: 0.64rem;
  }
}

@media (max-width: 380px) {
  .offers-app-page .app-bottom-nav {
    gap: 4px;
    padding-inline: 6px;
  }

  .offers-app-page .landing-bottom-link {
    min-height: 48px;
    font-size: 0.63rem;
  }
}
