/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

/* Top Offer Bar */
.top-offer-bar {
  width: 100%;
  background: #000;
  color: #ffeb3b;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
  text-align: center;
}

/* Main Red Navbar */
.main-navbar {
  width: 100%;
  background: #e62e2e;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

/* Logo */
.logo a {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}
.logo span {
  font-weight: 400;
}

/* Search Bar */
.search-bar {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 20px;
}
.search-bar input {
  width: 60%;
  padding: 10px 15px;
  border: none;
  border-radius: 25px 0 0 25px;
  font-size: 16px;
  outline: none;
}
.search-bar button {
  background: #fff;
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 10px 15px;
  cursor: pointer;
  color: #e62e2e;
  font-size: 16px;
}

/* Icons Section */
.nav-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-icons a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 14px;
}
.nav-icons i {
  font-size: 18px;
  margin-bottom: 3px;
}

/* Cart count badge */
.cart-icon {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  padding: 2px 5px;
}

/* Bottom Navbar */
.bottom-navbar {
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  text-align: center;
}
.bottom-navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
}
.bottom-navbar a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 16px;
}
.bottom-navbar a i {
  color: #e62e2e;
  margin-right: 6px;
}

/* Hamburger (mobile only) */
.mobile-left {
  display: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  /* hide full layout */
  .search-bar,
  .bottom-navbar,
  .nav-icons span {
    display: none;
  }

  /* compact red bar look */
  .nav-container {
    justify-content: space-between;
    align-items: center;
  }

  .mobile-left {
    display: block;
  }

  .logo a {
    font-size: 22px;
  }

  .nav-icons {
    flex-direction: row;
    gap: 12px;
  }

  .nav-icons i {
    font-size: 20px;
    margin: 0;
  }

  .cart-count {
    font-size: 11px;
    top: -5px;
    right: -5px;
  }
}

/* 📱 Mobile Slide Menu */

/* mobila */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100vh;
  background: #fff;
  box-shadow: 3px 0 10px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: left 0.3s ease;
  padding: 20px;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.mobile-menu .menu-header h3 {
  color: #e62e2e;
  font-size: 20px;
}

.mobile-menu .menu-header i {
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu ul li a i {
  color: #e62e2e;
  font-size: 18px;
}

/* Background overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 9998;
}

.overlay.active {
  display: block;
}
