/* LESTER CATEGORY NAV V3 — minimal, readable and compact. */
#lester-app-shell .lester-catnav {
  --cat-ink:#17213c;--cat-accent:#071b96;--cat-soft:#f6f8fd;
  --cat-line:#e8ebf2;--cat-muted:#69738b;
  margin:21px 0 29px; background:#fff; border:1px solid var(--cat-line);
  border-radius:16px; overflow:hidden; box-shadow:0 5px 25px rgba(18,34,80,.035);
  color:var(--cat-ink);font-family:"Noto Serif",Georgia,serif;
}
#lester-app-shell .lester-catnav *,
#lester-app-shell .lester-catnav *::before,
#lester-app-shell .lester-catnav *::after {box-sizing:border-box}
#lester-app-shell .lester-catnav [hidden] {display:none!important}
#lester-app-shell .lester-catnav__sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#lester-app-shell .lester-catnav__head{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:22px 24px;border-bottom:1px solid var(--cat-line);
}
#lester-app-shell .lester-catnav__head>div{min-width:0}
#lester-app-shell .lester-catnav__kicker{display:none}
#lester-app-shell .lester-catnav__head h2{
  margin:0 0 4px!important;color:var(--cat-ink)!important;
  font:700 22px/1.25 "Noto Serif",Georgia,serif!important;letter-spacing:-.4px!important;
}
#lester-app-shell .lester-catnav__head p:not(.lester-catnav__kicker){margin:0;color:var(--cat-muted);font:13px/1.5 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__search{
  flex:0 1 290px;position:relative;display:flex;align-items:center;gap:9px;
  min-width:190px;height:44px; margin:0;padding:0 12px;
  border:1px solid #dce2ee;border-radius:10px;background:#fff;color:#69738b;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lester-app-shell .lester-catnav__search:focus-within{border-color:#8798ce;box-shadow:0 0 0 3px rgba(7,27,150,.07)}
#lester-app-shell .lester-catnav__search>span[aria-hidden]{font:23px/1 "Noto Serif",Georgia,serif;color:#778099}
#lester-app-shell .lester-catnav__search input{
  display:block;width:100%;height:100%;min-width:0;padding:0 25px 0 0;
  border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;color:var(--cat-ink)!important;
  font:14px/1.4 "Noto Serif",Georgia,serif!important;appearance:none!important;
}
#lester-app-shell .lester-catnav__search input::placeholder{color:#8b93a7}
#lester-app-shell .lester-catnav__search input::-webkit-search-cancel-button{display:none!important;appearance:none!important}
#lester-app-shell .lester-catnav__clear{
  position:absolute;right:7px;top:50%;transform:translateY(-50%);
  width:29px;height:29px;padding:0;border:0;border-radius:7px;
  background:#f2f4f8;color:#55627d;cursor:pointer;font:18px/1 "Noto Serif",Georgia,serif;
}
#lester-app-shell .lester-catnav__clear:hover{background:#e5eaf5;color:var(--cat-accent)}
#lester-app-shell .lester-catnav__group-icon{display:none!important}
#lester-app-shell .lester-catnav__group,
#lester-app-shell .lester-catnav__link{font-family:"Noto Serif",Georgia,serif!important}
#lester-app-shell .lester-catnav__group{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;min-width:0;min-height:39px;padding:9px 12px;
  background:transparent;border:1px solid transparent;border-radius:7px;
  color:#3d4964;font:600 13px/1.35 "Noto Serif",Georgia,serif!important;
  text-align:left;cursor:pointer;transition:background .14s ease,color .14s ease;
}
#lester-app-shell .lester-catnav__group:hover{background:#f0f3fb;color:var(--cat-accent)}
#lester-app-shell .lester-catnav__group.is-active{background:#edf1fb;border-color:#e4e9f7;color:var(--cat-accent)}
#lester-app-shell .lester-catnav__group-title{flex:1;min-width:0}
#lester-app-shell .lester-catnav__group-count{
  min-width:18px;display:inline-flex;justify-content:flex-end;color:#8790a4;
  font:400 11px/1 "Noto Serif",Georgia,serif!important;
  background:none!important;padding:0!important;border:0!important;
}
#lester-app-shell .lester-catnav__panel-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin:0 0 12px;padding:0 0 11px;border-bottom:1px solid var(--cat-line);
}
#lester-app-shell .lester-catnav__panel-head h3{
  margin:0!important;color:var(--cat-ink)!important;
  font:700 16px/1.3 "Noto Serif",Georgia,serif!important;letter-spacing:-.2px!important;
}
#lester-app-shell .lester-catnav__panel-head>span{white-space:nowrap;color:#9199aa;font:11px/1.5 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:2px}
#lester-app-shell .lester-catnav__link{
  display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;
  min-height:35px;padding:6px 5px;border:0!important;border-bottom:1px solid transparent!important;
  border-radius:3px!important;background:transparent!important;color:#2d3b5a!important;
  font:400 13px/1.35 "Noto Serif",Georgia,serif!important;overflow-wrap:anywhere;
  text-decoration:none!important;transition:color .14s ease,background .14s ease;
}
#lester-app-shell .lester-catnav__link>span[aria-hidden="true"]{font-size:14px;color:#abb1bf;flex-shrink:0;opacity:0;transition:opacity .14s ease}
#lester-app-shell .lester-catnav__link:hover,
#lester-app-shell .lester-catnav__link:focus-visible{
  background:#f7f9fc!important;color:var(--cat-accent)!important;
}

