/* Nioja global colour mode. User choice is persisted in localStorage. */
:root{color-scheme:light}
html[data-nioja-theme="dark"]{color-scheme:dark;background:#101318}
html[data-nioja-theme="dark"] body{background:#101318!important;color:#e7eaf0!important}
html[data-nioja-theme="dark"] .lm-h,
html[data-nioja-theme="dark"] .lm-db,
html[data-nioja-theme="dark"] .lm-box,
html[data-nioja-theme="dark"] .lm-menu-dropdown-panel,
html[data-nioja-theme="dark"] .lm-account-panel,
html[data-nioja-theme="dark"] .woocommerce div.product,
html[data-nioja-theme="dark"] .woocommerce-cart .cart-collaterals,
html[data-nioja-theme="dark"] .woocommerce-checkout #order_review,
html[data-nioja-theme="dark"] .woocommerce-checkout #customer_details,
html[data-nioja-theme="dark"] .widget,
html[data-nioja-theme="dark"] .modal-content,
html[data-nioja-theme="dark"] .dropdown-menu{background-color:#191e26!important;color:#e7eaf0!important;border-color:#303846!important}
html[data-nioja-theme="dark"] #page,
html[data-nioja-theme="dark"] #content,
html[data-nioja-theme="dark"] .site,
html[data-nioja-theme="dark"] .site-content,
html[data-nioja-theme="dark"] .site-main,
html[data-nioja-theme="dark"] .content-area,
html[data-nioja-theme="dark"] .nioja-site-main,
html[data-nioja-theme="dark"] .nioja-marketplace-main,
html[data-nioja-theme="dark"] main{background-color:#101318!important;color:#e7eaf0!important}
html[data-nioja-theme="dark"] .lm-s,
html[data-nioja-theme="dark"] .lm-ic,
html[data-nioja-theme="dark"] .lm-item:hover,
html[data-nioja-theme="dark"] .lm-account-panel a:hover{background:#252c36!important;color:#f4f6fa!important}
html[data-nioja-theme="dark"] .lm-s input,
html[data-nioja-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-nioja-theme="dark"] select,
html[data-nioja-theme="dark"] textarea{background:#202732!important;color:#f1f4f8!important;border-color:#3a4554!important}
html[data-nioja-theme="dark"] input::placeholder,
html[data-nioja-theme="dark"] textarea::placeholder{color:#aab4c2!important}
html[data-nioja-theme="dark"] .lm-db a,
html[data-nioja-theme="dark"] .lm-menu-dropdown-panel a,
html[data-nioja-theme="dark"] .lm-account-panel a,
html[data-nioja-theme="dark"] a:not(.button):not(.add_to_cart_button){color:#dce7f5}
html[data-nioja-theme="dark"] .lm-n{border-color:#303846!important}
html[data-nioja-theme="dark"] .lm-n a,
html[data-nioja-theme="dark"] .lm-menu-dropdown-toggle{color:#e7eaf0!important}
html[data-nioja-theme="dark"] .lm-menu-dropdown-panel a:hover{background:#2a3340!important;color:#fff!important}
html[data-nioja-theme="dark"] .lm-account-panel a{color:#e7eaf0!important}
html[data-nioja-theme="dark"] .lm-account-panel .lm-account-signup{background:#00a86b!important;color:#fff!important}
html[data-nioja-theme="dark"] .lm-db a,
html[data-nioja-theme="dark"] .lm-mobile-offers,
html[data-nioja-theme="dark"] .lm-account-panel a{border-color:#303846!important}
html[data-nioja-theme="dark"] .woocommerce ul.products li.product,
html[data-nioja-theme="dark"] .woocommerce-page ul.products li.product,
html[data-nioja-theme="dark"] .product-card,
html[data-nioja-theme="dark"] .product-item,
html[data-nioja-theme="dark"] .luma-mini-card,
html[data-nioja-theme="dark"] .luma-exp-product,
html[data-nioja-theme="dark"] .nioja-card,
html[data-nioja-theme="dark"] .card,
html[data-nioja-theme="dark"] .shop-card,
html[data-nioja-theme="dark"] .seller-card,
html[data-nioja-theme="dark"] .vendor-card{background-color:#191e26!important;color:#e7eaf0!important;border-color:#303846!important}
html[data-nioja-theme="dark"] .woocommerce table.shop_table,
html[data-nioja-theme="dark"] .woocommerce table.shop_table th,
html[data-nioja-theme="dark"] .woocommerce table.shop_table td{background-color:#191e26!important;color:#e7eaf0!important;border-color:#303846!important}
html[data-nioja-theme="dark"] hr,
html[data-nioja-theme="dark"] .divider{border-color:#303846!important}
html[data-nioja-theme="dark"] .lm-home-mode-toggle{filter:brightness(1.2)}
.nioja-theme-toggle{appearance:none!important;border:0!important;cursor:pointer;font-size:17px!important;line-height:1!important;flex:0 0 38px!important;padding:0!important;transition:background .2s ease,transform .2s ease}
.nioja-theme-toggle:focus-visible{outline:2px solid #00a86b!important;outline-offset:2px}
html[data-nioja-theme="dark"] .nioja-theme-toggle{background:#303947!important;color:#fff!important}
@media(max-width:700px){.nioja-theme-toggle{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}}
@media(prefers-reduced-motion:no-preference){html[data-nioja-theme] body{transition:background-color .18s ease,color .18s ease}}

/* v1.4.2141: neutralize theme/component background fills in dark mode and normalize text contrast. */
html[data-nioja-theme="dark"] body,
html[data-nioja-theme="dark"] body *:not(img):not(video):not(canvas):not(svg):not(path){
  color:#e7eaf0!important;
  background-color:transparent!important;
}
html[data-nioja-theme="dark"] body,
html[data-nioja-theme="dark"] #page,
html[data-nioja-theme="dark"] #content,
html[data-nioja-theme="dark"] .site,
html[data-nioja-theme="dark"] .site-content,
html[data-nioja-theme="dark"] main{
  background-color:#101318!important;
  color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-nioja-theme="dark"] select,
html[data-nioja-theme="dark"] textarea{
  background-color:#202732!important;
  color:#f1f4f8!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] input::placeholder,
html[data-nioja-theme="dark"] textarea::placeholder{color:#aab4c2!important;}
html[data-nioja-theme="dark"] button,
html[data-nioja-theme="dark"] .button,
html[data-nioja-theme="dark"] a.button,
html[data-nioja-theme="dark"] .wp-element-button{
  color:#f4f6fa!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] a,
html[data-nioja-theme="dark"] a:visited,
html[data-nioja-theme="dark"] label,
html[data-nioja-theme="dark"] th,
html[data-nioja-theme="dark"] td,
html[data-nioja-theme="dark"] small,
html[data-nioja-theme="dark"] p,
html[data-nioja-theme="dark"] span,
html[data-nioja-theme="dark"] li,
html[data-nioja-theme="dark"] h1,
html[data-nioja-theme="dark"] h2,
html[data-nioja-theme="dark"] h3,
html[data-nioja-theme="dark"] h4,
html[data-nioja-theme="dark"] h5,
html[data-nioja-theme="dark"] h6{color:#e7eaf0!important;}
html[data-nioja-theme="dark"] img,
html[data-nioja-theme="dark"] video,
html[data-nioja-theme="dark"] canvas{background-color:initial!important;}

/* v1.4.2142: Homepage sections and nested components need their own dark surfaces.
   The homepage has explicit light backgrounds in app.css, so override those rules here. */
html[data-nioja-theme="dark"] body.home #luma-home,
html[data-nioja-theme="dark"] body.home .luma-home,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section,
html[data-nioja-theme="dark"] body.home #luma-home .luma-exp-section,
html[data-nioja-theme="dark"] body.home #luma-home .luma-exp-grid-section,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-inspired,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-reels,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section:nth-of-type(odd),
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section:nth-of-type(even),
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-pos-banner {
  background:#191e26!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head h2,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head>a,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-pos-banner h2 {
  background:#252d38!important;
  background-image:none!important;
  color:#f2f5f9!important;
  border-color:#3a4656!important;
}
html[data-nioja-theme="dark"] body.home #luma-home [class*="-card"],
html[data-nioja-theme="dark"] body.home #luma-home [class*="-category"],
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-feature-info,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-info,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-details,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-master-product-info {
  background:#202732!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#354151!important;
}
html[data-nioja-theme="dark"] body.home #luma-home h1,
html[data-nioja-theme="dark"] body.home #luma-home h2,
html[data-nioja-theme="dark"] body.home #luma-home h3,
html[data-nioja-theme="dark"] body.home #luma-home h4,
html[data-nioja-theme="dark"] body.home #luma-home p,
html[data-nioja-theme="dark"] body.home #luma-home span,
html[data-nioja-theme="dark"] body.home #luma-home strong,
html[data-nioja-theme="dark"] body.home #luma-home small,
html[data-nioja-theme="dark"] body.home #luma-home label,
html[data-nioja-theme="dark"] body.home #luma-home a:not(.button) {
  color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head a,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head h2 {
  color:#f4f6fa!important;
}
html[data-nioja-theme="dark"] body.home #luma-home img,
html[data-nioja-theme="dark"] body.home #luma-home video,
html[data-nioja-theme="dark"] body.home #luma-home canvas {
  background:transparent!important;
}

/* v1.4.2143: Dark surfaces for homepage shop cards and Bento product cards. */
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-bento,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-bento-seller,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-coffee-grid,
html[data-nioja-theme="dark"] body.home #luma-home .luma-coffee-mobile-only,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-rail .luma-rsm-shop-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-shop-card-head,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-samples,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-product-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-product,
html[data-nioja-theme="dark"] body.home #luma-home .luma-bento-product-details,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-card-details,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card > a {
  background-color:#202732!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#3a4656!important;
  box-shadow:none!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-link,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-link:visited,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-card a,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card a,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-name,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-name,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-product .nioja-card-title,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-product .nioja-card-title a,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-price,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-price,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-seller-name,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-location,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-city,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card small,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card strong {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-thumbnail,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-image,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-image,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-logo {
  background-color:#171d26!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-visit-shop,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-shop-arrow {
  background-color:#08785d!important;
  color:#fff!important;
  border-color:#08785d!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head h2,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head p,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-section-head a {
  background-color:transparent!important;
  color:#edf1f7!important;
}

/* v1.4.2144: Target the actual homepage card markup and override the
   high-specificity light surfaces emitted by app.css and front-page styles. */
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-bento,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-bento-seller,
html[data-nioja-theme="dark"] body.home #luma-home article.luma-home-product,
html[data-nioja-theme="dark"] body.home #luma-home article.luma-rsm-shop-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-product,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-product-card {
  background:#202732!important;
  background-color:#202732!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-color:#3a4656!important;
  box-shadow:0 5px 18px rgba(0,0,0,.24)!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-bento-product-details,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-info,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-details,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-universal-details,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-card-details,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-shop-card-head,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-samples,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-thumbnail {
  background:#202732!important;
  background-color:#202732!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-color:#3a4656!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-name,
html[data-nioja-theme="dark"] body.home #luma-home .luma-bento-product-details *,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-info *,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-details *,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-card *,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-seller-card *,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-bento-seller * {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-price,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-price,
html[data-nioja-theme="dark"] body.home #luma-home .woocommerce-Price-amount {
  color:#fff!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-visit-shop,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-shop-arrow {
  background:#08785d!important;
  background-color:#08785d!important;
  color:#fff!important;
  border-color:#08785d!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-image,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-image,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-shop-avatar,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-shop-thumbnail {
  background-color:#171d26!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-link,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-product-link:visited {
  background:transparent!important;
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-section,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-local-discovery,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-featured-shops {
  background:#191e26!important;
  background-color:#191e26!important;
  color:#edf1f7!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-head,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-head h2,
html[data-nioja-theme="dark"] body.home #luma-home .luma-rsm-most-viewed-head span,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-featured-shops .luma-home-section-head h2,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-featured-shops .luma-home-section-head p {
  color:#edf1f7!important;
}


/* v1.4.2145: Featured shop title and city rows have their own light gradients
   in front-page.php; override those exact selectors in dark mode. */
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers-rsm-cards .luma-rsm-shop-name,
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers-rsm-cards .luma-rsm-shop-city,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-featured-shops .luma-rsm-shop-name,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-featured-shops .luma-rsm-shop-city {
  background:#252d38!important;
  background-color:#252d38!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-color:#3a4656!important;
  box-shadow:none!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers-rsm-cards .luma-rsm-shop-name:before {
  background:#13a77b!important;
  box-shadow:0 0 0 3px rgba(19,167,123,.18)!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers-rsm-cards .luma-rsm-shop-city:before {
  background:#263d38!important;
  box-shadow:inset 0 0 0 1px #397d68!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .luma-home-sellers-rsm-cards .luma-rsm-shop-city span {
  color:#45d3a5!important;
}


/* v1.4.2148: Full dark-mode coverage for public Seller / Trade Partner storefronts.
   These routes render outside #luma-home and therefore need their own page scope. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page #page,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page #content,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .site-content,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .site-main,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page main,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-home,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-archive {
  background:#101318!important;
  background-color:#101318!important;
  background-image:none!important;
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section-head,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-archive-head,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-empty,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-breadcrumb {
  background:#191e26!important;
  background-color:#191e26!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page article.nioja-product-card,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-rsm-product-details,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-product-details,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .product-details,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .nioja-card-details {
  background:#202732!important;
  background-color:#202732!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-color:#3a4656!important;
  box-shadow:0 4px 14px rgba(0,0,0,.22)!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section h2,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section p,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section a,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card h3,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card h2,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card p,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card span,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card strong,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .woocommerce-Price-amount,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-archive-head *,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-breadcrumb {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-category-actions .luma-mini-view-all {
  background:#08785d!important;color:#fff!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-category-actions .luma-mini-copy-category,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-category-actions .luma-mini-share-category {
  background:#08785d!important;color:#fff!important;border-color:#08785d!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card img,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-mini-img {
  background:#171d26!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-footer {
  background:#191e26!important;color:#edf1f7!important;border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-footer a,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-breadcrumb a {
  color:#55d6ad!important;
}

/* Seller storefront shared Master Head: category menu and product reels. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-category-menu,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-panel,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-heading,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-caption,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-empty {
  background:#202732!important;background-color:#202732!important;background-image:none!important;
  color:#edf1f7!important;border-color:#3a4656!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-category-menu a,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-heading a,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-caption a,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-caption strong,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-home-masterhead-layout .nioja-masterhead-reel-empty * {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section .luma-mini-scroll,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-archive .luma-mini-grid {
  background:transparent!important;background-color:transparent!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-rsm-most-viewed-details,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-rsm-universal-details,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-rsm-product-details {
  background:#202732!important;background-color:#202732!important;color:#edf1f7!important;
}

/* v1.4.2149: Supplier storefront and shared footer dark-mode coverage. */
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) #page,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) #content,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .site-content,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .site-main,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) main,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-storefront,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-mini-home,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-exp-home {
  background:#101318!important;background-color:#101318!important;background-image:none!important;color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-category-index,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-category-section,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-store-section,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .nioja-home-reels {
  background:#191e26!important;background-color:#191e26!important;background-image:none!important;color:#edf1f7!important;border-color:#303846!important;
}
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product .luma-rsm-product-details,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product .product-details,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product .woocommerce-loop-product__title,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-category-chip {
  background:#202732!important;background-color:#202732!important;background-image:none!important;color:#edf1f7!important;border-color:#3a4656!important;
}
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-storefront :where(h1,h2,h3,h4,p,span,strong,small,a,label),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-storefront .woocommerce-Price-amount {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-storefront :where(.luma-supplier-home-view-all,.luma-wholesale-my-shop-button,.button) {
  background:#08785d!important;color:#fff!important;border-color:#08785d!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-site-footer,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .nioja-site-footer,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-footer,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-mini-footer,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-storefront-copyright,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .nioja-storefront-copyright,
html[data-nioja-theme="dark"] body .nioja-site-footer {
  background:#191e26!important;background-color:#191e26!important;background-image:none!important;color:#edf1f7!important;border-color:#303846!important;
}
html[data-nioja-theme="dark"] body .nioja-site-footer :where(p,span,a,strong,small,h1,h2,h3,h4,li),
html[data-nioja-theme="dark"] body .nioja-storefront-copyright :where(*) {
  color:#edf1f7!important;
}

/* v1.4.2150: Seller public storefront uses footer-seller.php and its own footer classes. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page footer.nioja-seller-footer,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) footer.nioja-seller-footer,
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) footer.nioja-seller-footer {
  background:#191e26!important;
  background-color:#191e26!important;
  background-image:none!important;
  color:#edf1f7!important;
  border-top:1px solid #303846!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page footer.nioja-seller-footer :where(div,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-mini-home) footer.nioja-seller-footer :where(div,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) footer.nioja-seller-footer :where(div,p,span,strong,a) {
  color:#edf1f7!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page footer.nioja-seller-footer .nioja-seller-footer__verified,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) footer.nioja-seller-footer .nioja-seller-footer__verified,
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) footer.nioja-seller-footer .nioja-seller-footer__verified {
  background:#173c32!important;color:#72e0b8!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page footer.nioja-seller-footer .nioja-seller-footer__contact,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) footer.nioja-seller-footer .nioja-seller-footer__contact,
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) footer.nioja-seller-footer .nioja-seller-footer__contact {
  background:#08785d!important;color:#fff!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page footer.nioja-seller-footer .nioja-seller-footer__bottom,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) footer.nioja-seller-footer .nioja-seller-footer__bottom,
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) footer.nioja-seller-footer .nioja-seller-footer__bottom {
  border-color:#3a4656!important;color:#cbd5e1!important;
}

/* v1.4.2151: Explicit heading contrast for seller and supplier storefront section headers. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section-head,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-section-head,
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) .luma-mini-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head {
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#f1f5f9!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) .luma-mini-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a) {
  color:#f1f5f9!important;
  -webkit-text-fill-color:#f1f5f9!important;
  opacity:1!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-section-head :where(.luma-mini-view-all,.luma-mini-category-actions a),
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-section-head :where(.luma-mini-view-all,.luma-mini-category-actions a),
html[data-nioja-theme="dark"] body:has(.luma-mini-archive) .luma-mini-section-head :where(.luma-mini-view-all,.luma-mini-category-actions a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head :where(.luma-supplier-view-all,.luma-supplier-home-view-all) {
  color:#55d6ad!important;
  -webkit-text-fill-color:#55d6ad!important;
}

/* v1.4.2152: Correct the actual expanded storefront section heading selectors.
   Seller category headings use .luma-exp-section-head (not .luma-mini-section-head).
   Supplier headings also have inline storefront rules with navy text, so override
   their exact selectors with a higher-specificity dark-mode rule. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-home .luma-exp-section-head,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-home .luma-exp-category-section .luma-exp-section-head,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-section-head,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-section .luma-exp-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-exp-section-head {
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#f1f5f9!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-home .luma-exp-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-exp-section-head :where(h1,h2,h3,h4,h5,h6,p,span,strong,a) {
  color:#f1f5f9!important;
  -webkit-text-fill-color:#f1f5f9!important;
  opacity:1!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-home .luma-exp-section-head>span,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-section-head>span,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head>span,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head>span {
  color:#cbd5e1!important;
  -webkit-text-fill-color:#cbd5e1!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-home .luma-exp-section-head>a,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-section-head>a,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-section-head>a,
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-supplier-home-section-head>a {
  color:#55d6ad!important;
  -webkit-text-fill-color:#55d6ad!important;
}

/* v1.4.2153: Keep transparent product PNGs on a white image canvas in Dark Mode.
   The card information panel remains dark; only the media/image area is white. */
html[data-nioja-theme="dark"] body :where(
  .luma-mini-card-image,
  .luma-mini-img,
  .luma-home-product-media,
  .luma-home-product-image,
  .luma-home-product-image-wrap,
  .luma-home-master-product-image,
  .luma-rsm-most-viewed-image,
  .luma-rsm-product-image,
  .luma-rsm-product-image-wrap,
  .luma-exp-product-img,
  .luma-market-product-image,
  .product-image,
  .product-image-wrap,
  .product-media,
  .product-thumbnail,
  .image-wrap,
  .woocommerce-LoopProduct-link
) {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body :where(
  .luma-mini-card,
  .luma-prod-card,
  .luma-home-product,
  .luma-home-master-product-slide,
  .luma-rsm-most-viewed-product,
  .luma-rsm-product-card,
  .luma-rsm-product,
  .luma-rsm-card,
  .luma-coffee-mobile-card,
  .rel-card,
  .luma-exp-product,
  .luma-market-product,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .products .product,
  .product-card,
  [class*="product-card"]
) :where(
  img,
  .luma-mini-img,
  .luma-home-product-image,
  .luma-home-master-product-image,
  .luma-rsm-most-viewed-image img,
  .luma-exp-product-img,
  .woocommerce-LoopProduct-link img,
  .product-image img,
  .product-thumbnail img,
  .image-wrap img,
  .product-image-wrap img
) {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card :where(.luma-mini-card-image,.luma-mini-img),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product :where(.product-image,.product-image-wrap,.product-media,.product-thumbnail),
html[data-nioja-theme="dark"] body:has(.luma-supplier-storefront) .luma-market-product img,
html[data-nioja-theme="dark"] body .luma-exp-product .luma-exp-product-img {
  background:#fff!important;
  background-color:#fff!important;
}

/* v1.4.2154: Force a white canvas behind transparent product PNGs.
   Target the concrete seller mini-site and expanded storefront markup. The
   image element itself receives the canvas because its parent link also wraps
   the product title and must remain dark. */
html[data-nioja-theme="dark"] body .luma-mini-card .luma-mini-card-link > img,
html[data-nioja-theme="dark"] body .luma-mini-card .luma-mini-card-link > .luma-mini-img,
html[data-nioja-theme="dark"] body .luma-mini-card img.luma-mini-img,
html[data-nioja-theme="dark"] body .luma-exp-product > a:first-child > img,
html[data-nioja-theme="dark"] body .luma-exp-product img.luma-exp-product-img,
html[data-nioja-theme="dark"] body .luma-exp-product-grid .luma-exp-product img,
html[data-nioja-theme="dark"] body .luma-exp-section .luma-exp-product img,
html[data-nioja-theme="dark"] body .luma-own-products-grid .luma-exp-product img,
html[data-nioja-theme="dark"] body .luma-market-product img,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card img,
html[data-nioja-theme="dark"] body .luma-home-product img,
html[data-nioja-theme="dark"] body .luma-rsm-most-viewed-product img {
  background-color:#fff !important;
  background:#fff !important;
  background-image:none !important;
  object-fit:contain !important;
}
html[data-nioja-theme="dark"] body .luma-mini-card .luma-mini-card-link,
html[data-nioja-theme="dark"] body .luma-exp-product > a:first-child,
html[data-nioja-theme="dark"] body .luma-market-product .product-image,
html[data-nioja-theme="dark"] body .luma-market-product .product-image-wrap,
html[data-nioja-theme="dark"] body .luma-market-product .product-media,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image-wrap {
  background-color:transparent !important;
}


/* v1.4.2155: White canvas belongs to the media container, not only the PNG.
   Several card templates render the image as a transparent child of an anchor;
   painting the anchor guarantees the alpha pixels reveal white. Keep title rows dark. */
html[data-nioja-theme="dark"] body .luma-mini-card > .luma-mini-card-link,
html[data-nioja-theme="dark"] body .luma-exp-product > a:first-child,
html[data-nioja-theme="dark"] body .luma-market-product .product-image,
html[data-nioja-theme="dark"] body .luma-market-product .product-image-wrap,
html[data-nioja-theme="dark"] body .luma-market-product .product-media,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image-wrap,
html[data-nioja-theme="dark"] body .luma-home-product .luma-home-product-link,
html[data-nioja-theme="dark"] body .luma-rsm-most-viewed-product .luma-rsm-most-viewed-image,
html[data-nioja-theme="dark"] body .luma-rsm-product-card .luma-rsm-product-image,
html[data-nioja-theme="dark"] body .luma-rsm-product-card .luma-rsm-product-image-wrap {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body .luma-mini-card > .luma-mini-card-link h3,
html[data-nioja-theme="dark"] body .luma-exp-product > a:first-child h3,
html[data-nioja-theme="dark"] body .luma-market-product .product-title,
html[data-nioja-theme="dark"] body .luma-market-product h2,
html[data-nioja-theme="dark"] body .luma-market-product h3,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card h2,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card h3 {
  background:#191e26!important;
  background-color:#191e26!important;
  color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body .luma-mini-card > .luma-mini-card-link > img,
html[data-nioja-theme="dark"] body .luma-exp-product > a:first-child > img,
html[data-nioja-theme="dark"] body .luma-market-product .product-image img,
html[data-nioja-theme="dark"] body .luma-market-product .product-image-wrap img,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image img,
html[data-nioja-theme="dark"] body .luma-supplier-archive-card .product-image-wrap img {
  background:#fff!important;
  background-color:#fff!important;
  object-fit:contain!important;
}

/* v1.4.2156: Single-product gallery needs a light media canvas in Dark Mode.
   The custom Nioja product page uses .sp-gallery/.nioja-sp-gallery-stage,
   which were being reset to transparent by the global dark-mode background rule.
   Keep the gallery media white while the surrounding product page stays dark. */
html[data-nioja-theme="dark"] body.single-product .sp-gallery,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-stage,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-track,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-slide,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-thumb {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-slide img,
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-thumb img {
  background:#fff!important;
  background-color:#fff!important;
  object-fit:contain!important;
}
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-count {
  background:rgba(0,0,0,.68)!important;
  color:#fff!important;
}
html[data-nioja-theme="dark"] body.single-product #nioja-sp-gallery .nioja-sp-gallery-arrow {
  background:rgba(0,0,0,.68)!important;
  color:#fff!important;
}


/* v1.4.2157: Seller storefront product media white canvas.
   The seller storefront has two card renderers: mini cards use .luma-mini-card-link,
   while expanded rails use .luma-exp-product > a:first-child. Earlier storefront
   rules explicitly painted mini-card images dark, so this scoped, later rule wins.
   The product title remains on its own dark panel. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-mini-card-link,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-card .luma-mini-card-link,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page article.luma-exp-product > a:first-child,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) article.luma-exp-product > a:first-child {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-mini-card-link > img,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-card .luma-mini-card-link > img,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page article.luma-exp-product > a:first-child > img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) article.luma-exp-product > a:first-child > img,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page article.luma-exp-product img.luma-exp-product-img {
  display:block!important;
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  object-fit:contain!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-card .luma-mini-card-link > h3,
html[data-nioja-theme="dark"] body:has(.luma-mini-home) .luma-mini-card .luma-mini-card-link > h3,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page article.luma-exp-product > a:first-child > h3,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) article.luma-exp-product > a:first-child > h3 {
  background:#202732!important;
  background-color:#202732!important;
  color:#edf1f7!important;
  -webkit-text-fill-color:#edf1f7!important;
}

/* v1.4.2158: Seller storefront white media canvases across every content section.
   The seller templates contain category rails, mini cards, expanded product rails,
   Bento tiles and own-product grids. Set the canvas on the actual img elements so
   transparent PNG pixels remain light even when parent links/cards are transparent. */
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-mini-card img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-exp-product img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-exp-category-card img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .nioja-seller-third-bento img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-own-products-grid img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-mini-section img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-exp-section img,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .nioja-lumaarc-industry-home-section img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-mini-card img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-product img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-card img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-seller-third-bento img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-own-products-grid img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-section img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-mini-section img {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  object-fit:contain!important;
}
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-exp-category-main,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .nioja-seller-third-bento-image,
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .nioja-seller-third-bento-feature,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-main,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-seller-third-bento-image,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-seller-third-bento-feature {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body.luma-mini-home.luma-exp-home .luma-exp-category-main strong,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-main strong {
  color:#202732!important;
  -webkit-text-fill-color:#202732!important;
}


/* v1.4.2159: Seller storefront category sliders use a light image canvas in Dark Mode.
   Covers the expanded Shop by Category rail and category discovery/mini rails. */
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-category-rail .luma-exp-category-card,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-category-rail .luma-exp-category-main,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-rail .luma-exp-category-card,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-rail .luma-exp-category-main,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-shop-category-discovery-track .nioja-shop-category-discovery-card,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-shop-category-discovery-track .nioja-shop-category-discovery-image,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-shop-category-discovery-track .nioja-shop-category-discovery-card,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-shop-category-discovery-track .nioja-shop-category-discovery-image,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-category-rail .luma-mini-category-card,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-mini-category-rail .luma-mini-category-card {
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-category-rail .luma-exp-category-main img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-rail .luma-exp-category-main img,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .nioja-shop-category-discovery-image img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .nioja-shop-category-discovery-image img,
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-mini-category-rail img,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-mini-category-rail img {
  display:block!important;
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  object-fit:contain!important;
}
html[data-nioja-theme="dark"] body.nioja-seller-storefront-page .luma-exp-category-rail .luma-exp-category-main strong,
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) .luma-exp-category-rail .luma-exp-category-main strong {
  color:#202732!important;
  -webkit-text-fill-color:#202732!important;
}

/* v1.4.2160: Ensure the universal header cart icon remains visible in dark mode. */
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart,
html[data-nioja-theme="dark"] .lm-h a.lumaarc-header-cart,
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart:visited {
  background:#252c36!important;
  color:#f4f6fa!important;
  opacity:1!important;
  visibility:visible!important;
}
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart .lumaarc-cart-icon,
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart svg,
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart svg path,
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart svg circle {
  stroke:#f4f6fa!important;
  color:#f4f6fa!important;
  fill:none!important;
  opacity:1!important;
  visibility:visible!important;
}
html[data-nioja-theme="dark"] .lm-h .lumaarc-header-cart .lm-c {
  background:#ef1111!important;
  color:#fff!important;
  border:1px solid #ff5252!important;
}

/* v1.4.2162: Ensure storefront prices remain legible in Dark Mode.
   Covers Seller storefront renderers and Trade Partner storefront product cards,
   including WooCommerce price spans with inline dark text colours. */
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) :is(
  .luma-mini-card .price, .luma-mini-card .woocommerce-Price-amount,
  .luma-exp-product .price, .luma-exp-product .woocommerce-Price-amount,
  .nioja-seller-third-bento-price, .luma-own-products-grid .price,
  .luma-own-products-grid .woocommerce-Price-amount,
  .luma-mini-product-price, .luma-exp-product-price, .luma-price,
  .price ins, .price del, .price bdi
),
html[data-nioja-theme="dark"] body:has(.nioja-tp-storefront),
html[data-nioja-theme="dark"] body:has(.nioja-tp-storefront) :is(
  .price, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol,
  .luma-mini-product-price, .luma-exp-product-price, .luma-price,
  .nioja-card-price, .product-price, .tp-product-price,
  .price ins, .price del, .price bdi
),
html[data-nioja-theme="dark"] body:has(.nioja-tp-store-content) :is(
  .price, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol,
  .nioja-card-price, .product-price, .tp-product-price,
  .price ins, .price del, .price bdi
) {
  color:#f4f6fa!important;
  -webkit-text-fill-color:#f4f6fa!important;
}
html[data-nioja-theme="dark"] body:has(.nioja-seller-store-content) :is(.price,.luma-mini-card .price,.luma-exp-product .price) ins,
html[data-nioja-theme="dark"] body:has(.nioja-tp-storefront) :is(.price,ins),
html[data-nioja-theme="dark"] body:has(.nioja-tp-store-content) :is(.price,ins) {
  color:#f4f6fa!important;
  text-decoration:none;
}


/* v1.4.2176 — Keep category title panels white in dark mode for consistent contrast. */
html[data-nioja-theme="dark"] body .luma-exp-category-title-panel,
html[data-nioja-theme="dark"] body .luma-exp-category-title-panel strong {
  background-color:#ffffff!important;
  color:#202938!important;
  -webkit-text-fill-color:#202938!important;
}
html[data-nioja-theme="dark"] body .luma-exp-category-title-panel {
  border-top:1px solid #e5e7eb!important;
}


/* v1.4.2191 — Restore a visible button background for Add to Cart in Dark Mode.
   Scope is limited to the single-product purchase form so other WooCommerce buttons
   and seller/storefront actions retain their existing styling. */
html[data-nioja-theme="dark"] body.single-product div.product form.cart button.single_add_to_cart_button,
html[data-nioja-theme="dark"] body.single-product div.product form.cart .single_add_to_cart_button,
html[data-nioja-theme="dark"] body.single-product .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
html[data-nioja-theme="dark"] body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  background: #087b61 !important;
  background-color: #087b61 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #159b7b !important;
  border-radius: 10px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.22) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
html[data-nioja-theme="dark"] body.single-product div.product form.cart button.single_add_to_cart_button:hover,
html[data-nioja-theme="dark"] body.single-product div.product form.cart .single_add_to_cart_button:hover,
html[data-nioja-theme="dark"] body.single-product .woocommerce-variation-add-to-cart button.single_add_to_cart_button:hover,
html[data-nioja-theme="dark"] body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
  background: #09916f !important;
  background-color: #09916f !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html[data-nioja-theme="dark"] body.single-product div.product form.cart button.single_add_to_cart_button:disabled,
html[data-nioja-theme="dark"] body.single-product div.product form.cart .single_add_to_cart_button:disabled,
html[data-nioja-theme="dark"] body.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled {
  background: #46515d !important;
  background-color: #46515d !important;
  color: #e7eaf0 !important;
  -webkit-text-fill-color: #e7eaf0 !important;
  opacity: .75 !important;
}

/* v1.4.2199 — WooCommerce My Account and shared form/page dark-mode audit.
   The account login/register panel was retaining its light-grey surface while
   the global dark-mode text reset made its labels white. Keep form surfaces,
   labels, notices, links and actions coherent across account, cart and checkout. */
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content,
html[data-nioja-theme="dark"] body.woocommerce-account #customer_login,
html[data-nioja-theme="dark"] body.woocommerce-account #customer_login .u-column1,
html[data-nioja-theme="dark"] body.woocommerce-account #customer_login .u-column2,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-login,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-register,
html[data-nioja-theme="dark"] body.woocommerce-account form.login,
html[data-nioja-theme="dark"] body.woocommerce-account form.register,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content > section,
html[data-nioja-theme="dark"] body.woocommerce-cart .woocommerce,
html[data-nioja-theme="dark"] body.woocommerce-cart .cart_totals,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce,
html[data-nioja-theme="dark"] body.woocommerce-checkout form.checkout,
html[data-nioja-theme="dark"] body.woocommerce-checkout #payment,
html[data-nioja-theme="dark"] body.woocommerce-checkout #payment ul.payment_methods,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce-billing-fields,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce-shipping-fields,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce-additional-fields {
  background:#191e26!important;
  background-color:#191e26!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.woocommerce-account #customer_login h2,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content h2,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content h3,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-login label,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-register label,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-LostPassword,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-LostPassword a,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-privacy-policy-text,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-privacy-policy-text a,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content :is(p,li,th,td,label,small,strong,span),
html[data-nioja-theme="dark"] body.woocommerce-cart .woocommerce :is(h1,h2,h3,p,label,th,td,small,strong,span),
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce :is(h1,h2,h3,p,label,th,td,small,strong,span) {
  color:#e7eaf0!important;
  -webkit-text-fill-color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-login input.input-text,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-register input.input-text,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content input,
html[data-nioja-theme="dark"] body.woocommerce-cart .woocommerce input,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce input,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce select,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce textarea {
  background:#202732!important;
  background-color:#202732!important;
  color:#f1f4f8!important;
  -webkit-text-fill-color:#f1f4f8!important;
  border:1px solid #465264!important;
}
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-login button,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-form-register button,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content button,
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content a.button,
html[data-nioja-theme="dark"] body.woocommerce-cart .woocommerce a.button,
html[data-nioja-theme="dark"] body.woocommerce-cart .woocommerce button,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce #place_order,
html[data-nioja-theme="dark"] body.woocommerce-checkout .woocommerce button.button {
  background:#087b61!important;
  background-color:#087b61!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid #159b7b!important;
}
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a {
  color:#e7eaf0!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background:#087b61!important;
  color:#fff!important;
}
html[data-nioja-theme="dark"] body.woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error),
html[data-nioja-theme="dark"] body.woocommerce-page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
  background:#202732!important;
  color:#e7eaf0!important;
  border-top-color:#159b7b!important;
}
html[data-nioja-theme="dark"] body.woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a,
html[data-nioja-theme="dark"] body.woocommerce-page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a {
  color:#75dfbd!important;
}
html[data-nioja-theme="dark"] body :is(.wp-block-group,.wp-block-column,.entry-content) > form:not(.search-form) {
  color:#e7eaf0!important;
}


/* v1.4.2250 — Keep homepage masterhead banner artwork and copy independent of dark mode.
   Dark mode's global descendant reset must not recolour or repaint the banner overlay. */
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-content,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy h2,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy p,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-pill,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row span,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome span {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-content,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy h2,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy p,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-pills,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome-track {
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-cta {
  background:#f28c00!important;
  background-color:#f28c00!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row {
  background:rgba(0,0,0,.28)!important;
  background-color:rgba(0,0,0,.28)!important;
  border-color:rgba(255,255,255,.18)!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon {
  background:transparent!important;
  background-color:transparent!important;
  border-color:rgba(255,255,255,.85)!important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon svg,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row svg {
  color:#fff!important;
  stroke:#fff!important;
  fill:none!important;
}

/* v1.4.2251 — Preserve the exact light-mode Masterhead category treatment in dark mode.
   The broad dark-mode reset and the generic [class*="-category"] rules must not
   recolour the hero's own category pills, icon medallions, or banner copy. */
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-slide,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-slide.is-active,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-bg,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-picture {
  background-color: transparent !important;
  background-image: none !important;
  filter: none !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-content,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy h2,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy p,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-copy > *,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-banner-welcome span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-pills {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout a.nioja-hero-category-pill,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout a.nioja-hero-category-pill:visited,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout a.nioja-hero-category-pill:hover {
  background: rgba(255,255,255,.12) !important;
  background-color: rgba(255,255,255,.12) !important;
  background-image: none !important;
  border: 1px solid rgba(255,209,102,.42) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-pill > span:not(.nioja-hero-category-icon) {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon {
  background: rgba(244,189,79,.18) !important;
  background-color: rgba(244,189,79,.18) !important;
  background-image: none !important;
  border: 1px solid #ffd166 !important;
  color: #ffe09a !important;
  -webkit-text-fill-color: #ffe09a !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
  filter: none !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon svg,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon svg path,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon svg rect,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-category-icon svg circle {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffe09a !important;
  stroke: #ffe09a !important;
  fill: none !important;
  -webkit-text-fill-color: #ffe09a !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row {
  background: rgba(0,0,0,.28) !important;
  background-color: rgba(0,0,0,.28) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: #f4f7fa !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row span,
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row span svg {
  color: #f4f7fa !important;
  -webkit-text-fill-color: #f4f7fa !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row span svg {
  stroke: #55d6c2 !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .nioja-hero-trust-row i {
  background: #f4bd4f !important;
  background-color: #f4bd4f !important;
}
html[data-nioja-theme="dark"] body.home #luma-home .nioja-home-masterhead-layout .luma-home-banner-cta {
  background: #f28c00 !important;
  background-color: #f28c00 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* v1.4.2252 — Dark-mode surfaces for all three Nioja checkout steps.
   Checkout uses a custom three-step form; restore explicit surfaces after the
   global transparent-background reset so every step has consistent contrast. */
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-checkout-card,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-card,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-summary-card,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-checkout-section,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-order-first,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-payment-area,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #customer_details,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #order_review,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #payment,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #payment ul.payment_methods,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-delivery-products-rail,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-delivery-product-card,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-summary-item,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-summary-note,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #nioja-shipping-methods,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #nioja-shipping-methods .nioja-shipping-group {
  background:#191e26!important;
  background-color:#191e26!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
  box-shadow:none!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page :is(
  h1,h2,h3,h4,p,label,small,strong,span,li,th,td,dt,dd,
  .lumaarc-summary-math,.lumaarc-summary-note-detail,
  .lumaarc-checkout-protected,.lumaarc-checkout-lock,
  .lumaarc-step-title,.lumaarc-side-title,.woocommerce-Price-amount
) {
  color:#e7eaf0!important;
  -webkit-text-fill-color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page :is(
  input:not([type="checkbox"]):not([type="radio"]),select,textarea,
  .select2-selection,.select2-selection__rendered
) {
  background:#202732!important;
  background-color:#202732!important;
  color:#f1f4f8!important;
  -webkit-text-fill-color:#f1f4f8!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page input::placeholder,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page textarea::placeholder {
  color:#aab4c2!important;
  -webkit-text-fill-color:#aab4c2!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-progress .nioja-book-step {
  background:#202732!important;
  background-color:#202732!important;
  color:#dce4ee!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-progress .nioja-book-step.is-active,
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-progress .nioja-book-step.is-complete {
  background:#173b30!important;
  background-color:#173b30!important;
  color:#c8f3df!important;
  border-color:#16834b!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-progress .nioja-book-number {
  background:#354151!important;
  color:#f1f4f8!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-nav {
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout #nioja-checkout-book-nav .nioja-book-btn:not(.nioja-book-btn-primary) {
  background:#252e3a!important;
  background-color:#252e3a!important;
  color:#f1f4f8!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-delivery-product-card .lumaarc-cart-card-image,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-summary-thumb {
  background:#252e3a!important;
  background-color:#252e3a!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-checkout-review-order-table,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-checkout-review-order-table tr,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-checkout-review-order-table th,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-checkout-review-order-table td {
  background:#191e26!important;
  background-color:#191e26!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-terms-and-conditions,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-privacy-policy-text,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-info,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-message,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .woocommerce-error {
  background:#202732!important;
  background-color:#202732!important;
  color:#e7eaf0!important;
  border-color:#465264!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page button,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page a.button,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page #place_order {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* v1.4.2253 — Close remaining white checkout heading and page-three surfaces.
   The checkout step headings have their own light gradient with !important in
   style.css, and page three receives moved WooCommerce content after the first
   dark-mode surface pass. Override those exact structures. */
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-title,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-card > .lumaarc-step-title,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 > .lumaarc-step-title {
  background:#202732!important;
  background-color:#202732!important;
  background-image:none!important;
  border-color:#303846!important;
  color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-title h2,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-title p {
  color:#e7eaf0!important;
  -webkit-text-fill-color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .lumaarc-step-title > span {
  background:#354151!important;
  background-color:#354151!important;
  color:#f1f4f8!important;
  -webkit-text-fill-color:#f1f4f8!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content > *,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-checkout-payment,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .payment_box,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-terms-and-conditions-wrapper,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-privacy-policy-text {
  background:#191e26!important;
  background-color:#191e26!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
  box-shadow:none!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content :is(h1,h2,h3,h4,p,label,small,strong,span,li,a,div) {
  color:#e7eaf0!important;
  -webkit-text-fill-color:#e7eaf0!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content :is(input,select,textarea,.select2-selection) {
  background:#202732!important;
  background-color:#202732!important;
  color:#f1f4f8!important;
  -webkit-text-fill-color:#f1f4f8!important;
  border-color:#465264!important;
}

/* v1.4.2254 — Deep surface coverage for the two remaining Page 3 payment panels.
   WooCommerce gateways inject nested wrappers after the page-three heading;
   style those actual descendants, not only the outer payment container. */
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #order_review,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_methods,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_methods > li,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_methods > li > label,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_box,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_box :is(div,p,fieldset,ul,li),
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-terms-and-conditions-wrapper,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-terms-and-conditions-wrapper :is(div,p,label),
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-privacy-policy-text,
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content .woocommerce-privacy-policy-text :is(div,p) {
  background-color:#191e26!important;
  background-image:none!important;
  color:#e7eaf0!important;
  border-color:#303846!important;
  box-shadow:none!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment .payment_methods > li:has(input[type="radio"]:checked) {
  background-color:#202b35!important;
  border-color:#16834b!important;
}
html[data-nioja-theme="dark"] body.woocommerce-checkout .lumaarc-checkout-page .nioja-book-page3 .nioja-book-page3-content #payment :is(input,select,textarea,button) {
  color:#f1f4f8!important;
}
