/* ===============================
   HEADER & NAVIGATION STYLES
   =============================== */

header.header-wrapper {
  background: #1a1a1a;
  padding: 1em 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #2a2a2a;
}

/* Logo */
header.header-wrapper .logo img {
  height: 40px;
  display: block;
}

/* Search Form (forced larger) */
header.header-wrapper form {
  flex-grow: 1;
  margin: 0 2em;
}
header.header-wrapper form input[type="text"],
header.header-wrapper form input[type="search"],
header.header-wrapper form .form-control[type="text"],
header.header-wrapper form .form-control[type="search"] {
  width: 100%;
  padding: 0.95em 1.2em !important;   /* taller */
  font-size: 1.2rem !important;        /* bigger text */
  border: none !important;
  border-radius: 8px !important;
  background: #1e1e1e !important;
  color: #fff !important;
  line-height: 1.25 !important;
  height: auto !important;
  box-shadow: none !important;
}

/* Icons (account, basket) — force bigger */
header.header-wrapper .icons {
  display: flex;
  gap: 1em;
  align-items: center;
}
header.header-wrapper .icons a {
  color: #e0e0e0 !important;
  text-decoration: none;
}
header.header-wrapper .icons a:hover { color: #fff !important; }
/* target the <i> directly in case a theme sets its own size */
header.header-wrapper .icons i {
  font-size: 2rem !important;          /* bigger icons */
  line-height: 1 !important;
  display: inline-block;
}

/* Main Navigation */
.nav-main {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.5em;
}
.nav-main ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}
.nav-main ul li { position: relative; }
.nav-main ul li a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 0.5em 0.75em;
  display: block;
  font-weight: 600;
  font-size: 1.5rem;                   /* large, as you set */
  transition: color 0.3s ease;
}
.nav-main ul li a:hover { color: #fff; }

/* Dropdown Menu */
.nav-main ul li ul {
  display: none;
  position: absolute;
  background: #2a2a2a;
  padding: 0.5em 0;
  top: 100%;
  left: 0;
  z-index: 999;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  border: 1px solid #333;
}
.nav-main ul li:hover > ul { display: block; }
.nav-main ul li ul li a {
  display: block;
  padding: 0.6em 1em;
  color: #fff !important;              /* force white in dropdown */
  white-space: nowrap;
  font-size: 1.3rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-main ul li ul li a:hover {
  background: #444 !important;
  color: #fff !important;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  header.header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  header.header-wrapper form {
    margin: 1em 0;
    width: 100%;
  }

  .icons {
    order: 3;
    margin-top: 1em;
  }

  .nav-main {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-main ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-main ul li { width: 100%; }

  .nav-main ul li a {
    width: 100%;
    font-size: 1.2rem;                 /* slightly reduced for phones */
    padding: 0.8em 1em;
  }

  .nav-main ul li ul {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-main ul li ul li a {
    padding-left: 2em;
    font-size: 1.1rem;
  }
}
