/* Shared Spotted Ghosts palette. No external fonts, scripts or tracking. */
:root {
    --sg-bg: #070b09;
    --sg-panel: #101a14;
    --sg-panel-raised: #16231b;
    --sg-text: #f0f5f2;
    --sg-muted: #b4c5bc;
    --sg-line: #344c3d;
    --sg-green: #70e6a0;
    --sg-button: #143c2a;
    --container-width: 1440px;
    --container-width-narrow: 1000px;
    --inspiro-primary-color: #70e6a0;
    --inspiro-dark-color: #f0f5f2;
    --inspiro-light-grey-color: #16231b;
    --inspiro-color-background-body: #070b09;
    --inspiro-color-link-hover: #a0ffc3;
}
body.sg-paranormal { background:var(--sg-bg); color:var(--sg-text); color-scheme:dark; }
body.sg-paranormal .site-content-contain,
body.sg-paranormal #content {
    background-color:var(--sg-bg);
    background-image:radial-gradient(ellipse at 8% 5%,#14382555,transparent 35%),radial-gradient(ellipse at 96% 55%,#18312744,transparent 35%);
    color:var(--sg-text);
}
body.sg-paranormal a { color:var(--sg-green); }
body.sg-paranormal a:hover { color:#a0ffc3; }
body.sg-paranormal :where(h1,h2,h3,h4,h5,h6) { color:var(--sg-text); }
body.sg-paranormal .entry-title,
body.sg-paranormal .page-title,
body.sg-paranormal .entry-title a,
body.sg-paranormal .widget-title { color:var(--sg-text); }
body.sg-paranormal .entry-meta,
body.sg-paranormal .entry-meta a,
body.sg-paranormal .entry-footer,
body.sg-paranormal .woocommerce-breadcrumb,
body.sg-paranormal .woocommerce-result-count { color:var(--sg-muted); }
body.sg-paranormal .entry-content { line-height:1.7; }
body.sg-paranormal blockquote { color:#d7eadd; border-color:var(--sg-green); background:#111f17; padding:20px 26px; }
body.sg-paranormal hr { background:var(--sg-line); border-color:var(--sg-line); }
body.sg-paranormal :where(pre,code,kbd) { background:#111b15; color:#d7f6e3; }
body.sg-paranormal ::selection { background:#70e6a0; color:#07100b; }
body.sg-paranormal a:focus-visible,
body.sg-paranormal button:focus-visible,
body.sg-paranormal input:focus-visible,
body.sg-paranormal select:focus-visible,
body.sg-paranormal textarea:focus-visible { outline:3px solid var(--sg-green); outline-offset:4px; }
/* Navigation and footer keep the parent's mobile menu and sticky behaviour. */
body.sg-paranormal #masthead,
body.sg-paranormal #masthead .navbar,
body.sg-paranormal .side-nav,
body.sg-paranormal .site-footer { background:#080e0a !important; color:var(--sg-text); }
body.sg-paranormal #masthead { border-bottom:1px solid #273d30; }
body.sg-paranormal .navbar-nav a,
body.sg-paranormal .side-nav a,
body.sg-paranormal .site-footer a { color:#e7f3eb; }
body.sg-paranormal .navbar-nav a:hover,
body.sg-paranormal .navbar-nav .current-menu-item>a,
body.sg-paranormal .side-nav a:hover,
body.sg-paranormal .site-footer a:hover { color:var(--sg-green); }
body.sg-paranormal .navbar-nav ul { background:#111c15; border-color:var(--sg-line); }
body.sg-paranormal .site-footer { border-top:1px solid var(--sg-line); }
body.sg-paranormal .site-footer .site-info { color:var(--sg-muted); background:transparent; }
body.sg-paranormal .widget { border-color:var(--sg-line); }
/* Common actions; menu toggles, radio buttons and payment widgets are not reset. */
body.sg-paranormal :is(.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link),input[type=submit],.form-submit button,.search-submit) {
    background:var(--sg-button) !important;
    color:#e7fff0 !important;
    border:1px solid #4eae78 !important;
    border-radius:7px;
    padding:12px 21px;
    font-size:15px;
    font-weight:700;
    line-height:1.3;
    text-decoration:none;
    box-shadow:none;
}
body.sg-paranormal :is(.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link),input[type=submit],.search-submit):hover {
    background:#205839 !important; border-color:#91ffc1 !important; box-shadow:0 0 22px #45c98126;
}
body.sg-paranormal :is(button,input,a.button):disabled,
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) .button.disabled { opacity:.55; box-shadow:none; }
/* Forms: visible labels, controls, placeholders and browser focus. */
body.sg-paranormal :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=url],input[type=number],input[type=date],textarea,select) {
    color:var(--sg-text); background:#101a14; border:1px solid #52685a; border-radius:6px;
}
body.sg-paranormal input::placeholder,
body.sg-paranormal textarea::placeholder { color:#a4b5aa; opacity:1; }
body.sg-paranormal select option { color:var(--sg-text); background:#101a14; }
body.sg-paranormal input[type=checkbox],body.sg-paranormal input[type=radio] { accent-color:var(--sg-green); }
body.sg-paranormal :is(table,th,td) { border-color:var(--sg-line); }
body.sg-paranormal thead { background:#18271d; color:var(--sg-text); }
body.sg-paranormal .entry-content table tbody tr:nth-child(even) { background:#101b14; }
/* Classic WooCommerce catalog and single-product pages. */
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) ul.products li.product {
    padding:16px; border:1px solid var(--sg-line); border-radius:12px; background:linear-gradient(150deg,#141f19,#0a100c);
}
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) ul.products li.product a img { width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; border-radius:8px; }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) ul.products li.product .woocommerce-loop-product__title { color:var(--sg-text); font-size:19px; line-height:1.35; }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) :is(.price,.price ins,.amount,.product_meta) { color:#d9efe1; }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) .star-rating { color:#d6bb74; }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) span.onsale { color:#09140c; background:var(--sg-green); }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) div.product .woocommerce-tabs ul.tabs li { background:#111d15; border-color:var(--sg-line); }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) div.product .woocommerce-tabs ul.tabs li.active { background:#23432d; color:#fff; }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) div.product .woocommerce-tabs ul.tabs li a { color:var(--sg-text); }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) :is(.cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-order-details) {
    background:#101a14; color:var(--sg-text); border:1px solid var(--sg-line); border-radius:10px; padding:22px;
}
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) form :is(.form-row label,legend),
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) table.shop_table { color:var(--sg-text); }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) :is(#payment,#payment ul.payment_methods,#payment .payment_box) { background:#16231b; color:var(--sg-text); }
:is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) #payment .payment_box::before { border-bottom-color:#16231b; }
body.sg-paranormal .woocommerce-error { background:#301619; color:#ffdfe3; border-top-color:#ff9da8; }
body.sg-paranormal .woocommerce-info { background:#13252c; color:#dceff8; border-top-color:#8ecbe2; }
body.sg-paranormal .woocommerce-message { background:#142a1d; color:#e1f9e9; border-top-color:var(--sg-green); }
body.sg-paranormal :is(.select2-container--default .select2-selection--single,.select2-dropdown,.select2-search__field) { background:#101a14; color:var(--sg-text); border-color:#52685a; }
body.sg-paranormal .select2-container--default .select2-selection--single .select2-selection__rendered { color:var(--sg-text); }
body.sg-paranormal .select2-container--default .select2-results__option[data-selected=true] { background:#243c2c; }
/* WooCommerce block-based listings, cart and checkout. */
body.sg-paranormal :is(.wc-block-product-template,.wc-block-grid__products) { list-style:none; }
body.sg-paranormal :is(.wc-block-product-template,.wc-block-grid__products)>li::marker { content:""; }
body.sg-paranormal :is(.wc-block-components-order-summary,.wc-block-components-sidebar,.wc-block-checkout__payment-method,.wc-block-components-totals-wrapper) { color:var(--sg-text); border-color:var(--sg-line); }
body.sg-paranormal .wc-block-components-checkout-step__heading { color:var(--sg-text); }
body.sg-paranormal :is(.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input) { color:var(--sg-text); background:#101a14; border-color:#52685a; }
body.sg-paranormal .wc-block-components-text-input label { color:#c1d3c6; }
body.sg-paranormal :is(.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-content) { background:#111d15; color:var(--sg-text); }
body.sg-paranormal .wc-block-components-notice-banner { color:#101910; }
/* Instruction pages: retain artwork and reconstructed screen colours. */
body.sg-paranormal .entry-content :is(.sg-contents,.sg-note,.sg-aerial-card) { background:#111e16; color:var(--sg-text); border-color:#42614f; }
body.sg-paranormal .entry-content :is(.sg-contents,.sg-note,.sg-aerial-card) :is(h2,h3,h4,p,li) { color:var(--sg-text); }
body.sg-paranormal .entry-content :is(.sg-table-wrap table,.sg-table-wrap td) { color:var(--sg-text); border-color:var(--sg-line); }
/* Preserve approved homepage and archive-only changes. */
body.sg-paranormal.sg-site-front .custom-header { display:none !important; }
body.sg-paranormal.sg-site-front #masthead { position:relative !important; top:auto !important; }
body.sg-paranormal.sg-site-front #main>article>.entry-header { display:none; }
body.sg-paranormal.sg-site-shop #main>h1.entry-title { display:none; }
body.sg-paranormal.category-device-instructions .entry-summary { display:none; }
body.sg-paranormal.category-device-instructions .page-header>h1.page-title { font-size:clamp(28px,5vw,48px); }
body.sg-paranormal.category-device-instructions article .entry-title { font-size:22px; line-height:1.3; }
@media(max-width:767px) {
    :root { --container-padding:20px; }
    :is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) :is(.cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-order-details) { padding:16px; }
    :is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) ul.products li.product { padding:10px; }
    :is(body.sg-paranormal.woocommerce,body.sg-paranormal.woocommerce-page,body.sg-paranormal .woocommerce) ul.products li.product .woocommerce-loop-product__title { font-size:17px; }
}

/* Override Inspiro's important white WooCommerce tab backgrounds. */
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs {
    padding-left: 0;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: #344c3d !important;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li {
    background: #111d15 !important;
    border: 1px solid #42614f !important;
    border-radius: 7px 7px 0 0;
    box-shadow: none !important;
    margin: 0 6px 0 0;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li a {
    color: #dcebe1 !important;
    padding: 12px 20px;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li.active {
    background: #23432d !important;
    border-color: #70e6a0 !important;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li.active a {
    color: #e7fff0 !important;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li:hover {
    background: #1c3525 !important;
}
body.sg-paranormal.woocommerce #content div.product .woocommerce-tabs ul.tabs li a:focus-visible {
    outline: 3px solid #70e6a0;
    outline-offset: -4px;
}

/* Archive Read more links use the shared button appearance. */
body.sg-paranormal :is(.entry-summary .more-link,.entry-content .more-link,a.wp-block-read-more){display:inline-flex;align-items:center;justify-content:center;background:#143c2a!important;color:#e7fff0!important;border:1px solid #4eae78!important;border-radius:7px;padding:12px 21px;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none!important;min-height:46px;}
body.sg-paranormal :is(.entry-summary .more-link,.entry-content .more-link,a.wp-block-read-more):hover{background:#205839!important;border-color:#91ffc1!important;box-shadow:0 0 22px #45c98126;}

/* Account navigation contrast: override Inspiro's black link text. */
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul {padding:0;margin:0;list-style:none;}
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul li {border-bottom:1px solid #344c3d;list-style:none;padding:0;margin:0;}
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul li a {display:block;padding:12px 14px;color:#e7f3eb!important;border-radius:6px;text-decoration:none;}
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {color:#a0ffc3!important;background:#1c3525;}
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {color:#b7ffd0!important;background:#23432d;border-left:3px solid #70e6a0;}
body.sg-paranormal.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible {outline:3px solid #70e6a0;outline-offset:-3px;}
/* Compact the account page's inherited title and content spacing. */
body.sg-paranormal.woocommerce-account #content {padding-top:0!important;}
body.sg-paranormal.woocommerce-account #main>article {padding-top:32px!important;}
body.sg-paranormal.woocommerce-account #main>article>.entry-header {padding-top:0!important;margin-top:0!important;margin-bottom:24px!important;}
body.sg-paranormal.woocommerce-account #main>article>.entry-header .inner-wrap {margin-top:0!important;}
body.sg-paranormal.woocommerce-account #main>article>.entry-header .entry-title {margin-top:0!important;margin-bottom:0!important;}
body.sg-paranormal.woocommerce-account #main>article>.entry-content {margin-top:0!important;}
@media(max-width:767px){body.sg-paranormal.woocommerce-account #main>article{padding-top:24px!important;}}

/* Forminator uses a button without type=submit, so target its explicit class. */
body.sg-paranormal .forminator-ui button.forminator-button-submit {
    background:#143c2a!important;
    color:#e7fff0!important;
    border:1px solid #4eae78!important;
    border-radius:7px!important;
    padding:12px 21px!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.3!important;
    min-height:46px;
    box-shadow:none!important;
}
body.sg-paranormal .forminator-ui button.forminator-button-submit:not(:disabled):not([aria-disabled=true]):hover {
    background:#205839!important;
    border-color:#91ffc1!important;
    box-shadow:0 0 22px #45c98126!important;
}
body.sg-paranormal .forminator-ui button.forminator-button-submit:focus-visible {
    outline:3px solid #70e6a0!important;
    outline-offset:4px;
}
body.sg-paranormal .forminator-ui button.forminator-button-submit:is(:disabled,[aria-disabled=true],.forminator-disabled) {
    background:#172a1f!important;
    color:#b7c9bd!important;
    border-color:#52685a!important;
    opacity:1!important;
    box-shadow:none!important;
    cursor:not-allowed;
}

/* Centre commerce content within the same responsive desktop container. */
body.sg-paranormal.woocommerce-page #content > .inner-wrap {
    width: 100%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
}
body.sg-paranormal.woocommerce-page #content > .inner-wrap > #primary {
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}
body.sg-paranormal.woocommerce-page #main > article > .entry-content,
body.sg-paranormal.woocommerce-page #main > article > .entry-header > .inner-wrap {
    width: 100%;
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}
/* Neutralise theme negative margins on the wide Cart and Checkout blocks. */
body.sg-paranormal.woocommerce-page .entry-content > :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box;
}

/* Keep classic shop actions inside narrow product cards. */
body.sg-paranormal.woocommerce ul.products li.product {box-sizing:border-box;min-width:0;}
body.sg-paranormal.woocommerce ul.products li.product :is(a.button,button.button,a.added_to_cart) {
    box-sizing:border-box;
    max-width:100%;
    white-space:normal!important;
    overflow-wrap:break-word;
    text-align:center;
}
@media(max-width:767px) {
    body.sg-paranormal.woocommerce ul.products li.product :is(a.button,button.button,a.added_to_cart) {
        display:block;
        width:100%;
        padding:10px 8px!important;
        font-size:13px!important;
        line-height:1.35!important;
        min-height:44px;
        margin-left:0!important;
        margin-right:0!important;
    }
}

/* Consistent top spacing across standard pages, posts, shop and archives. */
body.sg-paranormal #content {padding-top:0!important;}
body.sg-paranormal #content > .inner-wrap {padding-top:24px;}
body.sg-paranormal #main > article > .entry-header {margin-top:0!important;padding-top:0!important;}
body.sg-paranormal #main > article > .entry-header .inner-wrap {margin-top:0!important;}
body.sg-paranormal #main > article > .entry-header .entry-title,
body.sg-paranormal .page-header > .page-title {margin-top:0!important;}
body.sg-paranormal #main > article > .entry-content {margin-top:24px;}
body.sg-paranormal.single .entry-wrapper {margin-top:24px;}
body.sg-paranormal.sg-site-front #content .sg-home {padding-top:32px!important;}
body.sg-paranormal.sg-site-front .sg-home > .sg-home-section:first-child {margin-top:0!important;}
body.sg-paranormal.sg-site-shop #main {padding-top:0;margin-top:0;}
body.sg-paranormal.sg-site-shop .woocommerce-breadcrumb {margin-top:0;margin-bottom:24px;}
body.sg-paranormal.sg-site-shop .shop-wrapper {padding-top:0;margin-top:0;}
body.sg-paranormal.sg-site-shop .page-description p:empty {display:none;}

/* Trial spacing: ten pixels between navigation and the first page content. */
body.sg-paranormal #content > .inner-wrap {padding-top:10px!important;}
body.sg-paranormal #main > article {padding-top:0!important;margin-top:0!important;}
body.sg-paranormal #main > article > .entry-content {margin-top:0!important;}
body.sg-paranormal.sg-site-front #content .sg-home {padding-top:10px!important;}
body.sg-paranormal #content > .sg-category {padding-top:10px!important;}

body.sg-paranormal:is(.page-id-498,.page-id-509,.page-id-3,.page-id-8,.page-id-7) #main > article {padding-top:0!important;}
