/* ============================================
   Mobile Bottom Navigation - TechProHelp
   ============================================ */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 990;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.mobile-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  border-radius: 0;
  padding: 8px 4px;
  position: relative;
}

.mobile-nav-btn i {
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-nav-btn.active,
.mobile-nav-btn:hover {
  color: var(--accent);
}

.mobile-nav-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--gradient);
  border-radius: 0 0 4px 4px;
}

.mobile-nav-btn.active i {
  transform: scale(1.15);
}

/* Cart button special styling */
.mobile-nav-btn.cart-nav {
  position: relative;
}

.mobile-nav-cart-badge {
  position: absolute;
  top: 5px;
  right: 50%;
  transform: translateX(8px);
  min-width: 18px;
  height: 18px;
  background: var(--accent);
  color: white;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-card);
  z-index: 1;
}

/* Center button (shop) - elevated pill */
.mobile-nav-btn.shop-nav {
  position: relative;
  top: 0;
}

.mobile-nav-btn.shop-nav .nav-pill {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  box-shadow: 0 4px 15px rgba(233,30,140,0.4);
  position: relative;
  top: -8px;
  transition: all 0.2s ease;
}

.mobile-nav-btn.shop-nav .nav-pill i {
  color: white;
  font-size: 22px;
}

.mobile-nav-btn.shop-nav span.nav-label {
  position: relative;
  top: -6px;
}

.mobile-nav-btn.shop-nav:hover .nav-pill,
.mobile-nav-btn.shop-nav.active .nav-pill {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(233,30,140,0.5);
}

/* Show on mobile */
@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 64px; }
}

/* ============ MOBILE HEADER SEARCH ============ */
.mobile-search-bar {
  display: none;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-search-bar input {
  width: 100%;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.mobile-search-bar input:focus { border-color: var(--accent); }

@media (max-width: 768px) {
  .mobile-search-bar { display: block; }
}

/* ============ SCROLL-AWARE HEADER ============ */
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

/* ============ FLOATING WHATSAPP ============ */
.float-whatsapp {
  display: none;
  position: fixed;
  bottom: 76px;
  left: 16px;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 985;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.float-whatsapp:hover { transform: scale(1.1); color: white; }

@media (max-width: 768px) {
  .float-whatsapp { display: flex; }
}
