/* AL-HIJRA FRAGRANCE — Customer Account / Logout Navbar V1.7.2
 * Additive CSS. Does not affect Admin navigation or cart logic.
 */
.site-header .nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.site-header .nav-actions .af-nav-account {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  white-space: nowrap;
}
.site-header .af-header-logout {
  display: inline-flex;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
}
.site-header .af-logout-button {
  border: 1px solid #c7d5cb;
  border-radius: 8px;
  background: #fff;
  color: #123f34;
  font: inherit;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.site-header .af-logout-button:hover {
  background: #f2f6f1;
  border-color: #779581;
}
.site-header .af-logout-button:focus-visible,
.site-header .nav-actions .af-nav-account:focus-visible {
  outline: 3px solid #b79a60;
  outline-offset: 3px;
}

/* Keep Account, Logout, and Cart accessible on tablets and mobiles. */
@media (max-width: 840px) {
  .site-header .nav {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 8px;
  }
  .site-header .nav-actions {
    width: 100%;
    flex: 1 1 100%;
    justify-content: flex-end;
    gap: 15px;
  }
}
@media (max-width: 660px) {
  .site-header .nav-actions {
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
  }
  /* Original style.css hides all non-cart anchors at <=660px.
     Make the account anchor visible, while keeping secondary anchors hidden. */
  .site-header .nav-actions > a.af-nav-account {
    display: inline-flex !important;
    min-height: 38px;
  }
  .site-header .nav-actions .cart-nav {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 9px;
  }
  .site-header .af-logout-button {
    font-size: 11px;
    padding: 8px 10px;
  }
}
@media print {
  .site-header .af-header-logout { display: none !important; }
}
