/* ===== Sell-Parts: Uniform 64px Sticky Header + Mobile Drawer ===== */
.sp-header,
.sp-header *,
.sp-drawer,
.sp-drawer * {
  box-sizing: border-box;
}

.sp-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: 100%;
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  color: #182635;
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
}

.sp-header--brand {
  background: #1250b2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 2px 14px rgba(13, 61, 138, 0.25);
}

.sp-header__inner {
  width: min(1160px, 100% - 2rem);
  height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  line-height: 1;
}

.sp-header__brand img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
}

.sp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.sp-nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #344455;
  padding: 7px 11px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-nav__link:hover,
.sp-nav__link.is-active {
  background: #eaf1fc;
  color: #1250b2;
}

.sp-header--brand .sp-nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.sp-header--brand .sp-nav__link:hover,
.sp-header--brand .sp-nav__link.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.sp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #1250b2;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sp-cta:hover {
  background: #0d3d8a;
  transform: translateY(-1px);
}

.sp-header--brand .sp-cta {
  background: #1f9d50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.sp-header--brand .sp-cta:hover {
  background: #188040;
}

.sp-cta__short {
  display: none;
}

.sp-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #182635;
  cursor: pointer;
  flex: 0 0 auto;
}

.sp-header--brand .sp-burger {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.sp-xp-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.sp-xp-bar__fill {
  height: 100%;
  width: 0%;
  background: #60a5fa;
  transition: width 0.08s linear;
}

/* Mobile Navigation Drawer */
.sp-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 89;
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  padding: 14px 16px 18px;
  display: none;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
}

.sp-drawer.is-open {
  display: flex;
}

.sp-drawer__link {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #182635;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.sp-drawer__link:hover,
.sp-drawer__link.is-active {
  background: #eaf1fc;
  color: #1250b2;
  border-color: #c5daf7;
}

.sp-drawer__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 999px;
  background: #1f9d50;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .sp-nav__link {
    font-size: 12.5px;
    padding: 6px 8px;
  }
}

@media (max-width: 960px) {
  .sp-nav {
    display: none !important;
  }
  .sp-burger {
    display: inline-flex !important;
  }
  .sp-cta__full {
    display: none;
  }
  .sp-cta__short {
    display: inline;
  }
  .sp-cta {
    padding: 0 12px;
    height: 36px;
    font-size: 13px;
  }
  .sp-header__brand img {
    height: 24px;
    max-width: 128px;
  }
}
