
/* ======================================
   TOP BAR
   ====================================== */
.bh-topbar-new {
  background: #43a047;
  height: 36px;
  overflow: hidden;
}
.bh-topbar-new__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 12px;
}
.bh-topbar-new__left {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.bh-topbar-new__left i { font-size: 13px; color: #c8e6c9; flex-shrink: 0; }
.bh-topbar-new__left span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-topbar-new__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.bh-topbar-new__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 12px;
  height: 36px;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.15);
  transition: background .15s, color .15s;
}
.bh-topbar-new__link:first-child { border-left: none; }
.bh-topbar-new__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.bh-topbar-new__link i { font-size: 11px; }

/* Mobile */
@media(max-width:768px) {
  .bh-topbar-new { height: 32px; }
  .bh-topbar-new__inner { height: 32px; }
  .bh-topbar-new__link { font-size: 11px; padding: 0 8px; height: 32px; }
  .bh-topbar-new__left { font-size: 11px; }
}
@media(max-width:480px) {
  /* On small phones: hide Register link, keep Login & Track Order */
  .bh-topbar-new__right .bh-topbar-new__link:nth-child(2) { display: none; }
}

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.bh-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  height: 72px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.bh-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.bh-header__logo { flex-shrink: 0; }
.bh-logo-text {
  display: flex; align-items: center; gap: 8px;
  font-family: Poppins,sans-serif; font-size: 22px;
  font-weight: 800; color: #43a047; text-decoration: none;
}
.bh-header__search { flex: 1; max-width: 560px; }
.bh-header__actions {
  display: flex; align-items: center;
  gap: 4px; margin-left: auto; flex-shrink: 0;
}
.bh-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 10px; border-radius: 10px;
  color: #555; font-size: 11px; transition: all .2s;
  position: relative; cursor: pointer; text-decoration: none;
  background: none; border: none;
}
.bh-action-btn i { font-size: 20px; }
.bh-action-btn:hover { background: #e8f5e9; color: #43a047; }
.bh-action-label { font-size: 11px; color: #9e9e9e; }
.bh-action-count {
  position: absolute; top: 0; right: 4px;
  background: #e53935; color: #fff;
  font-size: 10px; font-weight: 800;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.bh-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 6px; cursor: pointer; background: none; border: none;
}
.bh-hamburger span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: all .2s; }

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.bh-navbar {
  background: #43a047;
  position: sticky;
  top: 72px;
  z-index: 999;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  overflow: visible;
}
.bh-navbar__inner {
  display: flex;
  align-items: center;
  height: 50px;
  overflow: visible;
  position: relative;
}

/* ── All Categories Button ── */
.bh-catmenu { position: relative; flex-shrink: 0; height: 50px; display: flex; align-items: center; }
.bh-catmenu__btn {
  background: rgba(0,0,0,.18);
  color: #fff; padding: 0 18px; height: 50px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; border: none;
  cursor: pointer; font-family: Nunito,sans-serif;
  white-space: nowrap; transition: background .2s;
}
.bh-catmenu__btn:hover,
.bh-catmenu--open .bh-catmenu__btn { background: rgba(0,0,0,.30); }
.bh-catmenu__arrow { font-size: 11px; transition: transform .2s; }
.bh-catmenu--open .bh-catmenu__arrow { transform: rotate(180deg); }

/* ── MEGA CATEGORY PANEL — Grid style like ecomall ── */
.bh-catmenu__panel {
  position: absolute;
  top: 50px;
  left: 0;
  width: 840px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
  border-radius: 0 0 16px 16px;
  display: none;
  z-index: 9998;
  padding: 28px 28px 20px;
  border: 1px solid #eee;
  border-top: 3px solid #43a047;
}
.bh-catmenu--open .bh-catmenu__panel { display: block; }

/* Grid of all parent categories */
.bh-catmenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  column-gap: 0;
}
.bh-catmenu__col {
  padding: 0 20px 16px 0;
  border-right: 1px solid #f0f0f0;
  margin-right: 20px;
}
.bh-catmenu__col:nth-child(4n) {
  border-right: none;
  margin-right: 0;
}
.bh-catmenu__col-title {
  font-family: Poppins, sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f5e9;
  display: block;
  text-decoration: none;
}
.bh-catmenu__col-title:hover { color: #43a047; }
.bh-catmenu__sub-list { list-style: none; padding: 0; margin: 0; }
.bh-catmenu__sub-list li { margin-bottom: 4px; }
.bh-catmenu__sub-list li a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: all .15s;
  font-weight: 500;
}
.bh-catmenu__sub-list li a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #a5d6a7;
  flex-shrink: 0;
  transition: background .15s;
}
.bh-catmenu__sub-list li a:hover { color: #43a047; padding-left: 4px; }
.bh-catmenu__sub-list li a:hover::before { background: #43a047; }

/* View all link at bottom */
.bh-catmenu__viewall {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
}
.bh-catmenu__viewall a {
  font-size: 13px; font-weight: 700; color: #43a047;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1.5px solid #a5d6a7; border-radius: 50px;
  transition: all .2s;
}
.bh-catmenu__viewall a:hover { background: #43a047; color: #fff; border-color: #43a047; }

/* ── Nav category links ── */
.bh-navlinks {
  display: flex; align-items: center; height: 50px;
  flex: 1; overflow: hidden; padding: 0 8px; gap: 2px;
}
.bh-navlinks__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; height: 36px;
  color: rgba(255,255,255,.92); font-size: 13px;
  font-weight: 600; text-decoration: none;
  white-space: nowrap; border-radius: 8px;
  transition: background .15s; flex-shrink: 0;
}
.bh-navlinks__link:hover,
.bh-navlinks__link--active { background: rgba(0,0,0,.18) !important; color: #fff !important; }
.bh-navlinks__link img { display: none; }

/* ── Best Deals ── */
.bh-navbar__deals {
  background: linear-gradient(135deg,#f44336,#e53935); color: #fff;
  padding: 0 22px; height: 50px;
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
  flex-shrink: 0; transition: all .2s; margin-left: auto;
  box-shadow: 0 4px 14px rgba(244,67,54,.35);
}
.bh-navbar__deals:hover { background: linear-gradient(135deg,#e53935,#c62828); color: #fff; box-shadow: 0 6px 18px rgba(244,67,54,.45); }
.bh-navbar__deals i { animation: bh-fire 1s infinite; }
@keyframes bh-fire { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* ── Hide old classes ── */
.bh-mn-item,.bh-mn-drop,.bh-mega-nav,
.bh-mega-item,.bh-mega-drop,
.bh-all-cats,.bh-navbar__links,
.bh-catmenu__item,.bh-catmenu__sub,
.bh-catmenu__sub-link { display: none !important; }

/* ── Responsive ── */
@media(max-width:1024px) { .bh-catmenu__panel { width: 680px; } .bh-catmenu__grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:768px) {
  .bh-navlinks { display: none; }
  .bh-hamburger { display: flex !important; }
  .bh-catmenu__panel { width: calc(100vw - 20px); }
  .bh-catmenu__grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:480px) {
  .bh-catmenu__grid { grid-template-columns: 1fr; }
  .bh-catmenu__panel { width: calc(100vw - 10px); padding: 16px; }
}