#lester-app-shell .lester-catnav__link--child{
  border-left:0!important;background:transparent!important;
}
#lester-app-shell .lester-catnav__link--child>span:first-child::before{
  content:'·';margin-right:5px;color:#9fa8bb;
}
#lester-app-shell .lester-catnav__group:focus-visible,
#lester-app-shell .lester-catnav__footer a:focus-visible,
#lester-app-shell .lester-catnav__clear:focus-visible{outline:2px solid var(--cat-accent)!important;outline-offset:2px}
#lester-app-shell .lester-catnav__empty{margin:14px 0 18px;color:var(--cat-muted);font:13px/1.5 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__footer{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;
  padding:12px 19px;border-top:1px solid var(--cat-line);background:#fff;
}
#lester-app-shell .lester-catnav__footer a{
  display:inline-flex;align-items:center;min-height:29px;padding:5px 8px;
  border-radius:6px;color:#334580;font:600 12px/1.35 "Noto Serif",Georgia,serif!important;
  text-decoration:none!important;
}
#lester-app-shell .lester-catnav__footer a:hover{color:var(--cat-accent);background:#f0f3fb}
/* Search: one ranked result collection, never 9 expanded panels simultaneously. */
#lester-app-shell .lester-catnav.is-searching .lester-catnav__groups,
#lester-app-shell .lester-catnav.is-searching .lester-catnav__panel{display:none!important}
#lester-app-shell .lester-catnav__search-results{width:100%;min-width:0}
#lester-app-shell .lester-catnav__result-summary{margin:0 0 9px;color:var(--cat-muted);font:12px/1.5 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 18px}
#lester-app-shell .lester-catnav__result{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-width:0;min-height:43px;padding:7px 7px;border-bottom:1px solid #f0f2f7;
  border-radius:5px;text-decoration:none!important;color:var(--cat-ink)!important;
}
#lester-app-shell .lester-catnav__result:hover,#lester-app-shell .lester-catnav__result:focus-visible{background:#f7f9fe}
#lester-app-shell .lester-catnav__result-name{font:600 13px/1.35 "Noto Serif",Georgia,serif;overflow-wrap:anywhere}
#lester-app-shell .lester-catnav__result-group{display:block;margin-top:3px;color:#818ca4;font:11px/1.25 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__result-arrow{color:#8996b0;font:14px/1 "Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav__result-more{display:inline-flex;margin-top:12px;padding:8px 12px;border:1px solid #dce2ef;border-radius:7px;background:#fff;color:var(--cat-accent);font:600 12px "Noto Serif",Georgia,serif;cursor:pointer}
#lester-app-shell .lester-catnav__result-fallback{display:inline-block;margin-top:12px;color:var(--cat-accent)!important;font:600 13px "Noto Serif",Georgia,serif}
/* Catalogue: calm filter rail on top, simple link collection below. */
#lester-app-shell .lester-catnav--catalog .lester-catnav__layout{display:block;min-height:0}
#lester-app-shell .lester-catnav--catalog .lester-catnav__groups{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:15px 20px;
  border:0;border-bottom:1px solid var(--cat-line);background:#fff;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__group{
  justify-content:space-between;min-height:43px;padding:9px 11px;
  border:1px solid #e5e9f2;border-radius:9px;background:#fff;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__group.is-active{background:#edf1fb;border-color:#cbd5f0}
