.pv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.pv-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pv-header__brand {
  display: flex;
  align-items: center;
}

.pv-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.pv-header__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  position: relative;
  overflow: hidden;
}

.pv-header__logo-mark::after {
  content: "";
  position: absolute;
  inset: 18% 18% auto auto;
  width: 70%;
  height: 70%;
  border-radius: 0.5rem;
  border: 2px solid rgba(248, 250, 252, 0.9);
}

.pv-header__logo-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: #0f172a;
}

.pv-header__nav {
  display: flex;
}

.pv-header__nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pv-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.4rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
}

.pv-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d4ed8, #22c55e);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.18s ease-out;
}

.pv-header__nav-link:hover::after,
.pv-header__nav-link:focus-visible::after {
  transform: scaleX(1);
}

.pv-header__nav-link:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.pv-header__utilities {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pv-header__util-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  background-color: #f9fafb;
}

.pv-header__util-link--cart {
  background: #0f172a;
  color: #f9fafb;
  border-color: #0f172a;
}

.pv-header__util-link--cart .pv-header__util-icon {
  color: #e5e7eb;
}

.pv-header__util-link:hover {
  background-color: #e5f0ff;
  border-color: #1d4ed8;
}

.pv-header__util-link--cart:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.pv-header__util-link:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.pv-header__util-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pv-header__util-label {
  white-space: nowrap;
}

.pv-header__nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background-color: #ffffff;
  padding: 0;
  cursor: pointer;
}

.pv-header__nav-toggle:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.pv-header__nav-toggle-bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  border-radius: 999px;
  background-color: #0f172a;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out, top 0.18s ease-out, bottom 0.18s ease-out;
}

.pv-header__nav-toggle-bar:nth-child(1) {
  top: 12px;
}

.pv-header__nav-toggle-bar:nth-child(2) {
  top: 18px;
}

.pv-header__nav-toggle-bar:nth-child(3) {
  bottom: 12px;
}

.pv-header__nav-toggle[aria-expanded="true"] .pv-header__nav-toggle-bar:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.pv-header__nav-toggle[aria-expanded="true"] .pv-header__nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.pv-header__nav-toggle[aria-expanded="true"] .pv-header__nav-toggle-bar:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .pv-header__inner {
    padding-inline: 1rem;
  }

  .pv-header__nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pv-header__nav {
    position: fixed;
    inset: 56px 0 auto 0;
    background-color: rgba(15, 23, 42, 0.92);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out, visibility 0.18s ease-out;
  }

  .pv-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
  }

  .pv-header__nav-link {
    color: #e5e7eb;
    width: 100%;
    padding-block: 0.45rem;
  }

  .pv-header__nav-link::after {
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    bottom: 0;
  }

  .pv-header__nav-link:focus-visible {
    outline-color: #bfdbfe;
  }

  .pv-header__nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .pv-header__utilities {
    gap: 0.35rem;
  }

  .pv-header__util-label {
    display: none;
  }

  .pv-header__util-link {
    padding-inline: 0.55rem;
  }
}

@media (max-width: 480px) {
  .pv-header__logo-text {
    font-size: 1rem;
  }

  .pv-header__inner {
    padding-inline: 0.75rem;
  }
}

@media (min-width: 769px) {
  .pv-header__nav {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
