/* LocalWP-only dark visual preview for CompuFixGuru. */
:root {
    --cfg-preview-bg: #101010;
    --cfg-preview-surface: #17191d;
    --cfg-preview-surface-2: #202328;
    --cfg-preview-surface-3: #272b30;
    --cfg-preview-border: #34383e;
    --cfg-preview-text: #f3f5f6;
    --cfg-preview-muted: #aeb5ba;
}

html,
body,
.site,
.site-content,
.site-main,
main {
    background-color: var(--cfg-preview-bg);
    color: var(--cfg-preview-text);
}

body:not(.home) .cfg-page,
body:not(.home) .cfg-section,
body:not(.home) .cfg-products,
body:not(.home) .cfg-content,
body:not(.home) .entry-content {
    color: var(--cfg-preview-text);
}
body:not(.home) .cfg-hero {
    color: var(--cfg-preview-text);
    background:
        radial-gradient(circle at 82% 18%, rgba(200,16,46,.16), transparent 28%),
        linear-gradient(135deg, #101010, #17191d 62%, #111317);
}

body:not(.home) .cfg-hero h1,
body:not(.home) .cfg-hero h2,
body:not(.home) .cfg-hero h3,
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6 {
    color: var(--cfg-preview-text);
}

body:not(.home) p,
body:not(.home) li,
body:not(.home) .entry-content,
body:not(.home) .cfg-hero-copy {
    color: var(--cfg-preview-muted);
}
.cfg-catalog-page {
    background:
        radial-gradient(circle at 92% 2%, rgba(200,16,46,.08), transparent 24%),
        var(--cfg-preview-bg);
    color: var(--cfg-preview-text);
}

.cfg-catalog-section,
.cfg-catalog-products,
.cfg-catalog-footer-cta {
    background: var(--cfg-preview-bg);
    border-color: var(--cfg-preview-border);
}

.cfg-catalog-section__head h2,
.cfg-catalog-section__head--row h2 {
    color: var(--cfg-preview-text);
}

.cfg-catalog-section__head p,
.cfg-catalog-card small,
.cfg-catalog-empty p {
    color: var(--cfg-preview-muted);
}

.cfg-catalog-card:not(.cfg-catalog-card--brand) {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface);
    box-shadow: 0 14px 38px rgba(0,0,0,.18);
}
.cfg-catalog-card:not(.cfg-catalog-card--brand):hover {
    color: #fff;
    border-color: rgba(200,16,46,.46);
    background: var(--cfg-preview-surface-2);
    box-shadow: 0 20px 48px rgba(0,0,0,.28);
}

.cfg-catalog-card:not(.cfg-catalog-card--brand) strong {
    color: #fff;
}

.cfg-catalog-empty {
    color: var(--cfg-preview-text);
    border-color: #454a50;
    background: var(--cfg-preview-surface);
}

.woocommerce,
.woocommerce-page,
.woocommerce-page .site-main,
.woocommerce-page .content-area {
    background: var(--cfg-preview-bg);
    color: var(--cfg-preview-text);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title {
    color: var(--cfg-preview-text);
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce div.product div.images img {
    background: var(--cfg-preview-surface-2);
}

.woocommerce div.product,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content {
    color: var(--cfg-preview-text);
    background: transparent;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface);
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.woocommerce .cart-empty {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface-2);
}

body:not(.home) .cfg-card,
body:not(.home) .cfg-panel,
body:not(.home) .cfg-b2b-panel,
body:not(.home) .cfg-account-panel,
body:not(.home) .cfg-form-card {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface);
}

body:not(.home) .cfg-card p,
body:not(.home) .cfg-panel p,
body:not(.home) .cfg-b2b-panel p,
body:not(.home) .cfg-account-panel p,
body:not(.home) .cfg-form-card p {
    color: var(--cfg-preview-muted);
}
body:not(.home) input:not([type="checkbox"]):not([type="radio"]),
body:not(.home) textarea,
body:not(.home) select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface-2);
}

body:not(.home) input::placeholder,
body:not(.home) textarea::placeholder,
.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
    color: #899198;
}

body:not(.home) fieldset,
body:not(.home) .form-row,
body:not(.home) .woocommerce-form,
body:not(.home) .woocommerce-address-fields {
    border-color: var(--cfg-preview-border);
}

body:not(.home) a:not(.cfg-button):not(.button) {
    text-decoration-color: rgba(255,255,255,.25);
}
body:not(.home) hr,
body:not(.home) table,
body:not(.home) th,
body:not(.home) td {
    border-color: var(--cfg-preview-border);
}

body:not(.home) blockquote,
body:not(.home) pre,
body:not(.home) code {
    color: var(--cfg-preview-text);
    border-color: var(--cfg-preview-border);
    background: var(--cfg-preview-surface-2);
}

