/* ═══════════════════════════════════════════════
   Aorus Mobile Bottom Navigation Bar
   Visible on mobile (≤767px) and tablet (768px–1024px) only
   ═══════════════════════════════════════════════ */

.ao-bottom-nav {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10100;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 -4px 24px rgba(0, 0, 0, 0.07),
    0 -1px 6px rgba(0, 0, 0, 0.04);
  padding: 0;
  /* Safe area for notched phones */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Show only on mobile & tablet */
@media (max-width: 1024px) {
  .ao-bottom-nav {
    display: flex;
  }
}

/* Add bottom padding to body so content isn't hidden behind the bar */
@media (max-width: 1024px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Nav list ── */
.ao-bottom-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── Each item ── */
.ao-bottom-nav-item {
  flex: 1;
  display: flex;
}

/* ── Each link ── */
.ao-bottom-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px 8px;
  text-decoration: none !important;
  color: #555 !important;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.22s ease,
    transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
  position: relative;
  min-height: 60px;
}

/* ── Icon wrapper (holds SVG + badge) ── */
.ao-bottom-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ao-bottom-nav-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  transition: stroke 0.22s ease;
}

/* ── WhatsApp icon (filled green) ── */
.ao-bottom-nav-icon--whatsapp .ao-bottom-nav-icon svg {
  fill: #25D366;
  stroke: none;
  width: 28px;
  height: 28px;
}

/* ── Wishlist badge ── */
.ao-bottom-nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}

/* ── Label text ── */
.ao-bottom-nav-label {
  font-size: 11px;
  font-weight: 600;
  color: inherit;
  transition: color 0.22s ease;
}

/* ── Active / hover states ── */
.ao-bottom-nav-link:hover,
.ao-bottom-nav-link:focus,
.ao-bottom-nav-link.ao-active {
  color: #000 !important;
  text-decoration: none !important;
}

.ao-bottom-nav-link:hover .ao-bottom-nav-icon,
.ao-bottom-nav-link:focus .ao-bottom-nav-icon,
.ao-bottom-nav-link.ao-active .ao-bottom-nav-icon {
  transform: translateY(-3px);
}

/* WhatsApp keeps green color on hover */
.ao-bottom-nav-icon--whatsapp .ao-bottom-nav-link:hover,
.ao-bottom-nav-icon--whatsapp .ao-bottom-nav-link:focus {
  color: #25D366 !important;
}

/* ── Active indicator dot ── */
.ao-bottom-nav-link.ao-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #000;
  opacity: 0.6;
}

/* ── Touch ripple feedback ── */
.ao-bottom-nav-link::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.18s ease;
  pointer-events: none;
}

.ao-bottom-nav-link:active::before {
  background: rgba(0, 0, 0, 0.05);
}
