/* Fashion Header Variant */

/* Container width matching home-fashion — near full width */
.fashion-topbar .container,
.fashion-header .container {
  width: 100%;
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ── Topbar ── */
.fashion-topbar {
  background: #f5f5f5;
  color: #777;
  font-size: 12px;
  padding: 8px 0;
  line-height: 1;
  border-bottom: 1px solid #ebebeb;
}
.fashion-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fashion-topbar-left,
.fashion-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fashion-topbar-left span,
.fashion-topbar-right a,
.fashion-topbar-right span { color: #777; text-decoration: none; font-size: 12px; }
.fashion-topbar-right a:hover { color: #222; }
.fashion-topbar-sep { color: #ccc; }

/* Topbar dropdown (locale/currency) */
.fashion-td { position: relative; }
.fashion-td-toggle {
  background: none; border: none; padding: 0;
  color: #777; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 3px;
}
.fashion-td-toggle:hover { color: #222; }
.fashion-td-toggle .bi { font-size: 10px; }
.fashion-td-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid #e8e8e8; min-width: 110px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); z-index: 1000;
}
.fashion-td-menu.open { display: block; }
.fashion-td-menu a {
  display: block; padding: 7px 14px; font-size: 12px;
  color: #555; text-decoration: none;
}
.fashion-td-menu a:hover { background: #f5f5f5; color: #222; }

/* ── Main Header ── */
.fashion-header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 999;
}
.fashion-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

/* Logo */
.fashion-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  font-size: 20px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #222;
}

/* Nav — align left with logo */
.fashion-nav-wrap { flex: 1; display: flex; justify-content: flex-start; }

.fashion-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0;
}
.fashion-nav > li { position: relative; }
.fashion-nav > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px; height: 70px; line-height: 70px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: #444; text-decoration: none;
  position: relative; white-space: nowrap;
  transition: color .2s;
}
.fashion-nav > li > a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: #222; transform: scaleX(0);
  transition: transform .25s ease;
}
.fashion-nav > li:hover > a,
.fashion-nav > li > a.active { color: #222; }
.fashion-nav > li:hover > a::after,
.fashion-nav > li > a.active::after { transform: scaleX(1); }
.fashion-nav > li > a .bi-chevron-down { font-size: 10px; opacity: .6; }

/* Level 2 dropdown */
.fashion-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 190px; background: #fff;
  border: 1px solid #e8e8e8; border-top: 2px solid #222;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  list-style: none; margin: 0; padding: 8px 0; z-index: 1000;
}
.fashion-nav > li:hover > .fashion-dropdown { display: block; }
.fashion-dropdown li { position: relative; }
.fashion-dropdown li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 18px; font-size: 13px; color: #555;
  text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.fashion-dropdown li a:hover { color: #222; background: #f9f9f9; }
.fashion-dropdown li a .bi-chevron-right { font-size: 11px; opacity: .5; }

/* Level 3 */
.fashion-dropdown--sub {
  top: 0; left: 100%; border-top: 2px solid #222;
}
.fashion-dropdown li.has-sub:hover > .fashion-dropdown--sub { display: block; }

/* ── Header Icons ── */
.fashion-header-icons {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.fashion-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: none;
  color: #333; font-size: 18px; cursor: pointer; text-decoration: none;
  transition: color .2s;
}
.fashion-icon-btn:hover { color: var(--molla-accent, #c96); }
.fashion-icon-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; border-radius: 8px;
  background: #c96; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
  line-height: 1;
}

/* ── Search Bar slide-down ── */
.fashion-search-bar {
  display: none; border-top: 1px solid #ebebeb;
  background: #fff; padding: 14px 0;
}
.fashion-search-bar.open { display: block; }
.fashion-search-form {
  display: flex; align-items: center; gap: 0;
  border: 1px solid #e0e0e0;
}
.fashion-search-input {
  flex: 1; border: none; outline: none;
  padding: 10px 16px; font-size: 14px; background: transparent; color: #333;
}
.fashion-search-btn, .fashion-search-close {
  background: none; border: none; border-left: 1px solid #e0e0e0;
  padding: 10px 16px; color: #555; cursor: pointer; font-size: 15px;
  transition: color .2s;
}
.fashion-search-btn:hover, .fashion-search-close:hover { color: #222; }

/* ── Mobile header ── */
.fashion-header-mobile {
  display: none;
  align-items: center; justify-content: space-between;
  height: 56px;
}
.fashion-header-mobile .bi-list {
  font-size: 28px !important;
}


/* ── Responsive ── */
@media (max-width: 991px) {
  .fashion-topbar { display: none; }
  .fashion-nav-wrap { display: none; }
  .fashion-header-mobile { display: flex; padding: 0 1rem; }
  .fashion-search-toggle { display: none; }
  .fashion-header-icons { display: none; }
}
@media (max-width: 767px) {
  .fashion-header-inner { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .fashion-logo { font-size: 16px; }
}
