/* Light Responsive Header Styles */
.light-header {
  background-color: #000 !important;
  font-family: 'Manrope', 'Inter', sans-serif;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.light-header__top {
  padding: 15px 0;
  border-bottom: 1px solid #222;
  background-color: #000 !important;
}

.light-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 30px;
}

/* Logo */
.light-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: color 0.2s;
}

.light-header__logo-img {
  width: 50px;
  height: auto;
}

.light-header__logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  transition: color 0.2s;
}

.brand-tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #888;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Search */
.light-header__search {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: #111 !important;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #333 !important;
  transition: border-color 0.3s;
}

.light-header__search:focus-within {
  border-color: #c9a96e !important;
}

.light-header__search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 10px 15px;
  font-size: 14px;
  color: #fff !important;
  outline: none !important;
}

.light-header__search-btn {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.light-header__search-btn:hover {
  background: #444;
}

/* Actions */
.light-header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.action-link i {
  font-size: 18px;
  color: #fff;
}

.action-link:hover, .action-link:hover i {
  color: #ffcc00;
}

.cart-link {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #d4af37;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.book-test-btn {
  background: linear-gradient(135deg, #e6c887, #c9a96e);
  color: #111;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: capitalize;
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.book-test-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 169, 110, 0.4);
  color: #111;
}

/* Nav */
.light-header__nav {
  padding: 18px 0;
}

.light-header__nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.light-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 35px;
  flex-wrap: wrap;
}

.light-nav-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}

.light-nav-list li a:hover {
  color: #ffcc00;
}

/* Mobile Toggle */
.light-header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
  .light-nav-list {
    gap: 20px;
  }
  .light-header__actions {
    gap: 15px;
  }
}

@media (max-width: 1199px) {
  .light-header__top {
    padding: 10px 0;
  }
  .light-header__top-inner {
    flex-wrap: nowrap; /* Keep on one row */
    position: relative;
    padding: 0 15px;
    height: 60px;
  }
  .action-link span {
    display: none;
  }
  .action-link i {
    font-size: 20px;
  }
  .book-test-btn {
    display: none;
  }
  #header-account-link {
    display: none; /* User is in bottom nav */
  }
  .light-header__mobile-toggle {
    display: block;
    order: 1;
    margin: 0;
    font-size: 20px;
    padding: 5px;
    background: none;
    border: none;
    color: #111;
  }
  .light-header__logo {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .light-header__logo-img {
    height: 32px !important;
    width: auto;
    margin-right: 0 !important;
  }
  .brand-title, .brand-tagline {
    display: none; /* Show only logo image for cleaner app look */
  }
  .light-header__actions {
    order: 3;
    margin-left: 0;
    gap: 15px;
  }
  .light-header__search {
    display: none; /* Hide huge search bar on mobile */
  }
  .light-header__nav {
    display: block !important;
    position: fixed;
    top: 60px;
    left: 0;
    width: 260px;
    height: calc(100vh - 60px);
    background: #111;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 4px 0 15px rgba(0,0,0,0.3);
  }
  .light-header__nav.is-open {
    transform: translateX(0);
  }
  .light-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .light-nav-list li {
    width: 100%;
  }
  .light-nav-list a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 16px;
    font-weight: 500;
  }
}
