:root {
  --dg-bottom-gold: #b79552;
  --dg-bottom-gold-deep: #8c6220;
  --dg-bottom-ink: #656963;
}

.dg-mobile-bottom-bar {
  display: none;
}

@media (max-width: 620px) {
  body.has-dg-mobile-bottom-bar {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .floating-actions {
    display: none !important;
  }

  .dg-mobile-bottom-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: env(safe-area-inset-bottom);
    left: 0;
    width: 100%;
    height: 64px;
    padding: 2px 8px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    overflow: hidden;
    color: var(--dg-bottom-ink);
    background: #fff;
    border: 1.5px solid transparent;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(71, 52, 17, .13);
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(5px);
    transform: translateY(calc(100% + 12px));
    transform-origin: 50% 100%;
    transition:
      opacity .34s ease,
      visibility .34s ease,
      filter .48s ease,
      transform .62s cubic-bezier(.22, 1, .36, 1);
  }

  .dg-mobile-bottom-bar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0);
    transform: translateY(0);
  }

  body.nav-open .dg-mobile-bottom-bar,
  body.dg-nav-open .dg-mobile-bottom-bar,
  body.splash-active .dg-mobile-bottom-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(4px);
    transform: translateY(calc(100% + 12px));
  }

  .dg-mobile-bottom-contour {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }

  .dg-mobile-bottom-brand,
  .dg-mobile-bottom-item {
    position: relative;
    z-index: 2;
    min-width: 0;
    height: 60px;
    padding: 0;
    display: grid;
    place-items: center;
    align-content: center;
    color: inherit;
    background: transparent;
    border: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .dg-mobile-bottom-brand img {
    width: 27px;
    height: 40px;
    display: block;
    object-fit: contain;
  }

  .dg-mobile-bottom-item.is-home {
    color: var(--dg-bottom-gold-deep);
  }

  .dg-mobile-bottom-icon {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
  }

  .dg-mobile-bottom-icon.is-solid {
    fill: currentColor;
    stroke: none;
  }

  .dg-mobile-bottom-item.is-home .dg-mobile-bottom-icon {
    width: 23px;
    height: 23px;
    fill: currentColor;
    stroke-width: 1.35;
  }

  .dg-mobile-bottom-brand:active,
  .dg-mobile-bottom-item:active {
    transform: scale(.96);
  }
}

@media (max-width: 360px) {
  .dg-mobile-bottom-bar {
    padding-inline: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-mobile-bottom-bar,
  .dg-mobile-bottom-brand,
  .dg-mobile-bottom-item {
    transition: none !important;
  }
}
