/* Nneka Chima logo */
.site-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: inherit;
  text-transform: uppercase;
}

/* Fix for Shop dropdown positioning */
.box-nav-ul .menu-item .submenu-default {
  left: 0 !important;
  min-width: 200px;
  right: auto !important;
}

/* Ensure dropdown is visible on hover */
.box-nav-ul .menu-item:hover > .sub-menu.submenu-default {
  pointer-events: all !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0px) translateY(0px) !important;
}

/* Ensure header doesn't hide overflow */
#header {
  overflow: visible !important;
}

.wrapper-header {
  overflow: visible !important;
}

.box-navigation {
  overflow: visible !important;
}

/* Ensure proper z-index stacking */
.box-nav-ul .menu-item {
  position: relative;
}

.box-nav-ul .submenu-default {
  z-index: 9999 !important;
}

/* Mobile dropdown fix */
@media (max-width: 991px) {
  .nav-ul-mb .collapse {
    transition: height 0.3s ease;
  }

  /* Hide desktop dropdown on mobile */
  .box-nav-ul {
    display: none;
  }
}

/* Hide RTL toggle button */
#toggle-rtl {
  display: none !important;
}

/* Hair Color Swatches for Closure Products */
.bg_wine {
  background-color: #722F37;
}

.bg_ginger {
  background-color: #B56917;
}

.bg_blonde {
  background-color: #F5DEB3;
}

.bg_highlights-light {
  background: linear-gradient(135deg, #8B4513 50%, #DEB887 50%);
}

.bg_highlights-dark {
  background: linear-gradient(135deg, #1a1a1a 50%, #654321 50%);
}

/* Color swatch styling for list layout products */
.list-color-product {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

/* Single color indicator for grid products */
.color-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.color-indicator-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #e5e5e5;
  flex-shrink: 0;
}

.card-product.grid .card-product-info {
  display: flex;
  flex-direction: column;
}

.list-color-item {
  position: relative;
}

.list-color-item.color-swatch {
  cursor: pointer;
}

.list-color-item .swatch-value {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  border: 2px solid #e5e5e5;
  transition: all 0.3s ease;
}

.list-color-item.color-swatch:hover .swatch-value {
  border-color: #1a1a1a;
  transform: scale(1.1);
}

.list-color-item.active .swatch-value {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a1a1a;
}

.list-color-item .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 5px;
}

.list-color-item:hover .tooltip {
  opacity: 1;
}

.list-color-item img {
  display: none;
}
