.pv-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.pv-header.is-scrolled {
  padding: 18px 0;
  background: rgba(255, 253, 250, .72);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 18px 45px rgba(29, 42, 36, .08);
}

body.admin-bar .pv-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .pv-header {
    top: 46px;
  }
}

/* Soft bottom border to separate header from content — except on the
   homepage (hero is full-bleed) and checkout (header sits over content). */
body:not(.home):not(.front-page):not(.woocommerce-checkout) .pv-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pv-logo {
  color: var(--pv-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1;
}

.pv-logo span {
  display: block;
  color: var(--pv-soft);
  font-size: 6px;
  letter-spacing: .22em;
  margin-top: 8px;
}

.pv-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.pv-nav a,
.pv-header-cta {
  color: var(--pv-muted);
  font-size: 14px !important;
  font-weight: 600;
}

.pv-nav a:hover,
.pv-footer-group a:hover {
  color: var(--pv-green);
}

.pv-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--pv-green);
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px !important;
  line-height: 1;
  text-decoration: none !important;
}

.pv-header-cta:visited,
.pv-header-cta:hover {
  color: #fff !important;
}

.pv-header-cta__count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--pv-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pv-mobile-create,
.pv-menu-button,
.pv-checkout-cart-link {
  display: none;
}

.pv-menu-icon-close {
  display: none;
}

.pv-header.menu-open .pv-menu-icon-open {
  display: none;
}

.pv-header.menu-open .pv-menu-icon-close {
  display: block;
}

@media (max-width: 900px) {
  .pv-nav {
    gap: 18px;
  }

  .pv-header-cta {
    display: none;
  }

  .single-product .pv-checkout-cart-link {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(15, 93, 80, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    color: var(--pv-green);
  }

  .single-product .pv-checkout-cart-link svg {
    width: 20px;
    height: 20px;
  }

  .single-product .pv-checkout-cart-link span {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--pv-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
  }
}

@media (max-width: 700px) {
  .pv-header {
    padding: 22px 0;
  }

  .pv-header-inner {
    gap: 10px;
  }

  .pv-logo {
    font-size: 12px;
  }

  .pv-menu-button {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--pv-green);
    padding: 4px;
  }

  .pv-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--pv-line);
    border-radius: 16px;
    background: var(--pv-paper);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .08);
  }

  .pv-nav.open {
    display: flex;
  }

  .pv-nav a {
    padding: 14px;
  }

  .pv-mobile-create {
    display: flex !important;
    justify-content: space-between;
    color: var(--pv-green) !important;
    border-top: 1px solid var(--pv-line);
  }
}