/* Mobile bottom navigation bar */
.rs-mobile-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  html.rs-has-bottom-nav body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .rs-mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #fff;
    border-top: 2px solid #d4af37;
    box-shadow:
      0 -1px 0 rgba(232, 201, 106, 0.45),
      0 -6px 20px rgba(81, 7, 27, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .rs-mobile-bottom-nav a {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 10px;
    text-decoration: none;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    transition: color 0.2s, background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .rs-mobile-bottom-nav a i {
    font-size: 18px;
    line-height: 1;
    color: inherit;
    transition: transform 0.2s, color 0.2s;
  }

  .rs-mobile-bottom-nav a.active {
    color: #51071B;
    background: linear-gradient(180deg, rgba(253, 242, 244, 0.95) 0%, transparent 100%);
  }

  .rs-mobile-bottom-nav a.active i {
    color: #51071B;
    transform: scale(1.08);
  }

  .rs-mobile-bottom-nav a:active {
    color: #3d0514;
  }

  html.rs-has-bottom-nav .rs-footer-minimal {
    margin-bottom: 0;
  }
}
