/* The PLP and PDP share the homepage navigation controls and panel controller. */
html:has(body[data-bv-internal]) {
  scroll-padding-top: 88px;
}
html.bv-internal-compact:has(body[data-bv-internal]) {
  scroll-padding-top: 68px;
}
body[data-bv-page][data-bv-internal] {
  --bv-internal-header-height: 80px;
  padding-top: var(--bv-internal-header-height);
}
body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) {
  background: #fff !important;
  color: #161616;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-action .bv-icon-dark {
  filter: brightness(0);
}
body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-cart {
  flex: 0 0 44px;
  width: 44px !important;
  min-width: 44px !important;
  background: transparent;
}
body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-count {
  position: absolute;
  inset: 0 -3px auto auto;
  min-width: 16px;
  width: auto;
  height: 16px;
  background: #202020;
  color: #fff;
  font: 400 10px/1 Manrope, sans-serif;
}
@media (min-width: 761px) {
  /* PDP sizes its gallery from the content's document position. Keep that position. */
  body[data-bv-page="pdp"][data-bv-internal] {
    padding-top: var(--bv-header-height);
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) {
    --bv-nav-padding: 18px;
    --bv-nav-size: 16px;
    --bv-header-gap: 24px;
    --bv-header-inset: 40px;
    --bv-actions-gap: 11px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--bv-header-gap);
    height: var(--bv-internal-header-height);
    padding: 0 var(--bv-header-inset) !important;
    border-bottom: 1px solid #e6e6e6;
    transition: height .18s;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header).bv-internal-compact {
    height: 60px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand {
    justify-self: start;
    gap: 3px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand .bv-wordmark {
    font: 600 20px/1.05 Unbounded, sans-serif;
    letter-spacing: normal;
    transform: none;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand img {
    width: 24px;
    height: 24px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-sections {
    height: 100%;
    gap: 0;
    align-items: flex-end;
    white-space: nowrap;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-sections > * {
    position: relative;
    padding: 8px var(--bv-nav-padding) 20px;
    min-height: 44px;
    font: 400 var(--bv-nav-size)/16px Manrope, sans-serif;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-sections > :is(:hover, :focus-visible)::after {
    content: '';
    position: absolute;
    inset-inline: var(--bv-nav-padding);
    bottom: -2px;
    height: 3px;
    background: currentColor;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-actions {
    justify-self: end;
    gap: var(--bv-actions-gap);
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-action {
    border-radius: 0;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-action img {
    width: 20px;
    height: 20px;
  }
}
@media (761px <= width <= 1100px) {
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) {
    --bv-nav-padding: 10px;
    --bv-nav-size: 13px;
    --bv-header-gap: 12px;
    --bv-header-inset: 24px;
    --bv-actions-gap: 4px;
  }
}
@media (761px <= width <= 850px) {
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) {
    --bv-nav-padding: 8px;
    --bv-nav-size: 12px;
    --bv-header-gap: 6px;
    --bv-header-inset: 16px;
    --bv-actions-gap: 0px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand .bv-wordmark {
    font-size: 16px;
  }
}
@media (width < 761px) {
  html:has(body[data-bv-internal]),
  html.bv-internal-compact:has(body[data-bv-internal]) {
    scroll-padding-top: calc(58px + env(safe-area-inset-top, 0px));
  }
  body[data-bv-page][data-bv-internal] {
    --bv-internal-header-height: calc(50px + env(safe-area-inset-top, 0px));
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) {
    position: fixed !important;
    inset: 0 0 auto !important;
    width: 100%;
    height: var(--bv-internal-header-height);
    padding: env(safe-area-inset-top, 0px) 16px 0 !important;
    border: 0;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand {
    grid-column: 3;
    justify-self: center;
    flex-basis: auto;
    gap: 4px;
    height: 50px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand .bv-wordmark {
    font: 600 11px/1.05 Unbounded, sans-serif;
    letter-spacing: normal;
    transform: none;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-brand img {
    width: 17px;
    height: 17px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-actions {
    display: grid;
    grid-template-columns: repeat(5, 44px);
    justify-content: space-between;
    width: 100%;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-sections { display: none; }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-menu { display: flex; }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-profile { display: none; }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-action {
    height: 50px;
    border-radius: 0;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-cart { height: 50px !important; }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-action img {
    width: 25px;
    height: 25px;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-count {
    top: 8px;
    right: 0;
    height: 15px;
    min-width: 15px;
    font-size: 9px;
    font-weight: 600;
  }
  body[data-bv-page][data-bv-internal] :is(#site > header.bv-header, header.bv-header) .bv-count[data-empty] { display: none; }
  body[data-bv-internal] dialog.bv-panel { background: #fff; color: #111; }
  body[data-bv-internal] .bv-panel .bv-panel-content { padding: 70px 20px 28px; }
  body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-panel-content {
    max-width: none;
    padding: 70px 0 0;
    animation: bvInternalMenuIn 240ms ease-out both;
  }
  body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-panel-header .bv-menu img { opacity: .55; }
  body[data-bv-internal] .bv-panel[data-kind="menu"] #bvPanelTitle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    clip-path: inset(50%);
    overflow: hidden;
  }
  body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-close { display: none; }
  body[data-bv-internal] .bv-panel .bv-mobile-menu { display: grid; gap: 0; padding-inline: 20px; }
  body[data-bv-internal] .bv-mobile-menu > * {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  body[data-bv-internal] .bv-mobile-menu .bv-mobile-menu-primary {
    justify-content: space-between;
    min-height: 50px;
    padding: 0;
    font-size: 25px;
    font-weight: 700;
  }
  body[data-bv-internal] .bv-mobile-menu .bv-mobile-menu-secondary {
    min-height: 44px;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
  }
  body[data-bv-internal] .bv-mobile-menu-primary + .bv-mobile-menu-secondary { margin-top: 14px; }
  body[data-bv-internal] .bv-mobile-menu .bv-mobile-menu-account {
    justify-content: space-between;
    min-height: 70px;
    margin: 22px -20px 0;
    padding: 0 20px;
    background: #f7f7f7;
    font-size: 17px;
    font-weight: 700;
  }
  @keyframes bvInternalMenuIn { from { transform: translateX(-100%); } }
  @media (prefers-reduced-motion: reduce) {
    body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-panel-content { animation: none; }
  }
}
@media (width >= 761px) {
  body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-mobile-menu {
    display: grid;
    gap: 12px;
    justify-items: start;
  }
  body[data-bv-internal] .bv-panel[data-kind="menu"] .bv-mobile-menu > * { min-height: 44px; }
}
