/* JB5 delivery 2.0 — explicit foreground/background pairs protect against theme overrides. */
:root{--jb5-yellow:#edbd57;--jb5-paper:#f6f5f1;--jb5-ink:#141a23;--jb5-black:#09111e}
.jb5-home,.jb5-about,.jb5-registration,.jb5-section{color:#141a23}
.jb5-home h1,.jb5-about h1,.jb5-registration h1,.jb5-section h2,.jb5-section h3,.jb5-cta h2{color:#141a23}
.jb5-hero h1,.jb5-reg-hero h1,.jb5-dark h2,.jb5-dark h3,.jb5-uniforms h2,.jb5-uniforms h3{color:#fff!important}
.jb5-hero h1 em,.jb5-uniforms h2 em,.jb5-dark h2 em{color:#edbd57!important}
.jb5-section h2 em{color:#806020}.jb5-kicker{color:#77591d}.jb5-dark,.jb5-uniforms{color:#f5f7fb!important;background-color:#09111e}
.jb5-dark p,.jb5-dark li,.jb5-dark .jb5-values-grid b,.jb5-dark .jb5-values-grid span{color:#e0e6ed!important}
.jb5-uniforms .jb5-section-head>p,.jb5-uniform-copy p{color:#d0d9e5!important}
.jb5-home .jb5-structure h3,.jb5-home .jb5-categories b,.jb5-home .jb5-includes b,.jb5-about .jb5-structure h3{color:#141a23!important}
.jb5-structure article.featured{background:#edbd57}.jb5-structure article{min-height:240px}.jb5-structure h3{margin-top:40px}
.jb5-section h2{font-size:clamp(32px,4.4vw,58px);line-height:1.06;letter-spacing:-.035em}
.jb5-brand-intro{display:flex;gap:30px;align-items:center;margin-bottom:40px}.jb5-brand-intro img{width:144px;height:144px;flex:0 0 144px;border-radius:50%;object-fit:cover;box-shadow:0 8px 36px #b68a3930}.jb5-brand-intro .jb5-section-head{margin-bottom:0}
.jb5-hero-2027 .jb5-hero-grid{grid-template-columns:minmax(0,1fr) minmax(290px,390px)}
.jb5-hero h1{font-size:clamp(48px,6.2vw,82px);line-height:1.02}.jb5-hero-copy{padding:100px 0}.jb5-hero-season{transform:none}
.jb5-uniform-card{display:flex;flex-direction:column;background:#111c2c;border-color:#ffffff24}
.jb5-uniform-copy{display:flex;flex-direction:column;flex:1}.jb5-uniform-buy{margin-top:auto}.jb5-uniform-media img,.jb5-hero-kit img{object-fit:contain}
.jb5-uniform-price{font-size:24px;font-weight:800;margin:12px 0;color:#f6d895}.jb5-uniform-price .amount{color:inherit}.jb5-uniform-price del{font-size:16px;color:#b1becf}
.jb5-buy-form label,.jb5-size-label{color:inherit!important;display:block;margin:8px 0 6px;font-size:13px}.jb5-buy-form select,.jb5-size{width:100%;height:46px;background:#fff!important;color:#151b24!important;border:1px solid #bcc6d4!important;border-radius:9px;box-shadow:none!important;padding:0 12px;margin-bottom:10px}
.jb5-buy-form input[type=number]{width:85px;background:#fff!important;color:#141a23!important;border-radius:9px;margin-bottom:12px}
.jb5-buy-form .jb5-btn{width:100%;font-size:13px;letter-spacing:0;margin:0 0 12px;color:#131a25!important;background:#edbd57;min-height:48px}
.jb5-product-details{display:inline-block;margin-top:10px;color:#f3ce83!important}.jb5-stock-note{padding:12px 14px;border:1px solid #9b7b42;border-radius:10px;line-height:1.5!important;font-size:14px}
.jb5-sponsors-final{padding-bottom:72px}.jb5-sponsors-final .jb5-sponsor-tier{grid-template-columns:210px minmax(0,1fr);padding:30px 0}.jb5-sponsors-final h3{font-size:23px;color:#152035!important}.jb5-logo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.jb5-logo-card{display:flex;align-items:center;justify-content:center;min-width:0;height:104px;padding:18px;background:#fff;border:1px solid #e1e4e8;border-radius:12px;transition:box-shadow .2s,transform .2s;overflow:hidden;color:#18243a}
.jb5-logo-card:hover{box-shadow:0 8px 22px #0d1d3410;transform:translateY(-2px)}.jb5-logo-card img{display:block;width:100%;height:68px;object-fit:contain;max-width:190px}.jb5-logo-card .jb5-brand-name,.jb5-logo-fallback{font-size:14px;font-weight:800;text-align:center;line-height:1.25;color:inherit}.jb5-logo-dark{background:#152236;color:#fff;border-color:#253246}.jb5-logo-fallback[hidden]{display:none!important}
.jb5-led-final{background:#081323;color:#f1cb7c;border-top:3px solid #c69a43;padding:20px 0 26px;margin:0;overflow:hidden}.jb5-led-head{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1180px;margin:0 auto 16px;padding:0 20px}.jb5-led-head>span{font-size:11px;letter-spacing:.17em;font-weight:800}.jb5-led-toggle{font-size:11px!important;min-height:30px!important;line-height:1.2!important;padding:7px 12px!important;margin:0!important;color:#fff!important;border:1px solid #597085!important;border-radius:999px;background:transparent!important;text-transform:none!important;letter-spacing:0!important}.jb5-led-motion{display:flex;width:max-content;animation:jb5-final-scroll 46s linear infinite}.jb5-led-group{display:flex;gap:14px;padding-right:14px}.jb5-led-group .jb5-logo-card{width:190px;flex:0 0 190px;height:92px}.jb5-led-window:hover .jb5-led-motion,.jb5-led-final.is-paused .jb5-led-motion{animation-play-state:paused}.jb5-led-final.is-fixed .jb5-led-motion{animation:none;width:100%}.jb5-led-final.is-fixed .jb5-led-group{flex-wrap:wrap;justify-content:center;max-width:1180px;margin:auto;padding:0 18px}.jb5-led-final.is-fixed .jb5-logo-card{flex:0 1 175px}
@keyframes jb5-final-scroll{to{transform:translateX(-50%)}}
.jb5-gallery-section{background:#eef1f4}.jb5-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.jb5-gallery-item{display:block;position:relative;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#132038}.jb5-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.jb5-gallery-item:hover img{transform:scale(1.04)}.jb5-gallery-item span{position:absolute;bottom:0;left:0;right:0;padding:40px 18px 18px;background:linear-gradient(transparent,#081323e8);color:#fff;font-weight:700;font-size:14px}.jb5-lightbox{border:0;padding:0;max-width:94vw;max-height:92vh;background:#09111e;border-radius:12px;color:#fff}.jb5-lightbox::backdrop{background:#000d}.jb5-lightbox img{display:block;max-width:90vw;max-height:82vh;object-fit:contain}.jb5-lightbox button{display:block;margin:8px 8px 8px auto;padding:4px 16px;color:#fff;background:#28374c;border:1px solid #7b8b9d;border-radius:20px;line-height:1.8;font-size:14px}
.jb5-event-date b{color:#fff!important}.jb5-event-date small{color:#d5deea!important}.jb5-card-grid p{color:#dce3ed!important}.jb5-reg-hero p{color:#d6deea!important}.jb5-chat{color:#18202c}.jb5-chat-panel input,.jb5-chat-chips button,.jb5-form input,.jb5-form select,.jb5-form textarea{color:#18202c!important}.jb5-chat-toggle b{color:#fff!important}.jb5-chat-panel header b{color:#fff!important}.jb5-chat-panel{display:flex;flex-direction:column}.jb5-chat-messages{flex:1;min-height:80px;height:auto}.jb5-chat-panel header,.jb5-chat-panel form,.jb5-chat-chips{flex-shrink:0}.jb5-chat-panel[hidden]{display:none}
.jb5-btn:focus-visible,.jb5-led-toggle:focus-visible,.jb5-gallery-item:focus-visible{outline:3px solid #168aff;outline-offset:4px}
@media(max-width:1000px){.jb5-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jb5-sponsors-final .jb5-sponsor-tier{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:900px){.jb5-hero-2027 .jb5-hero-grid{grid-template-columns:1fr}.jb5-hero-copy{padding:65px 0 0}.jb5-hero-season{margin-bottom:65px}.jb5-sponsors-final .jb5-sponsor-tier{grid-template-columns:1fr}.jb5-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.jb5-brand-intro{align-items:flex-start}.jb5-brand-intro img{width:104px;height:104px;flex-basis:104px}.jb5-uniform-card:last-child{display:flex}}
@media(max-width:560px){.jb5-brand-intro{display:block}.jb5-brand-intro img{margin-bottom:22px}.jb5-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.jb5-logo-card{height:96px;padding:14px}.jb5-gallery{gap:10px}.jb5-gallery-item{aspect-ratio:1}.jb5-gallery-item span{font-size:12px;padding:30px 10px 12px}.jb5-hero h1{font-size:46px}.jb5-hero-2027{min-height:0}.jb5-split figure,.jb5-split figure img{min-height:0;aspect-ratio:4/3;object-fit:cover}.jb5-uniform-copy{padding:22px}.jb5-led-head{align-items:flex-start}.jb5-led-head>span{max-width:170px;line-height:1.6}.jb5-led-group .jb5-logo-card{width:160px;flex-basis:160px}.jb5-section{padding:60px 0}}
@media(prefers-reduced-motion:reduce){.jb5-led-motion{animation:none}.jb5-led-window{overflow-x:auto}.jb5-led-group[aria-hidden=true]{display:none}.jb5-gallery-item img,.jb5-logo-card{transition:none}}
/* Compact header keeps the existing JB5 Group identity within its navigation bar. */
#header #logo img{max-height:82px!important;width:auto;object-fit:contain}
@media(max-width:849px){#header .header-main{height:82px!important}#header #logo{width:100px!important;max-width:100px!important;margin:0 auto}#header #logo img{max-height:66px!important;width:auto!important}#header .header-inner{min-height:82px}}
/* Accessible native commerce controls and a footer without repeated menus. */
body .woocommerce .button.alt,body .woocommerce .button.primary,body .woocommerce .checkout-button,body .woocommerce button[name=add-to-cart],body .woocommerce #place_order{background:#edbd57!important;color:#101827!important;border-color:#edbd57!important;text-shadow:none!important}
#footer{display:none!important}.jb5-footer-final{background:#09111e;color:#dce2ed;padding:60px 0 24px}.jb5-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px}.jb5-footer-brand img{border-radius:50%;width:90px;height:90px;object-fit:cover;margin-bottom:18px}.jb5-footer-final h2{color:#fff;font-size:21px;line-height:1.2}.jb5-footer-final h3{color:#edbd57;font-size:14px;margin-bottom:20px}.jb5-footer-final p{font-size:14px;color:#bfc9d7;max-width:240px}.jb5-footer-final nav a{display:block;color:#dce2ed;padding:6px 0;font-size:14px}.jb5-footer-final a:hover{color:#edbd57}.jb5-footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:36px;padding-top:22px;border-top:1px solid #ffffff1c;font-size:12px;color:#aab6c7}.jb5-footer-bottom a{color:#cbd4df}
@media(max-width:849px){#header #top-bar,#header .header-bottom{display:none!important}.jb5-footer-grid{grid-template-columns:1fr 1fr;gap:26px}.jb5-footer-brand{grid-column:1/-1}.jb5-footer-bottom{flex-direction:column}}

#header #logo img{margin:0!important;transform:none!important}#header #logo a{display:flex;align-items:center;justify-content:center}
