html, body {
  overscroll-behavior: none;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(11, 14, 20, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 200;
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  text-decoration: none;
  color: var(--muted);
  font-family: 'Orbitron', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.8px;
  background: transparent;
  border: none;
  transition: color 0.2s;
  position: relative;
  padding: 0.4rem 0;
}

.bnav-item i {
  font-size: 1.3rem;
  transition: color 0.2s, transform 0.2s;
}

.bnav-item.active {
  color: var(--accent);
}

.bnav-item.active i {
  transform: translateY(-2px);
}

.bnav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 0 0 4px 4px;
}

.bnav-badge {
  position: absolute;
  top: 5px;
  left: 52%;
  background: var(--danger);
  color: #fff;
  font-size: 0.5rem;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* -- Responsive -- */
@media (max-width: 768px) {
  * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;  
  }
  html, body {
  overscroll-behavior: none; /* Prevent bounce effect */
  -webkit-overflow-scrolling: auto; /* Stop iOS bounce scroll */
   padding-bottom: var(--nav-h);
 }
  input,
  textarea {
    -webkit-user-select: text;
    user-select: text;
  }

  img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
     user-drag: none;
     user-select: none;
  }

 a{
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
  }

  .top-bar {
    display: none;
  }

  .bottom-nav {
    display: block;
  }

  .main {
    padding: 1.5rem 1rem 2rem;
  }
  .product-card:hover {
    transform: none
  }
  .toast-container {
    bottom: calc(var(--nav-h) + 0.5rem);
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast-item {
    min-width: unset;
  }
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none !important;
  }

  .toast-container {
    bottom: 1.5rem;
  }
}
