/* ============================================================
   SAOR Header Styles - Custom Header CSS
   ============================================================ */

/* ---------- Base Header ---------- */
a:hover {
  text-decoration: none;
}

.furnish-header {
  background: linear-gradient(135deg, #00A651 0%, #1B9C5E 40%, #2BB673 80%, #48C98A 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.furnish-header .uk-navbar {
  min-height: 64px;
}

.furnish-header .uk-navbar-container {
  background: transparent !important;
}

.furnish-header .uk-container {
  padding: 0 40px;
}

/* ---------- Logo ---------- */
.furnish-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.furnish-logo:hover {
  text-decoration: none;
}

.furnish-logo__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.furnish-logo__icon svg {
  width: 36px;
  height: 36px;
}

.furnish-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

/* ---------- Navigation Links ---------- */
.furnish-nav{
  gap: 8px;
  height: 64px;
  align-items: center;
}

.furnish-nav > li {
  height: auto;
  display: flex;
  align-items: center;
}

.furnish-nav > li > a {
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 18px;
  min-height: auto;
  height: auto;
  line-height: 1;
  position: relative;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border-radius: 8px;
}

.furnish-nav  > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Nav dropdown indicator */
.furnish-nav-plus {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.8;
}

/* Nav active state - rounded rectangle background */
.furnish-header .furnish-nav.uk-navbar-nav > li.uk-active > a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  backdrop-filter: blur(10px);
}

/* ---------- Right Icons ---------- */
.furnish-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.furnish-icon {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.furnish-icon:hover {
  color: #fff;
  text-decoration: none;
}

/* Search with text */
.furnish-search-text {
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.furnish-search-text:hover {
  color: #fff;
}

.furnish-search-label {
  font-size: 14px;
}

/* Cart icon - always visible */
.furnish-cart-icon {
  position: relative;
}

/* CTA Button (Login) */
.furnish-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0E7C3F;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: auto;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.furnish-cta-btn:hover {
  background: #f0fdf4;
  color: #0A6231;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cart Badge */
.furnish-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #fff;
  color: #00A651;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile Toggle ---------- */
.furnish-mobile-toggle {
  display: none;
}

/* ---------- Mobile Menu ---------- */
.furnish-mobile-menu {
  background: #fff;
  padding: 20px;
}

.furnish-mobile-menu .uk-nav > li > a {
  font-size: 16px;
  color: #1a4a2e;
  padding: 12px 0;
  border-bottom: 1px solid #e8f5e9;
}

.furnish-mobile-menu .uk-nav > li > a:hover,
.furnish-mobile-menu .uk-nav > li.uk-active > a {
  color: #00A651 !important;
}

.furnish-mobile-menu .uk-nav > li.uk-active > a {
  background: transparent !important;
}

.furnish-mobile-menu .uk-nav-sub > li > a {
  color: #5a8a6e;
  font-size: 14px;
  padding: 8px 0 8px 16px;
}

.furnish-mobile-menu .uk-nav-sub > li > a:hover {
  color: #0E7C3F;
}

.furnish-mobile-icons {
  display: flex;
  gap: 24px;
  padding-top: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
  .furnish-desktop-nav,
  .furnish-desktop-icons {
    display: none;
  }

  .furnish-mobile-toggle {
    display: flex;
  }

  .furnish-header .uk-container {
    padding: 0 16px;
  }
}

@media (min-width: 960px) {
  .furnish-mobile-only {
    display: none !important;
  }
}
