/* Shared responsive refinements; no changes to checkout, firmware or account logic. */
.bpp-mobile-cinema-frame{display:none}
.bpp-cinema{background-size:cover}.bpp-cinema__video{object-fit:cover}
.bpp-shared-navigation :is(a,button,input,select,textarea){max-width:100%}
.bpp-shared-navigation :is(img,video){max-width:100%}
.bpp-shared-navigation .setColor{touch-action:manipulation}
@media(max-width:991px){
 body.bpp-shared-navigation{padding-bottom:62px;overflow-wrap:break-word}
 body.bpp-shared-navigation :is(.bpp-button,.bpp-tour-primary,.bpp-tour-secondary,.bpp-story-gallery-button,.bpp-tour-mobile-next,.bpp-tour-mobile-prev){font-size:13px!important;line-height:1.35!important;min-height:44px!important;height:auto!important;padding:10px 15px!important;border-radius:7px;letter-spacing:0!important}
 body.bpp-shared-navigation .btn-default:not(.btn-icon):not(.btn-xs){font-size:13px;line-height:1.4;min-height:44px;height:auto;padding:10px 16px;letter-spacing:0}
 body.bpp-shared-navigation .bpp-hero__actions{display:flex!important;flex-wrap:wrap;gap:10px!important;align-items:center;justify-content:flex-start}
 body.bpp-shared-navigation .bpp-hero__actions .bpp-button{width:auto!important;max-width:100%;flex:0 1 auto;min-width:0}
 body.bpp-shared-navigation .bpp-product-tour button{font-size:12px;min-height:44px;padding:9px 12px}
 body.bpp-shared-navigation .bpp-product-tour .bpp-tour-nav button{padding:7px;min-height:44px}
 body.bpp-shared-navigation .rainbow-header .logo img{width:84px!important;max-width:84px!important}
 body.bpp-shared-navigation :is(.rainbow-header .header-right,.header-right .header-btn){gap:9px}
 body.bpp-shared-navigation .rainbow-header .header-right{min-width:0}
 body.bpp-shared-navigation .header-top-news .inner{min-height:48px!important;padding-block:5px!important}
 body.bpp-shared-navigation .header-top-news .right-button a{min-height:36px!important;padding:8px 10px!important;font-size:11px!important}
 body.bpp-shared-navigation .popup-mobile-menu .mainmenu a{min-height:44px;display:flex;align-items:center}
 body.bpp-shared-navigation #cookie-notice .cn-button{font-size:12px!important;line-height:1.4!important;min-height:38px;padding:8px 12px;border-radius:5px;margin:5px;border:1px solid #ffffff50;white-space:normal}
 body.bpp-shared-navigation #cookie-notice .cookie-notice-container{padding:16px 18px;font-size:13px;line-height:1.55}
 body.bpp-shared-navigation :is(.woocommerce table.shop_table,.woocommerce .product_meta){overflow-wrap:anywhere}
 /* A landscape film is shown complete above the story, with text in normal flow. */
 html.bpp-mobile-cinema .bpp-mobile-cinema-frame{display:block;position:relative;isolation:isolate;width:100%;aspect-ratio:16/9;max-height:58svh;overflow:hidden;background:#07100c;border-radius:10px;margin:0 0 25px}
 html.bpp-mobile-cinema .bpp-mobile-cinema-frame>img{display:block;width:100%;height:100%;object-fit:contain}
 html.bpp-mobile-cinema .bpp-cinema{position:absolute;inset:0;background-size:contain;z-index:1}
 html.bpp-mobile-cinema .bpp-cinema__video{object-fit:contain;background:#07100c}
 html.bpp-mobile-cinema .bpp-cinema__shade{background:linear-gradient(0deg,#0005,transparent 35%)}
 html.bpp-mobile-cinema .bpp-cinema-controls{position:absolute!important;inset:auto 8px 8px auto!important;z-index:3;max-width:calc(100% - 16px)}
 html.bpp-mobile-cinema .bpp-cinema-toggle{font-size:10px;line-height:1.25;min-height:36px;padding:8px 10px;background:#08100ce8}
 html.bpp-mobile-cinema .bpp-cinema-scene{min-height:0!important}
 html.bpp-mobile-cinema .bpp-hero.bpp-hero--expedition[data-bpp-cinema-src],html.bpp-mobile-cinema .bpp-reading-section .bpp-hero[data-bpp-cinema-src]{display:block;min-height:0!important;padding:18px 18px 42px!important}
 html.bpp-mobile-cinema .bpp-hero[data-bpp-cinema-src] :is(.bpp-hero__background,.bpp-hero__overlay),html.bpp-mobile-cinema .bpp-timeline__still{display:none!important}
 html.bpp-mobile-cinema .bpp-hero__content{width:100%!important;max-width:none!important;gap:16px!important;text-shadow:none}
 html.bpp-mobile-cinema .bpp-hero__title{font-size:clamp(28px,8.5vw,38px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
 html.bpp-mobile-cinema .bpp-hero__desc{font-size:16px!important;line-height:1.65!important;text-shadow:none!important}
 html.bpp-mobile-cinema .bpp-story-chapter[data-bpp-cinema-src]{padding:35px 18px 18px!important}
 html.bpp-mobile-cinema .bpp-story-chapter .bpp-timeline__heading{font-size:32px!important;margin-bottom:22px!important}
 html.bpp-mobile-cinema .bpp-story-chapter .bpp-timeline__copy{padding-left:14px!important;max-width:100%!important}
 html.bpp-mobile-cinema .bpp-story-prose p{font-size:16px!important;line-height:1.75!important}
}
/* Native Doob already changes body.active-light-mode. Our custom areas now follow it. */
html.bpp-native-header-page body.active-light-mode{background:#f6f4ed!important;color:#26352c}
html.bpp-native-header-page body.active-light-mode:before{background:radial-gradient(ellipse at -8% 62%,#cfddd3 0,transparent 44%),radial-gradient(ellipse at 105% -8%,#f2dfbc 0,transparent 43%),#f6f4ed}
body.bpp-shared-navigation.active-light-mode .rainbow-header,body.active-light-mode .bpp-site-header--theme .rainbow-header{background:#faf9f3f5!important;border-color:#354a3c25}
body.bpp-shared-navigation.active-light-mode .rainbow-header .logo-light{display:none!important}
body.bpp-shared-navigation.active-light-mode .rainbow-header .logo-dark{display:block!important}
body.active-light-mode :is(.bpp-product-bridge,.bpp-cta,.bpp-posts,.bpp-product-tour,.bpp-shop,.bpp-tour-comparison,.bpp-tour-card){color:#25372c}
body.active-light-mode :is(.bpp-product-bridge,.bpp-cta,.bpp-posts,.bpp-product-tour,.bpp-shop,.bpp-tour-card) :is(h1,h2,h3,h4){color:#172c20!important}
body.active-light-mode :is(.bpp-product-bridge,.bpp-cta,.bpp-posts,.bpp-product-tour,.bpp-shop,.bpp-tour-card) p:not(.bpp-eyebrow){color:#465b4d!important}
body.active-light-mode :is(.bpp-tour-nav,.bpp-tour-panel,.bpp-tour-diagram,.bpp-tour-card,.bpp-tour-compare,.bpp-post-card,.bpp-product-tour details){border-color:#263f2d30;background-color:#ffffffb3}
body.active-light-mode .bpp-product-tour button{color:#294333;background:#fafcf8;border-color:#38543a55}
body.active-light-mode .bpp-product-tour button[aria-pressed=true]{background:#ffad3520;color:#834800;border-color:#b9751b}
body.active-light-mode .bpp-shop{background:radial-gradient(ellipse at 0 55%,#dce8de,transparent 48%),#f6f4ed}
body.active-light-mode :is(.bpp-site-footer,.bpp-posts,.bpp-cta,.bpp-product-bridge) :is(a:not(.bpp-button),li){color:#294635}
body.active-light-mode .bpp-product-tour .bpp-tour-compare th,body.active-light-mode .bpp-product-tour .bpp-tour-compare td{color:#284333;background:#f7faf5;border-color:#45613d30}
body.active-light-mode .bpp-scroll-tour :is(h1,h2,h3,.bpp-scroll-current){color:#1d3626!important;text-shadow:none!important}
body.active-light-mode .bpp-scroll-tour :is(p,li,summary,.bpp-scroll-next){color:#405949!important;text-shadow:none!important}
body.active-light-mode .bpp-scroll-tour :is(.bpp-scroll-step,.bpp-scroll-steps,.bpp-scroll-nav,.bpp-scroll-step details){border-color:#3a5a4130}
body.active-light-mode .bpp-scroll-tour :is(.bpp-tour-pro,.bpp-tour-pro-benefits article,.bpp-seed-proposal){background:#fffdf6;border-color:#b47b2c55}
body.active-light-mode .bpp-scroll-tour .bpp-scroll-nav a{color:#45634d}
body.active-light-mode .popup-mobile-menu .inner{background:#faf9f3!important}
body.active-light-mode .popup-mobile-menu .mainmenu-item>li>a{color:#233d2c!important}
body.active-light-mode :is(.bpp-site-footer,.popup-mobile-menu) .logo-light{display:none!important}
body.active-light-mode :is(.bpp-site-footer,.popup-mobile-menu) .logo-dark{display:block!important}
body.active-light-mode .bpp-cta.bpp-cta--background :is(h2,p){color:#f1eee7!important}
body.active-light-mode .bpp-hero .bpp-button--secondary{background:#fffaf0!important;color:#294633!important;border-color:#456246!important}
body.active-light-mode .header-top-news .right-button a{color:#fff!important;background:#0005;border-color:#ffffff80}
@media(max-width:991px){body.bpp-shared-navigation .bpp-scroll-tour .bpp-tour-shop{font-size:13px;min-height:44px;padding:10px 14px;width:auto}body.bpp-shared-navigation :is(.single_add_to_cart_button,.woocommerce-form-login__submit,.woocommerce-form-register__submit){font-size:14px;min-height:44px;height:auto;padding:10px 16px;line-height:1.45}}
@media(max-width:991px){
 body.active-light-mode .bpp-hero[data-bpp-cinema-src] :is(h1,h2,p),body.active-light-mode .bpp-story-chapter :is(h2,h3,p){color:#233e2d!important;text-shadow:none!important}
 body.active-light-mode .bpp-hero[data-bpp-cinema-src] .bpp-eyebrow{color:#9c5705!important}
}
@media(prefers-reduced-motion:reduce){.bpp-shared-navigation *{scroll-behavior:auto!important}}

@media(max-width:991px){body.bpp-shared-navigation .bpp-t-switcher{position:fixed;inset:auto auto calc(10px + env(safe-area-inset-bottom,0px)) 10px;margin:0;width:auto;max-width:calc(100% - 20px);padding:4px;gap:3px;border-radius:8px;font-size:11px;line-height:1.4;z-index:999990;box-shadow:0 3px 16px #0004}body.bpp-shared-navigation .bpp-t-switcher a{display:flex;align-items:center;justify-content:center;min-height:36px;min-width:60px;padding:7px 9px}body.bpp-shared-navigation .bpp-t-switcher>span{display:none}}
body.active-light-mode .bpp-t-switcher{background:#fffef8f5;color:#233d2d;box-shadow:0 4px 20px #33442422;border-color:#b87c2b80}body.active-light-mode .bpp-t-switcher a{color:#294831}body.active-light-mode .bpp-t-switcher a[aria-current=true]{background:#f7931a;color:#171006}
/* Keep the complete editorial image, including square artwork. */
body.bpp-shared-navigation .bpp-posts__thumb{height:auto!important;aspect-ratio:3/2!important;overflow:hidden;background:#101613}
body.bpp-shared-navigation .bpp-posts__thumb img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;transition:transform .35s ease}
body.bpp-shared-navigation .bpp-posts__thumb:hover img{transform:translateY(-2px)}
/* Set the actual widget tokens and card selectors, rather than only text. */
body.bpp-shared-navigation.active-light-mode .bpp-widget{--bpp-bg:#f6f4ed!important;--bpp-surface:#fffdf7!important;--bpp-text:#233e2d!important;--bpp-muted:#4a6151!important}
body.bpp-shared-navigation.active-light-mode .bpp-posts__card{background:#fffdf7!important;border-color:#56704d38!important;box-shadow:0 8px 28px #31432e09}
body.bpp-shared-navigation.active-light-mode .bpp-posts__thumb{background:#e5e8de}
body.bpp-shared-navigation.active-light-mode .bpp-posts__card :is(h3,h3 a){color:#233e2d!important}
body.bpp-shared-navigation.active-light-mode .bpp-posts__card :is(time,.bpp-text-link){color:#96500a!important}
body.bpp-shared-navigation.active-light-mode :is(.bpp-site-footer,.rainbow-footer,.copyright-area) :is(h2,h3,h4,p,li,a:not(.btn-default)){color:#304d39!important}
body.bpp-shared-navigation.active-light-mode .bpp-scroll-tour :is(.bpp-scroll-visual,.bpp-scroll-stage){background:transparent!important}
/* Cinematic text remains legible on the film; mobile prose uses the light paper. */
@media(min-width:992px){body.active-light-mode :is(.bpp-hero[data-bpp-cinema-src],.bpp-story-chapter[data-bpp-cinema-src]){color:#f7f3e9!important}body.active-light-mode :is(.bpp-hero[data-bpp-cinema-src],.bpp-story-chapter[data-bpp-cinema-src]) :is(h1,h2,h3,p){color:#f7f3e9!important}}
html.bpp-language-chosen .bpp-t-switcher{display:none!important}
.bpp-language-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:24px auto;padding:20px;max-width:1320px;border-top:1px solid #e6b36b30;color:#e9e5d9;font-size:13px}
.bpp-language-footer>span{margin-right:12px;color:inherit}
.bpp-language-footer a{display:inline-flex;align-items:center;min-height:42px;padding:8px 15px;border:1px solid #b8904c60;border-radius:6px;color:inherit;text-decoration:none}
.bpp-language-footer a[aria-current=true]{background:#f7931a;color:#151006!important;border-color:#f7931a}
body.active-light-mode .bpp-language-footer{color:#294831;border-color:#6b814c40}
.bpp-language-burning{pointer-events:none!important;will-change:clip-path,filter;filter:sepia(.7)}
.bpp-language-fire{position:fixed;pointer-events:none;z-index:2147483000;filter:blur(.2px)}
.bpp-language-announcement{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.bpp-posts__thumb img{transition:none!important}.bpp-language-fire{display:none!important}}
