/* ---------------------------------------
   TOP BANNER
-----------------------------------------*/
.top-banner {
  background: #000;
  color: #fff;
  padding: 4px 0;
  font-size: 13px;
}

.top-banner-content {
  max-width: 1350px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
#menuToggle{
  display:none;
}

/* ---------------------------------------
   STICKY HEADER
-----------------------------------------*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: 0.25s ease;
  z-index: 1000;
}

.navbar.sticky-active {
  padding-top: 3px;
  padding-bottom: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}


/* ---------------------------------------
   HEADER MAIN CONTAINER
-----------------------------------------*/
.navbar-container {
  max-width: 1350px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 10px 0;
}
@media (min-width: 992px) {
  .navbar-container {
    justify-content: flex-start; /* 🔥 IMPORTANT */
  }
}
  

/* ---------------------------------------
   LOGO
-----------------------------------------*/
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-section img {
  height: 50px;
  transition: 0.2s ease;
}

.navbar.sticky-active .logo-section img {
  height: 44px;
}


/* ---------------------------------------
   NAV MENU (CATEGORIES)
-----------------------------------------*/
.nav-menu {
  display: flex;
  list-style: none;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
}

.nav-link:hover {
  color: #b8860b;
}


/* ---------------------------------------
   SEARCH BAR (Amazon Style)
-----------------------------------------*/
/* .search-container {
  flex: 1;
  max-width: 480px;
} */
/* 
.search-wrapper {
  display: flex;
  align-items: center;
  background: #f1f3f6;
  border-radius: 30px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  transition: 0.2s ease;
} */

.search-wrapper:focus-within {
  background: #fff;
  border-color: #b8860b;
  /* box-shadow: 0 0 5px rgba(184,134,11,0.3); */
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
}

.search-input:focus {
  outline: none;
}

/* .search-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #444;
  cursor: pointer;
} */


/* ---------------------------------------
   ACTION ICONS (Cart, Wishlist, Account)
-----------------------------------------*/
.action-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  font-size: 22px;
  color: #333;
  display: flex;
  position: relative;
}

.icon-btn:hover {
  color: #b8860b;
}

.icon-btn .badge {
  font-size: 10px;
  padding: 4px 6px;
}

/* ---------------------------------------
   DROPDOWN (CATEGORIES -> SUBCATEGORIES)
-----------------------------------------*/
.nav-item.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;       /* KEY FIX */
  top: 100%;                /* BELOW MAIN CATEGORY */
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  z-index: 5000;
  min-width: 200px;
  padding: 8px 0;
  max-height: 300px;
  overflow-y: auto;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-content {
  display: block;
}

/* SUBCATEGORY ITEMS */
.simple-subcategory-menu .dropdown-item {
  display: block;
  padding: 8px 14px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
}

.simple-subcategory-menu .dropdown-item:hover {
  background: #f5f5f5;
  color: #b8860b;
}

/* Disabled subcategories */
.simple-subcategory-menu .disabled-sub {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #aaa;
  cursor: not-allowed;
}
/* ---------- MOBILE HEADER LAYOUT ---------- */
@media (max-width: 768px) {

  /* NAVBAR container vertical */
  .navbar-container {
    flex-direction: column;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
        justify-content: space-between;

    display: flex;
  }
  .navbar-container a img{
    height: 100px;
  

  }
  /* TOP ROW: LOGO + ICONS + MENU TOGGLE */
  .navbar {
    padding: 0;
  }

  /* .logo-section {
    order: 1;
    margin: 0;
  } */

  .mobile-toggle {
    order: 0;
  }

  .action-icons {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* CENTER EVERYTHING IN A ROW */
  .navbar-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
 .mobile-toggle {
    display: block !important;
    z-index: 1001;
  }
  /* NAV MENU (Hide categories in mobile) */
  .nav-menu {
    display: none !important;
  }

  /* SECOND ROW: SEARCH BAR FULL WIDTH */
   .secondary-nav {
    display: block;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .secondary-container {
    display: flex;
    flex-wrap: nowrap;                 /* single row */
    justify-content: space-between;
    align-items: center;
    padding: 6px 6px;
  }

  .secondary-link {
    flex: 1;
    text-align: center;
    font-size: 11px;                   /* small font */
    padding: 6px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #f9f9f9;
    border-radius: 6px;
  }
  .secondary-link:hover {
    background: #e0e0e0;
  }

  /* ❌ hide track order */
  .secondary-link.track-order {
    display: none !important;
  }

  /* 🔤 TEXT OVERRIDE (mobile only) */
  .secondary-link:nth-child(1)::after {
    content: "Collection";
  }
  .secondary-link:nth-child(1) {
    font-size: 0;
  }

  .secondary-link:nth-child(2)::after {
    content: "New Arrival";
  }
  .secondary-link:nth-child(2) {
    font-size: 0;
  }

  .secondary-link:nth-child(3)::after {
    content: "View";
  }
  .secondary-link:nth-child(3) {
    font-size: 0;
  }

  .secondary-link:nth-child(4)::after {
    content: "Search";
  }
  .secondary-link:nth-child(4) {
    font-size: 0;
  }

  .secondary-link::after {
    font-size: 11px;
    font-weight: 500;
    color: #333;
  }
}
  .action-icons{
  display: flex;
  align-items: center;
  gap: 22px;
}

/* groups */
.action-group{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* primary icons */
.primary-actions .icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.primary-actions .icon-btn:hover{
  background: #9f45d7;
  color: #fff;
}

/* secondary icons */
.icon-btn.soft{
  opacity: 0.7;
}

.icon-btn.soft:hover{
  opacity: 1;
}

/* badges */
.icon-btn .badge{
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 50%;
}
/* ================= MOBILE ICONS TO BOTTOM ================= */
@media (max-width: 768px){

  /* action icons ko bottom bar bana do */
  .action-icons{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    z-index: 9999;

    display: flex !important;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }

  /* groups ek hi row me */
  .action-group{
    display: flex;
    gap: 18px;
  }

  /* icons styling */
  .icon-btn{
    font-size: 22px;
    color: #444;
  }

  .icon-btn:hover{
    color: #b8860b;
  }

  /* badge position fix */
  .icon-btn .badge{
    top: -6px;
    right: -8px;
  }

  /* body padding so content hide na ho */
  body{
    padding-bottom: 70px;
  }
}
