/* ════════════════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION MODERN STYLE OVERRIDES
   ════════════════════════════════════════════════════════════════════════════ */

/* ── HEADER TOP ── */
.header-top {
  background: rgba(14,17,24,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-top-welcome {
  color: var(--white80);
  font-size: 0.85rem;
}

.header-select {
  color: var(--white80);
  font-size: 0.85rem;
}

.header-select select {
  background: transparent;
  color: var(--white);
  border: none;
}

.header-top-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.header-top-list a {
  color: var(--white80);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.header-top-list a:hover {
  color: var(--white);
}

/* ── HEADER PART ── */
.header-part {
  background: rgba(10,12,16,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-part .header-logo img,
.header-part .header-media-group img {
  max-height: 45px;
}

.header-widget {
  color: var(--white80);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  text-decoration: none;
}

.header-widget:hover {
  color: var(--white);
}

.header-widget sup {
  background: var(--orange);
  color: #000;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  min-width: 18px;
  text-align: center;
}

.header-cart {
  color: var(--orange);
}

/* ── FORM STYLING ── */
.header-form input {
  background: var(--white10);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-form input::placeholder {
  color: var(--white40);
}

.header-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 15px rgba(255,159,0,0.15);
}

.header-form button {
  background: var(--orange);
  color: #000;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: box-shadow 0.2s;
}

.header-form button:hover {
  box-shadow: 0 0 15px rgba(255,159,0,0.3);
}

/* ── NAVBAR PART ── */
.navbar-part {
  background: rgba(14,17,24,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 68px;
  z-index: 98;
}

.navbar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
}

.navbar-link {
  color: var(--white80);
  text-decoration: none;
  padding: 14px 20px;
  display: block;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}

.navbar-link:hover,
.navbar-item.active .navbar-link {
  color: var(--orange);
  background: rgba(255,159,0,0.08);
  padding-bottom: 12px;
  padding-top: 12px;
  border-bottom: 2px solid var(--orange);
}

/* ── DROPDOWN ── */
.dropdown-position-list {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.dropdown-position-list a {
  color: var(--white80);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.dropdown-position-list a:hover {
  color: var(--orange);
  background: rgba(255,159,0,0.08);
}

.dropdown-divider {
  border-color: var(--border);
  margin: 4px 0;
}

.dropdown-header {
  color: var(--white40) !important;
  padding: 8px 16px !important;
  font-size: 0.7rem !important;
}

/* ── MEGAMENU ── */
.megamenu {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: none;
  padding: 24px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border-radius: 0 0 8px 8px;
}

.megamenu-wrap {
  padding: 16px;
}

.megamenu-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1rem;
}

.megamenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.megamenu-list a {
  color: var(--white80);
  text-decoration: none;
  padding: 8px 0;
  display: block;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.megamenu-list a:hover {
  color: var(--orange);
  padding-left: 6px;
}

/* ── SKELETON LOADERS ── */
.menu-skeleton {
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-menu-title {
  background: rgba(255,255,255,0.08);
  height: 20px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-menu-item {
  background: rgba(255,255,255,0.06);
  height: 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* ── BACK TO TOP ── */
.backtop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  z-index: 100;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(255,159,0,0.25);
}

.backtop:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(255,159,0,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar-part {
    top: 60px;
  }

  .navbar-link {
    padding: 12px 16px;
  }

  .header-top {
    display: none;
  }

  .megamenu .row {
    flex-direction: column;
  }

  .megamenu-wrap {
    padding: 12px;
  }
}
