/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
  --alert-height: 40px;
  
  
    --background: transparent;
  /* --black: #000; */
  --white: #c93b3b;
  --gold: #c9a14a;
  --red: #8b1d1d;
}

/* =====================================================
   HEADER WRAPPER (ONLY THIS IS FIXED)
===================================================== */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3000;
  
}

/* =====================================================
 TOP ALERT*/

.top-alert {
  height: var(--alert-height);
  background: #f5c542;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   MAIN HEADER (LOGO + SEARCH + ICONS)
===================================================== */
.main-header {
  height: var(--header-height);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================================================
   LOGO
===================================================== */
.logo img {
  height: 200px;
}

/* =====================================================
   SEARCH BOX
===================================================== */
.search-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-box input {
  width: 500px;
  padding: 10px 18px;
  border-radius: 22px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font-size: 14px;
  color: #000;
} 

/* =====================================================
   HEADER ICONS
===================================================== */
.header-icons {
  display: flex;
  gap: 54px;
}

.header-icons a {
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  transition: color 0.25s ease;
}

/* =====================================================
   CATEGORY NAV (MENU)
===================================================== */
.category-nav {
  height: var(--menu-height);
  background: transparent;
  transition: background 0.3s ease;
}

.category-menu {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.cat-item {
  position: relative;
}

.cat-item > a {
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.cat-item > a:hover {
  color: var(--gold);
}

/* =====================================================
   DROPDOWN
===================================================== */
.dropdown-box {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  padding: 16px;
  display: none;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  z-index: 5000;
}

.cat-item:hover .dropdown-box {
  display: block;
}

.dropdown-box a {
  display: block;
  font-size: 14px;
  color: #222;
  margin-bottom: 8px;
  text-decoration: none;
}

.dropdown-box a:hover {
  color: var(--red);
}

/* =====================================================
   HOVER EFFECT (BIBA STYLE)
===================================================== */
#header:hover .main-header,
#header:hover .category-nav {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#header:hover .header-icons a,
#header:hover .cat-item > a {
  color: #000;
}

#header:hover .search-box input {
  background: #f5f5f5;
}

/* =====================================================
   SCROLL STATE (OPTIONAL – JS ADDS .header-solid)
===================================================== */
.header-solid .main-header,
.header-solid .category-nav {
  background: rgba(255,255,255,0.96);
}

.header-solid .header-icons a,
.header-solid .cat-item > a {
  color: #000;
}

/* =====================================================
   MOBILE
===================================================== */
.logo-mobile {
  display: none;
}

@media (max-width: 768px) {

  .search-box {
    display: none;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    height: 28px;
  }

  .category-menu {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .dropdown-box {
    display: none !important;
  }
}


