/* Brands Ohh digital brandbook v1: scoped public pages and sign-in forms. */
.brandbook-page{margin:0 auto!important;padding:0!important;max-width:none!important;background:#fff;color:#171717;font:16px/1.6 Arial,system-ui,sans-serif}
.brandbook-page *{box-sizing:border-box}
.brandbook-header{height:80px!important;max-width:none!important;margin:0!important;padding:0 24px!important;border-bottom:1px solid #e5e5e5;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brandbook-header a{color:#171717;font:12px/1.4 Arial,sans-serif;display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
.brandbook-header img,.brandbook-header svg{width:132px!important;height:54px!important;object-fit:contain;display:block}
.brandbook-page>main,.brandbook-page>nav,.brandbook-page>footer{max-width:960px;margin:0 auto;padding:32px 24px}
.brandbook-page>nav{padding-bottom:0;display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px}
.brandbook-page h1{font:400 40px/1.15 Georgia,serif;margin:0 0 28px;overflow-wrap:anywhere}
.brandbook-page h2{font:400 28px/1.25 Georgia,serif;margin:32px 0 16px}
.brandbook-page h3{font:600 18px/1.4 Arial,sans-serif}
.brandbook-page p,.brandbook-page li{overflow-wrap:anywhere}
.brandbook-page a{color:inherit;text-underline-offset:3px}
.brandbook-page :focus-visible,.login :focus-visible,.login-panel :focus-visible{outline:2px solid #595959;outline-offset:3px}
.brandbook-page .date{font:12px/1.5 Arial,sans-serif;color:#656565}
/* Preserve the SEO heading and full facts while aligning the product layout. */
#seo-product .detail-info .intro h1,#panel .detail-info>h2{font:400 40px/1.15 Georgia,serif;margin:0 0 24px;overflow-wrap:anywhere}
#seo-product .detail-info>.intro{display:block;padding:0;margin:0 0 24px}
#seo-product .detail-info,#panel .detail-info{min-width:0;font-family:Arial,system-ui,sans-serif}
#seo-product .facts,#panel .facts{font:14px/1.6 Arial,sans-serif}
#seo-product .facts dd,#panel .facts dd{min-width:0;overflow-wrap:anywhere;white-space:normal}
#seo-product .main-image{object-fit:contain;background:#f6f6f6}
.login,.login-panel{box-sizing:border-box;width:calc(100% - 40px);max-width:430px!important;margin:40px auto!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;color:#171717;font:14px/1.6 Arial,sans-serif}
.login h1,.login-panel h1{font:400 36px/1.15 Georgia,serif!important;margin:20px 0 16px!important}
.login .wordmark{font:400 23px/1.3 Georgia,serif;color:#171717}
.login label,.login-panel label{display:grid;gap:8px;margin:0 0 20px;font:14px/1.5 Arial,sans-serif}
.login input,.login-panel input{box-sizing:border-box;width:100%;height:48px;padding:12px;border:1px solid #bdbdbd;border-radius:0;background:#fff;color:#171717;font:16px/1.4 Arial,sans-serif}
.login .primary,.login-panel .primary{width:100%;min-height:48px;border:1px solid #171717;border-radius:0;background:#171717;color:#fff;padding:12px 20px;font:14px/1.5 Arial,sans-serif;cursor:pointer}
.login small,.login .muted,.login-panel .intro{color:#656565;line-height:1.6}
.login .error,.login-panel .error{color:#8f2222}
body:has(.login),body:has(#login-panel:not([hidden])){background:#fff!important}
.login input,.login-panel input{min-height:48px!important;height:48px!important}
.login-panel{width:100%}
main:has(>#login-panel:not([hidden])){padding-left:20px;padding-right:20px;max-width:none}
.login .field input,.login-panel input{border:1px solid #bdbdbd!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.login .wordmark{font-weight:400!important;letter-spacing:normal!important}
.login .text-button{color:#171717;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.brandbook-header{height:76px!important;padding:0 20px!important}.brandbook-header img,.brandbook-header svg{width:110px!important;height:50px!important}.brandbook-page>main,.brandbook-page>nav,.brandbook-page>footer{padding-left:20px;padding-right:20px}.brandbook-page h1{font-size:35px}.brandbook-page h2{font-size:24px}#seo-product .detail-info .intro h1,#panel .detail-info>h2{font-size:30px}.login h1,.login-panel h1{font-size:32px!important}}

html:has(.login){background:#fff!important}body:has(.login){min-height:100dvh}

/* Preserve complete headings; reduce excess spacing on narrow product screens. */
@media(max-width:600px){#seo-product .detail-info .intro h1,#panel .detail-info>h2{font-size:30px;line-height:1.15;margin-bottom:14px}#seo-product .detail-info>.intro{margin-bottom:14px}#panel .detail-info .large-price{margin-top:14px;margin-bottom:12px}}
