/* Personal storefront appearance. Brand images and promotional artwork retain their colors. */
html[data-theme="dark"]{--wd-main-bgcolor:#1c1c1e;--sotiks-bg:#1c1c1e;--sotiks-surface:#000;--sotiks-surface-2:#2c2c2e;--sotiks-text:#f5f5f7;--sotiks-text-2:#98989d;--sotiks-border:rgba(255,255,255,.2);--sotiks-border-focus:rgba(255,255,255,.3);--sotiks-divider:rgba(255,255,255,.12);--sotiks-accent:#409cff;--sotiks-accent-strong:#64b1ff;--sotiks-shadow-sm:0 1px 2px rgba(0,0,0,.4);--sotiks-shadow-md:0 10px 30px rgba(0,0,0,.5)}
html[data-theme="dark"] body{--wd-main-bgcolor:#1c1c1e;--btn-color:#f5f5f7;--btn-color-hover:#fff;--btn-bgcolor:#2c2c2e;--btn-bgcolor-hover:#3a3a3c;--btn-default-color:#f5f5f7;--btn-default-color-hover:#fff;--btn-default-bgcolor:#2c2c2e;--btn-default-bgcolor-hover:#3a3a3c;background:#1c1c1e;color:var(--wd-text-color)}
html[data-theme="dark"] :is(.whb-row,.whb-sticked .whb-row,.wd-dropdown,.wd-side-hidden,.wd-toolbar,.footer-container,.copyrights-wrapper,.page-title,.wd-search-full-screen){background-color:var(--sotiks-bg)!important;color:var(--sotiks-text);border-color:var(--sotiks-divider)}
html[data-theme="dark"] :is(.wd-dropdown-menu,.wd-dropdown-cart,.wd-dropdown-search-cat){background-color:var(--sotiks-bg)!important}
html[data-theme="dark"] .whb-row :is(.wd-tools-element>a,.wd-nav>li>a,.wd-header-text){color:var(--sotiks-text)!important}
html[data-theme="dark"] :is(.product-grid-item,.wd-product,.wd-products-with-bg .product-wrapper,.cart-totals-inner,.woocommerce-checkout-review-order){background-color:var(--sotiks-bg)!important;border-color:var(--sotiks-divider)!important}
html[data-theme="dark"] :is(input:not([type=submit],[type=button],[type=checkbox],[type=radio],[type=range],[type=color]),textarea,select){color:var(--sotiks-text);background-color:var(--sotiks-bg)}
html[data-theme="dark"] :is(.wd-toolbar,.wd-side-hidden) :is(a,h3,h4){color:var(--sotiks-text)}
html[data-theme="dark"] .main-page-wrapper{background-color:var(--sotiks-surface)!important}
html[data-theme="dark"] :is(.wd-product-card-bg,.elementor-element-d317758,.elementor-element-ff34c64,.elementor-element-d6dbe2c,.elementor-element-c39cf82){background-color:var(--sotiks-bg)!important;border-color:var(--sotiks-divider)!important}
html[data-theme="dark"] :is(.elementor-element-ff34c64,.elementor-element-d6dbe2c,.elementor-element-c39cf82) :is(.elementor-heading-title,.elementor-widget-text-editor,.elementor-widget-text-editor p,.elementor-widget-text-editor span){color:var(--sotiks-text)!important}
html[data-theme="dark"] :is(.elementor-element-ff34c64,.elementor-element-d6dbe2c,.elementor-element-c39cf82) :is(.title-after_title,.title-after_title p,.title-after_title span){color:var(--sotiks-text)!important}
html[data-theme="dark"] .amount{color:var(--sotiks-text)!important}
html[data-theme="dark"] .site-logo img{filter:grayscale(1) brightness(0) invert(1)}
/* Explicit light wins even when the OS is dark. */
html[data-theme="light"]{--sotiks-bg:var(--wd-main-bgcolor,#fff);--sotiks-surface:#f5f5f7;--sotiks-surface-2:#ececee;--sotiks-text:#1d1d1f;--sotiks-text-2:#6e6e73;--sotiks-border:var(--wd-form-brd-color,rgba(0,0,0,.08));--sotiks-divider:rgba(0,0,0,.08);--sotiks-accent:#0071e3;--sotiks-accent-strong:#0059b3}
/* WooCommerce's hover decoration has greater specificity than component links. */
body .woocommerce :is(.sotiks-ui,.sotiks-dcab,.sotiks-account-dashboard) a,
body .woocommerce :is(.sotiks-ui,.sotiks-dcab,.sotiks-account-dashboard) a:is(:hover,:focus,:active,:visited){text-decoration:none!important}
body .woocommerce :is(.sotiks-ui,.sotiks-dcab,.sotiks-account-dashboard) a:focus-visible{outline:2px solid var(--sotiks-accent);outline-offset:3px}

html[data-theme="dark"] .sotiks-cab-password input[type="password"] {
    color-scheme: dark;
    background-color: var(--sotiks-bg) !important;
    color: var(--sotiks-text) !important;
}
html[data-theme="dark"] .sotiks-cab-password input:-webkit-autofill {
    -webkit-text-fill-color: var(--sotiks-text);
    box-shadow: inset 0 0 0 1000px var(--sotiks-bg) !important;
}
