/* =============================================
   4B PLUS - HEADER STYLES (FIGMA SHOP NAV)
   ============================================= */

.fourbplus-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #131313;
  transition:
    background-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.fourbplus-nav-shell {
  background: #131313;
  border-bottom: 1px solid rgba(61, 74, 61, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fourbplus-header-wrapper.fourbplus-header-scrolled .fourbplus-nav-shell {
  background: #131313;
}

.fourbplus-nav-inner {
  max-width: var(--fourbplus-container-width, 1400px);
  width: 100%;
  min-height: 96px;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: var(--fourbplus-gutter, 32px);
  padding-right: var(--fourbplus-gutter, 32px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fourbplus-logo-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fourbplus-logo-image {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
}

.fourbplus-logo-text {
  color: #fff;
  font-family: "DM Sans", var(--fourbplus-font-body), sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.fourbplus-nav-actions {
  display: flex;
  width: 161.44px;
  height: 52.5px;
  align-items: center;
  gap: 4px;
}

.fourbplus-icon-btn,
.fourbplus-cart-btn {
  width: auto;
  min-width: 67.95px;
  height: 52.5px;
  padding: 6px 12px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.fourbplus-icon-btn:hover,
.fourbplus-cart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fourbplus-icon-btn.is-active,
.fourbplus-cart-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.fourbplus-icon-btn i,
.fourbplus-cart-btn i {
  font-size: 22px;
  line-height: 1;
}

.fourbplus-cart-btn--has-items i {
  color: var(--fourbplus-primary);
}

.fourbplus-account-btn--logged-in i {
  color: var(--fourbplus-primary);
}

.fourbplus-icon-label {
  font-family: "DM Sans", var(--fourbplus-font-body), sans-serif;
  font-size: 11px;
  line-height: 16.5px;
  white-space: nowrap;
}

.fourbplus-cart-label {
  color: #ffffff;
}

.fourbplus-cart-value {
  color: inherit;
  font-weight: 700;
}

.fourbplus-cart-btn--has-items .fourbplus-cart-value {
  color: var(--fourbplus-primary);
}

.fourbplus-account-label {
  color: #ffffff;
}

.fourbplus-account-btn--logged-in .fourbplus-account-name {
  color: var(--fourbplus-primary);
  font-weight: 700;
}

.fourbplus-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .fourbplus-nav-inner {
    padding-left: var(--fourbplus-gutter, 24px);
    padding-right: var(--fourbplus-gutter, 24px);
  }
}

@media (max-width: 767px) {
  .fourbplus-nav-shell {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .fourbplus-nav-inner {
    min-height: 88px;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
  }

  .fourbplus-logo-image {
    width: 64px;
    height: 64px;
  }

  .fourbplus-nav-actions {
    width: 152px;
    height: auto;
    gap: 8px;
    justify-content: flex-end;
  }

  .fourbplus-icon-btn,
  .fourbplus-cart-btn {
    width: 72px;
    min-width: 72px;
    height: auto;
    padding: 4px 6px;
    gap: 2px;
    align-items: center;
    text-align: center;
  }

  .fourbplus-icon-btn i,
  .fourbplus-cart-btn i {
    font-size: 18px;
  }

  .fourbplus-icon-label {
    font-size: 10px;
    line-height: 1.2;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