#lester-app-shell .lester-catnav--catalog .lester-catnav__body{padding:20px 24px;max-height:none;overflow:visible}
#lester-app-shell .lester-catnav--catalog .lester-catnav__links{grid-template-columns:repeat(4,minmax(0,1fr))}
#lester-app-shell .lester-catnav--catalog.is-searching .lester-catnav__layout{display:block}
#lester-app-shell .lester-catnav--catalog.is-searching .lester-catnav__body{padding-top:20px}
/* Header: a quiet white mega menu, clear typographic hierarchy. */
#lester-app-shell .lester-shell-theme-panel.lester-catnav-mega{
  width:min(920px,calc(100vw - 32px));max-height:min(76vh,690px);
  padding:12px!important;overflow:auto;border:1px solid #e0e5ee;
  border-radius:14px;box-shadow:0 22px 54px rgba(12,26,80,.14);
  background:#fff;overscroll-behavior:contain;
}
#lester-app-shell .lester-catnav--header{margin:0;border:0;border-radius:0;box-shadow:none}
#lester-app-shell .lester-catnav--header .lester-catnav__head{padding:7px 9px 14px}
#lester-app-shell .lester-catnav--header .lester-catnav__head h2{font-size:19px!important}
#lester-app-shell .lester-catnav--header .lester-catnav__head p:not(.lester-catnav__kicker){font-size:12px}
#lester-app-shell .lester-catnav--header .lester-catnav__layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:290px}
#lester-app-shell .lester-catnav--header .lester-catnav__groups{
  display:flex;flex-direction:column;gap:2px;padding:12px 11px 10px 0;
  border:0;border-right:1px solid var(--cat-line);background:#fff;
}
#lester-app-shell .lester-catnav--header .lester-catnav__group{min-height:38px}
#lester-app-shell .lester-catnav--header .lester-catnav__group.is-active{border-color:transparent;border-left:2px solid var(--cat-accent);border-radius:3px;background:#f6f8fd}
#lester-app-shell .lester-catnav--header .lester-catnav__body{padding:17px 10px 17px 22px;max-height:370px;overflow:auto;overscroll-behavior:contain}
#lester-app-shell .lester-catnav--header .lester-catnav__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 19px}
#lester-app-shell .lester-catnav--header .lester-catnav__footer{padding:9px 4px 0}
#lester-app-shell .lester-catnav--header.is-searching .lester-catnav__layout{display:block;min-height:0}
#lester-app-shell .lester-catnav--header.is-searching .lester-catnav__body{max-height:370px;padding:17px 10px}
#lester-app-shell .lester-catnav--header .lester-catnav__search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1080px){
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups{grid-template-columns:repeat(3,minmax(0,1fr))}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:940px){
  #lester-app-shell .lester-shell-theme-panel.lester-catnav-mega{
    position:static!important;left:auto!important;transform:none!important;margin:9px 0 0!important;
    width:100%;max-height:65vh;box-shadow:none;border-radius:12px;padding:8px!important;
  }
  #lester-app-shell .lester-catnav--header .lester-catnav__layout{display:block}
  #lester-app-shell .lester-catnav--header .lester-catnav__groups{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;
    padding:9px 1px;border-right:0;border-bottom:1px solid var(--cat-line);
  }
  #lester-app-shell .lester-catnav--header .lester-catnav__body{max-height:none;padding:14px 4px}
  #lester-app-shell .lester-catnav--header .lester-catnav__group.is-active{border-left:1px solid #cbd5f0}
}
@media(max-width:660px){
  #lester-app-shell .lester-catnav__head{display:block;padding:17px 15px}
  #lester-app-shell .lester-catnav__head h2{font-size:19px!important}
  #lester-app-shell .lester-catnav__head p:not(.lester-catnav__kicker){font-size:12px}
  #lester-app-shell .lester-catnav__search{flex:auto;width:100%;min-width:0;margin-top:12px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__body{padding:14px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links{grid-template-columns:repeat(2,minmax(0,1fr))}
  #lester-app-shell .lester-catnav--header .lester-catnav__head{padding:9px 7px 13px}
  #lester-app-shell .lester-catnav--header .lester-catnav__head h2{font-size:18px!important}
  #lester-app-shell .lester-catnav--header .lester-catnav__search-grid{grid-template-columns:1fr}
  #lester-app-shell .lester-catnav__search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:410px){
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links,
  #lester-app-shell .lester-catnav--catalog .lester-catnav__search-grid,
  #lester-app-shell .lester-catnav--header .lester-catnav__links{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#lester-app-shell .lester-catnav__group,#lester-app-shell .lester-catnav__link{transition:none}}

/* V3: No decorative external-link arrows or dot bullets in category navigation. */
#lester-app-shell .lester-catnav__link--child>span:first-child::before{content:none!important}
#lester-app-shell .lester-catnav__link{justify-content:flex-start!important}
#lester-app-shell .lester-catnav__link>span:first-child{opacity:1!important;flex:1!important;color:inherit!important;font:inherit!important}
#lester-app-shell .lester-catnav__result-arrow{display:none!important}
/* Footer is useful in the mega-menu, redundant on the full catalogue page. */
#lester-app-shell .lester-catnav--catalog .lester-catnav__footer{display:none!important}
#lester-app-shell .lester-catnav--header .lester-catnav__footer{
  gap:16px;padding:12px 8px 1px;background:#fff;border-top:1px solid #e7ebf3;
}
#lester-app-shell .lester-catnav--header .lester-catnav__footer a{
  min-height:36px;padding:6px 0;color:#3a4a70;font-size:12px!important;
  background:transparent!important;border-radius:0;
}
#lester-app-shell .lester-catnav--header .lester-catnav__footer a:hover{
  color:#000080!important;text-decoration:underline!important;text-underline-offset:4px!important;
}
/* Catalogue: lighter topic selector, compact preview of leaf links, accessible reveal. */
#lester-app-shell .lester-catnav--catalog{margin:21px 0 23px;border-color:#e3e7ef;border-radius:15px;box-shadow:0 5px 25px rgba(18,34,80,.025)}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head{padding:19px 22px;gap:24px}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head h2{font-size:20px!important;letter-spacing:-.35px!important}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head p:not(.lester-catnav__kicker){font-size:12px}
#lester-app-shell .lester-catnav--catalog .lester-catnav__groups{
  gap:5px 10px;padding:12px 20px;border-bottom:1px solid #e9ecf3;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__group{
  min-height:38px;padding:7px 10px;border-color:transparent;border-bottom-color:#e8ebf2;
  border-radius:4px;background:#fff;font-size:12px!important;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__group:hover{background:#f8faff;border-color:#e4e9f6}
