/* ===== Amore a la Cafe — bottom navigation bar =====
    */

.navbar-bottom {
  display: none; 
}

@media (max-width: 475px) {

  
  .navbar-side {
    display: none;
  }

  /* content no longer needs to make room for the sidebar */
  .container {
    padding-left: 2rem;
  }

  /* extend the footer bottom */
  .hf-footer {
    padding-bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
  }

  .navbar-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    z-index: 500;
    padding: 0.6rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.4rem;
    background: rgba(255, 251, 245, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(92, 62, 52, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .navbar-bottom__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.45rem;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid rgba(92, 62, 52, 0.12);
    width: 100%;
  }

  .navbar-bottom__logo img {
    height: 1.6rem;
    width: auto;
    object-fit: contain;
  }

  .navbar-bottom__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-bottom__item {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .navbar-bottom__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--mocha-chocolate, #5c3e34);
    text-decoration: none;
    padding: 0.2rem 0.3rem;
  }

  .navbar-bottom__link i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  .navbar-bottom__link span {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .navbar-bottom__link--order {
    color: var(--frappe-caramel, #c49a6c);
  }

  .navbar-bottom__link--active {
    color: var(--frappe-caramel, #c49a6c);
  }

  .navbar-bottom__link--active::before {
    content: '';
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.3rem;
    height: 3px;
    border-radius: 4px;
    background: var(--frappe-caramel, #c49a6c);
  }

  .navbar-bottom__badge {
    position: absolute;
    top: -0.25rem;
    right: 0.05rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--mocha-chocolate, #5c3e34);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(92, 62, 52, 0.35);
  }

  .navbar-bottom__badge.is-visible {
    display: flex;
  }
}

@media (max-width: 360px) {
  .navbar-bottom__link span {
    font-size: 0.55rem;
  }
  .navbar-bottom__link i {
    width: 16px;
    height: 16px;
  }
}