/* Theme selection is client-side so a shared page cache never mixes visitor preferences. */
.mimen-store-header .mimen-theme-toggle { display:none; place-items:center; flex:none; width:44px; height:44px; min-width:44px; padding:0; border:0; border-radius:12px; background:transparent; cursor:pointer; }
html.mimen-theme-ready .mimen-store-header .mimen-theme-toggle { display:grid; }
.mimen-store-header .mimen-theme-toggle:focus-visible { outline:3px solid #04baf1; outline-offset:2px; }
.mimen-theme-icon { display:block; width:42px; height:42px; border-radius:11px; background-image:url('modes.webp'); background-repeat:no-repeat; background-size:262% 175%; background-position:13.7% 38%; }
html[data-mimen-theme="light"] .mimen-theme-icon { background-position:86.7% 38%; }
@media(max-width:400px) { .mimen-store-header .mimen-header-top, .mimen-store-header .mimen-header-top > .e-con-inner { gap:8px 5px; } .mimen-store-header .mimen-brand-lockup { width:clamp(130px,42vw,174px); } }
/* Global shell and shared header. */
html[data-mimen-theme="dark"] { background:#10151d; }
html[data-mimen-theme="dark"] body { background:#10151d!important; color:#eaf0f6; }
html[data-mimen-theme="dark"] .mimen-store-header { --mimen-header-blue:#ffc425; --mimen-header-ink:#f5f5fa; --mimen-header-border:#ffffff23; background:linear-gradient(145deg,#202631,#11151d 66%)!important; color:#f8f8fa; }
html[data-mimen-theme="dark"] .mimen-store-header :is(.mimen-account-link,.mimen-header-cart) { background:#242a34; border-color:#424b58; color:#fff; }
html[data-mimen-theme="dark"] .mimen-store-header .jet-ajax-search__fields-holder,
html[data-mimen-theme="dark"] .mimen-store-header .jet-ajax-search__field { background:#252d39!important; color:#fff!important; }
html[data-mimen-theme="dark"] .mimen-store-header .jet-ajax-search__field::placeholder { color:#dde2eb; }
html[data-mimen-theme="dark"] .mimen-store-header .jet-ajax-search__submit { background:#ffc425; color:#201500; }
html[data-mimen-theme="dark"] .mimen-store-header .mimen-category-toggle { color:#191204; }
html[data-mimen-theme="dark"] #mimen-footer { --bf-border:#ffffff25; --bf-muted:#c4ccd8; background:linear-gradient(145deg,#1d2531,#10151f 68%)!important; color:#eff2f6; border-color:#ffffff25; }
html[data-mimen-theme="dark"] #mimen-footer :is(.mf-benefits,.mf-bottom,.mf-contact,.mf-social a) { border-color:#ffffff25; }
html[data-mimen-theme="dark"] #mimen-footer :is(.mf-contact,.mf-social a) { background:#ffffff08; }
html[data-mimen-theme="dark"] #mimen-footer :is(h2,.mf-social a) { color:#fcfcff; }
html[data-mimen-theme="dark"] #mimen-footer :is(small,.mf-about>p,.mf-links a,.mf-bottom p) { color:#c4ccd8; }
html[data-mimen-theme="dark"] #mimen-footer .mf-trust a { background:#fff; }
/* Product detail: retain a light photo well while changing the purchase and description surfaces. */
html[data-mimen-theme="dark"] body.single-product { --mimen-ink:#eef4fa; --mimen-muted:#c3cfda; --mimen-line:#3c4958; }
html[data-mimen-theme="dark"] body.single-product :is(.elementor-element-3e43bb4d,.elementor-element-2fe69d2a > .elementor-widget-container,.elementor-element-6ac58569,.elementor-element-72cb4725,.woocommerce-tabs) { background:#202a36!important; border-color:#3c4958!important; }
html[data-mimen-theme="dark"] body.single-product :is(.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.elementor-element-72cb4725 .elementor-icon-list-text,.woocommerce-tabs .woocommerce-Tabs-panel) { color:#c3cfda!important; }
html[data-mimen-theme="dark"] body.single-product .stock.in-stock { color:#7de4a8!important; }
html[data-mimen-theme="dark"] body.single-product form.cart :is(select,input.qty) { background:#111b25!important; color:#fff!important; border-color:#536477!important; }
/* The campaign retains its dark photographic panels; light mode changes the surrounding page. */
html[data-mimen-theme="light"] body.mimen-bf-home { background:#f0f5fa; color:#18283a; }
html[data-mimen-theme="light"] .mimen-bf-home .bf-page { color:#18283a; --bf-muted:#47586a; --bf-border:#cbd7e3; }
html[data-mimen-theme="light"] .mimen-bf-home :is(.bf-hero,.bf-promo,.bf-gift) { color:#f8f8fa; }
html[data-mimen-theme="light"] .mimen-bf-home .bf-benefits { background:#fff; }
html[data-mimen-theme="light"] .mimen-bf-home .bf-offers { background:#e2ecf4; }
html[data-mimen-theme="light"] .mimen-bf-home :is(.bf-offer-count,.bf-all-offers summary) { color:#835500; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header { --mimen-header-blue:#02c4fe; --mimen-header-ink:#15263c; --mimen-header-border:#dbe5ed; background:#fff; color:#15263c; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header :is(.mimen-account-link,.mimen-header-cart) { background:#fff; border-color:#dbe5ed; color:#15263c; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header :is(.jet-ajax-search__fields-holder,.jet-ajax-search__field) { background:#f7fafc; color:#15263c; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header .jet-ajax-search__field::placeholder { color:#516779; }
html[data-mimen-theme="light"] .mimen-bf-storefront #mimen-footer { background:#fff; color:#15263c; --bf-muted:#546778; --bf-border:#dbe5ed; }
html[data-mimen-theme="light"] .mimen-bf-storefront #mimen-footer :is(h2,.mf-social a) { color:#15263c; }

/* Readable copy on the dark product panels, including merchant-authored inline text. */
html[data-mimen-theme="dark"] body.single-product :is(.woocommerce-product-details__short-description,.woocommerce-tabs .woocommerce-Tabs-panel) :is(p,span,strong,li,h2,h3,h4) { color:#e2eaf2!important; }
html[data-mimen-theme="dark"] body.single-product .elementor-element-39842411 :is(.woocommerce-Price-amount,.woocommerce-Price-currencySymbol,del,.jet-listing-dynamic-field__content) { color:#e6edf5!important; }
html[data-mimen-theme="dark"] #mimen-footer :is(.mf-contact svg,.mf-contact .mf-contact-link) { color:#ffc425!important; }
html[data-mimen-theme="dark"] #mimen-footer .mf-benefit-icon { background:#ffc425; border-color:#ffc425; }
/* Individual editorial headings that otherwise inherit dark text on a dark page. */
html[data-mimen-theme="dark"] body.page-id-3770 :is(.elementor-element-8e3f449,.elementor-element-1903ed7,.elementor-element-ae45678) .elementor-heading-title,
html[data-mimen-theme="dark"] body.page-id-3772 .elementor-element-f1f7890 .elementor-heading-title { color:#f0f5fa!important; }
html[data-mimen-theme="dark"] body.page-id-3770 :is(.elementor-element-9bb24be,.elementor-element-b4bd308) p,
html[data-mimen-theme="dark"] body.page-id-3772 .elementor-element-20f2fc3 .elementor-heading-title { color:#c5d0db!important; }
html[data-mimen-theme="dark"] body.page-id-3770 .elementor-icon-box-title { color:#344a5b!important; }
html[data-mimen-theme="dark"] body.single-product .digipay-widget-title { color:#e2eaf2!important; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header .mimen-header-search-widget :is(.jet-ajax-search__fields-holder,.jet-ajax-search__field) { background:#f7fafc!important; color:#15263c!important; }
html[data-mimen-theme="light"] .mimen-bf-storefront .mimen-store-header .mimen-header-search-widget .jet-ajax-search__field::placeholder { color:#516779!important; }
