/* One optional reading preference. The default brand typography is retained. */
@font-face{font-family:'JBD OpenDyslexic';src:url('/assets/fonts/opendyslexic/OpenDyslexic-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'JBD OpenDyslexic';src:url('/assets/fonts/opendyslexic/OpenDyslexic-Bold.woff2') format('woff2');font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:'JBD OpenDyslexic';src:url('/assets/fonts/opendyslexic/OpenDyslexic-Italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'JBD OpenDyslexic';src:url('/assets/fonts/opendyslexic/OpenDyslexic-Bold-Italic.woff2') format('woff2');font-weight:600 900;font-style:italic;font-display:swap}

/* A dedicated header row keeps this control visible without crowding the menu. */
header[data-jbd-accessibility-header]{height:auto;flex-wrap:wrap;row-gap:12px;padding-block:16px}
.jbd-accessibility-tools{display:flex;flex:1 0 100%;width:100%;min-width:0;justify-content:flex-end;align-items:center;order:99;grid-column:1/-1;gap:12px}
.jbd-typography-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-height:44px;padding:9px 13px;border:1px solid #963e32;border-radius:4px;background:#fffaf4;color:#783027;font-family:Arial,Helvetica,sans-serif;font-size:.75rem;font-weight:600;line-height:1.5;letter-spacing:.01em;text-align:center;cursor:pointer;box-sizing:border-box}
.jbd-typography-toggle:hover{background:#f0e7dc}
.jbd-typography-toggle:focus-visible{outline:3px solid #963e32;outline-offset:4px}
.jbd-typography-toggle[aria-pressed=true]{background:#963e32;color:#fffaf4}
.jbd-typography-state{font-size:.7rem;line-height:1.6;padding:1px 7px;min-width:32px;border:1px solid currentColor;border-radius:12px;text-align:center}
.jbd-utility-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ded1c3;min-height:80px}
.jbd-utility-header>a{font-weight:600;text-decoration:none}
.jbd-utility-header .jbd-accessibility-tools{flex:0 1 auto;width:auto}

html.jbd-dyslexia{--jbd-reading-font:'JBD OpenDyslexic','Comic Sans MS','Comic Sans',Verdana,sans-serif;--sans:var(--jbd-reading-font);--serif:var(--jbd-reading-font)}
html.jbd-dyslexia body,
html.jbd-dyslexia body :where(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,summary,li,dt,dd,th,td,caption,small,strong,em,span,code,pre,blockquote,legend,figcaption,div){font-family:var(--jbd-reading-font)!important;letter-spacing:.035em!important;word-spacing:.08em!important}
html.jbd-dyslexia :where(p,li,dt,dd,label,legend,figcaption,blockquote,td,th,summary){line-height:1.85!important}
html.jbd-dyslexia :where(h1,h2,h3,h4,h5,h6){line-height:1.4!important;letter-spacing:.015em!important;font-style:normal!important;overflow-wrap:anywhere}
html.jbd-dyslexia h1{font-size:clamp(1.9rem,4.2vw,3.6rem)!important}
html.jbd-dyslexia h2{font-size:clamp(1.5rem,3vw,2.6rem)!important}
html.jbd-dyslexia h3{font-size:clamp(1.15rem,2vw,1.55rem)!important}
html.jbd-dyslexia h4{font-size:1.05rem!important}
html.jbd-dyslexia :where(p,li,a,button,label,dt,dd,th,td){overflow-wrap:anywhere}
html.jbd-dyslexia :where(button,input,select,textarea){line-height:1.7!important}
html.jbd-dyslexia :where(input,select,textarea){font-size:1rem!important}
html.jbd-dyslexia :where(.eyebrow,.small-label,.portal-small,.fin-note,.fin-label,.inquiry-help){font-size:.85rem!important;text-transform:none!important;letter-spacing:.04em!important}
html.jbd-dyslexia .jbd-typography-toggle{font-size:.8rem!important}
html.jbd-dyslexia .jbd-typography-state{font-size:.7rem!important}
html.jbd-dyslexia :where(.nav-dropdown-menu a,.site-account-links a,.shop-explore-menu a){white-space:normal!important}
html.jbd-dyslexia :where(.nav-dropdown-menu,.site-account-links,.shop-explore-menu){max-width:calc(100vw - 32px)}
html.jbd-dyslexia dialog{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto}

@media(max-width:1100px){.jbd-accessibility-tools{justify-content:flex-start}}
@media(max-width:650px){
 .focused-header[data-jbd-accessibility-header]>.jbd-accessibility-tools{grid-column:1/-1;grid-row:3}
 .jbd-accessibility-tools{justify-content:flex-start}
 .jbd-utility-header{align-items:flex-start;flex-direction:column;gap:12px}
 .jbd-utility-header .jbd-accessibility-tools{width:100%}
}
html.jbd-dyslexia .focused-header{column-gap:16px}
html.jbd-dyslexia .focused-header .main-nav{gap:16px;flex-wrap:wrap}
