/* The header sits inside the page frame rather than against the viewport. */
html body.wooflo-shop.bd37 .ws-shell.bd34-nav .at-header {
  left:var(--bd34-nav-left,12px);right:var(--bd37-nav-right,26px);top:var(--bd37-nav-top,24px);
  border-radius:20px;
}
html body.wooflo-shop.bd37 .bdgx-site-menu {z-index:112}
html body.wooflo-shop.bd37 .bdgx-menu-trigger {
  display:grid;place-items:center;position:relative;box-sizing:border-box;
  width:48px;height:48px;padding:0;border:1px solid var(--brand-line);border-radius:15px;
  background:var(--bd36-selected);color:var(--brand-text);cursor:pointer;
  box-shadow:inset 0 1px #ffffff18,0 8px 20px -14px #0008;
}
html body.wooflo-shop.bd37 .bdgx-menu-trigger>.bd-brand-mark {width:29px;height:29px;border-radius:8px}
html body.wooflo-shop.bd37 .bdgx-menu-trigger>span {
  position:absolute;right:-3px;bottom:-3px;width:19px;height:19px;display:grid;place-items:center;
  border-radius:7px;border:1px solid var(--brand-line);background:var(--brand-panel);color:var(--brand-text);
}
html body.wooflo-shop.bd37 .bdgx-menu-trigger[aria-expanded=true] {border-color:var(--bd34-focus);box-shadow:inset 0 1px #ffffff18,0 0 0 3px var(--bd34-lime-wash)}
html body.wooflo-shop.bd37 .bdgx-menu-trigger:focus-visible {outline:2px solid var(--bd34-focus);outline-offset:3px}
html body.wooflo-shop.bd37 .bdgx-menu-trigger:hover {filter:brightness(1.12)}

/* Shared picker treatment. Local chapter positioning and panel logic stay with their owner.
   The visual declarations override older module-specific pills consistently. */
html body.wooflo-shop.bd37 [data-bd-tab-rail]:not([hidden]) {
  display:flex!important;align-items:center;justify-content:flex-start!important;flex-wrap:nowrap!important;
  gap:3px!important;box-sizing:border-box;min-width:0;max-width:100%;width:fit-content;
  padding:4px!important;border:1px solid var(--bd36-tab-line)!important;border-radius:20px!important;
  background:var(--bd36-tab-rail)!important;box-shadow:inset 0 1px 2px #00000020!important;
  overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-padding-inline:24px;
}
html body.wooflo-shop.bd37 [data-bd-tab-rail]::-webkit-scrollbar {display:none}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button) {
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px!important;
  min-height:36px;padding:8px 13px!important;margin:0!important;border-radius:14px!important;
  border:1px solid transparent!important;background:transparent!important;color:var(--bd36-tab-ink)!important;
  box-shadow:none!important;font-family:Poppins,Arial,sans-serif;font-size:12px;font-weight:500!important;line-height:1.35;
  white-space:nowrap;text-decoration:none;transition:background .18s,color .18s,border-color .18s;
}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button):hover:not(:is([aria-selected=true],[aria-pressed=true],[aria-current],.is-active,.active,.on)) {background:#ffffff08!important;color:var(--brand-text)!important}
html[data-wf-theme=light] body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button):hover:not(:is([aria-selected=true],[aria-pressed=true],[aria-current],.is-active,.active,.on)) {background:#00000005!important}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button):is([aria-selected=true],[aria-pressed=true],[aria-current],.is-active,.active,.on) {
  background:var(--bd36-selected)!important;color:var(--bd36-selected-text)!important;
  border-color:#ffffff15!important;box-shadow:inset 0 1px #ffffff0d,0 3px 7px -5px #0009!important;
}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button)>svg {width:15px;height:15px;flex:none}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button):is([aria-selected=true],[aria-pressed=true],[aria-current],.is-active,.active,.on)>svg {color:#dfedb0}
html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button):focus-visible {outline:2px solid var(--bd34-focus);outline-offset:-2px}
html body.wooflo-shop.bd37 [data-bd-tab-rail][hidden],html body.wooflo-shop.bd37 [data-bd-tab-rail]>[hidden] {display:none!important}
html body.wooflo-shop.bd37 .bd16-nav[data-bd-tab-rail] {width:100%}
html body.wooflo-shop.bd37 .mk-programs[data-bd-tab-rail]>a {padding:7px 9px!important;font-size:10px;min-height:32px}
html body.wooflo-shop.bd37 .bci-pf-options[data-bd-tab-rail] {min-width:0;max-width:100%}
html body.wooflo-shop.bd37 .bci-pf-row {min-width:0}
html body.wooflo-shop.bd37 .bdgx-tab-controls {min-width:0;max-width:100%}
html body.wooflo-shop.bd37 .bdgx-families[data-bd-tab-rail] {margin-inline:auto}
html body.wooflo-shop.bd37 .bdm-switch[data-bd-tab-rail] {width:100%}
html body.wooflo-shop.bd37 .bdm-switch[data-bd-tab-rail]>button {flex:1 1 0}

/* A single play/pause control governs both the hero reel and its moving previews. */
html body.wooflo-shop.bd37 .bdx-hero .bdx-strip {display:flex;align-items:center;gap:7px}
html body.wooflo-shop.bd37 .bd37-hero-auto {
  display:grid;place-items:center;flex:none;width:35px;height:35px;padding:0;min-height:0;
  border-radius:50%;border:1px solid #ffffff42;background:#171b1bcb;color:#f1f4e7;
  backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff12;cursor:pointer;
}
html body.wooflo-shop.bd37 .bd37-hero-auto:hover {background:#303634}
html body.wooflo-shop.bd37 .bd37-hero-auto .bd37-auto-play {display:none}
html body.wooflo-shop.bd37 .bd37-hero-auto[aria-pressed=true] .bd37-auto-play {display:block}
html body.wooflo-shop.bd37 .bd37-hero-auto[aria-pressed=true] .bd37-auto-pause {display:none}
html body.wooflo-shop.bd37 .bd37-hero-auto[hidden] {display:none}
@media(max-width:850px){
  html body.wooflo-shop.bd37 .ws-shell.bd34-nav .at-header {border-radius:18px}
  html body.wooflo-shop.bd37 .bdgx-menu-trigger {width:42px;height:42px;border-radius:14px}
  html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button) {min-height:40px;font-size:11px;padding:9px 12px!important}
}
@media(max-width:700px){
  html body.wooflo-shop.bd37 .bdx-hero .bdx-strip {gap:5px}
  html body.wooflo-shop.bd37 .bd37-hero-auto {width:30px;height:30px}
  html body.wooflo-shop.bd37 .bdx-hero .bdx-now {max-width:calc(100% - 200px)}
}
@media(prefers-reduced-motion:reduce){html body.wooflo-shop.bd37 [data-bd-tab-rail]>:is(a,button) {transition:none}}
