/* Bags Header Variant (Multikart) */
.bags-topbar {
  background-color: #fafafa;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
  color: #333333;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
}
.bags-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bags-topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bags-topbar-sep {
  margin: 0 10px;
  color: #cccccc;
}
.bags-topbar-right {
  display: flex;
  align-items: center;
  gap: 5px;
}
.bags-topbar-link {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}
.bags-topbar-link:hover {
  color: #c9a96e;
}
.bags-td {
  position: relative;
}
.bags-td-toggle {
  background: none;
  border: none;
  font-size: 13px;
  color: #333333;
  padding: 0;
  cursor: pointer;
}
.bags-td-toggle:hover {
  color: #c9a96e;
}
.bags-td-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-radius: 4px;
  z-index: 999;
  min-width: 100px;
  margin-top: 5px;
}
.bags-td-menu.open {
  display: block;
}
.bags-td-menu a {
  display: block;
  padding: 6px 12px;
  color: #333333;
  text-decoration: none;
  transition: background 0.2s;
}
.bags-td-menu a:hover {
  background-color: #f9f9f9;
  color: #c9a96e;
}

/* Main Header */
.bags-header,
#appHeader.bags-header {
  background-color: #ffffff;
  padding: 25px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.bags-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.bags-logo {
  text-decoration: none;
  display: inline-block;
  grid-column: 2;
  justify-self: center;
}
.bags-logo .logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bags-logo .logo-text span {
  color: #c9a96e;
}

/* Nav */
.bags-nav-wrap {
  grid-column: 1;
}
.bags-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 25px;
}
.bags-nav > li {
  position: relative;
}
.bags-nav > li > a {
  color: #333333;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: none;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.bags-nav > li > a:hover,
.bags-nav > li > a.active {
  color: #c9a96e;
}
.bags-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-top: 2px solid #c9a96e;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 180px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
.bags-nav > li:hover .bags-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bags-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  color: #555555;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.bags-dropdown a:hover {
  color: #c9a96e;
  padding-left: 24px;
  background-color: #fafafa;
}
.bags-dropdown li {
  position: relative;
}
.bags-dropdown--sub {
  top: 0;
  left: 100%;
  border-top: 1px solid #eeeeee;
}
.bags-dropdown li:hover .bags-dropdown--sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Icons */
.bags-header-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 15px;
}
.bags-icon-btn {
  background: none;
  border: none;
  color: #333333;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}
.bags-icon-btn:hover {
  color: #c9a96e;
}
.cart-icon-wrap {
  position: relative;
}
.bags-icon-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: #c9a96e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

/* Search Bar */
.bags-search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-top: 1px solid #eeeeee;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
  z-index: 99;
}
.bags-search-bar.open {
  transform: scaleY(1);
}
.bags-search-form {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.bags-search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 1px solid #dddddd;
  border-radius: 30px;
  font-size: 14px;
}
.bags-search-input:focus {
  outline: none;
  border-color: #c9a96e;
}
.bags-search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #c9a96e;
  font-size: 18px;
  cursor: pointer;
}
.bags-search-close {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  font-size: 18px;
  cursor: pointer;
}

/* Mobile Header */
.bags-header-mobile {
  display: none;
}

@media (max-width: 991px) {
  .bags-topbar {
    display: none;
  }
  .bags-header-inner {
    display: none;
  }
  .bags-header {
    padding: 10px 0;
  }
  .bags-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
  }
  .bags-header-mobile .bags-logo {
    order: 0;
  }
}
