/* Custom styles scoped to the Luskincare front-end. The existing dark theme remains unmodified. */
:root { --lus-accent:#10b981; --lus-accent-rgb:16,185,129; }
:root[data-lus-accent="blue"] {--lus-accent:#3b82f6;--lus-accent-rgb:59,130,246}
:root[data-lus-accent="violet"] {--lus-accent:#8b5cf6;--lus-accent-rgb:139,92,246}
:root[data-lus-accent="amber"] {--lus-accent:#f59e0b;--lus-accent-rgb:245,158,11}
:root[data-lus-accent="rose"] {--lus-accent:#f43f5e;--lus-accent-rgb:244,63,94}
:root[data-lus-accent="cyan"] {--lus-accent:#06b6d4;--lus-accent-rgb:6,182,212}
:root[data-lus-effective="light"]{color-scheme:light;--lus-surface:#ffffff;--lus-foreground:#17212c;--lus-panel:#ffffff;--lus-outline:#d8dee4;--lus-muted:#5d6875;--ast-global-color-0:var(--lus-accent)}
:root[data-lus-effective="dark"]{color-scheme:dark;--lus-panel:#1b222c;--lus-outline:#46505c;--lus-muted:#b7c0ca;--lus-foreground:#f5f7fa;--ast-global-color-0:var(--lus-accent)}
:root[data-lus-effective="lus"]{color-scheme:dark;--lus-surface:#000000;--lus-panel:#090909;--lus-outline:#353535;--lus-muted:#aab0b5;--lus-foreground:#f5f5f5;--ast-global-color-0:var(--lus-accent)}
:root[data-lus-effective="light"] body, :root[data-lus-effective="light"] .site, :root[data-lus-effective="light"] .site-content, :root[data-lus-effective="light"] .ast-container, :root[data-lus-effective="light"] .site-header, :root[data-lus-effective="light"] .site-footer {background-color:#fff;color:#17212c}
:root[data-lus-effective="light"] .entry-title, :root[data-lus-effective="light"] .entry-content, :root[data-lus-effective="light"] .site-title a {color:#17212c}
:root[data-lus-effective="lus"],:root[data-lus-effective="lus"] body,:root[data-lus-effective="lus"] .site,:root[data-lus-effective="lus"] .site-content,:root[data-lus-effective="lus"] .ast-container,:root[data-lus-effective="lus"] .site-header,:root[data-lus-effective="lus"] .site-footer,:root[data-lus-effective="lus"] .ast-primary-header-bar {background-color:#000!important;color:#f5f5f5}
:root[data-lus-effective="lus"] .site-content a:not(.button):not(.wp-element-button),:root[data-lus-effective="light"] .site-content a:not(.button):not(.wp-element-button){color:var(--lus-accent)}
:root[data-lus-effective="lus"] .entry-content,:root[data-lus-effective="lus"] .entry-title,:root[data-lus-effective="lus"] h1,:root[data-lus-effective="lus"] h2,:root[data-lus-effective="lus"] h3,:root[data-lus-effective="lus"] .site-title a{color:#f7f7f7}
:root[data-lus-effective="lus"] .woocommerce ul.products li.product,:root[data-lus-effective="lus"] .woocommerce div.product,:root[data-lus-effective="lus"] .woocommerce-page .site-content {background-color:#000;color:#f5f5f5}
:root[data-lus-effective="lus"] input,:root[data-lus-effective="lus"] select,:root[data-lus-effective="lus"] textarea{background:#101010;color:white;border-color:#444}
/* Avoid overriding the brand's existing dark look; only recolor accents where theme values are exposed. */
.lus-ui-root{position:fixed;right:16px;top:16px;z-index:2147481000;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--lus-foreground,#f5f7fa);line-height:1.45}
.admin-bar .lus-ui-root{top:48px}
.lus-ui-launcher{appearance:none;background:var(--lus-panel,#1b222c);color:var(--lus-foreground,#f5f7fa);border:1px solid var(--lus-outline,#46505c);padding:9px 14px;border-radius:50px;box-shadow:0 5px 24px rgba(0,0,0,.22);font:600 13px/1.2 system-ui;display:flex;gap:7px;align-items:center;cursor:pointer}
.lus-ui-launcher:focus-visible,.lus-ui-root button:focus-visible{outline:3px solid var(--lus-accent);outline-offset:2px}
.lus-ui-launcher-icon{font-size:18px;line-height:1}.lus-ui-panel{width:min(350px,calc(100vw - 30px));margin-top:10px;background:var(--lus-panel,#1b222c);color:var(--lus-foreground,#f5f7fa);border:1px solid var(--lus-outline,#46505c);border-radius:16px;padding:18px;box-shadow:0 16px 55px rgba(0,0,0,.3)}
.lus-ui-panel[hidden]{display:none!important}.lus-ui-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.lus-ui-panel-head strong{font:700 17px/1.3 system-ui}.lus-ui-close{background:none!important;border:0!important;color:inherit!important;font-size:28px;cursor:pointer;padding:0 4px;line-height:1}
.lus-ui-fieldset{border:0!important;margin:0 0 18px!important;padding:0!important;min-width:0}.lus-ui-fieldset legend{font:600 13px/1.3 system-ui!important;color:inherit!important;margin-bottom:8px!important}.lus-ui-modes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.lus-ui-modes button{border:1px solid var(--lus-outline,#46505c)!important;border-radius:7px!important;background:transparent!important;color:inherit!important;font:600 12px/1.2 system-ui!important;padding:10px 3px!important;min-width:0;cursor:pointer}.lus-ui-modes button[aria-pressed="true"]{border-color:var(--lus-accent)!important;box-shadow:inset 0 0 0 1px var(--lus-accent);color:var(--lus-accent)!important}
.lus-ui-swatches{display:flex;justify-content:space-between;gap:10px}.lus-ui-swatches button{background:var(--swatch)!important;width:31px;height:31px;padding:0!important;border-radius:50%!important;border:2px solid transparent!important;cursor:pointer}.lus-ui-swatches button[aria-pressed="true"]{outline:2px solid var(--lus-foreground);outline-offset:3px}.lus-ui-note{margin:4px 0 0;font:12px/1.4 system-ui;color:var(--lus-muted,#b7c0ca)}
@media(max-width:480px){.lus-ui-root{top:12px;right:10px}.admin-bar .lus-ui-root{top:56px}.lus-ui-label{display:none}.lus-ui-launcher{padding:9px 12px}.lus-ui-panel{max-height:75vh;overflow-y:auto}}

/* v1.0.1 — protect the floating controller from theme/plugin resets. */
html body #lus-ui-root.lus-ui-root {
  display:block!important; visibility:visible!important; opacity:1!important;
  position:fixed!important; inset:16px 16px auto auto!important;
  z-index:2147483646!important; width:max-content!important; max-width:calc(100vw - 32px)!important;
  height:auto!important; overflow:visible!important; transform:none!important; isolation:isolate!important;
  pointer-events:auto!important; text-align:left!important;
}
html body.admin-bar #lus-ui-root.lus-ui-root {top:50px!important}
html body #lus-ui-root .lus-ui-launcher {display:flex!important;visibility:visible!important;opacity:1!important; pointer-events:auto!important}
html body #lus-ui-root .lus-ui-panel:not([hidden]) {display:block!important;visibility:visible!important;opacity:1!important}
html body #lus-ui-root .lus-ui-panel[hidden] {display:none!important}
@media(max-width:480px){html body #lus-ui-root.lus-ui-root{top:12px!important;right:10px!important;left:auto!important;bottom:auto!important}html body.admin-bar #lus-ui-root.lus-ui-root{top:58px!important}}

/* v1.0.2 — consistent storefront color system for Astra / WooCommerce / Spectra. */
/* Normalized tokens. Existing dark mode intentionally retains its original site styling. */
:root[data-lus-effective="light"] {
  --lus-page:#fff; --lus-card:#f8fafb; --lus-card-strong:#fff;
  --lus-text:#18232e; --lus-secondary:#546373; --lus-border:#d6dfe5;
  --lus-input:#fff; --lus-shadow:0 6px 26px rgba(13,30,47,.08);
  --ast-global-color-2:#18232e; --ast-global-color-3:#546373;
  --ast-global-color-4:#fff; --ast-global-color-5:#fff;
  --ast-global-color-6:#f8fafb; --ast-global-color-7:#eff4f6;
  --ast-global-color-8:#18232e;
}
:root[data-lus-effective="lus"] {
  --lus-page:#000; --lus-card:#080808; --lus-card-strong:#101010;
  --lus-text:#f5f5f5; --lus-secondary:#b8c0c6; --lus-border:#353535;
  --lus-input:#101010; --lus-shadow:none;
  --ast-global-color-2:#f5f5f5; --ast-global-color-3:#b8c0c6;
  --ast-global-color-4:#000; --ast-global-color-5:#000;
  --ast-global-color-6:#080808; --ast-global-color-7:#141414;
  --ast-global-color-8:#f5f5f5;
}
/* Restrict global recoloring to LIGHT and LUS. This does not affect images, video, canvas, SVG fills or product photography. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) {
  background:var(--lus-page)!important; color:var(--lus-text)!important;
  color-scheme:light;
}
:root[data-lus-effective="lus"] {color-scheme:dark;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  body, #page, .site, .site-content, #content, .content-area, #primary, #main,
  .ast-container, .ast-container-fluid, .ast-separate-container, .ast-plain-container,
  .site-header, .site-footer, .ast-above-header-wrap, .ast-below-header-wrap,
  .ast-primary-header-bar, .ast-above-header-bar, .ast-below-header-bar,
  .main-header-bar, .ast-mobile-header-wrap, .ast-builder-menu-mobile,
  .ast-mobile-popup-drawer .ast-mobile-popup-inner, .ast-mobile-popup-drawer .ast-mobile-popup-content,
  .site-primary-footer-wrap, .site-above-footer-wrap, .site-below-footer-wrap,
  .ast-footer-overlay, .entry-content, .ast-article-single, .ast-article-post,
  .wp-site-blocks, .wp-block-group.has-background, .wp-block-cover__inner-container,
  .uagb-container-inner-blocks-wrap, .uagb-section__inner-wrap
) {background-color:var(--lus-page)!important; color:var(--lus-text)!important;}
/* Store components and surfaces. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
  .woocommerce div.product, .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .woocommerce-tabs .panel,
  .woocommerce .cart-collaterals, .woocommerce .cart_totals, .woocommerce .cross-sells,
  .woocommerce .woocommerce-cart-form, .woocommerce .woocommerce-checkout,
  .woocommerce .woocommerce-MyAccount-navigation, .woocommerce .woocommerce-MyAccount-content,
  .woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon,
  .woocommerce form.woocommerce-form, .woocommerce .woocommerce-info,
  .woocommerce .woocommerce-message, .woocommerce .woocommerce-error,
  .widget, .widget-area .widget, .sidebar-main .widget,
  .wp-block-latest-posts__list li, .wp-block-query .wp-block-post,
  .wp-block-columns > .wp-block-column, .uagb-infobox__content-wrap,
  .uagb-post__inner-wrap, .uagb-post-grid .uagb-post__inner-wrap,
  .uagb-container-inner-blocks-wrap .uagb-container-inner-blocks-wrap,
  .ast-search-box, .ast-search-menu-icon .search-form
) {background-color:var(--lus-card)!important;color:var(--lus-text)!important;border-color:var(--lus-border)!important;}
/* Typography and common text. Do not change text on colored buttons or custom graphics. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  body, p, li, dt, dd, label, legend, figcaption,
  h1,h2,h3,h4,h5,h6, .entry-title, .entry-header .entry-title,
  .woocommerce div.product .product_title, .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .woocommerce-product-details__short-description,
  .woocommerce div.product .woocommerce-tabs .panel,
  .woocommerce table.shop_table th, .woocommerce table.shop_table td,
  .woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-Price-amount, .woocommerce-MyAccount-navigation-link,
  .site-title, .site-title a, .site-description, .ast-site-title-wrap,
  .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu .main-navigation > ul > li > a,
  .ast-header-navigation-arrow, .ast-mobile-menu-trigger-minimal,
  .wp-block-heading, .wp-block-paragraph
) {color:var(--lus-text)!important;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .woocommerce-product-details__short-description small,
  .woocommerce .woocommerce-breadcrumb a, .ast-post-meta,
  .woocommerce .product_meta, .woocommerce .product_meta a,
  .woocommerce ul.products li.product .price del,
  .wp-block-post-date, .ast-excerpt-container,
  .woocommerce .woocommerce-product-rating
) {color:var(--lus-secondary)!important;}
/* All transparent / default links use selected accent without touching white button labels. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .entry-content a:not(.button):not(.wp-element-button),
  .widget a:not(.button), .woocommerce .product_meta a,
  .woocommerce .woocommerce-breadcrumb a,
  .woocommerce-MyAccount-navigation a
) {color:var(--lus-accent)!important;}
/* Inputs, dropdowns, WordPress and WooCommerce forms. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  input:not([type="checkbox"]):not([type="radio"]), textarea, select,
  .woocommerce input.input-text, .woocommerce textarea,
  .select2-container--default .select2-selection--single,
  .select2-container--default .select2-selection--multiple,
  .select2-dropdown, .select2-search__field,
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .wp-block-search__input, .search-field
) {background:var(--lus-input)!important;color:var(--lus-text)!important;border-color:var(--lus-border)!important;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) input::placeholder,
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) textarea::placeholder {color:var(--lus-secondary)!important;opacity:1;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  table, thead, tbody, tfoot, tr, th, td,
  .woocommerce table.shop_table, .woocommerce table.shop_table_responsive,
  .woocommerce div.product .woocommerce-tabs ul.tabs li,
  .woocommerce .quantity .qty, .woocommerce-pagination,
  .ast-header-break-point .main-header-menu
) {border-color:var(--lus-border)!important;color:var(--lus-text)!important;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .woocommerce table.shop_table, .woocommerce div.product .woocommerce-tabs ul.tabs,
  .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-page .woocommerce-info,
  .woocommerce-page .woocommerce-message,
  .ast-header-break-point .main-navigation .main-header-menu,
  .sub-menu, .main-header-menu .sub-menu
) {background:var(--lus-card)!important;}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .woocommerce a.button, .woocommerce button.button,
  .woocommerce input.button, .woocommerce #respond input#submit,
  .woocommerce a.button.alt, .woocommerce button.button.alt,
  .ast-button, .button, .wp-block-button__link,
  button[type="submit"], input[type="submit"]
):not(.lus-ui-launcher):not([data-lus-mode]):not([data-lus-color]) {
  background-color:var(--lus-accent)!important;border-color:var(--lus-accent)!important;
  color:#fff!important;
}
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .woocommerce a.button, .woocommerce button.button,
  .woocommerce input.button, .ast-button, .wp-block-button__link
):focus-visible {outline:2px solid var(--lus-accent)!important;outline-offset:2px;}
/* Astra mobile navigation / search icons and offcanvas backdrops. */
:root:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
  .ast-mobile-popup-drawer .ast-mobile-popup-inner,
  .ast-mobile-popup-drawer .ast-mobile-popup-content,
  .ast-mobile-header-content, .ast-desktop-header-content,
  .ast-header-search, .ast-builder-layout-element
) {color:var(--lus-text)!important;}
/* The appearance widget is independent and never inherits store form/button styling. */
html body #lus-ui-root.lus-ui-root {color:var(--lus-foreground,#f5f7fa)!important;}
html body #lus-ui-root .lus-ui-panel {background:var(--lus-panel,#1b222c)!important;color:var(--lus-foreground,#f5f7fa)!important;}
html body #lus-ui-root .lus-ui-modes button {background:transparent!important;color:inherit!important;}
html body #lus-ui-root .lus-ui-modes button[aria-pressed="true"] {color:var(--lus-accent)!important;}
/* Override browser-level previous dark-mode invert effects where inherited. */
:root[data-lus-effective="light"] :is(body,#page,.site),
:root[data-lus-effective="lus"] :is(body,#page,.site) {filter:none!important;backdrop-filter:none!important;}


/* LUS v1.0.3: Full-site Astra / Spectra / WooCommerce theme surfaces.
   Scoped to the selected effective LIGHT or LUS mode; never edits product media. */
:root[data-lus-effective="light"] {
 --lus-page:#ffffff; --lus-card:#f5f7f8; --lus-card-strong:#ffffff;
 --lus-text:#18232e; --lus-secondary:#566574; --lus-border:#d4dee5;
 --ast-global-color-0:var(--lus-accent); --ast-global-color-1:var(--lus-accent);
 --ast-global-color-2:var(--lus-text); --ast-global-color-3:var(--lus-secondary);
 --ast-global-color-4:var(--lus-page); --ast-global-color-5:var(--lus-page);
 --ast-global-color-6:var(--lus-card); --ast-global-color-7:#ecf1f4;
 --ast-global-color-8:var(--lus-text);
 --wp--preset--color--ast-global-color-0:var(--lus-accent);
 --wp--preset--color--ast-global-color-2:var(--lus-text);
 --wp--preset--color--ast-global-color-4:var(--lus-page);
}
:root[data-lus-effective="lus"] {
 --lus-page:#000000; --lus-card:#090909; --lus-card-strong:#101010;
 --lus-text:#f6f6f6; --lus-secondary:#b6bdc5; --lus-border:#303030;
 --ast-global-color-0:var(--lus-accent); --ast-global-color-1:var(--lus-accent);
 --ast-global-color-2:var(--lus-text); --ast-global-color-3:var(--lus-secondary);
 --ast-global-color-4:var(--lus-page); --ast-global-color-5:var(--lus-page);
 --ast-global-color-6:var(--lus-card); --ast-global-color-7:#111111;
 --ast-global-color-8:var(--lus-text);
 --wp--preset--color--ast-global-color-0:var(--lus-accent);
 --wp--preset--color--ast-global-color-2:var(--lus-text);
 --wp--preset--color--ast-global-color-4:var(--lus-page);
}
/* High-level surfaces and section builders, including preset-colored blocks. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 body, body.ast-separate-container, body.ast-plain-container, #page, #content, #primary, #secondary,
 .site, .site-content, .ast-container, .ast-container-fluid, .content-area,
 .entry-content, .entry-content-wrap, .site-main, main, article,
 .site-header, header.site-header, .main-header-bar-wrap, .main-header-bar,
 .ast-primary-header-bar, .ast-above-header-bar, .ast-below-header-bar,
 .site-footer, footer.site-footer, .ast-builder-footer-grid-columns,
 .site-primary-footer-wrap, .site-below-footer-wrap, .site-above-footer-wrap,
 .ast-footer-overlay, .ast-footer-copyright,
 .wp-site-blocks, .wp-block-group, .wp-block-cover:not(.has-background-dim),
 .wp-block-columns, .wp-block-column, .wp-block-media-text,
 .wp-block-query, .wp-block-post, .wp-block-post-template,
 .uagb-section__wrap, .uagb-section__inner-wrap,
 .uagb-container-inner-blocks-wrap, .wp-block-uagb-container,
 .wp-block-uagb-section, .wp-block-uagb-advanced-heading,
 .spectra-container, .spectra-image-gallery,
 .ast-archive-description, .ast-woocommerce-container,
 .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single,
 .ast-separate-container .comment-respond, .ast-separate-container .comments-area,
 .woocommerce-page .site-content, .woocommerce-page .content-area,
 .woocommerce div.product div.summary, .woocommerce div.product .woocommerce-tabs,
 .woocommerce-account .woocommerce, .woocommerce-cart .woocommerce,
 .woocommerce-checkout .woocommerce, .woocommerce-order-received .woocommerce
 ) { background-color:var(--lus-page)!important; color:var(--lus-text)!important; }
/* Sections and cards that should be a slightly contrasted surface. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .wp-block-uagb-info-box, .wp-block-uagb-post-grid,
 .uagb-infobox__content-wrap, .uagb-post__inner-wrap, .uagb-post-grid .uagb-post__inner-wrap,
 .wp-block-uagb-buttons, .wp-block-uagb-tabs, .uagb-tabs__wrap,
 .wp-block-uagb-accordion, .uagb-accordion__wrap, .uagb-accordion__content,
 .ast-article-inner, .ast-archive-post, .ast-card, .ast-card__content,
 .woocommerce ul.products li.product, .woocommerce div.product .woocommerce-tabs .panel,
 .woocommerce .cart_totals, .woocommerce .woocommerce-MyAccount-navigation,
 .woocommerce .woocommerce-MyAccount-content, .woocommerce form.login,
 .woocommerce form.register, .woocommerce form.checkout_coupon,
 .widget, .sidebar-main .widget, .wp-block-latest-posts li,
 .wp-block-search__inside-wrapper, .wp-block-details, .wp-block-table,
 .ast-search-box, .ast-search-menu-icon .search-form
 ) {background-color:var(--lus-card)!important; color:var(--lus-text)!important; border-color:var(--lus-border)!important;}
/* Astra/Spectra background presets and inline Gutenberg background colors (but not image-based hero sections). */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .has-background:not(.has-background-image):not(.has-background-dim),
 .has-ast-global-color-4-background-color, .has-ast-global-color-5-background-color,
 .has-ast-global-color-6-background-color, .has-ast-global-color-7-background-color,
 .uagb-block-background, .uagb-background-color, .ast-builder-grid-row-container,
 .ast-mobile-header-content, .ast-desktop-header-content,
 .ast-mobile-popup-content, .ast-mobile-popup-inner, .sub-menu,
 .ast-builder-menu-mobile .main-header-menu,
 .woocommerce .woocommerce-info, .woocommerce .woocommerce-message,
 .woocommerce .woocommerce-error, .woocommerce table.shop_table
 ) {background-color:var(--lus-card)!important;color:var(--lus-text)!important;border-color:var(--lus-border)!important;}
/* Text in nested paragraphs and widgets. Exclude graphical elements and preserved brand text-on-image. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .entry-content p, .entry-content li, .entry-content span:not(.amount):not(.screen-reader-text),
 .site-content p, .site-content li, .site-content h1, .site-content h2,
 .site-content h3, .site-content h4, .site-content h5, .site-content h6,
 .uagb-heading-text, .uagb-desc-text, .uagb-ifb-title, .uagb-ifb-desc,
 .wp-block-post-title, .wp-block-post-excerpt, .wp-block-query-title,
 .site-footer p, .site-footer li, .site-footer h2, .site-footer h3,
 .ast-builder-menu .menu-link, .woocommerce .woocommerce-breadcrumb,
 .woocommerce .woocommerce-Price-amount, .woocommerce-MyAccount-content p
 ) {color:var(--lus-text)!important;}
/* Navigation/interactive and form controls */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .main-navigation, .main-header-menu, .ast-nav-menu, .ast-mobile-popup-drawer,
 .ast-mobile-popup-drawer .ast-mobile-popup-inner, .ast-header-search, .ast-builder-header-search,
 .ast-header-search .search-form, .ast-header-search .search-field,
 .woocommerce select, .woocommerce input.input-text, .woocommerce textarea,
 .wp-block-search__input, input[type=text], input[type=email], input[type=search],
 input[type=password], input[type=number], textarea, select
 ) {border-color:var(--lus-border)!important; color:var(--lus-text)!important;}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .ast-header-search .search-form, .ast-header-search .search-field,
 .woocommerce select, .woocommerce input.input-text, .woocommerce textarea,
 .wp-block-search__input, input[type=text], input[type=email], input[type=search],
 input[type=password], input[type=number], textarea, select
 ) {background-color:var(--lus-card-strong)!important;}
/* SVG product logos, images, videos, embeds and pseudo-elements deliberately unaltered. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .wp-block-button__link, .woocommerce a.button, .woocommerce button.button,
 .woocommerce input.button, button[type=submit], input[type=submit]
 ):not([data-lus-mode]):not([data-lus-color]):not(.lus-ui-launcher) {
 background-color:var(--lus-accent)!important; border-color:var(--lus-accent)!important; color:#fff!important;
}
/* Link contrast on cards and menus */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .entry-content a:not(.button):not(.wp-block-button__link),
 .site-footer a:not(.button), .woocommerce .product_meta a,
 .woocommerce-MyAccount-navigation a, .widget a:not(.button)
 ) {color:var(--lus-accent)!important;}
/* Avoid dark overlays left behind by old theme layer (not over image heroes). */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 body, .site, .site-content, .ast-container, .entry-content, .site-footer
 ) {filter:none!important;}
@media (prefers-reduced-motion:reduce) {
 html:is([data-lus-effective="light"],[data-lus-effective="lus"]) * {transition-duration:0s!important;animation-duration:0s!important;}
}


/* v1.0.4 — SITE-WIDE MODE COVERAGE. Do not affect image or video pixels. */
html[data-lus-effective="light"] {
 --lus-page:#ffffff;--lus-card:#f5f7fa;--lus-card-strong:#edf1f5;--lus-text:#17212c;
 --lus-secondary:#465466;--lus-border:#d6dfe5;--lus-link:var(--lus-accent);
 --ast-global-color-2:#17212c;--ast-global-color-3:#465466;
 --ast-global-color-4:#fff;--ast-global-color-5:#f5f7fa;
 --ast-global-color-6:#edf1f5;--ast-global-color-7:#d6dfe5;
 --wp--preset--color--ast-global-color-4:#ffffff;
 --wp--preset--color--ast-global-color-5:#f5f7fa;
 --ast-body-bg-color:#ffffff;
}
html[data-lus-effective="lus"] {
 --lus-page:#000000;--lus-card:#0d0d0d;--lus-card-strong:#171717;--lus-text:#f5f5f5;
 --lus-secondary:#b5b5b5;--lus-border:#303030;--lus-link:var(--lus-accent);
 --ast-global-color-2:#f5f5f5;--ast-global-color-3:#b5b5b5;
 --ast-global-color-4:#000000;--ast-global-color-5:#0d0d0d;
 --ast-global-color-6:#171717;--ast-global-color-7:#303030;
 --wp--preset--color--ast-global-color-4:#000000;
 --wp--preset--color--ast-global-color-5:#0d0d0d;
 --ast-body-bg-color:#000000;
}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) {
 background-color:var(--lus-page)!important; color:var(--lus-text)!important;
}
/* Include ALL structural page zones: Astra, WooCommerce, WP and builders. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 body, #page, #content, #primary, #secondary, #main,
 main, .site, .site-main, .site-content, .content-area,
 .ast-container, .ast-container-fluid, .ast-row, .ast-grid-common,
 .ast-separate-container .ast-article-single,
 .ast-separate-container .ast-article-post,
 .ast-archive-description, .ast-woocommerce-container,
 .site-header, .site-footer, .main-header-bar, .ast-primary-header-bar,
 .site-primary-footer-wrap, .site-below-footer-wrap, .site-above-footer-wrap,
 .entry-content, .entry-content-wrap, .entry-header, .entry-footer,
 .wp-site-blocks, .wp-block-group, .wp-block-columns, .wp-block-column,
 .wp-block-media-text, .wp-block-query, .wp-block-post,
 .wp-block-uagb-container, .wp-block-uagb-section,
 .uagb-section__wrap, .uagb-section__inner-wrap,
 .uagb-container-inner-blocks-wrap, .spectra-container,
 .woocommerce-page .site-content, .woocommerce-page .content-area,
 .woocommerce .woocommerce-MyAccount-content,
 .woocommerce .woocommerce-MyAccount-navigation,
 .woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce,
 .woocommerce div.product, .woocommerce ul.products,
 .elementor-section, .elementor-container, .elementor-column,
 .elementor-widget-wrap, .e-con, .e-con-inner
) {background-color:var(--lus-page)!important; color:var(--lus-text)!important;}
/* Inner UI surfaces and every Gutenberg/third-party section with a flat background. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .ast-card, .ast-card__content, .ast-article-inner,
 .woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
 .woocommerce .cart_totals, .woocommerce form.login, .woocommerce form.register,
 .woocommerce form.checkout, .woocommerce table.shop_table,
 .woocommerce .woocommerce-tabs .panel, .widget,
 .wp-block-group.has-background, .wp-block-column.has-background,
 .wp-block-uagb-container.has-background, .uagb-block-background,
 .uagb-background-color, .uagb-infobox__content-wrap,
 .uagb-post__inner-wrap, .wp-block-uagb-info-box,
 .wp-block-uagb-tabs, .wp-block-uagb-accordion,
 .elementor-widget-container, .elementor-inner-section,
 .wp-block-details, .wp-block-table, .sub-menu,
 .ast-mobile-popup-inner, .ast-mobile-popup-content,
 .woocommerce-message, .woocommerce-info, .woocommerce-error
) {background-color:var(--lus-card)!important;color:var(--lus-text)!important;border-color:var(--lus-border)!important;}
/* Catch custom inline background colors without touching image-backed hero sections. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .entry-content, .site-content, .site-footer, .site-header,
 .wp-site-blocks, .widget-area, .woocommerce
) :is(section,article,div,aside,header,footer)[style*="background-color"]:not([data-lus-preserve-background]):not(.has-background-dim):not(.wp-block-cover__background):not(.elementor-background-overlay) {
 background-color:var(--lus-page)!important;
}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .entry-content, .site-content, .site-footer, .site-header,
 .wp-site-blocks, .widget-area, .woocommerce
) :is(section,article,div,aside,header,footer)[style*="background:"]:not([data-lus-preserve-background]):not(.has-background-dim):not(.wp-block-cover__background):not(.elementor-background-overlay) {
 background-color:var(--lus-page)!important;
}
/* Typography inside content. Do not flatten text colors in all buttons, brand graphics or swatches. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .site-content, .entry-content, .site-footer, .site-header, .woocommerce,
 .widget-area, .wp-site-blocks
) :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,legend,figcaption,blockquote,td,th,small,strong,em) {
 color:var(--lus-text)!important;
}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 .main-header-menu .menu-link, .ast-builder-menu .menu-link,
 .site-title a, .ast-footer-copyright, .entry-title a,
 .woocommerce .woocommerce-loop-product__title, .woocommerce div.product .product_title
) {color:var(--lus-text)!important;}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 a:not(.button):not(.wp-element-button):not(.wp-block-button__link),
 .woocommerce .star-rating, .woocommerce .woocommerce-breadcrumb a
) {text-decoration-color:var(--lus-accent);}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 input:not([type="checkbox"]):not([type="radio"]),select,textarea,
 .woocommerce input.input-text, .wp-block-search__input
) {background-color:var(--lus-card-strong)!important;color:var(--lus-text)!important;border-color:var(--lus-border)!important;}
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(
 input::placeholder,textarea::placeholder
) {color:var(--lus-secondary)!important;opacity:1;}
/* Explicitly preserve photography, canvas, SVG and video elements; no filters. */
html:is([data-lus-effective="light"],[data-lus-effective="lus"]) :is(img,video,picture,canvas,svg) {
 filter:none!important;mix-blend-mode:normal;
}
/* Always preserve controller's distinct styling over general-page rules. */
html body #lus-ui-root,html body #lus-ui-root * {box-sizing:border-box;}
html body #lus-ui-root .lus-ui-panel {background:var(--lus-panel)!important;color:var(--lus-foreground)!important;}
html body #lus-ui-root .lus-ui-modes button {background:transparent!important;}
html body #lus-ui-root .lus-ui-swatches button {background:var(--swatch)!important;}