body:not(.home) .cfg-breadcrumbs,
body:not(.home) .woocommerce-breadcrumb,
body:not(.home) .cfg-catalog-breadcrumbs {
    color: #8f989f;
}

body:not(.home) .cfg-breadcrumbs a,
body:not(.home) .woocommerce-breadcrumb a,
body:not(.home) .cfg-catalog-breadcrumbs a {
    color: #c3c9cd;
}

/* Navigation, slider, logos and payment-brand assets remain untouched. */


/* Strong local overrides for storefront and account surfaces. */
main.cfg-page-main,
main.cfg-commerce-main,
.woocommerce-shop main,
.woocommerce-account main,
.woocommerce-cart main,
.woocommerce-checkout main {
    background: var(--cfg-preview-bg) !important;
    color: var(--cfg-preview-text) !important;
}

.cfg-shop-v3__category {
    color: var(--cfg-preview-text) !important;
    border-color: var(--cfg-preview-border) !important;
    background: var(--cfg-preview-surface) !important;
}

.cfg-shop-v3__category:hover,
.cfg-shop-v3__category:focus-visible {
    color: #fff !important;
    border-color: rgba(200,16,46,.46) !important;
    background: var(--cfg-preview-surface-2) !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.cfg-commerce-main .products li.product {
    color: var(--cfg-preview-text) !important;
    border-color: var(--cfg-preview-border) !important;
    background: var(--cfg-preview-surface) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.cfg-commerce-main .products li.product .woocommerce-loop-product__title {
    color: var(--cfg-preview-text) !important;
}

.woocommerce-account main h1,
.woocommerce-account main h2,
.woocommerce-account main h3,
.woocommerce-account main h4,
.cfg-page-main h1,
.cfg-page-main h2,
.cfg-page-main h3 {
    color: var(--cfg-preview-text) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account form,
.woocommerce-account .woocommerce-form,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    color: var(--cfg-preview-text) !important;
    border-color: var(--cfg-preview-border) !important;
    background: var(--cfg-preview-surface) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    color: #fff !important;
    background: var(--cfg-preview-surface-2) !important;
}

/* =========================================================
   CompuFixGuru Dark UI Preview v0.2
   Approved visual direction: dark depth + subtle ambient glow
   ========================================================= */
:root {
    --cfg-preview-bg-deep: #090b0d;
    --cfg-preview-bg-oxford: #101010;
    --cfg-preview-surface-soft: #15181b;
    --cfg-preview-surface-raised: #1b1f23;
    --cfg-preview-line: rgba(255,255,255,.09);
    --cfg-preview-glow-crimson: rgba(200,16,46,.16);
    --cfg-preview-glow-teal: rgba(30,150,166,.12);
    --cfg-preview-glow-blue: rgba(37,99,135,.10);
}

/* Global dark atmospheric canvas. */
body {
    background:
        radial-gradient(circle at 8% 18%, rgba(18,108,121,.055), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(200,16,46,.045), transparent 22%),
        var(--cfg-preview-bg-deep) !important;
}

main,
.site-main {
    background-color: transparent !important;
}

/* Three approved background combinations, alternated across UI sections. */
.cfg-section-muted,
.home .cfg-section-muted {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--cfg-preview-text) !important;
    background:
        radial-gradient(circle at 88% 14%, var(--cfg-preview-glow-crimson), transparent 30%),
        radial-gradient(circle at 10% 84%, var(--cfg-preview-glow-teal), transparent 31%),
        linear-gradient(135deg, #0c1013 0%, #11161a 52%, #0b0d10 100%) !important;
    border-color: var(--cfg-preview-line) !important;
}

.cfg-section-muted:nth-of-type(even) {
    background:
        radial-gradient(circle at 16% 15%, rgba(38,125,148,.11), transparent 30%),
        radial-gradient(circle at 90% 82%, rgba(200,16,46,.105), transparent 28%),
        linear-gradient(145deg, #0b0d10 0%, #14171a 58%, #0d1114 100%) !important;
}

.home .cfg-section-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--cfg-preview-text) !important;
    background:
        radial-gradient(circle at 14% 18%, rgba(25,126,144,.14), transparent 31%),
        radial-gradient(circle at 86% 76%, rgba(200,16,46,.13), transparent 29%),
        linear-gradient(125deg, #090c0f 0%, #10171b 54%, #190b10 100%) !important;
    border-color: var(--cfg-preview-line) !important;
}

.home .cfg-products {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(200,16,46,.095), transparent 28%),
        radial-gradient(circle at 17% 78%, rgba(31,122,143,.08), transparent 31%),
        linear-gradient(180deg, #0c0e10 0%, #111315 100%) !important;
    border-color: var(--cfg-preview-line) !important;
}

/* Home trust strip: elevated dark glass, no white panel. */
.home .cfg-trust {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 24px;
    color: var(--cfg-preview-text) !important;
    background:
        radial-gradient(circle at 8% 50%, rgba(29,131,145,.13), transparent 26%),
        radial-gradient(circle at 92% 50%, rgba(200,16,46,.12), transparent 27%),
        linear-gradient(120deg, #0e1317, #171a1e 55%, #160d11) !important;
    box-shadow: 0 22px 54px rgba(0,0,0,.26);
}

.home .cfg-trust-item {
    color: var(--cfg-preview-text) !important;
    border-color: rgba(255,255,255,.08) !important;
    background: transparent !important;
}

.home .cfg-trust-item p,
.home .cfg-trust-item span {
    color: var(--cfg-preview-muted) !important;
}

/* Corporate cards and highlighted items. */
.cfg-section-muted .cfg-card,
.cfg-section-dark .cfg-card,
.cfg-highlight-list > div,
.cfg-b2b-panel,
.cfg-cta {
    position: relative;
    overflow: hidden;
    color: var(--cfg-preview-text) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    background:
        radial-gradient(circle at 92% 4%, rgba(200,16,46,.075), transparent 31%),
        linear-gradient(145deg, rgba(28,32,36,.96), rgba(18,21,24,.98)) !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.22) !important;
}

.cfg-highlight-list > div:nth-child(even),
.cfg-card-grid .cfg-card:nth-child(even) {
    background:
        radial-gradient(circle at 8% 8%, rgba(32,137,153,.08), transparent 30%),
        linear-gradient(145deg, rgba(25,30,34,.96), rgba(17,20,23,.98)) !important;
}

.cfg-section-muted .cfg-card h3,
.cfg-section-muted .cfg-card strong,
.cfg-section-dark .cfg-card h3,
.cfg-highlight-list > div strong,
.cfg-b2b-panel h2,
.cfg-b2b-panel h3,
.cfg-cta h2,
.cfg-cta h3 {
    color: #f5f7f8 !important;
}

.cfg-section-muted .cfg-card p,
.cfg-highlight-list > div p,
.cfg-b2b-panel p,
.cfg-cta p {
    color: var(--cfg-preview-muted) !important;
}

/* Catalog cards: add subtle ambient light so the dark surfaces do not feel flat. */
.cfg-catalog-card:not(.cfg-catalog-card--brand) {
    isolation: isolate;
    background:
        radial-gradient(circle at 92% 8%, rgba(200,16,46,.07), transparent 35%),
        linear-gradient(145deg, #181b1f, #121518) !important;
}

.cfg-catalog-card:not(.cfg-catalog-card--brand):nth-child(even) {
    background:
        radial-gradient(circle at 8% 10%, rgba(30,137,153,.07), transparent 34%),
        linear-gradient(145deg, #181c20, #111416) !important;
}

.cfg-catalog-card:not(.cfg-catalog-card--brand):hover {
    background:
        radial-gradient(circle at 88% 10%, rgba(200,16,46,.12), transparent 34%),
        linear-gradient(145deg, #202429, #15191d) !important;
}

/* Product cards keep product imagery untouched, but their chassis gains depth. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.cfg-commerce-main .products li.product {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 4%, rgba(200,16,46,.055), transparent 32%),
        linear-gradient(150deg, #1a1d21, #14171a) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.20) !important;
}

.woocommerce ul.products li.product:nth-child(even),
.woocommerce-page ul.products li.product:nth-child(even) {
    background:
        radial-gradient(circle at 8% 6%, rgba(30,129,148,.055), transparent 31%),
        linear-gradient(150deg, #191d20, #131619) !important;
}

/* Account / forms / notices. */
.woocommerce-account .cfg-marketing-optin,
.cfg-marketing-optin {
    color: var(--cfg-preview-text) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    background:
        radial-gradient(circle at 92% 10%, rgba(200,16,46,.07), transparent 34%),
        linear-gradient(145deg, #1b1e22, #14171a) !important;
}

.woocommerce-account .cfg-marketing-optin label,
.woocommerce-account .cfg-marketing-optin span,
.cfg-marketing-optin label,
.cfg-marketing-optin span {
    color: var(--cfg-preview-muted) !important;
}

/* CTA visual language: official reference pattern. */
.cfg-catalog-footer-cta__inner,
.cfg-cta,
.cfg-b2b-panel {
    background:
        radial-gradient(circle at 8% 50%, rgba(22,117,135,.13), transparent 28%),
        radial-gradient(circle at 93% 38%, rgba(200,16,46,.17), transparent 28%),
        linear-gradient(120deg, #071116, #13191d 58%, #241016) !important;
}

/* Keep separators soft and atmospheric instead of hard white lines. */
.cfg-section,
.cfg-products,
.cfg-section-muted,
.cfg-section-dark,
.cfg-catalog-section,
.cfg-catalog-products,
.woocommerce table.shop_table {
    border-color: rgba(255,255,255,.075) !important;
}

/* Prevent accidental white card surfaces in the approved dark preview areas. */
.cfg-section-muted .cfg-card,
.cfg-section-muted .cfg-highlight-list > div,
.cfg-section-dark .cfg-b2b-panel,
.home .cfg-section-dark .cfg-b2b-panel,
.home .cfg-section-muted .cfg-cta {
    background-color: transparent !important;
}

@media (max-width: 760px) {
    .home .cfg-trust {
        border-radius: 18px;
    }

    .cfg-section-muted,
    .home .cfg-section-dark,
    .home .cfg-products {
        background-attachment: scroll !important;
    }
}


/* Home brand wall — dark corporate conversion. */
.home .cfg-brand-wall {
    color: var(--cfg-preview-text) !important;
    background:
        radial-gradient(circle at 9% 8%, rgba(200,16,46,.14), transparent 25%),
        radial-gradient(circle at 86% 78%, rgba(28,132,151,.12), transparent 29%),
        linear-gradient(135deg, #090c0f 0%, #11171b 56%, #160c11 100%) !important;
    border-top: 1px solid rgba(255,255,255,.065) !important;
    border-bottom: 1px solid rgba(255,255,255,.065) !important;
}

.home .cfg-brand-wall::after {
    border-color: rgba(255,255,255,.07) !important;
    box-shadow: 0 0 90px rgba(200,16,46,.045);
}

.home .cfg-brand-wall__head h2 {
    color: #f5f7f8 !important;
}

.home .cfg-brand-wall__head p {
    color: #aeb7bd !important;
}

.home .cfg-brand-wall .cfg-kicker {
    color: #ff607b !important;
    border-color: rgba(255,96,123,.34) !important;
    background: rgba(200,16,46,.08) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.home .cfg-brand-logo {
    border-color: rgba(255,255,255,.10) !important;
    background:
        radial-gradient(circle at 85% 0%, rgba(255,255,255,.055), transparent 32%),
        linear-gradient(145deg, rgba(28,32,36,.96), rgba(17,20,23,.98)) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.25) !important;
}

.home .cfg-brand-logo:nth-child(even) {
    background:
        radial-gradient(circle at 10% 0%, rgba(31,134,151,.075), transparent 33%),
        linear-gradient(145deg, rgba(27,31,35,.96), rgba(16,19,22,.98)) !important;
}

.home .cfg-brand-logo img {
    opacity: .88 !important;
    filter: saturate(.92) contrast(1.02) !important;
}

.home .cfg-brand-logo:hover {
    border-color: rgba(255,74,104,.42) !important;
    background:
        radial-gradient(circle at 88% 0%, rgba(200,16,46,.12), transparent 34%),
        linear-gradient(145deg, #20242a, #15191d) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.34) !important;
}

.home .cfg-brand-logo:hover img {
    opacity: 1 !important;
    filter: none !important;
}

.home .cfg-brand-wall__foot {
    color: #8f989e !important;
}

.home .cfg-brand-wall__foot strong {
    color: #ff607b !important;
}


:root{color-scheme:dark;--cfg-gray:#b7bdc8;--cfg-border:#41454d;--cfg-shadow:0 18px 50px #0005}
body{background:#101114;color:#f4f5f7}
html body :is(.cfg-cat-ed,.cfg-cat-section,.cfg-shop-v4,.cfg-commerce-main,.cfg-catalog,.woocommerce-cart-form,.wc-block-cart,.wc-block-checkout,.woocommerce-checkout){background-color:#101114!important;color:#f4f5f7!important}
html body :is(.cfg-cat-card,.cfg-shop-v4-category,.cfg-shop-v4-product,.woocommerce ul.products li.product,.cart_totals,.woocommerce-checkout-review-order,.wc-block-components-order-summary,.wc-block-components-panel,.wc-block-components-address-form){background:#202228!important;color:#f4f5f7!important;border-color:#41454d!important}
html body :is(.cfg-cat-card,.cfg-shop-v4-product,.cfg-shop-v4-category,.wc-block-cart,.wc-block-checkout) :is(h2,h3,h4,label,small,.woocommerce-loop-product__title),html body .cfg-shop-v4-category{color:#f4f5f7!important}
html body :is(.cfg-cat-card p,.cfg-cat-note,.cfg-shop-card-meta,.cfg-shop-stock,.cfg-shop-v4-heading p){color:#bbc0ca!important}
html body :is(.cfg-cat-card a,a:not(.button):not(.cfg-button):not(.wp-element-button):not(.cfg-cat-btn).restore-item){color:#ff8197!important}
html body :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background-color:#202228;color:#f4f5f7;border-color:#626875}
html body :is(input,textarea)::placeholder{color:#aeb5c2}