/* Persistent category navigation without cropping or changing any banner. */
html:has(.banner-home .product-center-sidebar) { scroll-padding-top: 0; }
.banner-home {
  --product-center-header-height: 88px;
  --product-center-anchor-offset: 108px;
}
.banner-home .pc-wrap.product-center-layout {
  display: grid;
  grid-template-columns: 208px minmax(0,1fr);
  gap: 28px;
  align-items: start;
  overflow: visible;
}
.banner-home .product-center-sidebar {
  position: sticky;
  top: calc(var(--product-center-header-height) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--product-center-header-height) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 20px 12px 12px;
  border: 1px solid #d5e3e5;
  border-radius: 10px;
  background: #fff;
}
.banner-home .product-center-sidebar-title {
  margin: 0 10px 14px;
  color: #234f59;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}
.banner-home .product-center-sidebar-title small {
  display: block;
  margin-top: 4px;
  color: #8ba0a5;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.1px;
}
.banner-home .product-center-navigation { display: flex; flex-direction: column; gap: 4px; }
.banner-home .product-center-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 48px;
  padding: 10px;
  border-left: 3px solid transparent;
  border-radius: 5px;
  color: #607b82;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: background .2s,color .2s;
}
.banner-home .product-center-navigation a svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .65; }
.banner-home .product-center-navigation a:hover { background: #f2f8f8; color: #087f83; }
.banner-home .product-center-navigation a[aria-current="location"] {
  border-left-color: #168c94;
  background: #eaf5f4;
  color: #076d73;
  font-weight: 600;
}
.banner-home .product-center-navigation a:focus-visible { outline: 2px solid #168c94; outline-offset: 2px; }
.banner-home .product-center-banners { min-width: 0; }
.banner-home .product-center-banners > .category-tile { scroll-margin-top: var(--product-center-anchor-offset); }
@media (max-width: 1100px) {
  .banner-home .pc-wrap.product-center-layout { grid-template-columns: 196px minmax(0,1fr); gap: 20px; }
}
@media (max-width: 900px) {
  .banner-home .pc-wrap.product-center-layout { display: block; }
  .banner-home .product-center-sidebar {
    top: var(--product-center-header-height);
    z-index: 35;
    max-height: none;
    overflow: visible;
    margin-bottom: 20px;
    padding: 7px;
    box-shadow: 0 7px 18px #153e480a;
  }
  .banner-home .product-center-sidebar-title { display: none; }
  .banner-home .product-center-navigation {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    gap: 4px;
  }
  .banner-home .product-center-navigation a {
    flex-shrink: 0;
    min-height: 46px;
    padding: 9px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .banner-home .product-center-navigation a svg { display: none; }
  .banner-home .product-center-navigation a[aria-current="location"] { border-bottom-color: #168c94; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banner-home .product-center-navigation a { transition: none; }
}
