/* ================================================================
   IPMCKart — Mobile App Bottom Nav + Breadcrumb Banner Fix
   ================================================================ */

/* ── Mobile App Bottom Navigation Bar ─────────────────────────── */
.mobile-app-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  align-items: stretch;
}

@media (max-width: 991px) {
  .mobile-app-nav {
    display: flex;
  }

  body {
    padding-bottom: 60px !important;
  }

  /* Keep WhatsApp button clear of the bar */
  .whatsapp-float-btn {
    bottom: 75px !important;
  }
}

.app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px 4px;
  color: #999;
  text-decoration: none !important;
  transition: color 0.18s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.app-nav-item i {
  font-size: 19px;
  line-height: 1;
  display: block;
}

.app-nav-item span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}

.app-nav-item:hover {
  color: #e5101a;
  text-decoration: none !important;
}

.app-nav-item.active {
  color: #e5101a;
}

.app-nav-item.active i {
  transform: translateY(-1px);
  transition: transform 0.18s;
}

/* Active indicator dot */
.app-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #e5101a;
  border-radius: 50%;
}

/* Cart badge */
.app-nav-cart-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  background: #e5101a;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  padding: 0 3px;
  display: none;
}

.app-nav-cart-badge.visible {
  display: block;
}


/* ── Breadcrumb Fix on Category Banner ─────────────────────────── */
.category-banner .breadcrumb-nav,
.category-banner .breadcrumb-nav a,
.category-banner .breadcrumb-item,
.category-banner .breadcrumb-item.active,
.category-banner .breadcrumb-item + .breadcrumb-item::before {
  color: #fff !important;
}

.category-banner .breadcrumb-nav {
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
}