#lester-app-shell .lester-catnav--catalog .lester-catnav__group.is-active{
  background:#f3f6ff;border-color:transparent;border-bottom:2px solid #071b96;color:#071b96;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__body{padding:14px 22px 16px}
#lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head{
  margin-bottom:7px;padding-bottom:9px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head h3{font-size:15px!important}
#lester-app-shell .lester-catnav--catalog .lester-catnav__links{
  gap:0 16px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__link{
  min-height:33px;padding:7px 5px;border-bottom:1px solid #f4f5f8!important;
  font-size:12.5px!important;
}
#lester-app-shell .lester-catnav__panel-more{
  display:inline-flex;align-items:center;min-height:34px;gap:9px;margin-top:9px;padding:5px 0;
  color:#071b96;background:transparent;border:0;border-radius:4px;
  font:700 12px/1.4 "Noto Serif",Georgia,serif;cursor:pointer;
}
#lester-app-shell .lester-catnav__panel-more::after{
  content:'';display:block;width:6px;height:6px;border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin:-3px 3px 0 1px;
}
#lester-app-shell .lester-catnav__panel-more[aria-expanded="true"]::after{
  transform:rotate(225deg);margin:3px 3px 0 1px;
}
#lester-app-shell .lester-catnav__panel-more:hover{text-decoration:underline;text-underline-offset:4px}
#lester-app-shell .lester-catnav__panel-more:focus-visible{outline:2px solid #071b96;outline-offset:3px}
#lester-app-shell .lester-catnav--catalog .lester-catnav__search-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#lester-app-shell .lester-catnav--catalog .lester-catnav__result{min-height:36px;padding:7px 4px}
@media(max-width:1080px){
  #lester-app-shell .lester-catnav--catalog .lester-catnav__search-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:660px){
  #lester-app-shell .lester-catnav--catalog .lester-catnav__head{padding:17px 15px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups{padding:10px 13px;gap:3px 6px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__group{min-height:40px;padding:7px 8px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__body{padding:13px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:410px){
  #lester-app-shell .lester-catnav--catalog .lester-catnav__search-grid{grid-template-columns:1fr}
}


