/* ==========================================================================
   Shared UX layer (both designs): product page jump bar
   ========================================================================== */
.pnav { position: sticky; top: var(--nav-h); z-index: 60; background: rgb(var(--bg-rgb) / .88); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); }
.pnav__inner { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.pnav__name { margin-right: auto; font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.pnav__links { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pnav__links::-webkit-scrollbar { display: none; }
.pnav__links a { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-2); transition: color .2s, background .2s; }
.pnav__links a:hover { color: var(--fg); }
.pnav__links a[aria-current="true"] { color: var(--fg); background: rgb(var(--ink-rgb) / .1); }
.pnav .btn { flex: none; min-height: 38px; }
/* anchors and the sticky gallery must clear the extra bar */
html:has(.pnav) { scroll-padding-top: calc(var(--nav-h) + 74px); }
@media (min-width: 960px) { .pnav ~ .section .gallery { top: calc(var(--nav-h) + 82px); } }
@media (max-width: 699px) {
  .pnav__name { display: none; }
  .pnav__inner { gap: 8px; min-height: 52px; }
  .pnav__links { margin-right: auto; }
  .pnav__links a { padding: 8px 11px; font-size: 11px; }
  .pnav .btn { padding: 0 14px; font-size: 11px; }
}
/* where a bottom buy bar exists on phones, don't repeat the button up here */
@media (max-width: 899px) { body:has([data-buybar]) .pnav .btn { display: none; } }
