/* Header: Ghana-style auth icons on mobile + layout fixes */

.header-main .header-logo-wrapper {
  min-width: 0;
}

.header-main .brand-wrap .logo--desktop {
  max-height: 44px;
  width: auto;
}

.header-main .brand-wrap .logo--mobile {
  max-height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.header-main .widgets-wrap {
  gap: 4px;
  flex-wrap: nowrap;
}

.header-signin-link {
  color: #12151f;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 8px 2px;
  line-height: 1.2;
}

.header-signin-link:hover {
  color: #c3073f;
  text-decoration: none;
}

.header-auth-icon {
  display: none;
}

.header-main .header-auth-label--desktop {
  display: inline;
}

.header-main .aya-header-cart-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  color: #111827 !important;
}

.header-main .aya-header-cart-pill .text-wrap {
  display: inline !important;
}

/* Desktop nav language pill (matches footer) */
.section-header .header-lang {
  margin-left: auto !important;
}

.section-header .header-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
}

.section-header .header-lang__toggle:hover,
.section-header .header-lang__toggle:focus {
  color: #111827;
  text-decoration: none;
  border-color: #d1d5db;
}

.section-header .header-lang__toggle .flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
}

.section-header .header-lang__toggle .ph-caret-down {
  font-size: 12px;
  opacity: 0.65;
  color: #c3073f;
}

.section-header .header-lang .dropdown-menu {
  min-width: 180px;
}

@media (max-width: 991.98px) {
  .header-main .header-actions-wrapper {
    padding-left: 0;
  }

  .header-main .header-auth-label,
  .header-main .header-auth-label--desktop,
  .header-main .widget-header .text-wrap {
    display: none !important;
  }

  .header-main .header-auth-icon {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
  }

  .header-main .header-signin-link,
  .header-main .header-signup-link {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: #c3073f !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 22px;
    text-decoration: none;
    border: none;
  }

  .header-main .header-signup-link {
    background: transparent !important;
  }

  .header-main .header-signin-link:hover,
  .header-main .header-signup-link:hover {
    background: #c3073f;
    color: #fff !important;
  }

  .header-main .widget-header.mr-2,
  .header-main .widget-header.me-2 {
    margin-right: 0 !important;
  }

  .header-main .navbar-toggler {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .header-main .mobile-search-btn,
  .header-main .modern-mobile-toggle {
    display: none !important;
  }
}
