/* Keep the body from becoming a hidden scroll container that breaks sticky headers. */
html body:has(> .bb-header[data-tada-header]) { overflow-x:clip!important; }
/* Public header layout owner. Language stays outside the navigation at every width. */
html body .bb-header[data-tada-header] { position:sticky!important; top:0; min-height:0!important; height:auto!important; overflow:visible!important; }
html body .bb-header[data-tada-header] .bb-header-inner { display:grid!important; grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important; grid-template-rows:auto auto!important; align-items:center!important; gap:6px 16px!important; width:100%!important; max-width:1440px!important; min-height:0!important; height:auto!important; padding:8px 20px 10px!important; box-sizing:border-box!important; overflow:visible!important; }
html body .bb-header[data-tada-header] .bb-header-inner > a.bb-logo { grid-column:2!important; grid-row:1!important; justify-self:center!important; width:112px!important; min-width:112px!important; max-width:112px!important; height:64px!important; min-height:64px!important; max-height:64px!important; margin:0!important; transform:none!important; }
html body .bb-header[data-tada-header] .bb-nav { grid-column:1 / -1!important; grid-row:2!important; display:block!important; order:initial!important; width:100%!important; min-width:0!important; max-width:100%!important; height:auto!important; min-height:0!important; margin:0!important; overflow:visible!important; }
html body .bb-header[data-tada-header] .bb-menu { display:flex!important; flex-wrap:nowrap!important; justify-content:center!important; align-items:center!important; width:100%!important; min-width:0!important; max-width:100%!important; height:auto!important; min-height:0!important; gap:18px!important; margin:0!important; padding:0!important; overflow:visible!important; list-style:none!important; }
html body .bb-header[data-tada-header] .bb-menu > li { display:flex!important; flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:none!important; margin:0!important; padding:0!important; }
html body .bb-header[data-tada-header] .bb-menu > li > a { display:flex!important; align-items:center!important; justify-content:flex-start!important; width:auto!important; min-width:0!important; max-width:none!important; height:auto!important; min-height:44px!important; margin:0!important; padding:0!important; color:#f4eee0; text-decoration:none; font-weight:850; font-size:12px!important; line-height:1.3!important; letter-spacing:0!important; white-space:nowrap!important; overflow-wrap:normal!important; }
html body .bb-header[data-tada-header] .tada-header-language { grid-column:1; grid-row:1; display:flex; align-items:center; justify-content:flex-start; width:82px; flex:none; position:static; }
html body .bb-header[data-tada-header] .tada-language-switch { display:inline-grid!important; grid-template-columns:1fr 1fr!important; width:82px!important; box-sizing:border-box!important; padding:2px!important; gap:2px!important; }
html body .bb-header[data-tada-header] .tada-language-switch [data-lang] { display:inline-flex!important; align-items:center!important; justify-content:center!important; box-sizing:border-box!important; width:36px!important; min-width:36px!important; height:36px!important; min-height:36px!important; padding:0!important; font-size:11px!important; line-height:1!important; }
html body .bb-header[data-tada-header] .bb-auth-links { grid-column:3!important; grid-row:1!important; display:flex!important; align-items:center!important; justify-content:flex-end!important; flex-wrap:nowrap!important; width:auto!important; min-width:0!important; max-width:none!important; gap:6px!important; margin:0!important; position:static!important; overflow:visible!important; }
html body .bb-header[data-tada-header] .bb-auth-links a { align-items:center!important; justify-content:center!important; box-sizing:border-box!important; height:auto!important; min-height:36px!important; padding:7px 9px!important; font-size:11px!important; line-height:1.2!important; white-space:nowrap!important; }
html body .bb-header[data-tada-header] .tada-header-menu-toggle { display:none; grid-column:5; grid-row:1; width:42px; height:42px; padding:0; border:1px solid #877344; border-radius:8px; background:#05070b; color:#f0cf7a; font-size:24px; line-height:1; cursor:pointer; }
html body .bb-header[data-tada-header] a:focus-visible,
html body .bb-header[data-tada-header] button:focus-visible { outline:2px solid #f0cf7a!important; outline-offset:3px!important; }
/* 1360px covers measured English label demand; JS also handles wider account labels. */
@media (max-width:1360px) {
 html body .bb-header[data-tada-header] .bb-header-inner { grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important; grid-template-rows:auto auto auto!important; gap:6px 12px!important; }
 html body .bb-header[data-tada-header] .tada-header-menu-toggle { display:block; grid-column:3; grid-row:1; justify-self:end; }
 html body .bb-header[data-tada-header] .bb-auth-links { grid-column:1 / -1!important; grid-row:2!important; justify-content:center!important; flex-wrap:wrap!important; }
 html body .bb-header[data-tada-header] .bb-nav { grid-column:1 / -1!important; grid-row:3!important; }
 html body .bb-header[data-tada-header].tada-header-ready:not(.tada-menu-open) .bb-nav { display:none!important; }
 html body .bb-header[data-tada-header] .bb-menu { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:4px 16px!important; }
 html body .bb-header[data-tada-header] .bb-menu > li { min-width:0!important; }
 html body .bb-header[data-tada-header] .bb-menu > li > a { width:100%!important; white-space:normal!important; font-size:14px!important; padding:4px 8px!important; box-sizing:border-box!important; }
}
html body .bb-header[data-tada-header].tada-header-compact .bb-header-inner { grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important; grid-template-rows:auto auto auto!important; }
html body .bb-header[data-tada-header].tada-header-compact .tada-header-menu-toggle { display:block; grid-column:3; grid-row:1; justify-self:end; }
html body .bb-header[data-tada-header].tada-header-compact .bb-auth-links { grid-column:1 / -1!important; grid-row:2!important; justify-content:center!important; flex-wrap:wrap!important; }
html body .bb-header[data-tada-header].tada-header-compact .bb-nav { grid-column:1 / -1!important; grid-row:3!important; }
html body .bb-header[data-tada-header].tada-header-compact:not(.tada-menu-open) .bb-nav { display:none!important; }
html body .bb-header[data-tada-header].tada-header-compact .bb-menu { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; }
html body .bb-header[data-tada-header].tada-header-compact .bb-menu > li > a { white-space:normal!important; min-height:44px!important; }
@media (max-width:768px) {
 html body .bb-header[data-tada-header] .bb-header-inner { grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr)!important; grid-template-rows:auto auto!important; gap:6px 12px!important; padding:6px 12px!important; }
 html body .bb-header[data-tada-header] .bb-header-inner > a.bb-logo { grid-column:2!important; justify-self:center!important; width:96px!important; min-width:96px!important; max-width:96px!important; height:54px!important; min-height:54px!important; max-height:54px!important; }
 html body .bb-header[data-tada-header] .bb-auth-links { grid-column:1 / -1!important; grid-row:2!important; justify-content:center!important; flex-wrap:wrap!important; }
 html body .bb-header[data-tada-header] .tada-header-language { grid-column:1; grid-row:1; justify-content:flex-start; }
 html body .bb-header[data-tada-header] .tada-header-menu-toggle { grid-column:3; grid-row:1; justify-self:end; }
 html body .bb-header[data-tada-header] .bb-nav { grid-row:3!important; max-height:calc(100dvh - 132px)!important; overflow-y:auto!important; overflow-x:visible!important; }
}

/* The sparkle follows the rendered car outline. The two paths are calibrated
   to the exact 112x64 and 96x54 logo boxes used by this layout. */
html body .bb-header[data-tada-header] a.bb-logo { animation:none!important; filter:none!important; }
html body .bb-header[data-tada-header] a.bb-logo::after {
 content:''!important;
 display:block!important;
 width:4px!important;
 height:4px!important;
 left:0!important;
 top:0!important;
 offset-path:path('M 16 46 L 16 37 Q 19 34 24 32 L 35 30 Q 41 26 48 20 Q 55 19 63 20 Q 74 21 83 25 Q 91 28 98 28 Q 100 32 98 44')!important;
 offset-rotate:0deg!important;
 animation:tada-logo-line-sparkle 6.4s ease-in-out infinite!important;
}
@keyframes tada-logo-line-sparkle {
 0%,12% { offset-distance:0%; opacity:0; }
 17% { opacity:1; }
 58% { offset-distance:100%; opacity:1; }
 64%,100% { offset-distance:100%; opacity:0; }
}
@media(max-width:768px) {
 html body .bb-header[data-tada-header] a.bb-logo::after {
  offset-path:path('M 14 39 L 14 31.5 Q 16.5 28.5 21 27 L 30 25.5 Q 35.25 21.75 41.25 17.25 Q 47.25 15.75 54 16.5 Q 63 18 70.5 21 Q 77.25 23.25 83.25 24 Q 85.5 27 83.25 37.5')!important;
  animation-duration:7.2s!important;
 }
}
@media(prefers-reduced-motion:reduce) {
 html body .bb-header[data-tada-header] a.bb-logo::after { display:none!important; animation:none!important; }
}