/* LESTER CATEGORY NAV V4 — mobile scroll and refined catalogue layout. */
@media (max-width:940px) {
  /* Header is fixed by B6G. Only one element should scroll: the whole nav. */
  #lester-app-shell #site-header .lester-shell-nav.is-open {
    display:flex!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    max-height:calc(100svh - var(--lester-sticky-header-height, 110px) - 8px)!important;
    max-height:var(--lester-catnav-mobile-room, calc(100dvh - var(--lester-sticky-header-height, 110px) - 8px))!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px))!important;
    scrollbar-width:thin;
  }
  /* Prevent nested scroll areas and their hidden bottom on iOS Safari. */
  #lester-app-shell #site-header .lester-shell-themes.is-open .lester-shell-theme-panel.lester-catnav-mega {
    position:static!important;
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
    touch-action:pan-y!important;
  }
  #lester-app-shell #site-header .lester-catnav--header .lester-catnav__body {
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }
}
/* Desktop: lighter natural-width category tabs instead of rigid five-cell grid. */
@media (min-width:701px) {
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups {
    display:flex;flex-wrap:wrap;gap:3px 19px;align-items:center;
    padding:10px 19px 11px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__group {
    width:auto;flex:0 0 auto;min-height:36px;min-width:0;
    padding:7px 5px;border:0;border-bottom:2px solid transparent;
    border-radius:0;background:transparent;font-size:12px!important;
    gap:9px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__group:hover {
    background:transparent;border-bottom-color:#aab9e6;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__group.is-active {
    border-bottom:2px solid #071b96;background:transparent;
  }
}
#lester-app-shell .lester-catnav--catalog {
  box-shadow:none;border-color:#e3e9f3;border-radius:14px;
  margin:20px 0 22px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head {
  padding:17px 20px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head h2 {
  font-size:18px!important;font-weight:700!important;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__body {
  padding:12px 19px 14px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head {
  margin-bottom:6px;padding-bottom:8px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head h3 {
  font-size:14px!important;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__link {
  min-height:34px;font-size:13px!important;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker {display:none}
@media(max-width:700px) {
  /* The native iOS/Android picker replaces nine large group tiles. */
  #lester-app-shell .lester-catnav--catalog[data-catnav-ready="4"] .lester-catnav__groups {
    display:none!important;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker {
    display:flex;align-items:center;gap:12px;padding:11px 14px;
    background:#fbfcff;border-bottom:1px solid #e6eaf3;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker label {
    flex:0 0 auto;font:600 12px/1.3 "Noto Serif",Georgia,serif;color:#59657c;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker select {
    display:block;flex:1;min-width:0;min-height:43px;
    padding:9px 30px 9px 12px;border:1px solid #d7e0f1;border-radius:9px;
    background:#fff;color:#071b96;font:600 14px/1.3 "Noto Serif",Georgia,serif;
    -webkit-appearance:menulist;appearance:auto;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__head {
    padding:14px;gap:8px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__head h2 {font-size:18px!important}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__body {padding:12px 14px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head {margin-bottom:5px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links {gap:0 9px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__link {
    min-height:39px;padding:7px 4px;font-size:13px!important;
  }
}
@media(max-width:360px) {
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker {
    display:block;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker label {display:block;margin-bottom:7px}
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker select {width:100%}
}
@media (min-width:375px) and (max-width:700px) {
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* LESTER CATEGORY NAV V5 — unify typography with the LESTER design system. */
/* Keep the existing main site Noto Serif family everywhere inside catnav. */
#lester-app-shell .lester-catnav {font-family:"Noto Serif",Georgia,serif}
#lester-app-shell .lester-catnav button,
#lester-app-shell .lester-catnav input,
#lester-app-shell .lester-catnav select,
#lester-app-shell .lester-catnav a {font-family:"Noto Serif",Georgia,serif!important}
/* Desktop: consistent 8/12/16/24 rhythm between category selector and products. */
#lester-app-shell .lester-catnav--catalog {
  margin-top:16px;margin-bottom:16px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head {
  padding:16px 20px;gap:16px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__head h2 {
  line-height:1.3!important;letter-spacing:-.25px!important;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__body {
  padding:12px 20px 14px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head {
  margin-bottom:8px;padding-bottom:8px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__links {
  column-gap:16px;row-gap:2px;
}
#lester-app-shell .lester-catnav--catalog .lester-catnav__link {
  min-height:37px;padding:7px 4px;line-height:1.45!important;
}
#lester-app-shell .lester-catnav__panel-more {margin-top:8px}
/* Header: preserve familiar mega-menu design while aligning all text baselines. */
#lester-app-shell .lester-catnav--header .lester-catnav__group {
  min-height:40px;line-height:1.4!important;
}
#lester-app-shell .lester-catnav--header .lester-catnav__body {
  padding-top:16px;padding-bottom:16px;
}
#lester-app-shell .lester-catnav--header .lester-catnav__link {
  min-height:37px;line-height:1.45!important;
}
#lester-app-shell .lester-catnav--header .lester-catnav__footer {gap:20px}
@media (min-width:701px) {
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups {
    gap:4px 14px;padding:10px 18px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__group {
    padding:8px 4px;min-height:38px;
  }
}
@media (max-width:700px) {
  #lester-app-shell .lester-catnav--catalog {
    margin-top:14px;margin-bottom:16px;border-radius:12px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__head {
    padding:14px;gap:12px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__head h2 {
    font-size:18px!important;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker {
    gap:10px;padding:10px 14px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__mobile-picker select {
    min-height:44px;line-height:1.35;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__body {
    padding:12px 14px 14px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__panel-head {
    gap:8px;margin-bottom:8px;padding-bottom:8px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__links {
    column-gap:12px;row-gap:2px;
  }
  #lester-app-shell .lester-catnav--catalog .lester-catnav__link {
    min-height:42px;padding:9px 4px;line-height:1.5!important;
  }
  #lester-app-shell .lester-catnav--header .lester-catnav__groups {gap:4px 8px}
  #lester-app-shell .lester-catnav--header .lester-catnav__link {min-height:42px;padding:9px 5px}
}
/* Preserve already fixed V4 scroll container: V5 changes spacing only. */


/* LESTER CATEGORY NAV V6 — visual rhythm between catalogue sections.
 * Scoped to the catalogue page to leave the product pages, header and checkout alone.
 * Scale: 8/12/16/20/24, with compact mobile values.
 */
#lester-app-shell .lester-page--catalog .lester-page__heading {
  margin-bottom:22px;
}
#lester-app-shell .lester-page--catalog .lester-catnav--catalog {
  margin-top:0;
  margin-bottom:24px;
}
#lester-app-shell .lester-page--catalog .lester-catalog-price-hint {
  margin:0 0 12px;
  line-height:1.55;
}
#lester-app-shell .lester-page--catalog .lester-catalog-fitbar {
  margin-top:0;
  margin-bottom:26px;
  padding:18px 20px;
}
/* Secondary catalogue pages do not render the model bar. Keep product separation. */
#lester-app-shell .lester-page--catalog .lester-catalog-price-hint + .lester-product-grid {
  margin-top:24px;
}
@media (max-width:700px) {
  #lester-app-shell .lester-page--catalog .lester-page__heading {
    margin-bottom:18px;
  }
  #lester-app-shell .lester-page--catalog .lester-catnav--catalog {
    margin-top:0;
    margin-bottom:20px;
  }
  #lester-app-shell .lester-page--catalog .lester-catalog-price-hint {
    margin-bottom:10px;
    line-height:1.6;
  }
  #lester-app-shell .lester-page--catalog .lester-catalog-fitbar {
    margin-bottom:22px;
    padding:16px 14px;
  }
  #lester-app-shell .lester-page--catalog .lester-catalog-price-hint + .lester-product-grid {
    margin-top:20px;
  }
}


/* LESTER CATEGORY NAV V7 — first paint and hydrated layout must be identical.
 * The mobile picker and collapse buttons are server-rendered. Hide the
 * original button rail on mobile immediately, without waiting for JS.
 */
@media(max-width:700px) {
  #lester-app-shell .lester-catnav--catalog .lester-catnav__groups {
    display:none!important;
  }
  #lester-app-shell .lester-catnav--catalog:not([data-catnav-ready="4"])
  .lester-catnav__links > [data-catnav-link]:nth-child(n+7) {
    display:none!important;
  }
}
