/* =================================================================
 * Signal Hound 2026 Redesign
 * Standalone stylesheet, loaded AFTER the compiled style.css.
 * Layers the new homepage + global chrome (announcement bar, header
 * restyle, footer) on top of the existing Bootstrap build without
 * touching the SCSS pipeline. Header/nav + mini-cart markup unchanged.
 * ================================================================= */

:root {
    --sh-orange:        #f15a29;
    --sh-orange-link:   #f05422;
    --sh-orange-hover:  #d4481d;
    --sh-link-on-light: #bf4012;
    --sh-grad-start:    #f7901e;
    --sh-grad-end:      #ec3b1f;
    --sh-green:         #2faa54;
    --sh-green-dark:    #25934a;
    --sh-dark:          #181d24;
    --sh-darker:        #12161b;
    --sh-dark-2:        #1f2730;
    --sh-cream:         #f4efe9;
    --sh-light:         #f3f4f6;
    --sh-text:          #1f2937;
    --sh-muted:         #6b7280;
    --sh-muted-light:   #aeb6c0;
    --sh-border:        #e5e7eb;
    --sh-maxw:          1200px;
}

/* Base body font. Matches the front end (set by the compiled style.css),
 * but declared here too so the block editor canvas — where style.css/Typekit
 * aren't loaded — uses it instead of falling back to the browser's serif.
 * add_editor_style rewrites this `body` selector to the editor wrapper. */
body { font-family: "proxima-nova", helvetica, sans-serif; }

/* Editor content font: this sheet is also loaded into the block-editor
 * canvas (add_editor_style). With editor-styles enabled, Gutenberg drops its
 * default font and the canvas has no Typekit proxima-nova, so it falls back to
 * the browser's serif. Restore a matching sans-serif stack. (On the front end
 * this just mirrors the body font already set in the compiled style.css.) */
body { font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; }
/* Keep the legacy dark canvas and Bootstrap mode. Surfaces that paint their
 * own background set the foreground and the Bootstrap tokens used by controls. */
body { --bs-heading-color: var(--sh-dark); }

:where(
    .sh-page, .site-content, .sh-rf-landing, .sh-product-buy, .sidebar.bg-light,
    .sh-surface-light,
    :is(.wp-block-group, .wp-block-details, .wp-block-table).has-white-background-color,
    .wp-block-table.is-style-stripes tbody tr:nth-child(odd)
) {
    --sh-surface-link: var(--sh-link-on-light);
    --sh-surface-link-hover: var(--sh-text);
    --sh-surface-focus: var(--sh-text);
    --bs-heading-color: var(--sh-dark);
    --bs-body-color: var(--sh-text);
    --bs-body-color-rgb: 31, 41, 55;
    --bs-emphasis-color: var(--bs-body-color);
    --bs-emphasis-color-rgb: var(--bs-body-color-rgb);
    --bs-secondary-color: #626a78;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: var(--bs-white-rgb);
    --bs-border-color: var(--sh-border);
    color: var(--bs-body-color);
    color-scheme: light;
}

:where(
    .sh-surface-dark, .sh-dark, .post-content, .sh-product-tabs-content-wrap,
    :is(.wp-block-group, .wp-block-details, .wp-block-table).has-black-background-color
) {
    --sh-surface-link: var(--sh-grad-start);
    --sh-surface-link-hover: #fff;
    --sh-surface-focus: #b8e5f5;
    --bs-heading-color: #b8e5f5;
    --bs-body-color: #fff;
    --bs-body-color-rgb: var(--bs-white-rgb);
    --bs-emphasis-color: var(--bs-body-color);
    --bs-emphasis-color-rgb: var(--bs-body-color-rgb);
    --bs-secondary-color: var(--sh-muted-light);
    --bs-body-bg: var(--sh-dark);
    --bs-body-bg-rgb: 24, 29, 36;
    --bs-border-color: #495057;
    color: var(--bs-body-color);
    color-scheme: dark;
}

:where(.sh-surface-light, .sh-surface-dark):where(:not(.has-background)) {
    background-color: var(--bs-body-bg);
}

/* WordPress can supply a foreground for a whole block via its color controls. */
:where(.wp-block-group, .wp-block-details).has-text-color { --bs-heading-color: currentColor; }

:where(
    .sh-page__content, .site-content, .sh-rf-landing, .sh-product-buy, .sidebar.bg-light,
    .post-content, .wp-block-details, .sh-surface-light, .sh-surface-dark, .sh-dark
) :any-link:where(:not(.sh-btn, .sh-arrow-link, .btn, .button, .wp-element-button, .wp-block-button__link, .has-text-color)) {
    color: var(--sh-surface-link, currentColor);
    text-decoration: underline;
}
:where(
    .sh-page__content, .site-content, .sh-rf-landing, .sh-product-buy, .sidebar.bg-light,
    .post-content, .wp-block-details, .sh-surface-light, .sh-surface-dark, .sh-dark
) :any-link:where(:not(.sh-btn, .sh-arrow-link, .btn, .button, .wp-element-button, .wp-block-button__link, .has-text-color)):where(:hover, :active) {
    color: var(--sh-surface-link-hover, currentColor);
}

/* Preserve the native disclosure marker, keyboard handling and open state. */
:where(.wp-block-details > summary, .wp-block-details a, .wp-block-button__link):focus-visible {
    outline: 2px solid var(--sh-surface-focus, currentColor);
    outline-offset: 2px;
}

/* Light grey page canvas — hero card sits on this. padding-top prevents margin collapse
   from .sh-hero's margin-top pushing out above <main> into the dark body background. */
.sh-front { background: var(--sh-light); }

/* ---- shared helpers --------------------------------------------- */
.sh-wrap { width: 100%; max-width: var(--sh-maxw); margin: 0 auto; padding-inline: 24px; }
.sh-eyebrow { color: var(--sh-orange-link); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.sh-arrow-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--sh-orange-link); font-weight: 600; text-decoration: none; font-size: .9rem;
}
.sh-arrow-link:hover { color: var(--sh-orange-hover); }
.sh-arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.sh-arrow-link:hover::after { transform: translateX(3px); }

.sh-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--sh-orange-link); color: #fff; border: none;
    font-weight: 600; font-size: .9rem; line-height: 1;
    padding: .85rem 1.5rem; border-radius: 4px; text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.sh-btn:hover { background: var(--sh-orange-hover); color: #fff; }
.sh-btn--ghost { background: #fff; color: var(--sh-text); }
.sh-btn--ghost:hover { background: #f1f1f1; color: #000; }
.sh-btn .fa, .sh-btn .fas { font-size: .85em; }

/* Star ratings — gold color, centered on cards */
.star-rating { color: #f5a623; float: none !important; display: inline-block !important; }
.star-rating::before { color: #e0e0e0; }
.star-rating span::before { color: #f5a623; }
/* Center stars: make parent a flex row that centers its children */
.product-info { display: flex !important; flex-direction: column; align-items: center; }
.woocommerce-product-rating { text-align: center; display: flex !important; justify-content: center; align-items: center; }
.woocommerce-product-rating .star-rating { margin: 0; }

/* WooCommerce + block-editor button radius — applies to every native WC button
 * and the block editor button class site-wide. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.woocommerce .widget_price_filter .price_slider_amount .button,
.wp-element-button,
.wp-block-button__link,
.sh-btn { border-radius: 4px !important; font-weight: 700 !important; text-transform: capitalize !important; }
.woocommerce .quantity input.qty { border-radius: 4px !important; }

/* =================================================================
 * 1. ANNOUNCEMENT BAR
 * ================================================================= */
.sh-announce {
    background: linear-gradient(90deg, var(--sh-grad-start) 0%, var(--sh-grad-end) 100%);
    color: #fff; text-align: center; font-size: .85rem; font-weight: 500;
    padding: 8px 16px;
}
.sh-announce a { color: #fff; text-decoration: none; font-weight: 600; }
.sh-announce a:hover { text-decoration: none; background: rgb(0 0 0 / 20%); }
.sh-announce a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sh-announce strong { font-weight: 700; }

/* =================================================================
 * 2. HEADER / NAV restyle (markup preserved in header.php)
 *    Make the navbar a solid white bar with dark text/icons.
 * ================================================================= */
.sh-site-header .navbar {
    background: #fff !important;
    border-bottom: 1px solid var(--sh-border);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    padding-block: .5rem;
}
/* Full-bleed header, matching the live signal4 nav (container-fluid, 35px
 * gutters, no cap). The previous 1320px max-width squeezed .mega-nav's flex
 * items below their content width, which is what stacked the link labels. */
.sh-site-header .navbar > .sh-header__container {
    max-width: none;
    margin-inline: 0;
    padding-inline: 35px;
}
/* Once the bar is full-bleed there is room for every label on one line.
 * Scoped to >=1200px so the cramped 768-1199px range can still wrap rather
 * than overflow horizontally. */
/* -----------------------------------------------------------------
 * Centred nav, with laptop step-downs.
 *
 * signal4 in production solves this by overriding .mega-nav to
 * justify-content:center + gap, then stepping gap / padding / font-size down
 * at 1440px and 1200px so five top-level items stay on one line. This is the
 * same strategy, adapted: flex:1 flanks keep the group on the true viewport
 * centre instead of relying on the two flanks happening to match.
 *
 * Without the step-downs the labels wrapped and the page scrolled sideways
 * from about 1250px down - the original full-width bug, just at laptop sizes.
 * ----------------------------------------------------------------- */
@media (min-width: 992px) {
    /* Equal-width flanks put the link group on the exact viewport centre.
     * min-width:auto still stops either flank shrinking under its content. */
    .sh-site-header .sh-header__container > .navbar-brand,
    .sh-site-header .sh-header__container > .second-menu { flex: 1 1 0; }
    .sh-site-header .sh-header__container > .second-menu { justify-content: flex-end; }
    .sh-site-header .sh-header__container > #navbarNav { flex: 0 1 auto; }

    .sh-site-header .mega-nav {
        width: auto;
        justify-content: center;
        gap: 31px;              /* + 24px li padding each side = 79px between
                                   labels, matching what production computes */
    }
    .sh-site-header .mega-nav > li > a { white-space: nowrap; }
}

/* Inherited from signal4: .navbar-dark .navbar-brand { width: 300px }
 * (style.css:13922, source sass/components/_mega-menu.scss:33). That box was
 * sized for the old wider logo; sh-logo.svg renders at 200px, leaving 100px of
 * dead space inside the anchor. Combined with Bootstrap's 1rem brand margin it
 * pushed .mega-nav right, so space-evenly's equal end gaps landed 211px after
 * the logo but only 95px before the cart icons. Now 115px at both ends.
 * NB: the logo needs a definite height here. sh-logo.svg carries only a
 * viewBox (no width/height attrs), so width:auto on both the brand and the
 * image sizes the anchor to zero and the logo disappears. */
.sh-site-header .navbar-dark .navbar-brand {
    width: auto;
    margin-right: 0;
}
/* Her 40px logo, expressed as a definite height. max-height cannot be used here:
 * sh-logo.svg carries only a viewBox, so max-height + width:auto on a brand that
 * is itself width:auto resolves to zero and the logo disappears. */
.sh-site-header .navbar .site-logo { height: 40px; width: auto; }

/* Laptop: 992-1399. Full-size type needs ~1352px, so step down rather than
 * wrap. Logo drops to 34px (200px wide) to give the group more room. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .sh-site-header .mega-nav { gap: 12px; }
    .sh-site-header .mega-nav > li { padding-inline: 1rem; }
    .sh-site-header .mega-nav > li > a { font-size: 18px; }
    .sh-site-header .navbar .site-logo { height: 34px; }
    .sh-site-header .second-menu { gap: 1.2rem; }
}

/* Small laptop: 992-1199. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sh-site-header .mega-nav { gap: 4px; }
    .sh-site-header .mega-nav > li { padding-inline: 0.6rem; }
    .sh-site-header .mega-nav > li > a { font-size: 16px; }
    .sh-site-header .navbar .site-logo { height: 30px; }
    .sh-site-header .second-menu { gap: 1rem; }
}

.sh-site-header .second-menu { display: flex; align-items: center; gap: 1.8rem; position: relative; top: 5px; }
.sh-site-header .second-menu a { color: #1f2937 !important; font-size: 0 !important; line-height: 0 !important; }
.sh-site-header .second-menu a i { font-size: 1.2rem; display: inline-block; }
.sh-site-header .second-menu a span { font-size: 0; }
.sh-site-header .second-menu #sh-cart-trigger .sh-cart-count { font-size: 0.6rem; }
.sh-site-header .second-menu a:hover { color: var(--sh-orange-link) !important; }

/* -----------------------------------------------------------------
 * Mobile / tablet header (< 992px). Must match the navbar-expand-* boundary
 * in header.php, which is now -lg (992px): below that the toggler shows, so
 * the drawer styling has to cover the same range. 991.98 rather than 992
 * because Bootstrap expands AT 992 and a max-width:992 query would overlap.
 * ----------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* 35px gutters cost 17.5% of a 400px screen. 16px frames the
     * logo/hamburger row without crowding it. */
    .sh-site-header .navbar > .sh-header__container { padding-inline: 16px; }

    /* Drawer panels run edge to edge; the gutter above only frames the top row. */
    .sh-site-header .sh-header__container > #navbarNav,
    .sh-site-header .sh-header__container > .second-menu {
        width: calc(100% + 32px);
        margin-inline: -16px;
    }

    /* Icons ride inside the menu instead of sitting on their own row under the
     * logo. .second-menu follows the collapse in the DOM, so its visibility can
     * track the collapse state through a sibling selector - no markup change,
     * and the desktop layout above is untouched. .collapsing is matched too so
     * the icons animate in with the drawer rather than popping in at the end. */
    .sh-site-header .sh-header__container > .second-menu { display: none; }
    .sh-site-header .sh-header__container > #navbarNav.show ~ .second-menu,
    .sh-site-header .sh-header__container > #navbarNav.collapsing ~ .second-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 0;
        top: 0;                      /* cancel the desktop 5px nudge */
        background: #f8f9fa;         /* matches .mega-nav's mobile panel */
        border-bottom: 1px solid #dee2e6;
        padding-block: .5rem;
    }

    /* Touch targets: 24px glyph + 12px padding = 48px square, above the 44px
     * minimum. Padding rather than min-width so the box still hugs the glyph. */
    .sh-site-header .second-menu > a { padding: 12px; }
    .sh-site-header .second-menu > a i { font-size: 24px; }

    /* Keep the cart badge on the icon corner. Its desktop offsets (-7/-9) are
     * measured against a box that hugs the glyph, so 12-7 and 12-9 reproduce
     * the same relationship once 12px of padding is added. */
    .sh-site-header .second-menu #sh-cart-trigger .sh-cart-count {
        top: 5px;
        right: 3px;
    }
}

/* WooCommerce success notices retain their alert markup and cart link. */
.woocommerce .woocommerce-message,
.woocommerce-message {
    position: relative;
    padding: 1.25rem 1.5rem 1.25rem 3.75rem;
    margin: 0 0 2rem;
    border-top: 4px solid #188038;
    border-radius: 4px;
    background: #f0f8f1;
    color: #173b25;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.woocommerce .woocommerce-message::before,
.woocommerce-message::before {
    top: 1.25rem;
    left: 1.4rem;
    color: #188038;
    font-size: 1.25rem;
    line-height: 1.35;
}

.woocommerce .woocommerce-message a.button,
.woocommerce-message a.button {
    margin: 0 0 0.5rem 1.5rem;
    white-space: nowrap;
    background-color: #c7441b;
    color: #fff;
}

.woocommerce .woocommerce-message a.button:hover,
.woocommerce-message a.button:hover {
    background-color: #b83e19;
    color: #fff;
}

.woocommerce .woocommerce-message a.button:active,
.woocommerce-message a.button:active {
    background-color: #963312;
    color: #fff;
}

@media (max-width: 600px) {
    .woocommerce .woocommerce-message,
    .woocommerce-message {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1rem 1rem 3.25rem;
        font-size: 1rem;
    }

    .woocommerce .woocommerce-message::before,
    .woocommerce-message::before {
        top: 1rem;
        left: 1.1rem;
    }

    .woocommerce .woocommerce-message a.button,
    .woocommerce-message a.button {
        float: none;
        order: 1;
        margin: 0.75rem 0 0;
    }
}

#sh-cart-drawer .sh-cart-drawer__close:focus-visible {
    outline: 2px solid #13191F;
    outline-offset: 3px;
}

/* The drawer is white even on the dark site canvas. Set its text baseline
 * here so unlinked products and WooCommerce totals inherit a readable color. */
#sh-cart-drawer {
    color: #222;
}

#sh-cart-drawer .woocommerce-mini-cart-item dl.variation {
    color: #4B4949;
}

#sh-cart-drawer .woocommerce-mini-cart__empty-message {
    color: var(--sh-muted);
}

#sh-cart-drawer .woocommerce-mini-cart__buttons a.checkout {
    background-color: #cf4a24;
}

#sh-cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover {
    background-color: #bf4012;
}

/* Mega-menu description paragraphs.
 * [data-bs-theme="dark"] body sets color:#fff site-wide (sass/base/_base.scss:22,
 * compiled to style.css:13666) because <html> carries data-bs-theme="dark". The
 * Company panel's columns are genuinely white, so a <p> with no colour of its own
 * inherits white and vanishes - the sibling <h4> only shows because mega-menu-2.php
 * gives it an explicit colour. Matching the [data-bs-theme="dark"] body prefix is
 * required to win on specificity (see CLAUDE.md).
 *
 * Deliberately keyed to a class rather than .mega-col p: the RF Test Equipment and
 * Software panels have dark background-image gradients on their columns, where the
 * inherited white is correct. A broad selector would turn those dark-on-dark. */
[data-bs-theme="dark"] body .mega-menu-container .mega-col__desc {
    color: var(--sh-text);
}

/* Mega-menu description paragraphs.
 * [data-bs-theme="dark"] body sets color:#fff site-wide (sass/base/_base.scss:22,
 * compiled to style.css:13666) because <html> carries data-bs-theme="dark". The
 * Company panel's columns are genuinely white, so a <p> with no colour of its own
 * inherits white and vanishes - the sibling <h4> only shows because mega-menu-2.php
 * gives it an explicit colour. Matching the [data-bs-theme="dark"] body prefix is
 * required to win on specificity (see CLAUDE.md).
 *
 * Deliberately keyed to a class rather than .mega-col p: the RF Test Equipment and
 * Software panels have dark background-image gradients on their columns, where the
 * inherited white is correct. A broad selector would turn those dark-on-dark. */
[data-bs-theme="dark"] body .mega-menu-container .mega-col__desc {
    color: var(--sh-text);
}

/* =================================================================
 * 3. HERO SLIDER
 * ================================================================= */
/* White card wrapper — shadow + radius match .sh-premium at the page bottom */
.sh-hero-wrap { margin: 0; background: #fff; border-radius: 0; box-shadow: none; padding: 0; width: 100%; }
.sh-hero { position: relative; background: var(--sh-darker); border-radius: 0; overflow: hidden; width: 100%; }
/* Locked height so slides with different amounts of text keep the carousel
 * the same height (no "bounce" when slides change). */
.sh-hero .carousel-item,
.sh-hero__slide { height: 560px; }
.sh-hero__slide {
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    background-color: #0d1a28; /* fallback before a hero image loads */
}
/* Dark-to-light gradient, left to right: keeps the headline legible over the
 * image while the right side reveals the photo (mirrors the design). */
.sh-hero__slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg,
        rgba(13, 26, 40, 0.92) 0%,
        rgba(13, 26, 40, 0.80) 28%,
        rgba(13, 26, 40, 0.50) 58%,
        rgba(13, 26, 40, 0.15) 100%);
}
@media (max-width: 768px) {
    .sh-hero-wrap { margin: 0; border-radius: 0; padding: 0; }
    .sh-hero { border-radius: 0; }
    .sh-hero .carousel-item,
    .sh-hero__slide { height: 480px; }
}
.sh-hero__inner { position: relative; z-index: 2; max-width: var(--sh-maxw); margin: 0 auto; padding: 64px 24px; width: 100%; }
.sh-hero__content { max-width: 750px; color: #fff; }
.sh-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin: 0 0 1rem; max-width: 100% !important; }
.sh-hero__text { font-size: 1.05rem; line-height: 1.6; color: #d6dbe2; margin: 0 0 1.75rem; max-width: 460px; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sh-hero__actions .sh-btn--ghost { background: #c7441b; color: #fff; }
.sh-hero__actions .sh-btn--ghost:hover { background: #b83e19; color: #fff; }
.sh-hero__actions .sh-btn--ghost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* carousel controls */
.sh-hero .carousel-control-prev, .sh-hero .carousel-control-next {
    width: 5%; z-index: 3; opacity: 1;
    --bs-carousel-control-icon-filter: none;
}
.sh-hero .carousel-control-prev-icon, .sh-hero .carousel-control-next-icon {
    background-color: var(--sh-darker);
    border-radius: 4px;
}
.sh-hero .carousel-control-prev:focus-visible,
.sh-hero .carousel-control-next:focus-visible,
.sh-hero .carousel-indicators [data-bs-target]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
    box-shadow: inset 0 0 0 4px var(--sh-darker);
}
@media (max-width: 1279.98px) {
    .sh-hero .carousel-control-prev, .sh-hero .carousel-control-next { width: 24px; }
}
.sh-hero .carousel-indicators { margin-bottom: 1.25rem; z-index: 15; }
/* Visual dot stays 9px (the content circle), but a transparent border gives
 * each one a 25px clickable target so the dots are easy to hit. */
.sh-hero .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 8px solid transparent;
    background-clip: padding-box;
    opacity: 1;
    margin: 0;
}
/* Dot colors are scoped under [data-bs-theme="dark"] so they outrank
 * Bootstrap 5.3's dark color-mode rule, which forces indicators to black.
 * Inactive = translucent white, active = solid white. */
[data-bs-theme="dark"] .sh-hero .carousel-indicators [data-bs-target] { background-color: rgba(255, 255, 255, 0.45); }
[data-bs-theme="dark"] .sh-hero .carousel-indicators [data-bs-target]:not(.active):hover { background-color: rgba(255, 255, 255, 0.75); }
[data-bs-theme="dark"] .sh-hero .carousel-indicators .active { background-color: #fff; }

/* =================================================================
 * 4. WHY SIGNAL HOUND
 * ================================================================= */
.sh-why { background: var(--sh-cream); }
.sh-why__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1320px; margin: 0 auto; }
.sh-why__media {
    min-height: 420px; background-size: cover; background-position: center;
    background-color: #c9c2b8; /* placeholder for engineers photo */
}
.sh-why__body { padding: 64px clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.sh-why__body h2 { font-size: 1.9rem; font-weight: 700; color: var(--sh-text); margin: 0 0 1.5rem; }
.sh-why__feature { margin-bottom: 1.25rem; }
.sh-why__feature h3 { font-size: 1rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .25rem; }
.sh-why__feature p { font-size: .95rem; color: #4b5563; margin: 0; line-height: 1.5; max-width: 420px; }
.sh-why__body .sh-btn { align-self: flex-start; margin-top: .75rem; }

/* =================================================================
 * 5. RF SOLUTIONS (dark)
 * ================================================================= */
.sh-solutions { background: var(--sh-dark); color: #fff; padding: 72px 0 32px; }

/* RF Solutions landing: cards are populated from published child pages. */
.sh-rf-landing { background: var(--sh-light); color: var(--sh-text); padding: 72px 0; }
.sh-rf-landing__intro { max-width: 720px; margin-bottom: 3rem; }
.sh-rf-landing__intro h1 { margin: 0 0 1rem; }
.sh-rf-landing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.sh-rf-landing__card { min-width: 0; background: #fff; }
.sh-rf-landing__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sh-rf-landing__body { padding: 1.5rem; overflow-wrap: anywhere; }
.sh-rf-landing__body h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.sh-rf-landing__body a { color: #a8340f; }
.sh-rf-landing__body a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sh-rf-landing__body p { margin: 0; }
@media (max-width: 992px) { .sh-rf-landing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .sh-rf-landing__grid { grid-template-columns: minmax(0, 1fr); } }
.sh-solutions h2 { font-size: 1.9rem; font-weight: 700; margin: 0 0 .75rem; }
.sh-solutions__intro { color: #b0b8c0; max-width: 720px; margin: 0 0 3rem; line-height: 1.6; }
.sh-solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.5rem; }
.sh-solution {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem;
}
.sh-solution__icon {
    width: 46px; height: 46px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--sh-green); font-size: 1.5rem;
    border: none;
    grid-column: 1; grid-row: 1;
}
.sh-solution h3 {
    font-size: 1.15rem; font-weight: 700; margin: 0; color: #bffbff !important;
    grid-column: 2; grid-row: 1;
    display: flex; align-items: center;
    word-break: break-word;
    max-width: 180px;
}
[data-bs-theme="dark"] body .sh-solution h3 { color: #bffbff !important; }
.sh-solution__list {
    list-style: none; padding: 0; margin: 0 0 0.25rem;
    color: #fff; font-size: .95rem; line-height: 1.6;
    grid-column: 2; grid-row: 2;
}
.sh-solution__list li {
    margin: 0 0 .5rem 0; padding-left: 1.25rem; position: relative;
}
.sh-solution__list li::before {
    content: "•"; position: absolute; left: 0; color: #bffbff; font-weight: bold;
}
.sh-solution .sh-solution-link {
    grid-column: 2; grid-row: 3;
    align-self: start;
    color: #bffbff !important;
    margin-top: 0;
    margin-bottom: 2.0rem;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

/* =================================================================
 * 6. FEATURED CONTENT RESOURCES (light, straight top)
 * ================================================================= */
.sh-resources { background: var(--sh-light); padding: 0 0 20px; position: relative; }
.sh-resources__curve { display: none; }
.sh-resources__head { padding-top: 8px; }
.sh-resources h2 { font-size: 1.9rem; font-weight: 700; color: var(--sh-text); margin: 1.5rem 0 .75rem; }
.sh-resources__intro { color: #4b5563; max-width: 760px; margin: 0 0 2.5rem; line-height: 1.6; }

.sh-resources__grid {
    display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1.5rem;
}
.sh-rcard {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 290px; border-radius: 10px; overflow: hidden; color: #fff;
    background: #243040 center/cover no-repeat; text-decoration: none;
}
.sh-rcard--tall { grid-row: span 2; }
.sh-rcard--tall .sh-rcard__tag { top: 35%; }
.sh-rcard::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(19,32,44,0) 0%, rgba(20,29,37,0.8) 55%, rgba(20,26,32,1) 100%);
    z-index: 1;
}
.sh-rcard__featured-link { position: absolute; inset: 0; z-index: 2; }
.sh-rcard__featured-link:focus-visible { outline: 3px solid var(--sh-orange); outline-offset: -3px; }
.sh-rcard__tag {
    position: absolute; top: 50px; left: 0; z-index: 4;
    background: linear-gradient(90deg, #FF6A45, #FA4A4E);
    color: #181d24; font-size: .9rem; font-weight: 700;
    padding: 12px 20px; border-radius: 0; letter-spacing: .02em; width: 50%; text-decoration: none;
}
.sh-rcard a.sh-rcard__tag:hover,
.sh-rcard a.sh-rcard__tag:focus-visible { color: #181d24; background: #ff6a45; }
.sh-rcard__body { position: relative; z-index: 3; padding: 22px; pointer-events: none; }
[data-bs-theme="dark"] body .sh-rcard__title { font-size: 1.4rem; font-weight: 700; margin: 0 0 1rem; color: #fff !important; line-height: 1.25; }
.sh-rcard--youtube .sh-rcard__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sh-rcard__text { font-size: 1rem; color: #fff; margin: 0 0 1rem; line-height: 1.6; }
.sh-rcard .sh-arrow-link { color: #fff; font-weight: 600; font-size: 0.95rem; }
.sh-rcard:hover .sh-arrow-link { color: var(--sh-orange); }

/* Reserve ribbon space when desktop resource titles wrap as well. */
.sh-resources .sh-rcard:not(.sh-rcard--tall) { justify-content: flex-start; }
.sh-resources .sh-rcard:not(.sh-rcard--tall) .sh-rcard__tag {
    position: relative; top: auto; left: auto;
    flex-shrink: 0; margin-top: 50px;
}
.sh-resources .sh-rcard:not(.sh-rcard--tall) .sh-rcard__body { margin-top: auto; }

/* =================================================================
 * 7. SOFTWARE HIGHLIGHTS
 * ================================================================= */
.sh-software { background: var(--sh-light); padding: 20px 0; }
.sh-software h2 { font-size: 1.9rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .75rem; }
.sh-software__intro { color: #4b5563; max-width: 720px; margin: 0 0 2.5rem; line-height: 1.6; }

.sh-software__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sh-prodcard {
    background: #fff; border-radius: 10px; overflow: hidden;
    display: grid; grid-template-columns: 130px 1fr; box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.sh-prodcard__side {
    background: linear-gradient(160deg, var(--sh-grad-start), var(--sh-grad-end));
    color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: .5rem;
}
.sh-prodcard__badge {
    align-self: flex-start; background: rgba(255,255,255,.22); color: #fff;
    font-size: .65rem; font-weight: 700; letter-spacing: .06em; padding: .2rem .5rem; border-radius: 3px;
}
.sh-prodcard__logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-top: auto; }
.sh-prodcard__note { font-size: .72rem; line-height: 1.4; color: rgba(255,255,255,.92); }
.sh-prodcard__main { padding: 20px; display: flex; flex-direction: column; }
.sh-prodcard__shot {
    width: 100%; height: 110px; border-radius: 6px; margin-bottom: .9rem;
    background: #11161d center/cover no-repeat; /* placeholder for app screenshot */
    border: 1px solid #e9ebef;
}
.sh-prodcard__main p { font-size: .85rem; color: #4b5563; line-height: 1.5; margin: 0 0 .75rem; }
.sh-prodcard__main .sh-arrow-link { margin-top: auto; }

/* premium tools */
.sh-premium { margin-top: 3rem; background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.sh-premium__head { display: flex; align-items: center; gap: .9rem; margin-bottom: .35rem; }
.sh-premium__badge { background: var(--sh-text); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .06em; padding: .25rem .55rem; border-radius: 3px; }
.sh-premium__head h3 { font-size: 1.15rem; font-weight: 700; color: var(--sh-text); margin: 0; }
.sh-premium__intro { color: #4b5563; font-size: .9rem; margin: 0 0 1.5rem; }
.sh-premium__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.sh-tool { background: var(--sh-dark); color: #fff; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; }
.sh-tool h4 { font-size: .9rem; font-weight: 700; margin: 0 0 .6rem; }
.sh-tool ul { list-style: none; padding: 0; margin: 0 0 .8rem; }
.sh-tool li { font-size: .72rem; color: var(--sh-muted-light); line-height: 1.4; padding-left: .8rem; position: relative; margin-bottom: .3rem; }
.sh-tool li::before { content: "\2022"; position: absolute; left: 0; color: var(--sh-green); }
.sh-tool .sh-arrow-link { margin-top: auto; font-size: .8rem; }

/* =================================================================
 * 8. CTA BANNER
 * ================================================================= */
.sh-cta { position: relative; overflow: visible; background: linear-gradient(100deg, var(--sh-grad-start) 0%, var(--sh-grad-end) 100%); margin-top: 30px; }
.sh-cta__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: var(--sh-maxw); margin: 0 auto; min-height: 60px; position: relative; }
.sh-cta__media { position: relative; margin-top: -100px; background: top center/contain no-repeat; width: 100%; height: 185px; }
.sh-cta__body { padding: 20px 24px 20px 12px; color: #fff; }
.sh-cta__body h2 { font-size: 1.8rem; font-weight: 700; margin: 0 0 0; }
.sh-cta__body p { font-size: 1rem; line-height: 1.5; margin: 0 0 0.5rem; max-width: 440px; color: rgba(255,255,255,.95); }
.sh-cta__body .sh-arrow-link { color: #fff; font-size: 1rem; font-weight: 700; }
.sh-cta__body .sh-arrow-link:hover { color: #1f2937; text-decoration: none; }

/* =================================================================
 * 9. FOOTER (markup rebuilt in footer.php)
 * ================================================================= */
.sh-footer { background: var(--sh-dark); color: #fff; padding: 56px 0 28px; }
.sh-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 2rem; align-items: start; }
.sh-footer__links { list-style: none; padding: 0; margin: 0; }
.sh-footer__links li { margin-bottom: .6rem; }
.sh-footer__links a { color: #c7ccd3; text-decoration: none; font-size: .9rem; }
.sh-footer__links a:hover { color: #fff; }
.sh-footer__brand { text-align: left; }
.sh-footer__brand img { max-width: 170px; height: auto; margin-bottom: 1rem; }
.sh-footer__social {
    --sh-social-link-size: 34px;
    display: flex;
    gap: .65rem;
    /* Align the first glyph (Facebook, .625em at 1rem) with the logo. */
    margin-inline-start: calc((.625rem - var(--sh-social-link-size)) / 2);
}
.sh-footer__social a {
    width: var(--sh-social-link-size); height: var(--sh-social-link-size); border-radius: 50%; background: transparent;
    color: #b8e5f5; display: flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none;
    transition: color .15s ease;
}
.sh-footer__social a:hover { color: var(--sh-orange-link); }
.sh-footer__social a:focus-visible { outline: 2px solid #b8e5f5; outline-offset: 2px; }
.sh-footer__bar {
    border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    font-size: .82rem; color: var(--sh-muted-light);
}
.sh-footer__bar a { color: var(--sh-muted-light); text-decoration: none; }
.sh-footer__bar a:hover { color: #fff; }

/* =================================================================
 * 10. PAGE TEMPLATE (default + full-width)
 * ================================================================= */
.sh-page-hero {
    position: relative;
    background-image: url("../img/shbanner.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #181d24;
    min-height: 260px;
    display: flex; align-items: center;
    padding: 48px 0;
}

/* Standard page artwork, including the Press Releases listing template. */
body.page-template-default .sh-page-hero,
body.page-template-page-presss-releases .sh-page-hero {
    background-image: url("../img/shbanner.png") !important;
}

/* Page heading gradient background */
.page-heading-simple { background: linear-gradient(to bottom, #13202C 0%, #181d24 100%) !important; }

/* Sticky post section heading — match Bootstrap dark-mode specificity to override */
[data-bs-theme="dark"] body .sticky-post-section h1,
[data-bs-theme="dark"] body .sticky-post-section .display-5 {
    color: #fff !important;
}

/* Blog post card headings */
[data-bs-theme="dark"] body .card-title {
    color: #fff !important;
}

/* Product category archives share the shop background and catalog refinements below. */

/* ===== WOOCOMMERCE PRODUCT ARCHIVE REFINEMENTS ===== */

/* Intro text: centered with appropriate width */
.woocommerce-products-header {
    padding-bottom: 0;
    margin-top: -3rem;
}
.woocommerce-products-header .col-lg-12:last-child {
    margin-top: -3rem;
}
.woocommerce-products-header .page-heading-simple {
    padding-bottom: 0;
    margin-bottom: 0;
}
[data-bs-theme="dark"] body .woocommerce-products-header .col-lg-12:first-child h1,
[data-bs-theme="dark"] body .woocommerce-products-header h2,
[data-bs-theme="dark"] body .page-description h2 {
    margin-bottom: 0 !important;
    color: #B8E5F5 !important;
}
[data-bs-theme="dark"] body .sh-product-tabs-content-wrap h2 {
    margin-bottom: 0 !important;
}
.woocommerce-products-header .col-lg-12:last-child {
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 0 !important;
    margin-bottom: 3rem !important;
}
.woocommerce-products-header p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Archive page container spacing */
.woocommerce .container.py-4 {
    padding-top: 5.4rem !important;
    padding-bottom: 3rem !important;
}

/* Shop descriptions can span multiple lines. Let the heading reserve their space. */
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header .page-heading-simple {
    height: auto;
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header .page-heading-simple .row {
    height: auto !important; /* Bootstrap's h-100 utility. */
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header .page-heading-simple .col-lg-12:last-child {
    margin-bottom: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container.py-4 {
    padding-top: 2rem !important;
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container .col-12.text-md-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container :is(.woocommerce-result-count, .woocommerce-ordering) {
    float: none;
    margin: 0;
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container .woocommerce-ordering select {
    max-width: 100%;
    min-height: 44px;
    /* Draw the arrow at a consistent inset across browsers. */
    appearance: none;
    padding-inline-end: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
@media (forced-colors: active) {
    :is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container .woocommerce-ordering select {
        appearance: auto;
        padding-inline-end: 12px;
        background-image: none;
    }
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container :is(.woocommerce-notices-wrapper, .woocommerce-store-notice) {
    flex-basis: 100%;
}
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container .woocommerce-notices-wrapper:empty {
    display: none;
}

/* The archive grid renders product list items inside a Bootstrap row. */
:is(.woocommerce-shop, .tax-product_cat) .woocommerce-products-header + .container .row > li.product {
    list-style: none;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination {
    background-color: transparent;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers {
    border-color: #D8E0E6;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li {
    border-color: #D8E0E6;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li > .page-numbers {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    background-color: #13202C;
    color: #fff;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li > a:hover,
:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li > a:focus-visible {
    background-color: #1C3349;
    text-decoration: underline;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li > a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

:is(.woocommerce-shop, .tax-product_cat) nav.woocommerce-pagination ul.page-numbers li > .current {
    background-color: #F3F4F6;
    color: #13191F;
    font-weight: 700;
}


/* Blog pagination follows the product archive controls. */
.sh-blog-pagination { margin-top: 2rem; background: transparent; }
.sh-blog-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sh-blog-pagination li > .page-numbers {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: .5rem .75rem;
    border: 1px solid #D8E0E6;
    background: #13202C;
    color: #fff;
    text-decoration: none;
}
.sh-blog-pagination li > a:hover,
.sh-blog-pagination li > a:focus-visible {
    background: #1C3349;
    color: #fff;
    text-decoration: underline;
}
.sh-blog-pagination li > a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sh-blog-pagination li > .current { background: #F3F4F6; color: #13191F; font-weight: 700; }

/* Catalog contact CTA uses the standard action colors. */
.sh-catalog-contact .sh-btn {
    background: #cf4a24;
    font-weight: 700;
}
.sh-catalog-contact .sh-btn:hover { background: #bf4012; }
.sh-catalog-contact .sh-btn:active { background: #a5350d; }
.sh-catalog-contact .sh-btn:focus-visible {
    outline: 2px solid var(--sh-orange);
    outline-offset: 2px;
}

/* Sidebar & grid spacing */
.shop-sidebar {
    background: #13202C !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}
.shop-sidebar h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* The global nav background must not create a white panel inside the sidebar. */
.shop-sidebar nav[aria-label] { background: transparent; font-size: .9rem; }
.shop-sidebar nav[aria-label] .list-unstyled li,
.shop-sidebar nav[aria-label] .list-unstyled li a {
    color: #F3F4F6 !important;
}
.shop-sidebar nav[aria-label] a:hover,
.shop-sidebar nav[aria-label] a:focus-visible {
    text-decoration: underline;
}
:is(.woocommerce-shop, .tax-product_cat) .shop-sidebar li.cat-item > a {
    display: inline;
}
.shop-sidebar .card-title.fw-bold.mb-3 {
    color: #B8E5F5 !important;
}

/* Product grid: tighter spacing */
.woocommerce ul.products {
    gap: 1.5rem;
}

/* Product card: cleaner styling */
.product-card {
    border-radius: 8px !important;
    padding: 1rem !important;
    background: #fff !important;
    transition: box-shadow 0.2s ease;
}
.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Product image: reduce empty space */
.product-card img {
    max-height: 240px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

/* Product info: better hierarchy */
.product-info {
    padding: 0.75rem 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
}

/* Product title: reduce prominence, dark blue color */
.product-card h2,
.product-card .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    margin: 0 !important;
    color: #181d24 !important;
}

/* Product price: green color, small and regular weight */
.product-card .price {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--sh-green) !important;
    margin: 0 0 -0.25rem !important;
}

/* Catalog text contrast on white product cards. */
:is(.woocommerce-shop, .tax-product_cat) .product-card .woocommerce-loop-product__title a {
    color: #BF4012;
}

:is(.woocommerce-shop, .tax-product_cat) .product-card .price {
    color: #4B4949 !important;
}


/* Rating: subtle */
.product-card .star-rating {
    font-size: 0.85rem !important;
    opacity: 0.8;
}

/* Product button wrap: eliminate spacing, bring closer to price */
.product-button-wrap {
    padding-top: 0;
    margin-top: 0;
}
.product-button-wrap .button {
    width: 100%;
    font-size: 0.85rem !important;
}
[data-bs-theme="dark"] body .sh-page-hero__title {
    color: #fff !important;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700; line-height: 1.15; margin: 0; max-width: 760px;
}

.sh-page { background: #fff; padding: 56px 0 72px; overflow-x: clip; }

/* Content constrained to the same container as the home page + the H1,
 * so body copy left-aligns under the page title. */
.sh-page__content { max-width: var(--sh-maxw); margin: 0 auto; padding-inline: 24px; }
/* Full Width template: content is edge-to-edge by default (sections/blocks
 * span the whole viewport, flush to the browser edges). Use the
 * .sh-constrained utility (below) to pull individual blocks back in. */
.sh-page--full .sh-page__content--wide { max-width: none; padding-inline: 0; }

/* Utility: re-constrain any block to the home-page container (1200px),
 * centred, with the standard gutter. Add it via a block's
 * Advanced -> "Additional CSS class(es)" field. Works in either template,
 * but it's the main tool for the Full Width template. */
.sh-page .sh-constrained {
    max-width: var(--sh-maxw);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}
/* Same idea, but only constrains the INNER content while the block's own
 * background still spans full width (mirrors a Group's "inner blocks use
 * content width" toggle for non-Group markup). */
.sh-page .sh-constrained-inner > * {
    max-width: var(--sh-maxw);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

/* ---- Block alignment break-outs (work in both templates) --------
 * The content area is centred in the viewport, so the classic
 * calc(50% - 50vw) margins pull a block out to the viewport edges.
 * .sh-page has overflow-x:clip to swallow scrollbar-width overflow. */
.sh-page__content .alignwide {
    margin-left: calc(25% - 25vw);
    margin-right: calc(25% - 25vw);
    max-width: 100vw; width: auto;
}
.sh-page__content .alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw; width: auto;
}
.sh-page__content .alignfull > img,
.sh-page__content .alignfull img.wp-block-image { width: 100%; }

/* ---- Content typography (matches the design) -------------------- */
.sh-page__content > * { margin-top: 0; }
.sh-page__content h2 { font-size: 1.6rem; font-weight: 700; margin: 2.25rem 0 1rem; line-height: 1.25; }
.sh-page__content h3 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 .75rem; }
.sh-page__content h4 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.sh-page__content p { line-height: 1.7; margin: 0 0 1.25rem; }

/* Keep the RF guides button legible without changing other primary buttons. */
.sh-rf-fundamentals .sh-page__content a.btn.btn-primary[href="#guides"] { background-color: #c7441b; color: #fff; }
.sh-rf-fundamentals .sh-page__content a.btn.btn-primary[href="#guides"]:hover { background-color: #b83e19; color: #fff; }
.sh-rf-fundamentals .sh-page__content a.btn.btn-primary[href="#guides"]:active { background-color: #963312; color: #fff; }
.sh-rf-fundamentals .sh-page__content a.btn.btn-primary[href="#guides"]:focus-visible { outline: 2px solid var(--sh-text); outline-offset: 3px; }

/* Cart tables sit on the light page canvas inside the dark site theme. */
.woocommerce-cart .sh-page__content :is(.woocommerce-cart-form, .cart_totals) .shop_table {
    color: var(--sh-text);
}
.woocommerce-cart .sh-page__content .woocommerce-cart-form .product-name a {
    color: var(--sh-text);
}
.woocommerce-cart .cross-sells a.button.add_to_cart_button,
.woocommerce-cart .sh-page__content .wc-proceed-to-checkout a.checkout-button {
    min-width: min(150px, 100%);
    padding: 12px 24px;
    color: #fff;
    background-color: #018845;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    text-transform: capitalize;
}
.woocommerce-cart .cross-sells a.button.add_to_cart_button:hover,
.woocommerce-cart .sh-page__content .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #016f38;
}
.woocommerce-cart .cross-sells a.button.add_to_cart_button:active,
.woocommerce-cart .sh-page__content .wc-proceed-to-checkout a.checkout-button:active {
    background-color: #015a2d;
}
.woocommerce-cart .cross-sells a.button.add_to_cart_button:focus-visible,
.woocommerce-cart .sh-page__content .wc-proceed-to-checkout a.checkout-button:focus-visible {
    outline: 2px solid #13191f;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgb(240 84 35 / 40%);
}
.woocommerce-cart .cross-sells .woocommerce-loop-product__title a {
    color: #4b4949;
}
.woocommerce-cart .cross-sells .woocommerce-loop-product__title a:hover {
    color: #BF4012;
    text-decoration: none;
}
.woocommerce-cart .cross-sells .product-card .price {
    color: #4b4949 !important;
}
/* Keep the native remove link and center its text inside the circle. */
.woocommerce-cart .woocommerce-cart-form a.remove {
    display: inline-grid;
    place-items: center;
    background-color: var(--sh-light);
    text-decoration: none;
}
.woocommerce-cart .woocommerce-cart-form a.remove:is(:hover, :active) {
    color: #fff !important; /* Match WooCommerce's important remove-link color. */
    background-color: var(--wc-red);
}

/* Classic cart coupon controls. */
#signal6-cart-form .coupon > #coupon_code,
#signal6-cart-form .coupon > button[name="apply_coupon"] {
    box-sizing: border-box;
    height: 48px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
}
#signal6-cart-form .coupon > #coupon_code {
    padding: 0 12px;
    background-color: #fff;
    color: #13191f;
}
#signal6-cart-form .coupon > #coupon_code:not(.has-error) {
    border-color: #d8e0e6;
}
#signal6-cart-form .coupon > #coupon_code::placeholder {
    color: #6b7580;
    opacity: 1;
}
#signal6-cart-form .coupon > #coupon_code:focus-visible {
    outline: 2px solid #f05423;
    outline-offset: 2px;
}
#signal6-cart-form .coupon > button[name="apply_coupon"] {
    padding: 0 12px;
    border: 0;
    background-color: #cf4a24;
    color: #fff;
    font-weight: 700;
}
#signal6-cart-form .coupon > button[name="apply_coupon"]:hover {
    background-color: #bf4012;
}
#signal6-cart-form .coupon > button[name="apply_coupon"]:active {
    background-color: #a5350d;
}
@media (min-width: 769px) {
    #signal6-cart-form .coupon > #coupon_code {
        width: 180px;
        margin-inline-end: 12px;
    }
}

/* Standard cart actions reuse Bootstrap's state variables. */
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart .sh-page__content .return-to-shop a.button {
    --bs-btn-bg: #cf4a24;
    --bs-btn-hover-bg: #bf4012;
    --bs-btn-active-bg: #a5350d;
    --bs-btn-disabled-bg: var(--sh-border);
    --bs-btn-disabled-color: var(--sh-text);
    --bs-btn-disabled-opacity: 1;
    padding: 12px 24px;
    color: #fff;
    background-color: var(--bs-btn-bg);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    transition-property: box-shadow;
}
@media (scripting: none) {
    .woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:disabled {
        display: none !important;
    }
}
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:enabled:hover,
.woocommerce-cart .sh-page__content .return-to-shop a.button:hover {
    color: #fff;
    background-color: var(--bs-btn-hover-bg);
}
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:enabled:active,
.woocommerce-cart .sh-page__content .return-to-shop a.button:active {
    background-color: var(--bs-btn-active-bg);
}
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:focus-visible,
.woocommerce-cart .return-to-shop a.button:focus-visible,
.woocommerce-cart .woocommerce-cart-form a.remove:focus-visible {
    outline: 2px solid var(--sh-dark);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgb(240 84 35 / 40%);
}
.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:disabled {
    color: var(--bs-btn-disabled-color);
    background-color: var(--bs-btn-disabled-bg);
    opacity: var(--bs-btn-disabled-opacity);
    cursor: not-allowed;
    padding: 12px 24px;
}


/* Keep the cart's cross-sells and totals aligned within the page grid. */
.woocommerce-cart .cart-collaterals:has(> .cross-sells) {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
.woocommerce-cart .cart-collaterals:has(> .cross-sells)::before,
.woocommerce-cart .cart-collaterals:has(> .cross-sells)::after {
    display: none;
}
.woocommerce-cart .cart-collaterals:has(> .cross-sells) > :is(.cross-sells, .cart_totals) {
    width: auto;
    float: none;
    min-width: 0;
}
.woocommerce-cart .cart-collaterals > :is(.cross-sells, .cart_totals) > h2 {
    margin-block: 0 1rem;
}
.woocommerce-cart .cross-sells > .row > .product {
    margin-bottom: 0 !important; /* Bootstrap's row gutter supplies the spacing. */
}
.woocommerce-cart .cross-sells .woocommerce-loop-product__title {
    max-height: none;
    overflow: visible;
    overflow-wrap: anywhere;
}
.woocommerce-cart .cross-sells .product-card img {
    display: block;
    width: min(100%, 12rem);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
}
.woocommerce-cart .cross-sells .product-button-wrap .button {
    min-height: 3rem;
}
.woocommerce-cart .woocommerce-cart-form .quantity input.qty {
    height: 3rem;
}

@media (min-width: 576px) {
    .woocommerce-cart .cross-sells > .row > .product {
        width: 50%;
    }
}
@media (min-width: 992px) {
    .woocommerce-cart .cart-collaterals:has(> .cross-sells) {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}
@media (max-width: 767px) {
    .woocommerce-cart .woocommerce-cart-form .shop_table_responsive td:not(.actions),
    .woocommerce-cart .cart_totals .shop_table_responsive td {
        padding: .75rem 1rem;
    }
    .woocommerce-cart .woocommerce-cart-form .product-name {
        overflow-wrap: anywhere;
    }
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        width: 100%;
    }
}


/* Classic checkout uses the light page palette and a navy order table. */
body.woocommerce-checkout .sh-page__content .woocommerce {
    --wc-red: #b42318;
    color: var(--sh-text);
    color-scheme: light;
}

body.woocommerce-checkout .sh-page__content .woocommerce :is(
    .input-text, textarea, select, .select2-selection--single, .select2-selection__rendered
),
body.woocommerce-checkout .select2-dropdown .select2-search__field {
    color: var(--sh-text);
    background-color: #fff;
}

/* SelectWoo appends its open country/state dropdown to the body. */
body.woocommerce-checkout .select2-dropdown {
    color: var(--sh-text);
    color-scheme: light;
}

body.woocommerce-checkout .sh-page__content .woocommerce :is(
    .showcoupon, .showlogin, .lost_password a, .woocommerce-privacy-policy-link,
    .woocommerce-terms-and-conditions-link, .woocommerce-remove-coupon,
    .woocommerce-shipping-totals a, .woocommerce-info a:not(.button), .woocommerce-error a:not(.button)
) {
    color: var(--sh-surface-link);
}

body.woocommerce-checkout .sh-page__content .woocommerce :is(
    .showcoupon, .showlogin, .lost_password a, .woocommerce-privacy-policy-link,
    .woocommerce-terms-and-conditions-link, .woocommerce-remove-coupon,
    .woocommerce-shipping-totals a, .woocommerce-info a:not(.button), .woocommerce-error a:not(.button)
):is(:hover, :active) {
    color: var(--sh-surface-link-hover);
}

body.woocommerce-checkout .sh-page__content .woocommerce :is(
    a, button, input, textarea, select, .select2-selection
):focus-visible {
    outline: 2px solid var(--sh-surface-focus);
    outline-offset: 2px;
}

/* Keep the order-review wrapper available to WooCommerce for AJAX updates.
 * Payment, terms and validation keep their own light surfaces below the table. */
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
    --sh-surface-link: var(--sh-grad-start);
    --sh-surface-link-hover: #fff;
    --sh-surface-focus: var(--sh-grad-start);
    --sh-checkout-separator: rgb(255 255 255 / 20%);
    background-color: var(--sh-text);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: clamp(12px, 2vw, 24px);
    margin-inline: 0;
    overflow-wrap: anywhere;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr > :is(th, td) {
    border-color: var(--sh-checkout-separator);
    padding: 0.65rem 0.5rem;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table
.order-total:not(.recurring-total) > :is(th, td) {
    border-top: 2px solid var(--sh-checkout-separator);
    padding-top: 0.9rem;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Page prose list styles also reach WooCommerce's structural lists. */
body.woocommerce-checkout .sh-page__content :is(
    .woocommerce-shipping-methods, .payment_methods, .woocommerce-SavedPaymentMethods, .woocommerce-error
) > li {
    color: inherit;
    padding-inline-start: 0;
}

body.woocommerce-checkout .sh-page__content :is(
    .woocommerce-shipping-methods, .payment_methods, .woocommerce-SavedPaymentMethods, .woocommerce-error
) > li::before {
    content: none;
    position: static;
}

body.woocommerce-checkout .sh-page__content ul.woocommerce-error {
    padding-inline-start: 3.5em;
}

body.woocommerce-checkout #order_review #payment {
    background-color: var(--sh-light);
    color: var(--sh-text);
}

body.woocommerce-checkout #order_review #payment .payment_box .input-text::placeholder {
    color: var(--sh-muted);
}

/* Checkout export acknowledgment uses the light page palette, including in dark mode. */
body.woocommerce-checkout #ccl_checkout_options {
    --bs-alert-bg: var(--sh-light);
    --bs-alert-color: var(--sh-text);
    --bs-alert-border-color: var(--sh-border);
}
body.woocommerce-checkout #ccl_checkout_options a { color: #BF4012; }
body.woocommerce-checkout #ccl_checkout_options a:hover { color: var(--sh-text); }
body.woocommerce-checkout #ccl_checkout_options :is(a, input[type="checkbox"]):focus-visible {
    outline: 2px solid var(--sh-text);
    outline-offset: 3px;
}

/* Keep the outline variant legible when WordPress also loads its classic fill. */
.wp-block-button.is-style-outline > .wp-block-button__link:where(:not(.has-text-color)),
.wp-block-button__link.is-style-outline:where(:not(.has-text-color)) { color: inherit; }
.wp-block-button.is-style-outline > .wp-block-button__link:where(:not(.has-background)),
.wp-block-button__link.is-style-outline:where(:not(.has-background)) { background-color: transparent; }
.sh-page__content ul, .sh-page__content ol { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.sh-page__content ul { list-style: none; }
.sh-page__content ul > li { position: relative; padding-left: 1.1rem; margin-bottom: .5rem; line-height: 1.6; }
.sh-page__content ul > li::before { content: "\2022"; color: var(--sh-surface-link, var(--sh-orange-link)); font-weight: 700; position: absolute; left: 0; top: 0; }
/* bbPress uses lists for both structural layout and post content. */
.sh-page__content #bbpress-forums ul > li::before {
    content: none;
}

.sh-page__content #bbpress-forums > ul > li,
.sh-page__content #bbpress-forums > ul > li > ul > li {
    padding-left: 0;
    margin-bottom: 0;
    line-height: inherit;
}

/* Post bodies are content, not bbPress's structural lists. */
.sh-page__content #bbpress-forums :is(.bbp-topic-content, .bbp-reply-content) ul {
    list-style: disc outside;
}
.sh-page__content #bbpress-forums :is(.bbp-topic-content, .bbp-reply-content) ul ul {
    list-style-type: circle;
}
.sh-page__content #bbpress-forums :is(.bbp-topic-content, .bbp-reply-content) ul > li {
    padding-left: 0;
    margin-bottom: 0;
    color: inherit;
    line-height: inherit;
}
/* Keep bbPress text readable on light forum backgrounds. */
.sh-page__content #bbpress-forums {
    color: var(--sh-text);
}

/* Forum wrapper: shared page hero, readable content and legacy widget area.
 * Action/link colors follow Camila's October 23 palette used below.
 */
.sh-forums {
    --sh-forum-action: #cf4a24;
    --sh-forum-link: #bf4012;
    --sh-forum-pressed: #a5350d;
}
.sh-forums__layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); gap: 32px; align-items: start; }
.sh-forums__main, .sh-forums__sidebar { min-width: 0; }
.sh-forums .sh-forums__content { max-width: none; padding: 0; }
.sh-forums__sidebar { background: var(--sh-light); border: 1px solid var(--sh-border); border-radius: 8px; padding: 24px; color: var(--sh-text); }
.sh-forums__widgets { list-style: none; margin: 0; padding: 0; }
.sh-forums__widgets > li + li { border-top: 1px solid var(--sh-border); margin-top: 24px; padding-top: 24px; }
.sh-forums__sidebar ul ul { padding-left: 1.25rem; }
[data-bs-theme="dark"] body .sh-forums__sidebar :is(h2, h3, h4, p, label, dt, dd) { color: var(--sh-text); }
.sh-forums__sidebar .widget-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }
.sh-forums__sidebar a,
.sh-forums .sh-forums__content a:not(.button):not(.sh-btn) { color: var(--sh-forum-link); }
.sh-forums__sidebar a:hover,
.sh-forums .sh-forums__content a:not(.button):not(.sh-btn):hover { color: var(--sh-forum-pressed); }
.sh-forums__sidebar input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
    width: 100%; max-width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--sh-border); border-radius: 4px; background: #fff; color: var(--sh-text);
}
.sh-forums__sidebar :is(button, input[type="submit"], a.button) {
    background: var(--sh-forum-action); color: #fff; border: 0; border-radius: 4px; padding: 10px 16px; font-weight: 700; cursor: pointer;
}
.sh-forums__sidebar :is(button, input[type="submit"], a.button):hover { background: var(--sh-forum-link); color: #fff; }
.sh-forums__sidebar :is(button, input[type="submit"], a.button):active { background: var(--sh-forum-pressed); }
.sh-forums__sidebar :is(a, button, input):focus-visible { outline: 2px solid var(--sh-dark); outline-offset: 3px; }
.sh-forums__sidebar .bbp-search-form form { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-forums__sidebar .bbp-search-form input[type="text"] { flex: 1 1 100%; }
.sh-forums__sidebar .bbp-login-form fieldset { min-width: 0; }
.sh-forums__sidebar .bbp-login-form label { display: block; }
.sh-forums__sidebar .bbp-login-form .bbp-remember-me label { display: inline; }
.sh-forums__sidebar .bbp-login-links { clear: both; padding-top: 12px; }
.sh-forums__sidebar dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.sh-forums__sidebar dd { margin: 0; }
@media (max-width: 991px) {
    .sh-forums__layout { grid-template-columns: minmax(0, 1fr); }
}
.sh-page__content ol > li { margin-bottom: .5rem; line-height: 1.6; }
.sh-page__content img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
    .sh-page-hero { min-height: 180px; padding: 32px 0; }
}

/* =================================================================
 * 11. ACF "SH SECTION" BLOCK
 * ================================================================= */
.sh-acf-section { padding: 48px 0; }
.sh-acf-section--none { padding: 20px 0; }
.sh-acf-section--light { background: var(--sh-light); }
.sh-acf-section--dark { background: var(--sh-dark); color: #fff; }
.sh-acf-section__inner { width: 100%; }
/* "Full width" content option: span the section edge-to-edge with a small
 * responsive gutter so text/columns aren't jammed against the viewport. */
.sh-acf-section__inner--full { max-width: none; padding-inline: clamp(24px, 4vw, 64px); }
.sh-acf-section__title { font-size: 1.6rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .5rem; }
.sh-acf-section__intro { color: #4b5563; max-width: 720px; margin: 0 0 1.75rem; line-height: 1.6; }
.sh-acf-section--dark .sh-acf-section__intro { color: var(--sh-muted-light); }
.sh-acf-section__cols {
    display: grid;
    grid-template-columns: repeat(var(--sh-cols, 3), minmax(0, 1fr));
    gap: 1.75rem;
}
.sh-acf-col h3 { font-size: 1.05rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .4rem; }
.sh-acf-col p { color: #4b5563; line-height: 1.55; margin: 0 0 .6rem; }
.sh-acf-section--dark .sh-acf-col p { color: var(--sh-muted-light); }
.sh-acf-section__placeholder { color: #888; font-size: .95rem; }
/* Up to 6 columns: wrap gracefully rather than cram them on narrow screens. */
@media (max-width: 992px) {
    .sh-acf-section__cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 560px) {
    .sh-acf-section__cols { grid-template-columns: 1fr; }
}

/* =================================================================
 * 12. ACF "FEATURE HIGHLIGHTS" BLOCK (generic media + features + CTA)
 * ================================================================= */
.sh-fh { background: var(--sh-cream); }
.sh-fh__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.sh-fh__media { min-height: 420px; background-size: cover; background-position: center; background-color: #c9c2b8; }
.sh-fh__body { padding: 64px clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.sh-fh__heading { font-size: 1.9rem; font-weight: 700; color: var(--sh-text); margin: 0 0 1.5rem; }
.sh-fh__feature { margin-bottom: 1.25rem; }
.sh-fh__feature h3 { font-size: 1rem; font-weight: 700; color: var(--sh-text); margin: 0 0 .25rem; }
.sh-fh__feature p { font-size: .95rem; color: #4b5563; margin: 0; line-height: 1.5; max-width: 460px; }
.sh-fh__body .sh-btn { align-self: flex-start; margin-top: .75rem; }
/* Flip the image to the right side (the grid stays source-order on mobile). */
.sh-fh--image-right .sh-fh__media { order: 2; }
@media (max-width: 992px) {
    .sh-fh__grid { grid-template-columns: 1fr; }
    .sh-fh__media { min-height: 280px; }
    .sh-fh--image-right .sh-fh__media { order: 0; }
}

/* =================================================================
 * 13. WOOCOMMERCE PRODUCT PAGE
 * ================================================================= */

/* Smooth-scroll and spacing for the purchase section's native anchors. */
html { scroll-behavior: smooth; }
#sh-buy { scroll-margin-top: 88px; }
#sh-buy-options { scroll-margin-top: 120px; }

/* ---- Product Hero ---- */
.sh-product-hero {
    background: #0d1a28;
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.sh-product-hero--bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sh-product-hero__card {
    width: 100%;
    max-width: 700px;
    margin: 0;
    padding: 0 24px 0 200px;
}
/* Content card — semi-transparent white, rounded bottom corners only */
.sh-product-hero__content {
    background: rgba(255,255,255,0.92);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin-top: 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.sh-product-hero__image {
    margin: 0 0 16px 0;
}
/* ---- TABS NAVIGATION MODULE (SEPARATE) ---- */
.sh-product-tabs-nav-wrap {
    background: rgba(243, 244, 246, 0.7);
    width: auto;
    max-width: 1100px;
    margin: -70px auto 0;
    padding: 0;
    position: relative;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

.sh-product-tabs-nav-wrap .sh-wrap {
    padding: 0;
    display: flex;
    justify-content: center;
}

.sh-product-tabs-nav {
    border-bottom: none;
    margin: 0;
    padding: 0;
    background: transparent;
    display: flex;
    width: 100%;
}

/* ---- TABS CONTENT MODULE (SEPARATE) ---- */
.sh-product-tabs-content-wrap {
    background: var(--sh-dark);
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 9;
}

.sh-product-tabs-nav ul.wc-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    overflow: visible;
    width: 100%;
    flex-wrap: nowrap;
    gap: 0;
}

.sh-product-tabs-nav ul.wc-tabs::before,
.sh-product-tabs-nav ul.wc-tabs::after {
    display: none; content: none;
}

.sh-product-tabs-nav ul.wc-tabs li {
    flex: 1;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-right: 1px solid #fff;
    position: relative;
}

.sh-product-tabs-nav ul.wc-tabs li:last-child {
    border-right: none;
}

.sh-product-tabs-nav ul.wc-tabs li::before,
.sh-product-tabs-nav ul.wc-tabs li::after {
    display: none; content: none;
}

.sh-product-tabs-nav ul.wc-tabs li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    color: var(--sh-text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
}

.sh-product-tabs-nav ul.wc-tabs li:first-child a {
    border-radius: 8px 0 0 0;
}

.sh-product-tabs-nav ul.wc-tabs li:last-child a {
    border-radius: 0 8px 0 0;
}

.sh-product-tabs-nav ul.wc-tabs li:not(.active) > a:hover {
    background: rgba(0, 0, 0, .05);
    color: var(--sh-text);
}

/* Active tab: dark blue background with white text */
.sh-product-tabs-nav ul.wc-tabs li.active {
    background: var(--sh-dark);
    border-right: none;
}

.sh-product-tabs-nav ul.wc-tabs li.active > a {
    color: #fff;
    font-weight: 700;
    background: var(--sh-dark);
    padding: 20px 24px;
}

.sh-product-tabs-nav ul.wc-tabs li.active:first-child {
    border-radius: 8px 0 0 0;
}

.sh-product-tabs-nav ul.wc-tabs li.active:first-child > a {
    border-radius: 8px 0 0 0;
}

.sh-product-tabs-nav ul.wc-tabs li.active:last-child {
    border-radius: 0 8px 0 0;
}

.sh-product-tabs-nav ul.wc-tabs li.active:last-child > a {
    border-radius: 0 8px 0 0;
}

/* Tab panels styling */
.sh-product-tabs-content-wrap {
    --sh-details-column-width: 920px;
    --sh-details-freeform-width: 820px;
    --sh-details-container-width: var(--sh-details-freeform-width);
    --sh-details-sidebar-width: 260px;
    --sh-details-column-gap: 56px;
    --sh-details-available-width: min(100%, var(--sh-details-column-width));
    --sh-details-content-gutter: 0px;
}

/* Free-form-only Details can be narrower than the mixed-content column. */
.sh-product-tabs-content-wrap:has(.sh-pd-section > .sh-pd-block--freeform):not(:has(.sh-pd-section > :not(.sh-pd-block--freeform))) {
    --sh-details-column-width: var(--sh-details-freeform-column-width, var(--sh-details-freeform-width));
}

/* Match the centered Bootstrap container and its inner half-gutter. */
@media (576px <= width < 768px) {
    .sh-product-tabs-content-wrap { --sh-details-container-width: 540px; }
}
@media (768px <= width < 992px) {
    .sh-product-tabs-content-wrap { --sh-details-container-width: 720px; }
}
.sh-product-tabs-content-wrap:has(.sh-pd-section > .sh-pd-block--freeform:first-child > .container) {
    --sh-details-freeform-column-width: var(--sh-details-container-width);
    --sh-details-content-gutter: calc(.75rem + max(0px, (min(var(--sh-details-available-width), var(--sh-details-freeform-width)) - var(--sh-details-container-width)) / 2));
}

.sh-product-tabs-content-wrap .woocommerce-Tabs-panel {
    background: transparent !important;
    padding: 40px 0 !important;
    margin-top: 0 !important;
}

@media (min-width: 769px) {
    .sh-product-tabs-content-wrap {
        --sh-details-column-start: 0px;
    }
    .sh-product-tabs-content-wrap:has(.sh-pd-layout > .sh-pd-content:only-child) {
        --sh-details-column-start: max(0px, (100% - var(--sh-details-column-width)) / 2);
    }
    .sh-product-tabs-content-wrap:has(.sh-pd-layout > .sh-pd-sidebar) {
        --sh-details-column-start: calc(var(--sh-details-sidebar-width) + var(--sh-details-column-gap));
        --sh-details-available-width: calc(100% - var(--sh-details-column-start));
    }
    .sh-product-tabs-content-wrap :is(#tab-sh_size_weight, #tab-additional_information, #tab-download_tab, #tab-reviews) {
        padding-inline-start: calc(var(--sh-details-column-start) + var(--sh-details-content-gutter)) !important;
    }
}

/* Tab panels: Let WooCommerce handle visibility - removed custom display rules */
.sh-product-hero__title {
    color: #181d24 !important;
    font-size: 1.6rem !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.6rem;
}
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__title {
    color: #181d24 !important;
}
.sh-product-hero__title-main {
    display: block;
    font-size: 1.6rem !important;
}
.sh-product-hero__title-sub {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
}
.sh-product-hero__desc {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0.8rem;
}
.sh-product-hero__desc p { color: #4b5563; margin: 0; }
/* Price styling inside hero card */
.sh-product-hero__price { margin: 0 0 1rem; }
.sh-product-hero__price .price { font-size: 1.3rem; font-weight: 700; }
.sh-product-hero__price .price .woocommerce-Price-amount,
.sh-product-hero__price .price .amount { color: #0d1a28 !important; }
/* CTA buttons */
.sh-product-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Outline button used in the hero (sits on the white card) */
.sh-btn--product-outline {
    background: transparent;
    border: 2px solid #0d1a28;
    color: #0d1a28;
    transition: all 0.2s ease;
}
.sh-btn--product-outline:hover {
    background: #0d1a28;
    border-color: #0d1a28;
    color: #fff;
}

/* Order Now button styling */
.single-product .sh-product-order-btn {
    text-decoration: none;
    background: #018845 !important;
    border-color: #018845 !important;
    color: #fff !important;
    transition: all 0.2s ease;
}
.single-product .sh-product-order-btn:hover {
    background: #016F38 !important;
    border-color: #016F38 !important;
    color: #fff !important;
}

.sh-product-hero__image img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Responsive hero section */
@media (max-width: 768px) {
    .sh-product-hero {
        padding: 30px 0 30px;
    }
    .sh-product-hero__card {
        max-width: 100%;
        padding: 0 16px;
    }
    .sh-product-hero__content {
        padding: 20px 16px;
    }
    .sh-product-hero__title-main {
        font-size: 1.3rem;
    }
    .sh-product-hero__title-sub {
        font-size: 0.85rem;
    }
    .sh-product-hero__image {
        margin: 0 0 12px;
    }
    .sh-product-hero__image img {
        max-height: 140px;
    }
    .sh-product-hero__actions {
        gap: 0.5rem;
    }
    .sh-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 560px) {
    .sh-product-hero__card {
        padding: 0 16px;
    }
    .sh-product-hero__content {
        padding: 16px 12px;
    }
    .sh-product-hero__title-main {
        font-size: 1.2rem;
    }
    .sh-product-hero__title-sub {
        font-size: 0.8rem;
    }
    .sh-product-hero__price {
        margin: 0 0 0.8rem;
        font-size: 1.1rem;
    }
    .sh-product-hero__image {
        margin: 0 0 10px;
    }
    .sh-product-hero__image img {
        max-height: 120px;
    }
    .sh-product-hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 0.4rem;
    }
    .sh-btn {
        width: 100%;
        font-size: 0.9rem;
    }
}

/* ---- Downloads bar (below hero) ---- */
.sh-product-dl-bar {
    background: #f0f2f4;
    border-bottom: 1px solid var(--sh-border);
    padding: 14px 0;
}
.sh-product-dl-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
}
.sh-product-dl-link {
    color: var(--sh-orange);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: color .15s;
}
.sh-product-dl-link i { color: var(--sh-orange); font-size: .95rem; }
.sh-product-dl-link:hover { color: var(--sh-orange-link); }

/* Product Downloads tab — make all links orange */
.sh-pd-block--downloads a { color: var(--sh-orange) !important; }

/* In-tab downloads row (inside Product Details tab, on dark background) */
.sh-pd-dl-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2.5rem;
    padding: 18px 0 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 32px;
}
.sh-pd-dl-link {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color .15s;
}
.sh-pd-dl-link i { color: rgba(255,255,255,.45); font-size: .9rem; }
.sh-pd-dl-link:hover { color: #fff; }
.sh-pd-dl-link:hover i { color: var(--sh-orange); }

/* ---- Product Tabs ---- */
.sh-product-tabs-wrap {
    background: var(--sh-dark);
    position: relative;
    z-index: 5;
}

/* Tab content panels */
.sh-product-tabs-wrap .woocommerce-Tabs-panel {
    padding: 44px 0;
    border: none;
    margin: 0;
}
/* WooCommerce auto-inserts an h2 inside each panel — hide the duplicate heading */
.sh-product-tabs-wrap .woocommerce-Tabs-panel > h2:first-child { display: none; }
.sh-product-tabs-wrap .woocommerce-Tabs-panel h2,
.sh-product-tabs-wrap .woocommerce-Tabs-panel h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 1rem; }
/* Buttons inside product details content (e.g., download buttons in free-form) */
[data-bs-theme="dark"] body .sh-product-tabs-content-wrap .btn.btn-primary { color: #fff !important; }
/* Custom downloads tab list */
.sh-product-dl-list {
    list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem;
}
.sh-product-dl-list li {
    display: flex;
    color: rgba(255,255,255,.95) !important;
}
/* Custom tab content wrapper */
.sh-product-tab-content { max-width: 720px; }

/* ---- Video CTA ---- */
.sh-product-video-cta {
    background: #0d1a28;
    padding: 56px 0;
}
.sh-product-video-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
/* Responsive 16:9 embed */
.sh-product-video-cta__embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.sh-product-video-cta__embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 8px;
}
.sh-product-video-cta__text {
    color: var(--sh-text) !important;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
}

/* ---- Buy section (WooCommerce gallery + summary) ---- */
.sh-product-buy {
    background: var(--sh-light);
    padding: 64px 0;
}
/* Two-column grid: gallery left, summary right.
 * WooCommerce fires: gallery div + .summary div as the two children. */
.sh-product-buy__woo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
/* Sale badge (if it ever appears) stays out of the flow */
.sh-product-buy__woo > .onsale {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 5;
}
/* Product gallery column */
.sh-product-buy__woo .woocommerce-product-gallery {
    width: 100% !important; /* override WC's inline width */
}
/* Summary column */
.sh-product-buy__summary {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: none !important;
}
.sh-product-buy__name {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--sh-text);
    margin: 0 0 1rem;
    line-height: 1.3;
}
/* Price in the buy section — keep it dark/standard (not orange like the hero) */
.sh-product-buy__summary .price .amount {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sh-green);
    margin-bottom: 1.25rem;
}
/* Variation dropdowns */
.sh-product-buy__summary .variations { margin-bottom: 0; }
.sh-product-buy__summary .variations label { font-weight: 600; color: var(--sh-text); margin-bottom: 0.5rem; display: block; }
.sh-product-buy__summary .variations p { color: var(--sh-text) !important; margin: 0.35rem 0 0 0; font-size: 0.9rem; }
.sh-product-buy__summary .variations .description { color: var(--sh-text) !important; }
.sh-product-buy__summary .variations * { color: var(--sh-text) !important; }
/* Variation description text (WooCommerce native) */
.woocommerce-variation-description { color: var(--sh-text) !important; font-size: 0.9rem; line-height: 1.4; font-style: italic; font-weight: normal !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.woocommerce-variation-description * { color: var(--sh-text) !important; line-height: 1.4; font-style: italic; font-weight: normal !important; }
[data-bs-theme="dark"] body .sh-product-buy__summary .variations label { color: var(--sh-text) !important; }
[data-bs-theme="dark"] body .sh-product-buy__summary .variations p { color: var(--sh-text) !important; }
[data-bs-theme="dark"] body .sh-product-buy__summary .variations .description { color: var(--sh-text) !important; }
[data-bs-theme="dark"] body .sh-product-buy__summary .variations * { color: var(--sh-text) !important; }
[data-bs-theme="dark"] body .woocommerce-variation-description { color: var(--sh-text) !important; }
[data-bs-theme="dark"] body .woocommerce-variation-description * { color: var(--sh-text) !important; }
.sh-product-buy__summary .variations .value select {
    border: 1px solid var(--sh-border);
    border-radius: 4px;
    padding: .5rem .75rem;
    font-size: .95rem;
    width: 100%;
    max-width: 320px;
    color: var(--sh-text);
    background-color: #fff;
}
/* Bootstrap dark-mode scopes `[data-bs-theme="dark"] body select` — match that prefix to win */
[data-bs-theme="dark"] body .sh-product-buy__summary .variations .value select {
    color: var(--sh-text) !important;
    background-color: #fff !important;
}
/* Required variation guidance; keep WooCommerce button/availability states intact. */
.sh-product-buy__summary .variations .value select.sh-variation-missing {
    border: 2px solid var(--sh-orange);
}
.sh-product-buy__summary .variations .sh-variation-message {
    display: block;
    margin-top: .35rem;
    font-size: .875rem;
    line-height: 1.4;
}
/* Match the Advanced Mapping quantity field to its Add to Cart button. */
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty {
    appearance: textfield;
    height: auto;
    padding-block: .85rem;
    border: 0 solid;
}
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty:focus-visible {
    outline: 2px solid var(--sh-orange);
    outline-offset: -2px;
}
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty.sh-quantity-pointer-focus:focus {
    outline: none;
}
/* Match the purchase controls, including the Advanced Mapping override. */
.single-product .sh-product-buy__summary form.cart .quantity input.qty,
.single-product.postid-248309 .sh-product-buy__summary form.cart .quantity input.qty,
.single-product .sh-product-buy__summary button.single_add_to_cart_button {
    box-sizing: border-box;
    height: 48px;
}
/* Keep the quantity corners aligned with the purchase button. */
.single-product .sh-product-buy__summary form.cart .quantity input.qty {
    border-radius: 4px !important;
}
/* Add to cart button */
.single-product .sh-product-buy__summary button.single_add_to_cart_button {
    background: #018845;
    border-color: #018845;
    color: #fff;
    font-weight: 700;
    padding: .85rem 1.75rem;
    border-radius: 4px;
    font-size: 1rem;
}
.single-product .sh-product-buy__summary button.single_add_to_cart_button:hover {
    background: #016F38;
    border-color: #016F38;
    color: #fff;
}
.single-product .sh-product-order-btn:active {
    background: #015A2D !important;
    border-color: #015A2D !important;
}
.single-product .sh-product-buy__summary button.single_add_to_cart_button:active {
    background: #015A2D;
    border-color: #015A2D;
}
.single-product .sh-product-order-btn:focus-visible,
.single-product .sh-product-buy__summary button.single_add_to_cart_button:focus-visible {
    outline: 2px solid #13191F;
    outline-offset: 3px;
}
.single-product .sh-product-buy__summary button.single_add_to_cart_button:is(:disabled, .disabled, [aria-disabled="true"]) {
    background: #E5E7EB;
    border-color: #E5E7EB;
    color: #1F2937;
    opacity: 1;
}
/* Product meta (SKU / Categories labels) — links stay orange via WC default */
.sh-product-buy .product_meta { color: var(--sh-text); font-size: .875rem; }
.sh-product-buy .product_meta .sku_wrapper,
.sh-product-buy .product_meta .posted_in,
.sh-product-buy .product_meta .tagged_as { color: var(--sh-text); }

/* ---- PEWC (Product Extra) add-on groups ---- */
/* Group headings — "Calibration Type", "Extended Warranty" etc. */
.sh-product-buy .pewc-group-heading,
.sh-product-buy .pewc-group-heading * { color: var(--sh-text) !important; font-weight: 700 !important; font-size: 24px !important; margin-top: 1rem !important; margin-bottom: 0.5rem !important; }
/* Sub-headings / field labels — "Add a calibration certificate" etc. */
.sh-product-buy .pewc-group-description,
.sh-product-buy .pewc-group-description *,
.sh-product-buy .pewc-field-label,
.sh-product-buy .pewc-field-label-text,
.sh-product-buy .pewc-child-product-price-label { color: var(--sh-text) !important; font-size: 1rem !important; line-height: 1.4 !important; }
/* Sub-heading styles — only bold the field labels like "Select an optional extended warranty" */
.sh-product-buy .pewc-field-label,
.sh-product-buy .pewc-field-label-text { font-weight: 700 !important; }
/* Radio option labels and descriptions */
.sh-product-buy .pewc-radio-list-label-wrapper,
.sh-product-buy .pewc-radio-list-label-wrapper *,
.sh-product-buy .pewc-radio-list-desc-wrapper,
.sh-product-buy .pewc-radio-list-desc-wrapper * { color: var(--sh-text) !important; }
/* PEWC groups wrapper — reduce bottom spacing before totals */
.sh-product-buy .pewc-groups-wrapper { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.sh-product-buy .pewc-group-wrap { margin-bottom: 0 !important; }
/* Totals table — "Product total / Options total / Grand total" */
.sh-product-buy .pewc-total-field-wrapper { padding-top: 0 !important; }
.sh-product-buy .pewc-total-field-wrapper,
.sh-product-buy .pewc-total-field,
.sh-product-buy .pewc-total-field * { color: var(--sh-text) !important; margin-top: 0 !important; }
/* Checkbox option labels ("Calibration Certificate Type C +") */
.sh-product-buy .pewc-checkboxes-list-desc,
.sh-product-buy .pewc-checkboxes-list-desc *,
.sh-product-buy .pewc-theme-element { color: var(--sh-text) !important; }
/* Keep purchase options visible on the light buy surface in dark mode. */
.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]) {
    appearance: none;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 1px solid #6b7580;
    cursor: pointer;
}
.single-product .sh-product-buy .pewc-item-field-wrapper input[type="radio"] { border-radius: 50%; }
.single-product .sh-product-buy .pewc-item-field-wrapper input[type="checkbox"] { border-radius: 3px; }
.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):checked {
    background-color: #018845;
    border-color: #018845;
}
.single-product .sh-product-buy .pewc-item-field-wrapper input[type="radio"]:checked {
    background-image: radial-gradient(circle, #fff 0 3px, transparent 3.5px);
}
.single-product .sh-product-buy .pewc-item-field-wrapper input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):focus-visible {
    outline: 2px solid var(--sh-orange);
    outline-offset: 2px;
}
.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):disabled {
    opacity: .5;
    cursor: not-allowed;
}
@media (forced-colors: active) {
    .single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]) { appearance: auto; }
}

/* PEWC preset themes draw the visible control in the sibling span. */
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]) {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]) ~ span.pewc-theme-element {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #6b7580;
}
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):not(:disabled):not(:checked) ~ span.pewc-theme-element:hover {
    background: #f3f4f6;
}
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):checked ~ span.pewc-theme-element,
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):checked ~ span.pewc-theme-element:hover {
    background: #018845;
    border-color: #018845;
}
/* Reset PEWC's checkbox mark geometry for its circular radio indicator. */
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input[type="radio"] ~ span.pewc-theme-element::after {
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):focus-visible ~ span.pewc-theme-element {
    outline: 2px solid var(--sh-orange);
    outline-offset: 2px;
}
.pewc-preset-style.single-product .sh-product-buy .pewc-item-field-wrapper input:is([type="radio"], [type="checkbox"]):disabled ~ span.pewc-theme-element {
    opacity: .5;
    cursor: not-allowed;
}

/* PN400 uses light plugin surfaces inside the theme's dark-mode body. */
#sh-pn400-configurator {
    color: #4B4949;
    color-scheme: light;
}

#sh-pn400-configurator :is(.sh-select, .sh-qty-input, .sh-qty-btn, .sh-note, .sh-review-note) {
    color: inherit;
}

#sh-pn400-configurator .sh-progress-step {
    min-width: 0;
    opacity: 1;
}

#sh-pn400-configurator .sh-step-label {
    display: block;
}

#sh-pn400-configurator .sh-progress-step:not(.active):not(.completed) .sh-step-num {
    color: inherit;
}

#sh-pn400-configurator .sh-progress-step.completed .sh-step-num {
    background-color: #018845;
}

#sh-pn400-configurator .sh-sa-learn-link {
    color: #BF4012;
    text-decoration: underline;
}

#sh-pn400-configurator :is(#sh-prev-btn, #sh-next-btn) {
    background-color: #fff;
    border: 1px solid #4B4949;
    color: #4B4949;
}

#sh-pn400-configurator :is(#sh-prev-btn, #sh-next-btn):enabled:is(:hover, :active) {
    background-color: #E5E7EB;
    color: #4B4949;
}

#sh-pn400-configurator #sh-submit-btn {
    /* Override the plugin's important transparent hover and focus backgrounds. */
    background-color: #018845 !important;
    border-color: #018845;
    color: #fff;
}

#sh-pn400-configurator #sh-submit-btn:enabled:hover {
    background-color: #016F38 !important;
    border-color: #016F38;
}

#sh-pn400-configurator #sh-submit-btn:enabled:active {
    background-color: #015A2D !important;
    border-color: #015A2D;
}

#sh-pn400-configurator :is(#sh-prev-btn, #sh-next-btn, #sh-submit-btn):disabled {
    background-color: #E5E7EB !important;
    border-color: #E5E7EB !important;
    color: #4B4949 !important;
    opacity: 1;
    transition: none;
}

#sh-pn400-configurator :is(button, select, input, a):focus-visible {
    outline: 2px solid #13191F;
    outline-offset: 3px;
}

/* ---- Related products ---- */
/* Related Products uses the Style Guide product-card surface and spacing.
 * Subgrid aligns live titles, optional ratings, prices and actions per row. */
.single-product .related.products {
    --sh-related-action: #cf4a24;
    --sh-related-action-hover: #bf4012;
    --sh-related-action-pressed: #a5350d;
    padding-block: 48px;
}
[data-bs-theme="dark"] body.single-product .related.products > h2 {
    color: var(--sh-light) !important;
}
.single-product .related.products ul.products {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
}
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after {
    display: none;
}
.single-product .related.products ul.products li.product {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    float: none;
    clear: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.single-product .related.products ul.products li.product .product-card {
    display: grid !important;
    grid-template-rows: subgrid;
    grid-row: span 5;
    row-gap: 12px;
    padding: 20px 16px !important;
    border: 1px solid var(--sh-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 14px rgb(0 0 0 / 5%);
}
.single-product .related.products ul.products li.product .product-card:hover {
    box-shadow: 0 8px 24px rgb(0 0 0 / 12%) !important;
}
.single-product .related.products ul.products li.product .product-card > .woocommerce-loop-product__link {
    grid-row: 1;
    min-width: 0;
}
.single-product .related.products ul.products li.product .product-card img {
    display: block;
    width: 100%;
    height: 200px;
    max-height: none;
    object-fit: contain;
    background: #fff;
    border: 0;
    border-radius: 8px;
    margin: 0;
}
.single-product .related.products ul.products li.product .product-info {
    display: grid !important;
    grid-template-rows: subgrid;
    grid-row: 2 / span 3;
    gap: 12px;
    padding: 0 !important;
    text-align: left !important;
    align-items: start;
    min-width: 0;
}
.single-product .related.products ul.products li.product .product-info > .woocommerce-loop-product__link:empty {
    display: none;
}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    grid-row: 1;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 26px;
    max-height: none;
    padding: 0;
    overflow: visible;
    overflow-wrap: anywhere;
}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title a {
    color: var(--sh-text);
}
.single-product .related.products ul.products li.product .star-rating {
    grid-row: 2;
    float: none;
    margin: 0;
    opacity: 1;
    color: var(--sh-related-action-hover);
}
.single-product .related.products ul.products li.product .star-rating span::before {
    color: var(--sh-related-action-hover);
}
.single-product .related.products ul.products li.product .price {
    grid-row: 3;
    margin: 0 !important;
    color: var(--sh-text) !important;
}
.single-product .related.products ul.products li.product .product-button-wrap {
    grid-row: 5;
    align-self: end;
    margin: 0 !important;
}
.single-product .related.products ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    margin: 0 !important;
    padding: 12px 24px;
    font-size: 16px !important;
    line-height: 24px;
    color: #fff;
    background: var(--sh-related-action);
    text-decoration: none;
}
.single-product .related.products ul.products li.product .button:hover {
    color: #fff;
    background: var(--sh-related-action-hover);
    text-decoration: none;
}
.single-product .related.products ul.products li.product .button:active {
    background: var(--sh-related-action-pressed);
}
.single-product .related.products ul.products li.product a:focus-visible {
    outline: 2px solid var(--sh-related-action-hover);
    outline-offset: 4px;
}
.single-product .related.products ul.products li.product .button:focus-visible {
    box-shadow: none;
    text-decoration: none;
}
/* Purchase actions are green; non-purchase product links keep their styling. */
.single-product .related.products ul.products li.product .button.add_to_cart_button { background: #018845; }
.single-product .related.products ul.products li.product .button.add_to_cart_button:hover { background: #016f38; }
.single-product .related.products ul.products li.product .button.add_to_cart_button:active { background: #015a2d; }
@media (min-width: 576px) {
    .single-product .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 992px) {
    .single-product .related.products ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.sh-product-related {
    background: #fff;
    padding: 56px 0;
    border-top: 1px solid var(--sh-border);
}
.sh-product-related .related.products > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sh-text);
    margin: 0 0 1.75rem;
}

/* ---- Product Details: resource links row ---- */
.sh-pd-resources {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    padding: 20px 0;
    margin: 0 0 20px 0;
    border-top: none;
    border-bottom: none;
    justify-content: center;
}

.sh-pd-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sh-orange) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .15s ease;
}

.sh-pd-resource-link:hover {
    color: #fff;
}

.sh-pd-resource-icon {
    display: none;
}

.sh-pd-resource-link:hover .sh-pd-resource-icon {
    opacity: .85;
}

/* ---- Product Details: sidebar sub-navigation (Overview / Features / Tools & Documentation / Videos) ---- */
.sh-pd-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--sh-details-column-gap);
    margin-top: 32px;
}

/* When there's no sidebar (single section), center and constrain the content */
.sh-pd-layout:has(> .sh-pd-content:only-child) {
    justify-content: center;
}
.sh-pd-layout > .sh-pd-content:only-child {
    width: 100%;
    max-width: var(--sh-details-column-width);
}

.sh-pd-layout > .sh-pd-sidebar + .sh-pd-content {
    flex: 1 1 0%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.sh-pd-layout > .sh-pd-sidebar + .sh-pd-content .sh-pd-block--freeform:has(table) {
    overflow-x: auto;
}

.sh-pd-sidebar {
    flex: 0 0 var(--sh-details-sidebar-width);
    width: var(--sh-details-sidebar-width);
    position: sticky;
    top: 100px;
    background: transparent !important;
    box-shadow: none;
    border: none;
}

.sh-pd-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sh-pd-sidebar__list > li {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

[data-bs-theme="dark"] body .sh-pd-sidebar__link {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 0 12px 0;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}

[data-bs-theme="dark"] body .sh-pd-sidebar__link.is-active {
    font-weight: 700 !important;
    font-size: 1.08rem !important;
    position: relative !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #B8E5F5 !important;
}

.sh-pd-panels {
    flex: 1 1 auto;
    min-width: 0;
}

.sh-pd-panel {
    display: none;
}

.sh-pd-panel.is-active {
    display: block;
}

.sh-pd-panel[hidden] { display: none; }

/* Product detail content blocks */
.sh-pd-block {
    margin-bottom: 1.5rem;
}

.sh-pd-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.sh-pd-block p {
    color: rgba(255,255,255,.95);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.sh-pd-block p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .sh-pd-layout {
        flex-direction: column;
        gap: 24px;
    }
    .sh-pd-layout > .sh-pd-sidebar + .sh-pd-content {
        flex: 0 0 auto;
        width: 100%;
    }
    .sh-pd-sidebar {
        position: static;
        width: 100%;
        flex: 0 0 auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .sh-pd-sidebar__list {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 16px;
    }
    .sh-pd-sidebar__link {
        border-left: 3px solid transparent;
        border-bottom: 2px solid transparent;
        padding: 12px 16px;
        background: none;
    }
    .sh-pd-sidebar__link:hover {
        background: none;
    }
    .sh-pd-sidebar__link.is-active {
        --sh-tab-link: #ffb875;
        border-left: 3px solid var(--sh-light-blue) !important;
        border-bottom: none !important;
        background: rgba(184, 229, 245, 0.25) !important;
    }
}

/* ---- Product Details flexible content tab layouts ---- */
.sh-pd { /* wrapper for all flex layouts */ }

/* Shared block shell */
.sh-pd-block { margin: 0 0 2rem; }
.sh-pd-block__heading { font-size: 1.3rem; font-weight: 700; color: var(--sh-text); margin: 0 0 1rem; }
.sh-pd-subheading { font-size: 1.15rem; font-weight: 700; color: var(--sh-text); margin: 1.75rem 0 .75rem; }

/* Full-width image */
.sh-pd-block--fullimg img { width: 100%; height: auto; display: block; border-radius: 6px; }
.sh-pd-fullimg__text { margin-top: .75rem; color: var(--sh-muted); font-size: .95rem; }

/* What's in the box */
.sh-pd-block--inbox { background: var(--sh-light); border-radius: 8px; padding: 28px; }
.sh-pd-inbox__img { max-width: 100%; height: auto; margin-bottom: 1rem; border-radius: 4px; }
.sh-pd-inbox__list { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 1.5rem; }
.sh-pd-inbox__list li { position: relative; padding-left: 1.1rem; margin-bottom: .4rem; color: #1C3349 !important; font-size: .9rem; }
.sh-pd-inbox__list li::before { content: "\2022"; color: var(--sh-orange); font-weight: 700; position: absolute; left: 0; }

/* Inbox with light backgrounds — dark blue text */
.sh-pd-block--inbox.sh-pd-block--bg-light .sh-pd-inbox__list li,
.sh-pd-block--inbox.sh-pd-block--bg-lightgrey .sh-pd-inbox__list li,
.sh-pd-block--inbox.sh-pd-block--bg-light-grey .sh-pd-inbox__list li {
	color: #1C3349 !important;
}

/* Inbox heading and list on light background */
.sh-product-tabs-content-wrap .sh-pd-block--inbox .sh-pd-block__heading {
	color: #1C3349 !important;
}
.sh-product-tabs-content-wrap .sh-pd-block--inbox .sh-pd-inbox__list li {
	color: #1C3349 !important;
}

/* Free-form content */
.sh-pd-block--freeform { max-width: var(--sh-details-freeform-width); }
.sh-pd-block--freeform p { color: #374151; line-height: 1.7; margin: 0 0 1rem; }
.sh-pd-block--freeform h2, .sh-pd-block--freeform h3 { color: var(--sh-text); font-weight: 700; margin: 1.25rem 0 .6rem; }
.sh-pd-block--freeform ul { padding-left: 1.25rem; margin: 0 0 1rem; color: #374151; }
.sh-pd-block--freeform img { max-width: 100%; height: auto; }

/* Specs highlights */
.sh-pd-block--specs { background: var(--sh-dark); border-radius: 8px; padding: 28px; }
.sh-pd-specs__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; }
.sh-pd-specs__list li { color: rgba(255,255,255,.95); font-size: .9rem; padding-left: 1.1rem; position: relative; }
.sh-pd-specs__list li::before { content: "\2022"; color: var(--sh-green); position: absolute; left: 0; font-weight: 700; }

/* Specs with light backgrounds — dark text */
.sh-pd-block--specs.sh-pd-block--bg-light .sh-pd-specs__list li,
.sh-pd-block--specs.sh-pd-block--bg-lightgrey .sh-pd-specs__list li,
.sh-pd-block--specs.sh-pd-block--bg-light-grey .sh-pd-specs__list li {
	color: #1C3349 !important;
}
.sh-pd-block--specs.sh-pd-block--bg-light .sh-pd-specs__list li::before,
.sh-pd-block--specs.sh-pd-block--bg-lightgrey .sh-pd-specs__list li::before,
.sh-pd-block--specs.sh-pd-block--bg-light-grey .sh-pd-specs__list li::before {
	color: var(--sh-orange) !important;
}

/* Image with content */
.sh-pd-block--imgcontent { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.sh-pd-block--imgcontent:not(:has(> .sh-pd-imgcontent__text)) { grid-template-columns: minmax(0, 1fr); }
.sh-pd-block--imgcontent-right .sh-pd-imgcontent__media { order: 2; }
.sh-pd-imgcontent__media { width: 100%; }
.sh-pd-imgcontent__media img { width: 100%; height: auto; border-radius: 6px; }
.sh-pd-imgcontent__text { color: #374151; line-height: 1.7; font-size: .95rem; }

/* Responsive 16:9 video embed */
.sh-pd-embed { width: 100%; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; background: #000; }
.sh-pd-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Standalone video block */
.sh-pd-block--video { width: 100%; max-width: 820px; margin-inline: auto; }

/* CTA Banner block */
.sh-pd-block--cta { background: linear-gradient(100deg, var(--sh-grad-start) 0%, var(--sh-grad-end) 100%); border-radius: 8px; padding: 32px; text-align: center; }
.sh-pd-block--cta h3 { color: var(--sh-dark); font-size: 1.4rem; font-weight: 700; margin: 0 0 1rem; }
.sh-pd-block--cta .sh-btn { background: #fff !important; color: var(--sh-orange) !important; transition: background-color 0.3s ease; }
.sh-pd-block--cta .sh-btn:hover { background: rgba(255, 255, 255, 0.8) !important; }

/* ALL text on light backgrounds must be dark */
.sh-pd-block--bg-lightgrey,
.sh-pd-block--bg-lightgrey h1,
.sh-pd-block--bg-lightgrey h2,
.sh-pd-block--bg-lightgrey h3,
.sh-pd-block--bg-lightgrey h4,
.sh-pd-block--bg-lightgrey h5,
.sh-pd-block--bg-lightgrey h6,
.sh-pd-block--bg-lightgrey p,
.sh-pd-block--bg-lightgrey ul,
.sh-pd-block--bg-lightgrey ol,
.sh-pd-block--bg-lightgrey li,
.sh-pd-block--bg-lightgrey span,
.sh-pd-block--bg-lightgrey a {
    color: var(--sh-text) !important;
}

/* Background color modifiers — used by specs_highlights and image_with_content */
.sh-pd-block--bg-light,
.sh-pd-block--bg-lightgrey,
.sh-pd-block--bg-light-grey { background: var(--sh-light); border-radius: 8px; padding: 28px; }
.sh-pd-block--bg-dark { background: var(--sh-dark); border-radius: 8px; padding: 28px; }
.sh-pd-block--bg-orange { background: var(--sh-orange); border-radius: 8px; padding: 28px; }

/* imgcontent text inherits bg-color padding from parent when a bg modifier is set */
.sh-pd-block--bg-dark .sh-pd-imgcontent__text { color: rgba(255,255,255,.95); }
.sh-pd-block--bg-dark .sh-pd-imgcontent__text h2,
.sh-pd-block--bg-dark .sh-pd-imgcontent__text h3 { color: #fff; }

/* Size & weight tables */
.sh-pd-block--sizeweight { max-width: 800px; }
.sh-pd-specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sh-pd-specs-table th { background: var(--sh-dark); color: #fff; font-weight: 600; padding: 10px 14px; text-align: left; }
.sh-pd-specs-table td { padding: 9px 14px; border-bottom: 1px solid var(--sh-border); color: #fff; }
.sh-pd-specs-table tr:last-child td { border-bottom: none; }
.sh-pd-specs-table tr:nth-child(even) td { background: var(--sh-light); color: #1C3349; }

/* ---- Product page responsive ---- */
@media (max-width: 992px) {
    .sh-product-hero__inner { grid-template-columns: 1fr; }
    .sh-product-hero__image { order: -1; }
    .sh-product-hero__image img { max-height: 260px; }
    .sh-product-video-cta__inner { grid-template-columns: 1fr; }
    .sh-product-buy__woo { grid-template-columns: 1fr; }
    /* Flex content — stack image+text on tablet */
    .sh-pd-block--imgcontent { grid-template-columns: 1fr; }
    .sh-pd-block--imgcontent-right .sh-pd-imgcontent__media { order: 0; }
    .sh-pd-inbox__list { column-count: 1; }
}
@media (max-width: 576px) {
    .sh-product-hero { padding: 48px 0; }
    .sh-product-hero__price .price { font-size: 1.4rem; }
    .sh-product-dl-bar__inner { gap: .75rem 1.25rem; }
    .sh-pd-block--specs { padding: 20px; }
    .sh-pd-block--inbox { padding: 20px; }
}

/* =================================================================
 * SOFTWARE HIGHLIGHTS - CAROUSEL & FILTERING
 * ================================================================= */
.sh-software {
    background: var(--sh-light);
    padding: 80px 0;
}
.sh-software h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sh-text);
    margin: 0 0 .75rem;
}
.sh-software__intro {
    color: #4b5563;
    max-width: 760px;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* Filter buttons */
.sh-software__filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.sh-software__filter {
    background: #fff;
    border: 1px solid var(--sh-border);
    border-radius: 24px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sh-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.sh-software__filter:hover {
    background: #4a5568;
    border-color: #4a5568;
    color: #fff;
}
.sh-software__filter--active {
    background: var(--sh-dark);
    color: #fff;
    border-color: var(--sh-dark);
}
.sh-software__filter--active:hover {
    background: #0f1419;
}

/* Carousel container with navigation */
.sh-software__carousel-container {
    position: relative;
}
.sh-software__carousel-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--sh-border) transparent;
    padding: 12px 12px 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
}
.sh-software__carousel-wrap::-webkit-scrollbar {
    height: 4px;
}
.sh-software__carousel-wrap::-webkit-scrollbar-track {
    background: transparent;
}
.sh-software__carousel-wrap::-webkit-scrollbar-thumb {
    background: var(--sh-border);
    border-radius: 2px;
}

.sh-software__carousel {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

/* Software cards */
.sh-software__card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}
@media (max-width: 1023px) {
    .sh-software__card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 767px) {
    .sh-software__card { flex-basis: 100%; }
}
.sh-software__card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Badge positioning */
.sh-software__card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
}
.sh-software__card-badge--included {
    background: #e8f5e9;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #2faa54;
    font-weight: 700;
}

/* Icon */
.sh-software__card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sh-software__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title */
.sh-software__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000 !important;
    margin: 0 0 0.75rem;
}
[data-bs-theme="dark"] body .sh-software__card-title {
    color: #000 !important;
}

/* Description */
.sh-software__card-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    flex-grow: 1;
}

/* Learn More link */
.sh-software__card-link {
    color: var(--sh-orange-link);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.sh-software__card-link:hover {
    color: var(--sh-orange-hover);
}

/* Screenshot image */
.sh-software__card-image {
    margin-top: 0;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -1.5rem;
    padding: 1rem;
    height: 180px;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    background: #fff;
}
.sh-software__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Hidden state for filtered items */
.sh-software__card.hidden {
    display: none;
}

/* Carousel navigation arrows */
.sh-software__nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
}
.sh-software__nav-arrow svg {
    width: 24px;
    height: 24px;
}
.sh-software__nav-arrow:hover {
    background: #e5e7eb;
    color: #6b7280;
}
.sh-software__nav-arrow:focus-visible {
    outline: 3px solid var(--sh-text);
    outline-offset: 3px;
}
.sh-software__nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.sh-software__nav-arrow--prev {
    left: -30px;
}
.sh-software__nav-arrow--next {
    right: -30px;
}

/* =================================================================
 * HEADING COLOR OVERRIDES
 * Legacy components keep their own heading colors.
 * Ordinary content uses the surface's --bs-heading-color.
 * ================================================================= */
[data-bs-theme="dark"] body .sh-hero__title,
[data-bs-theme="dark"] body .sh-solutions h2,
[data-bs-theme="dark"] body .sh-solution h3,
[data-bs-theme="dark"] body .sh-tool h4,
[data-bs-theme="dark"] body .sh-cta__body h2,
[data-bs-theme="dark"] body .sh-footer h2,
[data-bs-theme="dark"] body .sh-prodcard__logo { color: #fff; }

/* Dark "SH Section" block: titles/column headings go white. */
[data-bs-theme="dark"] body .sh-acf-section--dark .sh-acf-section__title,
[data-bs-theme="dark"] body .sh-acf-section--dark .sh-acf-col h3 { color: #fff; }

/* "Feature Highlights" block headings stay dark on the cream panel. */
[data-bs-theme="dark"] body .sh-fh__heading,
[data-bs-theme="dark"] body .sh-fh__feature h3 { color: var(--sh-text); }

[data-bs-theme="dark"] body .sh-why__body h2,
[data-bs-theme="dark"] body .sh-why__feature h3,
[data-bs-theme="dark"] body .sh-resources h2,
[data-bs-theme="dark"] body .sh-software h2,
[data-bs-theme="dark"] body .sh-premium__head h3,
[data-bs-theme="dark"] body .sh-prodcard__main h3 { color: var(--sh-text); }

/* Product page */
[data-bs-theme="dark"] body .sh-product-hero__title { color: #181d24 !important; }
/* Card context overrides — all text black, must beat the dark-mode rule above (specificity 21) */
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__title { color: #111; }
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__desc,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__desc p { color: #111; }
/* Price: override WooCommerce orange inside the card */
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price .price,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price .price .woocommerce-Price-amount,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price .price .amount,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price del,
[data-bs-theme="dark"] body .sh-product-hero__content .sh-product-hero__price ins { color: #111 !important; }
[data-bs-theme="dark"] body .sh-product-buy__name { color: var(--sh-text); }
[data-bs-theme="dark"] body .sh-product-related .related.products > h2 { color: var(--sh-text); }
[data-bs-theme="dark"] body .sh-product-video-cta__text { color: var(--sh-text) !important; }


/* =================================================================
 * RESPONSIVE
 * ================================================================= */
/* The software arrows also need to fit the gutters above the tablet breakpoint. */
@media (min-width: 992.01px) and (max-width: 1279.98px) {
    .sh-software__nav-arrow--prev { left: -24px; }
    .sh-software__nav-arrow--next { right: -24px; }
}
@media (max-width: 992px) {
    .sh-why__grid { grid-template-columns: 1fr; }
    .sh-why__media { min-height: 280px; }
    .sh-solutions__grid { grid-template-columns: repeat(2, 1fr); }
    .sh-software__row { grid-template-columns: 1fr; }
    .sh-software__nav-arrow--prev { left: -24px; }
    .sh-software__nav-arrow--next { right: -24px; }
    .sh-resources .sh-rcard { justify-content: flex-start; }
    .sh-resources .sh-rcard__tag {
        position: relative; top: auto; left: auto;
        flex-shrink: 0; margin-top: 50px;
    }
    .sh-resources .sh-rcard__body { margin-top: auto; }
    .sh-premium__grid { grid-template-columns: repeat(2, 1fr); }
    .sh-cta__grid { grid-template-columns: 1fr; }
    .sh-cta__media { min-height: 180px; }
    .sh-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .sh-resources__grid { grid-template-columns: 1fr; }
    .sh-rcard--tall { grid-row: span 1; }
    .sh-prodcard { grid-template-columns: 100px 1fr; }
}
@media (max-width: 576px) {
    .sh-solutions__grid { grid-template-columns: 1fr; }
    .sh-premium__grid { grid-template-columns: 1fr; }
    .sh-footer__grid { grid-template-columns: 1fr; }
    .sh-footer__links { columns: 1; }
}

/* =================================================================
 * Related Content Module — Sticky right-side panel
 * ================================================================= */

/* MAIN CONTAINER — VIEWPORT FIXED OVERLAY */
.sh-rcm {
    position: fixed;
    top: 220px;
    right: 0;
    width: 70px;
    height: auto;
    max-height: calc(100vh - 225px);
    z-index: 9999;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transition: width 0.3s ease;
}

.sh-rcm.is-open {
    width: 400px;
}

.sh-rcm * {
    pointer-events: auto;
}

/* COLLAPSED STATE — NARROW TAB */
.sh-rcm__tab {
    width: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px 0 0 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 6px 24px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    padding: 20px 0 12px 0;
    gap: 0px;
}

.sh-rcm.is-open .sh-rcm__tab {
    display: none;
}

.sh-rcm__toggle {
    width: 100%;
    box-sizing: border-box;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 160ms ease;
    flex-shrink: 0;
    order: 2;
    font-size: 0;
    position: relative;
}

.sh-rcm__toggle::before {
    display: none;
}

.sh-rcm__toggle:hover {
    color: var(--sh-text);
}

.sh-rcm__toggle:hover .sh-rcm__icon-chevron {
    transform: translateX(-2px);
}

.sh-rcm__icon-chevron {
    width: 16px;
    height: 16px;
    transition: transform 160ms ease;
}

.sh-rcm__icon-chevron {
    display: none !important;
}

.sh-rcm__toggle-label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.sh-rcm__toggle:hover .sh-rcm__toggle-label {
    color: var(--sh-text);
}

/* COLLAPSED ICONS CONTAINER */
.sh-rcm__collapsed-icons {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 0 0 12px 0;
    order: 1;
}

.sh-rcm__collapsed-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 180ms ease;
    cursor: pointer;
    flex-shrink: 0;
    color: #2faa54;
}

.sh-rcm__collapsed-icon:hover {
    transform: scale(1.08);
    color: #25934a;
}

.sh-rcm__collapsed-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(47, 170, 84, 0.25));
}

/* EXPANDED STATE — FULL PANEL */
.sh-rcm__panel {
    width: 100%;
    height: auto;
    max-height: 500px;
    background: rgba(249, 250, 251, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 12px 0 0 0;
    box-shadow: -4px 8px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sh-rcm.is-open .sh-rcm__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* SCROLLABLE CONTENT AREA */
.sh-rcm__content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 20px 0 20px;
    margin: 0;
    margin-bottom: 0 !important;
}

.sh-rcm__section {
    margin: 0 0 12px;
    padding: 0;
}

.sh-rcm__section:last-child {
    margin: 0 !important;
    padding: 0 !important;
}

.sh-rcm__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-top: 0 !important;
}

.sh-rcm__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-rcm__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.sh-rcm__title {
    color: #181d24 !important;
    font-size: 1.0rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Items list */
.sh-rcm__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sh-rcm__item {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.sh-rcm__item:hover {
    background: #f3f4f6;
    border-color: var(--sh-orange);
    transform: translateX(-2px);
}

.sh-rcm__item-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sh-rcm__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-rcm__file-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
}

.sh-rcm__file-icon svg {
    width: 20px;
    height: 20px;
}

.sh-rcm__item-title {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    word-break: break-word;
}

.sh-rcm__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sh-rcm__item:hover .sh-rcm__play-icon {
    opacity: 1;
}

/* CLOSE BUTTON FOOTER — FIXED AT BOTTOM */
.sh-rcm__footer {
    border-top: 1px solid #e5e7eb;
    background: var(--sh-dark);
    padding: 0;
    flex-shrink: 0;
    margin-top: auto;
}

.sh-rcm__close {
    width: 100%;
    background: var(--sh-dark);
    border: none;
    color: #fff;
    padding: 16px 16px 16px 16px;
    margin-top: 0 !important;
    padding-top: 16px !important;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: all 0.2s ease;
    border-radius: 0 0 0 12px;
}

.sh-rcm__close:hover {
    background: #0d1218;
}

.sh-rcm__close-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sh-rcm.is-open {
        width: 370px;
    }
}

@media (max-width: 768px) {
    .sh-rcm.is-open {
        width: 340px;
    }

    .sh-rcm__content {
        padding: 20px 16px;
    }
}

@media (max-width: 560px) {
    .sh-rcm {
        top: 175px;
        height: calc(100vh - 225px);
    }

    .sh-rcm.is-open {
        width: 100vw;
    }

    .sh-rcm__tab {
        display: none;
    }

    .sh-rcm__content {
        padding: 20px 16px;
    }

    .sh-rcm__header {
        gap: 10px;
    }

    .sh-rcm__icon {
        width: 44px;
        height: 44px;
    }

    .sh-rcm__title {
        font-size: 1rem;
    }

    .sh-rcm__close {
        border-radius: 0;
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

/* Text Block - simple formatted text for non-technical editors */
.sh-pd-block--textblock {
    margin: 24px 0;
    line-height: 1.6;
}

.sh-pd-block--textblock p {
    margin-bottom: 16px;
}

.sh-pd-block--textblock p:last-child {
    margin-bottom: 0;
}

.sh-pd-block--textblock strong {
    font-weight: 700;
}

.sh-pd-block--textblock em {
    font-style: italic;
}

.sh-pd-block--textblock ul,
.sh-pd-block--textblock ol {
    margin: 16px 0 16px 24px;
}

.sh-pd-block--textblock li {
    margin-bottom: 8px;
}

/* =================================================================
 * DESKTOP STYLES (hide accordion header)
 * ================================================================= */
@media (min-width: 769px) {
    .sh-tab-header {
        display: none !important;
    }
}

/* =================================================================
 * MOBILE RESPONSIVE STYLES
 * ================================================================= */
@media (max-width: 768px) {
    /* Hide Related Content Module on mobile to free up space */
    .sh-rcm {
        display: none !important;
    }

    /* Hero section spacing for mobile */
    .sh-product-hero__card {
        padding: 32px 16px;
    }

    /* Mobile Accordion Tabs */
    .sh-product-tabs-nav-wrap {
        display: none;
    }

    .sh-product-tabs-content-wrap {
        --sh-tab-accordion-gutter: 16px;
        --sh-details-available-width: min(100% - 2 * var(--sh-tab-accordion-gutter), var(--sh-details-column-width));
        padding: 0 !important;
        margin: 0 !important;
    }

    .sh-product-tabs-content-wrap .sh-wrap {
        padding-inline: 0 !important;
    }

    /* Accordion panel styling */
    .sh-product-tabs-content-wrap .woocommerce-Tabs-panel {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0px !important;
        margin: 0px !important;
        border: none !important;
        border-bottom: 1px solid #e5e7eb !important;
        gap: 0 !important;
    }

    .sh-product-tabs-content-wrap .woocommerce-Tabs-panel > :is(.sh-tab-header, .sh-tab-content),
    .sh-product-tabs-content-wrap .sh-tab-content > :is(.sh-pd-resources, .sh-pd-layout) {
        margin-block: 0;
    }

    .woocommerce-Tabs-panel:last-child {
        border-bottom: none;
    }

    /* Remove all spacing from tab wrapper */
    .sh-product-tabs-content-wrap {
        gap: 0 !important;
        row-gap: 0 !important;
    }

    /* Accordion header */
    .woocommerce-Tabs-panel .sh-tab-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: #1C3349;
        color: #fff;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        user-select: none;
        border: none;
        width: 100%;
        text-align: left;
    }

    .woocommerce-Tabs-panel .sh-tab-header::after {
        content: "+";
        font-size: 1.5rem;
        font-weight: 700;
        margin-left: auto;
    }

    .woocommerce-Tabs-panel.sh-tab-open .sh-tab-header::after {
        content: "−";
    }

    /* Accordion content */
    .woocommerce-Tabs-panel.sh-tab-closed .sh-tab-content {
        display: none;
    }

    .woocommerce-Tabs-panel.sh-tab-open .sh-tab-content {
        display: block;
        padding: 8px var(--sh-tab-accordion-gutter, 16px) !important;
        animation: slideDown 0.3s ease;
    }

    .sh-product-tabs-content-wrap :is(#tab-sh_size_weight, #tab-additional_information, #tab-download_tab, #tab-reviews).sh-tab-open > .sh-tab-content {
        padding-inline-start: calc(var(--sh-tab-accordion-gutter) + var(--sh-details-content-gutter)) !important;
    }

    /* Tight spacing for download/resource links */
    .sh-pd-resources {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .sh-pd-resources * {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Compact link spacing in accordion content — EXCLUDE sidebar links and product detail content */
    .woocommerce-Tabs-panel .sh-tab-content > .sh-pd-resources a,
    .woocommerce-Tabs-panel .sh-tab-content a:not(.sh-pd-sidebar__link):not(.sh-pd-block *):not(:where(#review_form *)) {
        display: block !important;
        padding: 4px 0 !important;
        margin: 0 !important;
        border: none !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }

    /* Section navigation spacing (mobile only) */
    .sh-pd-sidebar {
        display: block !important;
        padding: 12px 16px !important;
        background: transparent !important;
        border-bottom: 1px solid var(--sh-border) !important;
        margin: 0 !important;
        width: 100%;
        position: static !important;
    }

    /* Content separators */
    .woocommerce-Tabs-panel .sh-tab-content > * {
        padding-bottom: 12px;
        border-bottom: 1px solid var(--sh-border);
    }

    .woocommerce-Tabs-panel .sh-tab-content > *:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Buy section — stack properly on mobile */
    .sh-product-buy__woo {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .sh-product-buy__summary {
        width: 100% !important;
        order: 2;
    }

    /* Product gallery — take full width */
    .woocommerce-product-gallery {
        width: 100%;
        order: 1;
    }

    /* Reduce padding in tabs content */
    .sh-product-tabs-content-wrap {
        padding: 16px 0;
    }

    /* Tighten spacing in product details tab */
    .woocommerce-Tabs-panel {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra tight spacing for very small phones */
    .sh-product-hero__card {
        padding: 24px 12px;
    }

    .sh-product-tabs-nav li a {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .sh-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* Homepage section headings: wider layout */
.sh-solutions h2,
.sh-resources h2,
.sh-software h2,
.sh-premium h3,
.sh-why h2 {
    max-width: 100% !important;
}

/* Hero sections, banners, and dark background sections get white headings */
[data-bs-theme="dark"] body .sh-hero h1,
[data-bs-theme="dark"] body .sh-hero .h1,
[data-bs-theme="dark"] body .sh-hero h2,
[data-bs-theme="dark"] body .sh-hero .h2,
[data-bs-theme="dark"] body .sh-hero h3,
[data-bs-theme="dark"] body .sh-hero .h3,
[data-bs-theme="dark"] body .sh-hero h4,
[data-bs-theme="dark"] body .sh-hero .h4,
[data-bs-theme="dark"] body .sh-hero h5,
[data-bs-theme="dark"] body .sh-hero .h5,
[data-bs-theme="dark"] body .sh-hero h6,
[data-bs-theme="dark"] body .sh-hero .h6,
[data-bs-theme="dark"] body .sh-product-hero h1,
[data-bs-theme="dark"] body .sh-product-hero .h1,
[data-bs-theme="dark"] body .sh-product-hero h2,
[data-bs-theme="dark"] body .sh-product-hero .h2,
[data-bs-theme="dark"] body .sh-product-hero h3,
[data-bs-theme="dark"] body .sh-product-hero .h3,
[data-bs-theme="dark"] body .sh-product-hero h4,
[data-bs-theme="dark"] body .sh-product-hero .h4,
[data-bs-theme="dark"] body .sh-product-hero h5,
[data-bs-theme="dark"] body .sh-product-hero .h5,
[data-bs-theme="dark"] body .sh-product-hero h6,
[data-bs-theme="dark"] body .sh-product-hero .h6,
[data-bs-theme="dark"] body .sh-page-hero h1,
[data-bs-theme="dark"] body .sh-page-hero .h1,
[data-bs-theme="dark"] body .sh-page-hero h2,
[data-bs-theme="dark"] body .sh-page-hero .h2,
[data-bs-theme="dark"] body .sh-page-hero h3,
[data-bs-theme="dark"] body .sh-page-hero .h3,
[data-bs-theme="dark"] body .sh-page-hero h4,
[data-bs-theme="dark"] body .sh-page-hero .h4,
[data-bs-theme="dark"] body .sh-page-hero h5,
[data-bs-theme="dark"] body .sh-page-hero .h5,
[data-bs-theme="dark"] body .sh-page-hero h6,
[data-bs-theme="dark"] body .sh-page-hero .h6,
[data-bs-theme="dark"] body .sh-rcard h1,
[data-bs-theme="dark"] body .sh-rcard .h1,
[data-bs-theme="dark"] body .sh-rcard h2,
[data-bs-theme="dark"] body .sh-rcard .h2,
[data-bs-theme="dark"] body .sh-rcard h3,
[data-bs-theme="dark"] body .sh-rcard .h3,
[data-bs-theme="dark"] body .sh-rcard h4,
[data-bs-theme="dark"] body .sh-rcard .h4,
[data-bs-theme="dark"] body .sh-rcard h5,
[data-bs-theme="dark"] body .sh-rcard .h5,
[data-bs-theme="dark"] body .sh-rcard h6,
[data-bs-theme="dark"] body .sh-rcard .h6,
[data-bs-theme="dark"] body .sh-solutions h1,
[data-bs-theme="dark"] body .sh-solutions .h1,
[data-bs-theme="dark"] body .sh-solutions h2,
[data-bs-theme="dark"] body .sh-solutions .h2,
[data-bs-theme="dark"] body .sh-solutions h3,
[data-bs-theme="dark"] body .sh-solutions .h3,
[data-bs-theme="dark"] body .sh-solutions h4,
[data-bs-theme="dark"] body .sh-solutions .h4,
[data-bs-theme="dark"] body .sh-solutions h5,
[data-bs-theme="dark"] body .sh-solutions .h5,
[data-bs-theme="dark"] body .sh-solutions h6,
[data-bs-theme="dark"] body .sh-solutions .h6,
[data-bs-theme="dark"] body .sh-cta h1,
[data-bs-theme="dark"] body .sh-cta .h1,
[data-bs-theme="dark"] body .sh-cta h2,
[data-bs-theme="dark"] body .sh-cta .h2,
[data-bs-theme="dark"] body .sh-cta h3,
[data-bs-theme="dark"] body .sh-cta .h3,
[data-bs-theme="dark"] body .sh-cta h4,
[data-bs-theme="dark"] body .sh-cta .h4,
[data-bs-theme="dark"] body .sh-cta h5,
[data-bs-theme="dark"] body .sh-cta .h5,
[data-bs-theme="dark"] body .sh-cta h6,
[data-bs-theme="dark"] body .sh-cta .h6 {
    color: #fff !important;
}

/* Mega menu featured boxes: promo and left column grey boxes */
.mega-col.promo .sh-rcard,
.mega-col.left .sh-rcard {
    background: linear-gradient(to bottom, #181d24, #132432) center/cover no-repeat !important;
    border-radius: 0 !important;
    min-height: 100%;
}

/* Contact menu: dark blue headings */
#megaMenu.contact-mode .promo-container-contact h4 {
    color: #181d24 !important;
}

/* Company menu: dark text for descriptions */
#megaMenu .mega-col.left p,
#megaMenu .mega-col.middle p {
    color: #181d24 !important;
}

/* Dark promo cards get white headings */
[data-bs-theme="dark"] body .mega-col.promo h1,
[data-bs-theme="dark"] body .mega-col.promo .h1,
[data-bs-theme="dark"] body .mega-col.promo h2,
[data-bs-theme="dark"] body .mega-col.promo .h2,
[data-bs-theme="dark"] body .mega-col.promo h3,
[data-bs-theme="dark"] body .mega-col.promo .h3,
[data-bs-theme="dark"] body .mega-col.promo h4,
[data-bs-theme="dark"] body .mega-col.promo .h4,
[data-bs-theme="dark"] body .mega-col.promo h5,
[data-bs-theme="dark"] body .mega-col.promo .h5,
[data-bs-theme="dark"] body .mega-col.promo h6,
[data-bs-theme="dark"] body .mega-col.promo .h6 {
    color: #fff !important;
}

/* Mobile promo panels use a light surface instead of the desktop artwork. */
@media (max-width: 991.98px) {
    [data-bs-theme="dark"] body #megaMenu .mega-col.promo .promo-container h4 {
        color: var(--sh-text) !important;
    }
}

[data-bs-theme="dark"] body .sh-product-hero__title-main { color: #181d24 !important; }

/* ACF and WordPress copy inherit the tab's dark surface unless a block paints its own.
 * Legacy tan, lightergrey and barelygrey product blocks have no background rule. */
.sh-product-tabs-content-wrap {
    --sh-tab-text: #fff;
    --sh-tab-link: var(--sh-surface-link);
    /* Legacy background blocks that opt out of the tab text rule keep dark headings. */
    --bs-heading-color: var(--sh-dark);
}

/* Use the link color for formatted text nested in a link as well. */
.sh-product-tabs-content-wrap .woocommerce-Tabs-panel a[href]:not(:where(
    .sh-btn, .button, .btn, .btn-primary, .wp-element-button, .wp-block-button__link, .stars *
)) {
    --sh-tab-text: var(--sh-tab-link);
}

body .sh-product-tabs-content-wrap .woocommerce-Tabs-panel :is(
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .wp-block-heading,
    p, ul, ol, li, dl, dt, dd, blockquote, figcaption, td, th, label,
    .sh-pd-imgcontent__text, .sh-pd-fullimg__text, .comment-reply-title,
    :is(span, strong, em, b, i, small):is([style*="color"], .has-text-color),
    a[href]
):not(:where(
    .sh-btn, .sh-btn *, .button, .button *, .btn, .btn *, .btn-primary, .btn-primary *,
    .wp-element-button, .wp-element-button *, .wp-block-button__link, .wp-block-button__link *, .stars *,
    .has-background, .has-background *, .bg-light, .bg-light *, .bg-white, .bg-white *,
    .sh-surface-light, .sh-surface-light *, .sh-surface-dark, .sh-surface-dark *,
    .text-bg-light, .text-bg-light *, .text-bg-white, .text-bg-white *, .badge, .badge *,
    :is(.sh-pd-block--bg-light, .sh-pd-block--bg-lightgrey, .sh-pd-block--bg-light-grey,
        .sh-pd-block--inbox, .sh-pd-block--bg-orange, .sh-pd-block--cta,
        .sh-pd-specs-table tr:nth-child(even), .wp-block-table.is-style-stripes tbody tr:nth-child(odd)) *
)) {
    color: var(--sh-tab-text) !important;
}

.sh-product-tabs-content-wrap .woocommerce-Tabs-panel :is(.sh-pd-block, .sh-pd-imgcontent__text) a[href]:not(:where(
    .sh-btn, .button, .btn, .btn-primary, .wp-element-button, .wp-block-button__link
)),
.sh-product-tabs-content-wrap .woocommerce-Tabs-panel a[href]:focus-visible:not(:where(
    .sh-btn, .button, .btn, .btn-primary, .wp-element-button, .wp-block-button__link, .stars *
)) {
    text-decoration: underline;
}

/* Light product cards use the existing dark heading and body colors. */
body .sh-product-tabs-content-wrap :is(
    .sh-pd-block--bg-light, .sh-pd-block--bg-lightgrey, .sh-pd-block--bg-light-grey, .sh-pd-block--inbox
) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .wp-block-heading) {
    color: var(--sh-dark) !important;
}

.sh-product-tabs-content-wrap :is(
    .sh-pd-block--bg-light, .sh-pd-block--bg-lightgrey, .sh-pd-block--bg-light-grey, .sh-pd-block--inbox
) :is(p, .sh-pd-imgcontent__text) {
    color: var(--sh-text);
}

/* Override the generated heading's inline color for each menu surface. */
#megaMenu.contact-mode .mega-col.left h4 { color: #fff !important; }
@media (max-width: 991.98px) {
    #megaMenu.contact-mode .mega-col.left h4 { color: #1f2937 !important; }
}

/* Product category/archive page title */
[data-bs-theme="dark"] body h1.entry-title,
[data-bs-theme="dark"] body .entry-title h1,
[data-bs-theme="dark"] body .entry-title .h1 { color: #B8E5F5 !important; }

/* =================================================================
 * 14. BLOG INDEX / POST ARCHIVES
 * ================================================================= */
/* <body> already carries the full gradient treatment on every page -
 *   background-color: transparent
 *   background-image: linear-gradient(166deg,#4a6e8a,#34495e,#2c3e50)
 *   background-repeat: no-repeat; background-attachment: fixed
 *   color: #ffffff
 * from sass/base/_base.scss:12 (compiled to style.css:13666). The only reason
 * the blog listings didn't already read like the product-page description
 * sections is that Bootstrap 5.3's dark-mode .card paints #212529 over it.
 * Dropping that background lets the fixed gradient run straight through.
 *
 * single.php needs nothing here: it renders no .card, and measurement confirms
 * body is already the first thing painting behind its content.
 *
 * :not(.woocommerce) matters - the shop archive also uses .card and also gets a
 * body.archive class, and its product cards are meant to stay opaque. */
/* Page background: the flat --sh-dark (#181d24) used by the product-page
 * description sections (.sh-product-tabs-wrap), replacing the site-wide
 * blue-grey gradient from sass/base/_base.scss:12. Scoped to the blog
 * templates, so every other page keeps the gradient. Covers the full page
 * including the area behind the single-post title, since it sits on <body>. */
[data-bs-theme="dark"] body.blog,
[data-bs-theme="dark"] body.archive:not(.woocommerce),
[data-bs-theme="dark"] body.single-post {
    background-color: var(--sh-dark);
    background-image: none;
}

[data-bs-theme="dark"] body.single-post .post-header h1.fw-bold {
    color: #fff !important;
    background: transparent !important;
}

[data-bs-theme="dark"] body.blog .card,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .card {
    background-color: transparent;
    color: #ffffff;
}

/* Product header V2 */
.sh-product-hero--v2 {
    display: block;
    padding: 36px 0 100px;
}
.sh-product-hero--v2 .sh-product-hero__layout,
.sh-product-tabs-nav-wrap--v2 {
    width: calc(100% - 48px);
    max-width: 1100px;
    margin-inline: auto;
}
.sh-product-hero--v2 .sh-product-hero__card {
    width: min(100%, 680px);
    max-width: none;
    margin: 0;
    padding: 0;
}
.sh-product-hero--v2 .sh-product-hero__content {
    background: #fff;
    border: 1px solid rgba(24, 29, 36, .16);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(13, 26, 40, .16);
    padding: 24px 26px;
    backdrop-filter: none;
}
.sh-product-hero--v2 .sh-product-hero__title {
    margin-bottom: 12px;
    line-height: 1.15;
}
.sh-product-hero--v2 .sh-product-hero__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 16px;
    margin-bottom: 12px;
}
.sh-product-hero--v2 .sh-product-hero__heading .sh-product-hero__title {
    flex: 1 1 270px;
    min-width: 0;
    margin-bottom: 0;
}
.sh-product-hero--v2 .sh-product-hero__model {
    display: inline-block;
    max-width: 100%;
    margin-left: auto;
    padding: 5px 9px;
    border: 1px solid var(--sh-border);
    border-radius: 5px;
    background: var(--sh-light);
    color: var(--sh-text);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.sh-product-hero--v2 .sh-product-hero__title-main {
    font-size: clamp(2.25rem, 3.5vw, 3.15rem) !important;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.08;
}
.sh-product-hero--v2 .sh-product-hero__title-sub {
    margin-top: 4px;
    color: #374151;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.28;
}
.sh-product-hero--v2 .sh-product-hero__specs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    overflow: hidden;
    border-radius: 7px;
    background: var(--sh-light);
}
.sh-product-hero--v2 .sh-product-hero__specs li {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px;
    color: var(--sh-text);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.sh-product-hero--v2 .sh-product-hero__specs li + li {
    border-left: 1px solid var(--sh-border);
}
.sh-product-hero--v2 .sh-product-hero__specs .fas {
    flex: none;
    width: 1em;
    color: var(--sh-orange);
    font-size: .85em;
    text-align: center;
}
@media (min-width: 769px) and (max-width: 991.98px) {
    .sh-product-hero--v2 .sh-product-hero__specs li {
        gap: 4px;
        padding: 7px 6px;
        font-size: .76rem;
    }
    .sh-product-hero--v2 .sh-product-hero__specs .fas {
        font-size: .8em;
    }
}
@media (min-width: 621px) and (max-width: 680px) {
    .sh-product-hero--v2 .sh-product-hero__specs li {
        gap: 4px;
        padding: 6px;
        font-size: .78rem;
    }
    .sh-product-hero--v2 .sh-product-hero__specs .fas {
        font-size: .8em;
    }
}
@media (min-width: 561px) and (max-width: 620px) {
    .sh-product-hero--v2 .sh-product-hero__specs li {
        gap: 2px;
        padding: 6px 2px;
        font-size: .71rem;
    }
    .sh-product-hero--v2 .sh-product-hero__specs .fas {
        font-size: .7em;
    }
}
@media (max-width: 560px) {
    .sh-product-hero--v2 .sh-product-hero__specs {
        flex-direction: column;
    }
    .sh-product-hero--v2 .sh-product-hero__specs li {
        gap: 6px;
        padding: 8px 10px;
        font-size: .78rem;
        white-space: normal;
    }
    .sh-product-hero--v2 .sh-product-hero__specs li + li {
        border-top: 1px solid var(--sh-border);
        border-left: 0;
    }
    .sh-product-hero--v2 .sh-product-hero__specs li span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
.sh-product-hero--v2 .sh-product-hero__desc {
    max-width: 64ch;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}
.sh-product-hero--v2 .sh-product-hero__desc p {
    line-height: inherit;
}
.sh-product-hero--v2 .sh-product-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(178px, 29vw, 240px);
    margin: 0 0 12px;
    overflow: hidden;
    padding: 4px;
    border: 1px solid var(--sh-border);
    border-radius: 8px;
    background: #fff;
}
.sh-product-hero--v2 .sh-product-hero__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
.sh-product-hero--v2 .sh-product-hero__price {
    margin-bottom: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}
.sh-product-hero--v2 .sh-product-hero__price .price {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}
.sh-product-hero--v2 .sh-product-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.sh-product-hero--v2 .sh-product-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding: 0 20px;
    font-size: 1.12rem;
    font-weight: 700 !important;
    box-shadow: 0 2px 0 #016F38;
    text-align: center;
}
.sh-product-hero--v2 .sh-product-order-btn .fas {
    font-size: .95em;
}
.sh-product-hero--v2 .sh-product-hero__datasheet {
    align-self: center;
    padding: 6px 12px;
    color: var(--sh-text);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.sh-product-hero--v2 .sh-product-hero__datasheet:hover,
.sh-product-hero--v2 .sh-product-hero__datasheet:focus-visible {
    color: var(--sh-orange-hover);
}

@media (max-width: 991.98px) {
    .sh-product-hero--v2 .sh-product-hero__card {
        width: min(100%, 600px);
    }
    .sh-product-hero--v2 .sh-product-hero__content {
        padding: 28px;
    }
}
@media (max-width: 768px) {
    .sh-product-hero--v2 {
        padding: 24px 0 32px;
    }
    .sh-product-hero--v2 .sh-product-hero__layout {
        width: calc(100% - 32px);
    }
    .sh-product-hero--v2 .sh-product-hero__card {
        width: 100%;
        padding: 0;
    }
    .sh-product-hero--v2 .sh-product-hero__content {
        padding: 24px;
    }
    .sh-product-hero--v2 .sh-product-hero__title-main {
        font-size: 2.15rem !important;
    }
    .sh-product-hero--v2 .sh-product-hero__title-sub {
        font-size: 1.12rem;
    }
}
@media (max-width: 560px) {
    .sh-product-hero--v2 .sh-product-hero__heading {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
    }
    .sh-product-hero--v2 .sh-product-hero__heading .sh-product-hero__title {
        flex: none;
        width: 100%;
    }
    .sh-product-hero--v2 .sh-product-hero__model {
        margin-left: 0;
    }
    .sh-product-hero--v2 .sh-product-hero__content {
        padding: 20px;
    }
    .sh-product-hero--v2 .sh-product-hero__title {
        margin-bottom: 18px;
    }
    .sh-product-hero--v2 .sh-product-hero__title-main {
        font-size: 2rem !important;
    }
    .sh-product-hero--v2 .sh-product-hero__title-sub {
        font-size: 1.03rem;
    }
    .sh-product-hero--v2 .sh-product-hero__image {
        padding: 8px;
    }
}
@media (max-width: 480px) {
    .sh-product-hero--v2 .sh-product-hero__layout {
        width: calc(100% - 24px);
    }
    .sh-product-hero--v2 .sh-product-hero__content {
        padding: 18px;
    }
}
[data-bs-theme="dark"] body.blog .card .card-title,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .card .card-title {
    color: #ffffff;
}

[data-bs-theme="dark"] body.blog .blog-navi,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi {
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 2rem;
}
[data-bs-theme="dark"] body.blog .blog-navi a,
[data-bs-theme="dark"] body.blog .blog-navi .current,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi a,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi .current {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .5rem .75rem;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1;
}
[data-bs-theme="dark"] body.blog .blog-navi a,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi a {
    background: var(--sh-light);
    color: var(--sh-text);
    text-decoration: none;
}
[data-bs-theme="dark"] body.blog .blog-navi a:hover,
[data-bs-theme="dark"] body.blog .blog-navi a:focus-visible,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi a:hover,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi a:focus-visible,
[data-bs-theme="dark"] body.blog .blog-navi .current,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi .current {
    background: var(--sh-orange-link);
    color: #fff;
}
[data-bs-theme="dark"] body.blog .blog-navi :is(a:hover, a:focus-visible, .current) {
    color: var(--sh-darker);
}
[data-bs-theme="dark"] body.blog .blog-navi a:focus-visible,
[data-bs-theme="dark"] body.archive:not(.woocommerce) .blog-navi a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* =================================================================
 * SOLUTIONS PAGE — HERO
 * Scoped to page-solutions.php; artwork and overlays follow Figma 74:234.
 * ================================================================= */
.page-template-page-solutions .sh-solution-hero {
    --sh-solution-hero-bg: #13191f;
    --sh-solution-hero-copy: #dbe3ea;
    --sh-solution-hero-muted: #9aa6b2;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 595px;
    background: var(--sh-solution-hero-bg) url('../img/solutions/orange-glow.svg') no-repeat calc(50% + 560px) -120px / 1000px 520px;
    color: #fff;
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solution-hero__artwork {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 26.3889%;
}
.page-template-page-solutions .sh-solution-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.page-template-page-solutions .sh-solution-hero__artwork::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--sh-solution-hero-bg), rgba(19,25,31,.7) 40%, rgba(19,25,31,.08));
}
.page-template-page-solutions .sh-solution-hero::before,
.page-template-page-solutions .sh-solution-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.page-template-page-solutions .sh-solution-hero::before {
    inset: auto 0 0;
    height: 196px;
    background: linear-gradient(180deg, rgba(19,25,31,0), rgba(19,25,31,.95));
}
.page-template-page-solutions .sh-solution-hero::after {
    inset: 0;
    background: url('../img/solutions/grid-64.svg') repeat-x left -42px / 1440px 637px;
}
.page-template-page-solutions .sh-solution-hero__inner {
    max-width: 1440px;
    padding: 72px 64px 96px;
}
.page-template-page-solutions .sh-solution-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    max-width: 820px;
    overflow-wrap: anywhere;
}
.page-template-page-solutions .sh-solution-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: transparent;
    color: var(--sh-solution-hero-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.page-template-page-solutions .sh-solution-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.page-template-page-solutions .sh-solution-hero__breadcrumb a:hover { text-decoration: underline; }
.page-template-page-solutions .sh-solution-hero__title,
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-hero__title {
    min-height: 73px;
    margin: 0;
    color: #fff !important; /* Override the theme's global dark-mode heading rule. */
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
}
.page-template-page-solutions .sh-solution-hero__intro {
    min-height: 137px;
    margin: 0;
    color: var(--sh-solution-hero-copy);
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    white-space: pre-line;
}
.page-template-page-solutions .sh-solution-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    max-width: 100%;
}
.page-template-page-solutions .sh-solution-hero__primary {
    justify-content: center;
    max-width: 100%;
    padding: 16px 28px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}
.page-template-page-solutions .sh-solution-hero__secondary {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.page-template-page-solutions .sh-solution-hero__secondary:hover { color: var(--sh-solution-hero-copy); }
.page-template-page-solutions .sh-solution-hero a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}
@media (max-width: 991.98px) {
    .page-template-page-solutions .sh-solution-hero__inner { padding: 56px 32px 72px; }
    .page-template-page-solutions .sh-solution-hero__content { max-width: 720px; }
    .page-template-page-solutions .sh-solution-hero__artwork { left: 15%; }
    .page-template-page-solutions .sh-solution-hero__artwork::after {
        background: linear-gradient(90deg, var(--sh-solution-hero-bg), rgba(19,25,31,.85) 40%, rgba(19,25,31,.35));
    }
}
@media (max-width: 575.98px) {
    .page-template-page-solutions .sh-solution-hero { min-height: 0; }
    .page-template-page-solutions .sh-solution-hero__inner { padding: 40px 24px 56px; }
    .page-template-page-solutions .sh-solution-hero__content { gap: 24px; }
    .page-template-page-solutions .sh-solution-hero__title,
    [data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-hero__title {
        min-height: 0;
        font-size: 34px;
        line-height: 40px;
    }
    .page-template-page-solutions .sh-solution-hero__intro { min-height: 0; font-size: 18px; line-height: 28px; }
    .page-template-page-solutions .sh-solution-hero__artwork { left: 0; }
    .page-template-page-solutions .sh-solution-hero__artwork::after { background: rgba(19,25,31,.86); }
    .page-template-page-solutions .sh-solution-hero__actions { flex-direction: column; align-items: flex-start; width: 100%; }
    .page-template-page-solutions .sh-solution-hero__primary { width: 100%; }
}

/* =================================================================
 * SOLUTIONS PAGE — SECTION NAVIGATION
 * The site header is in normal flow and scrolls away before this bar sticks.
 * Only the fixed WordPress admin toolbar needs a top offset at present.
 * ================================================================= */
/* Section scroll margins already include the toolbar; do not add WordPress's
 * root scroll padding again or the active-section threshold is never reached. */
html:has(body.page-template-page-solutions) { scroll-padding-top: 0; }
body.page-template-page-solutions {
    --sh-solution-nav-top: 0px;
    --sh-solution-nav-height: 60px;
}
body.page-template-page-solutions.admin-bar { --sh-solution-nav-top: 32px; }
.page-template-page-solutions .sh-solution-nav {
    position: sticky;
    top: var(--sh-solution-nav-top);
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--sh-border);
    color: var(--sh-text);
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solution-nav__inner {
    max-width: 1440px;
    padding-inline: 94px 92px;
}
.page-template-page-solutions .sh-solution-nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 40px;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    scrollbar-width: thin;
}
.page-template-page-solutions .sh-solution-nav__item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}
.page-template-page-solutions .sh-solution-nav__link,
.page-template-page-solutions .sh-solution-nav__label {
    display: flex;
    align-items: center;
    min-height: var(--sh-solution-nav-height);
    padding-block: 18px 15px;
    border-bottom: 3px solid transparent;
    color: var(--sh-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}
.page-template-page-solutions .sh-solution-nav__label { color: var(--sh-muted); }
.page-template-page-solutions .sh-solution-nav__link:hover,
.page-template-page-solutions .sh-solution-nav__link:focus-visible {
    border-bottom-color: var(--sh-orange-link);
    color: var(--sh-dark);
}
.page-template-page-solutions .sh-solution-nav__link:focus-visible {
    outline: 2px solid var(--sh-orange-link);
    outline-offset: -5px;
}
/* Overview is the initial selection when available; a native fragment takes
 * precedence. No product-tab classes, click interception, or hidden panels. */
body.page-template-page-solutions:not(:has(:target)) .sh-solution-nav__link[href="#overview"],
body.page-template-page-solutions:has(#overview:target) .sh-solution-nav__link[href="#overview"],
body.page-template-page-solutions:has(#recommended-solutions:target) .sh-solution-nav__link[href="#recommended-solutions"],
body.page-template-page-solutions:has(#product-details:target) .sh-solution-nav__link[href="#product-details"],
body.page-template-page-solutions:has(#resources-videos:target) .sh-solution-nav__link[href="#resources-videos"] {
    border-bottom-color: var(--sh-orange-link);
    color: var(--sh-dark);
    font-weight: 600;
}
.page-template-page-solutions :is(#overview, #recommended-solutions, #product-details, #resources-videos) {
    scroll-margin-top: calc(var(--sh-solution-nav-top) + var(--sh-solution-nav-measured, var(--sh-solution-nav-height)) + 16px);
}
@media (max-width: 991.98px) {
    .page-template-page-solutions .sh-solution-nav__inner { padding-inline: 32px; }
    .page-template-page-solutions .sh-solution-nav__list { gap: 28px; }
}
@media (max-width: 782px) {
    body.page-template-page-solutions.admin-bar { --sh-solution-nav-top: 46px; }
}
@media (max-width: 600px) {
    /* WordPress switches its toolbar to absolute positioning at this width. */
    body.page-template-page-solutions.admin-bar { --sh-solution-nav-top: 0px; }
}
@media (max-width: 575.98px) {
    .page-template-page-solutions .sh-solution-nav__inner { padding-inline: 24px; }
    .page-template-page-solutions .sh-solution-nav__list { gap: 24px; }
}

/* =================================================================
 * SOLUTIONS PAGE — OVERVIEW (Figma 75:234)
 * Content sets the height; empty columns are omitted by the partial.
 * ================================================================= */
.page-template-page-solutions .sh-solution-overview {
    --sh-overview-copy: #4b4949;
    --sh-overview-platform: #13191f;
    --sh-overview-platform-copy: #c4ccd4;
    --sh-overview-tag: #262d36;
    --sh-overview-tag-copy: #e6ebf0;
    --sh-overview-accent-end: #f87830;
    background: var(--sh-light);
    color: var(--sh-overview-copy);
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solution-overview__inner {
    display: grid;
    grid-template-columns: minmax(0, 577px) minmax(0, 614px);
    align-items: start;
    gap: 72px;
    max-width: 1440px;
    padding: 50px 64px 96px 92px;
}
.page-template-page-solutions .sh-solution-overview__inner--single {
    grid-template-columns: minmax(0, 1fr);
}
.page-template-page-solutions .sh-solution-overview__copy,
.page-template-page-solutions .sh-solution-overview__platform {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.page-template-page-solutions .sh-solution-overview__eyebrow {
    margin: 0;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 1.3px;
}
.page-template-page-solutions .sh-solution-overview__heading,
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-overview__heading {
    margin: 0;
    color: var(--sh-dark) !important;
    font-family: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
}
.page-template-page-solutions .sh-solution-overview__body {
    width: 100%;
    color: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
}
.page-template-page-solutions .sh-solution-overview__body > * {
    margin-block: 0 20px;
}
.page-template-page-solutions .sh-solution-overview__body > :last-child { margin-bottom: 0; }
.page-template-page-solutions .sh-solution-overview__body :is(img, video) {
    max-width: 100%;
    height: auto;
}
.page-template-page-solutions .sh-solution-overview__body a {
    color: var(--sh-orange-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-template-page-solutions .sh-solution-overview__body a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.page-template-page-solutions .sh-solution-overview__platform {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 12px;
    background: var(--sh-overview-platform);
    color: var(--sh-overview-platform-copy);
}
.page-template-page-solutions .sh-solution-overview__platform::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--sh-orange-link), var(--sh-overview-accent-end));
}
.page-template-page-solutions .sh-solution-overview__badge {
    display: block;
    flex: none;
}
.page-template-page-solutions .sh-solution-overview__platform-heading,
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-overview__platform-heading {
    margin: 0;
    color: #fff !important;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 31px;
}
.page-template-page-solutions .sh-solution-overview__body--platform {
    font-size: 15px;
    line-height: 25px;
}
.page-template-page-solutions .sh-solution-overview__languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.page-template-page-solutions .sh-solution-overview__language {
    max-width: 100%;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: var(--sh-overview-tag);
    color: var(--sh-overview-tag-copy);
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
}
@media (max-width: 991.98px) {
    .page-template-page-solutions .sh-solution-overview__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding: 48px 32px 72px;
    }
}
@media (max-width: 575.98px) {
    .page-template-page-solutions .sh-solution-overview__inner { padding: 40px 24px 56px; }
    .page-template-page-solutions .sh-solution-overview__platform { padding: 28px 24px; }
    .page-template-page-solutions .sh-solution-overview__heading,
    [data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-overview__heading {
        font-size: 28px;
        line-height: 36px;
    }
}

/* =================================================================
 * SOLUTIONS PAGE — OPTIONAL CALLOUT (Figma 67:36)
 * The partial omits the entire band, including spacing, when empty/disabled.
 * ================================================================= */
.page-template-page-solutions .sh-solution-callout {
    --sh-callout-bg: #13202c;
    --sh-callout-accent: #f87830;
    background: var(--sh-light);
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solution-callout__inner {
    max-width: 1440px;
    padding: 46px 84px 48px 80px;
}
.page-template-page-solutions .sh-solution-callout__card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 40px;
    border-radius: 6px;
    background: var(--sh-callout-bg);
    color: #fff;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.page-template-page-solutions .sh-solution-callout__copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.page-template-page-solutions .sh-solution-callout__heading,
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-callout__heading {
    margin: 0;
    color: var(--sh-callout-accent) !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1.44px;
}
.page-template-page-solutions .sh-solution-callout__body {
    font-size: 20px;
    line-height: 26px;
}
.page-template-page-solutions .sh-solution-callout__body > * { margin-block: 0 6px; }
.page-template-page-solutions .sh-solution-callout__body > :last-child { margin-bottom: 0; }
.page-template-page-solutions .sh-solution-callout__body :is(img, video) { max-width: 100%; height: auto; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-callout__body :is(h1, h2, h3, h4, h5, h6) {
    color: inherit !important;
}
.page-template-page-solutions .sh-solution-callout__link,
.page-template-page-solutions .sh-solution-callout__body a {
    color: var(--sh-orange-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-template-page-solutions .sh-solution-callout__link {
    flex: none;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
}
.page-template-page-solutions .sh-solution-callout a:hover { color: var(--sh-callout-accent); }
.page-template-page-solutions .sh-solution-callout a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
@media (max-width: 991.98px) {
    .page-template-page-solutions .sh-solution-callout__inner { padding: 40px 32px; }
}
@media (max-width: 575.98px) {
    .page-template-page-solutions .sh-solution-callout__inner { padding: 32px 24px; }
    .page-template-page-solutions .sh-solution-callout__card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 28px 24px;
    }
}

/* =================================================================
 * SOLUTIONS PAGE — RECOMMENDED SOLUTIONS (Figma 67:43)
 * Native table on desktop; labeled rows stack below the tablet breakpoint.
 * ================================================================= */
.page-template-page-solutions .sh-solution-recommended {
    --sh-recommended-border: #d8e0e6;
    --sh-recommended-header: #13202c;
    --sh-recommended-header-copy: #c8d6dd;
    --sh-recommended-copy: #4b4949;
    --sh-recommended-number: #8a99a6;
    background: #fff;
    color: var(--sh-dark);
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solution-recommended__inner {
    max-width: 1440px;
    padding: 80px 82px 96px 91px;
}
.page-template-page-solutions .sh-solution-recommended__header { margin-bottom: 40px; }
.page-template-page-solutions .sh-solution-recommended__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: var(--sh-recommended-copy);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 1.82px;
    text-transform: uppercase;
}
.page-template-page-solutions .sh-solution-recommended__eyebrow::before {
    content: "";
    flex: none;
    width: 32px;
    height: 2px;
    background: var(--sh-orange-link);
}
.page-template-page-solutions .sh-solution-recommended__title,
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-recommended__title {
    margin: 0;
    color: var(--sh-dark) !important;
    font-family: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
    overflow-wrap: anywhere;
}
.page-template-page-solutions .sh-solution-recommended__comparison {
    overflow: hidden;
    border: 1px solid var(--sh-recommended-border);
    border-radius: 6px;
}
.page-template-page-solutions .sh-solution-recommended__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: inherit;
    text-align: left;
}
.page-template-page-solutions .sh-solution-recommended__col-number { width: 104px; }
.page-template-page-solutions .sh-solution-recommended__col-product,
.page-template-page-solutions .sh-solution-recommended__col-type { width: 224px; }
.page-template-page-solutions .sh-solution-recommended__col-arrow { width: 96px; }
.page-template-page-solutions .sh-solution-recommended__table :is(th, td) {
    padding: 22px 24px 22px 0;
    border: 0;
    background: transparent;
    vertical-align: middle;
    overflow-wrap: anywhere;
    font-weight: 400;
    line-height: 22px;
}
.page-template-page-solutions .sh-solution-recommended__table tr > :first-child { padding-left: 32px; }
.page-template-page-solutions .sh-solution-recommended__table tr > :last-child { padding-right: 32px; }
.page-template-page-solutions .sh-solution-recommended__table thead {
    background: var(--sh-recommended-header);
    color: var(--sh-recommended-header-copy);
}
.page-template-page-solutions .sh-solution-recommended__table thead th {
    padding-block: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .96px;
    text-transform: uppercase;
}
.page-template-page-solutions .sh-solution-recommended__table tbody tr {
    border-top: 1px solid var(--sh-recommended-border);
}
.page-template-page-solutions .sh-solution-recommended__table tbody tr:is(:hover, :focus-within) { background: var(--sh-light); }
.page-template-page-solutions .sh-solution-recommended__table .sh-solution-recommended__number {
    color: var(--sh-recommended-number);
    font-size: 13px;
    font-weight: 500;
}
.page-template-page-solutions .sh-solution-recommended__link {
    color: var(--sh-orange-link);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-template-page-solutions .sh-solution-recommended__link::after {
    /* Extend the single product link across its row without extra tab stops. */
    content: "";
    position: absolute;
    inset: 0;
}
.page-template-page-solutions .sh-solution-recommended__table tbody tr { position: relative; }
.page-template-page-solutions .sh-solution-recommended__link:hover { color: var(--sh-orange-hover); }
.page-template-page-solutions .sh-solution-recommended__link:focus-visible { outline: 2px solid var(--sh-orange-link); outline-offset: 4px; }
.page-template-page-solutions .sh-solution-recommended__link:focus-visible::after { outline: 2px solid var(--sh-orange-link); outline-offset: -3px; }
.page-template-page-solutions .sh-solution-recommended__type { color: var(--sh-recommended-copy); font-size: 14px; }
.page-template-page-solutions .sh-solution-recommended__ideal { font-size: 15px; white-space: pre-line; }
.page-template-page-solutions .sh-solution-recommended__table .sh-solution-recommended__arrow {
    color: var(--sh-orange-link);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.page-template-page-solutions .sh-solution-recommended__mobile-label { display: none; }
@media (max-width: 1199.98px) and (min-width: 768px) {
    .page-template-page-solutions .sh-solution-recommended__col-number { width: 72px; }
    .page-template-page-solutions .sh-solution-recommended__col-product { width: 26%; }
    .page-template-page-solutions .sh-solution-recommended__col-type { width: 22%; }
    .page-template-page-solutions .sh-solution-recommended__col-arrow { width: 48px; }
    .page-template-page-solutions .sh-solution-recommended__table tr > :first-child { padding-left: 20px; }
    .page-template-page-solutions .sh-solution-recommended__table tr > :last-child { padding-right: 20px; }
}
@media (max-width: 991.98px) {
    .page-template-page-solutions .sh-solution-recommended__inner { padding: 56px 32px 72px; }
}
@media (max-width: 767.98px) {
    .page-template-page-solutions .sh-solution-recommended__table,
    .page-template-page-solutions .sh-solution-recommended__table tbody { display: block; }
    .page-template-page-solutions .sh-solution-recommended__table colgroup { display: none; }
    .page-template-page-solutions .sh-solution-recommended__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .page-template-page-solutions .sh-solution-recommended__table tbody tr {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 24px;
    }
    .page-template-page-solutions .sh-solution-recommended__table tbody tr:first-child { border-top: 0; }
    .page-template-page-solutions .sh-solution-recommended__table tbody tr > :is(th, td),
    .page-template-page-solutions .sh-solution-recommended__table tbody tr > :first-child,
    .page-template-page-solutions .sh-solution-recommended__table tbody tr > :last-child { display: block; padding: 0; }
    .page-template-page-solutions .sh-solution-recommended__number { grid-column: 1; grid-row: 1; white-space: nowrap; }
    .page-template-page-solutions .sh-solution-recommended__product { grid-column: 2; grid-row: 1; }
    .page-template-page-solutions .sh-solution-recommended__arrow { grid-column: 3; grid-row: 1; }
    .page-template-page-solutions .sh-solution-recommended__type,
    .page-template-page-solutions .sh-solution-recommended__ideal { grid-column: 2 / 4; }
    .page-template-page-solutions .sh-solution-recommended__mobile-label {
        display: block;
        margin-bottom: 4px;
        color: var(--sh-muted);
        font-size: 11px;
        font-weight: 600;
        line-height: 16px;
        letter-spacing: .6px;
        text-transform: uppercase;
    }
}
@media (max-width: 575.98px) {
    .page-template-page-solutions .sh-solution-recommended__inner { padding: 40px 24px 56px; }
    .page-template-page-solutions .sh-solution-recommended__header { margin-bottom: 32px; }
    .page-template-page-solutions .sh-solution-recommended__title,
    [data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-recommended__title { font-size: 28px; line-height: 36px; }
}

/* Solutions: shared product details, verified resources and optional contact. */
.page-template-page-solutions {
    --sh-solution-ink: #13191f;
    --sh-solution-copy: #4b4949;
    --sh-solution-rule: #d8e0e6;
    --sh-solution-accent: #f05423;
    --sh-solution-resource-copy: #c4ccd4;
}
.page-template-page-solutions .sh-solution-nav__inner { display: flex; align-items: center; gap: 24px; }
.page-template-page-solutions .sh-solution-nav__list { flex: 1; min-width: 0; }
.page-template-page-solutions .sh-solution-nav__contact { flex: none; padding: 10px 18px; font-size: 13px; white-space: nowrap; }
.page-template-page-solutions .sh-solution-nav--enhanced .sh-solution-nav__link { border-bottom-color: transparent !important; color: var(--sh-solution-copy) !important; font-weight: 500; }
.page-template-page-solutions .sh-solution-nav--enhanced .sh-solution-nav__link[aria-current="location"] { border-bottom-color: var(--sh-solution-accent) !important; color: var(--sh-solution-ink) !important; font-weight: 600; }
.page-template-page-solutions :is(.sh-solution-product, #solution-contact) { scroll-margin-top: calc(var(--sh-solution-nav-top) + var(--sh-solution-nav-measured, var(--sh-solution-nav-height)) + 16px); }
.page-template-page-solutions :is(.sh-solution-details, .sh-solution-contact, .sh-solution-resources) { overflow-wrap: anywhere; }
.page-template-page-solutions .sh-solution-details { background: #fff; color: var(--sh-solution-ink); }
.page-template-page-solutions :is(.sh-solution-details__header, .sh-solution-product__inner, .sh-solution-resources__inner, .sh-solution-contact__inner) { max-width: 1440px; padding-inline: 64px; }
.page-template-page-solutions .sh-solution-details__header { padding-top: 64px; padding-inline: 82px 64px; }
.page-template-page-solutions .sh-solution-section-label { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--sh-solution-copy); font-size: 13px; font-weight: 600; letter-spacing: 1.82px; text-transform: uppercase; }
.page-template-page-solutions .sh-solution-section-label::before { content: ''; width: 32px; height: 2px; flex: none; background: var(--sh-solution-accent); }
[data-bs-theme="dark"] body.page-template-page-solutions :is(.sh-solution-details__header h2, .sh-solution-contact h2) { color: var(--sh-solution-ink); font-size: 32px; line-height: 42px; font-weight: 700; margin: 0; }
.page-template-page-solutions .sh-solution-product:nth-of-type(even) { background: var(--sh-light); }
.page-template-page-solutions .sh-solution-product__inner { display: grid; grid-template-columns: 300px minmax(0, 1fr) 380px; gap: 48px; padding-block: 72px; align-items: start; }
.page-template-page-solutions .sh-solution-product__image { background: #fff; border: 1px solid var(--sh-solution-rule); border-radius: 8px; padding: 19px; aspect-ratio: 1; display: grid; place-items: center; }
.page-template-page-solutions .sh-solution-product__image img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; }
.page-template-page-solutions .sh-solution-product__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.page-template-page-solutions .sh-solution-product__copy .sh-eyebrow { margin: 0; font-size: 12px; letter-spacing: 1.2px; line-height: 18px; color: var(--sh-solution-accent); }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-product h3 { color: var(--sh-solution-ink); font-size: 36px; line-height: 42px; font-weight: 700; margin: 0; }
.page-template-page-solutions .sh-solution-product__ideal > span { display: block; color: var(--sh-muted); font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; margin-bottom: 4px; }
.page-template-page-solutions .sh-solution-product__ideal p { font-size: 17px; font-weight: 600; line-height: 25px; margin: 0; }
.page-template-page-solutions .sh-solution-product__description { color: var(--sh-solution-copy); font-size: 15px; line-height: 25px; }
.page-template-page-solutions .sh-solution-product__description > :last-child { margin-bottom: 0; }
.page-template-page-solutions .sh-solution-product__description :is(img, video) { max-width: 100%; height: auto; }
.page-template-page-solutions .sh-solution-product__actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; padding-top: 6px; }
.page-template-page-solutions .sh-solution-product__actions .sh-btn { padding: 14px 26px; font-size: 15px; }
.page-template-page-solutions .sh-solution-product__datasheet { color: var(--sh-solution-accent); font-size: 15px; font-weight: 600; text-decoration: underline; }
.page-template-page-solutions .sh-solution-product__features { background: #fff; border: 1px solid var(--sh-border); border-radius: 10px; box-shadow: 0 2px 10px rgb(0 0 0 / 5%); padding: 18px 20px 8px; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-product h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.04px; text-transform: uppercase; color: var(--sh-solution-ink); margin: 0 0 8px; }
.page-template-page-solutions .sh-solution-product__features ul { padding: 0; margin: 0; list-style: none; }
.page-template-page-solutions .sh-solution-product__features li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--sh-border); font-size: 13.5px; line-height: 19px; }
.page-template-page-solutions .sh-solution-product__features li:first-child { border: 0; }
.page-template-page-solutions .sh-solution-product__features li img { flex: none; width: 20px; height: 20px; }
.page-template-page-solutions .sh-solution-resources { color: #fff; background: var(--sh-solution-ink); }
.page-template-page-solutions .sh-solution-resources__inner { padding: 96px 82px; }
.page-template-page-solutions .sh-solution-resources .sh-solution-section-label { color: #8fb0c8; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-resources h2 { font-size: 32px; line-height: 42px; color: #fff !important; font-weight: 700; margin: 0; }
.page-template-page-solutions .sh-solution-resources__columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; margin-top: 56px; }
.page-template-page-solutions .sh-solution-resources__columns--single { grid-template-columns: minmax(0, 1fr); }
.page-template-page-solutions .sh-solution-resources__columns--single .sh-solution-videos { max-width: 900px; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-resources h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.82px; text-transform: uppercase; color: #fff !important; margin: 0; }
.page-template-page-solutions .sh-solution-resources__subhead { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 24px; }
.page-template-page-solutions .sh-solution-resources a { color: var(--sh-solution-accent); }
.page-template-page-solutions .sh-solution-resources__subhead a { font-size: 14px; font-weight: 600; }
.page-template-page-solutions .sh-solution-videos__player { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 12px 32px rgb(0 0 0 / 40%); }
.page-template-page-solutions .sh-solution-videos__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.page-template-page-solutions .sh-solution-videos__poster { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.page-template-page-solutions .sh-solution-videos__poster img { width: 100%; height: 100%; object-fit: cover; }
.page-template-page-solutions .sh-solution-videos__poster > span { position: absolute; display: grid; place-items: center; width: 88px; height: 88px; color: #fff; background: var(--sh-solution-accent); border-radius: 50%; font-size: 32px; padding-left: 5px; }
.page-template-page-solutions .sh-solution-videos__now { margin-block: 24px; }
.page-template-page-solutions .sh-solution-videos__now p { color: var(--sh-solution-accent); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-videos__now h4 { font-size: 24px; font-weight: 600; line-height: 32px; color: #fff !important; margin: 0; }
.page-template-page-solutions .sh-solution-videos__thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.page-template-page-solutions .sh-solution-videos__thumbnail { display: flex; flex-direction: column; gap: 8px; text-decoration: none; font-size: 12px; line-height: 17px; }
.page-template-page-solutions .sh-solution-videos__thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 3px solid transparent; }
.page-template-page-solutions .sh-solution-videos__thumbnail span { color: var(--sh-solution-resource-copy); font-weight: 500; }
.page-template-page-solutions .sh-solution-videos__thumbnail[aria-current] img { border-color: var(--sh-solution-accent); }
.page-template-page-solutions .sh-solution-videos__thumbnail[aria-current] span { color: #fff; font-weight: 600; }
.page-template-page-solutions .sh-solution-papers { border-left: 1px solid rgb(255 255 255 / 14%); padding-left: 32px; }
.page-template-page-solutions .sh-solution-resources__columns--single .sh-solution-papers { border: 0; padding: 0; }
.page-template-page-solutions .sh-solution-papers ul { list-style: none; padding: 0; margin: 16px 0 0; }
.page-template-page-solutions .sh-solution-papers li { padding-block: 18px; border-top: 1px solid rgb(255 255 255 / 14%); }
.page-template-page-solutions .sh-solution-papers li p { color: #f87830; text-transform: uppercase; font-size: 11px; letter-spacing: 1.32px; margin-bottom: 8px; font-weight: 700; }
.page-template-page-solutions .sh-solution-papers li a { display: flex; justify-content: space-between; gap: 16px; color: #fff; font-size: 17px; line-height: 24px; font-weight: 600; text-decoration: none; }
.page-template-page-solutions .sh-solution-papers li a span { color: var(--sh-solution-accent); }
.page-template-page-solutions .sh-solution-contact { background: var(--sh-light); color: var(--sh-solution-copy); }
.page-template-page-solutions .sh-solution-contact__inner { padding: 70px 82px; }
.page-template-page-solutions .sh-solution-contact__card { display: flex; align-items: center; gap: 64px; padding: 32px 64px; border: 1px solid var(--sh-solution-rule); border-radius: 8px; background: #fff; }
.page-template-page-solutions .sh-solution-contact__copy { flex: 1; border-left: 6px solid var(--sh-solution-accent); padding-left: 32px; }
.page-template-page-solutions .sh-solution-contact__copy p { font-size: 17px; line-height: 27px; margin: 12px 0 0; }
.page-template-page-solutions .sh-solution-contact .sh-btn { flex: none; padding: 18px 36px; }
.page-template-page-solutions :is(.sh-solution-details, .sh-solution-resources, .sh-solution-contact) a:focus-visible { outline: 3px solid var(--sh-solution-accent); outline-offset: 5px; }
@media (max-width: 1279px) {
    .page-template-page-solutions .sh-solution-product__inner { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
    .page-template-page-solutions .sh-solution-product__features { grid-column: 2; }
    .page-template-page-solutions .sh-solution-resources__columns { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
    .page-template-page-solutions .sh-solution-resources__columns--single { grid-template-columns: minmax(0, 1fr); }
    .page-template-page-solutions .sh-solution-contact__card { gap: 32px; padding-inline: 32px; }
}
@media (max-width: 991px) {
    .page-template-page-solutions :is(.sh-solution-details__header, .sh-solution-product__inner, .sh-solution-resources__inner, .sh-solution-contact__inner) { padding-inline: 32px; }
    .page-template-page-solutions .sh-solution-resources__columns { grid-template-columns: minmax(0, 1fr); }
    .page-template-page-solutions .sh-solution-papers { border-left: 0; border-top: 1px solid rgb(255 255 255 / 14%); padding: 32px 0 0; }
    .page-template-page-solutions .sh-solution-contact__card { flex-direction: column; align-items: flex-start; }
    .page-template-page-solutions .sh-solution-nav__contact { display: none; }
}
@media (max-width: 767px) {
    .page-template-page-solutions :is(.sh-solution-details__header, .sh-solution-product__inner, .sh-solution-resources__inner, .sh-solution-contact__inner) { padding-inline: 24px; }
    .page-template-page-solutions .sh-solution-details__header { padding-top: 40px; }
    .page-template-page-solutions .sh-solution-product__inner { grid-template-columns: minmax(0, 1fr); padding-block: 40px; gap: 24px; }
    .page-template-page-solutions .sh-solution-product__image { width: min(100%, 300px); justify-self: center; }
    .page-template-page-solutions .sh-solution-product__features { grid-column: auto; }
    .page-template-page-solutions .sh-solution-product__actions { align-items: flex-start; flex-direction: column; }
    .page-template-page-solutions :is(.sh-solution-resources__inner, .sh-solution-contact__inner) { padding-block: 48px; }
    .page-template-page-solutions .sh-solution-videos__thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-template-page-solutions .sh-solution-contact__card { padding: 24px; gap: 24px; }
    .page-template-page-solutions .sh-solution-contact__copy { padding-left: 20px; }
    [data-bs-theme="dark"] body.page-template-page-solutions :is(.sh-solution-details__header h2, .sh-solution-contact h2, .sh-solution-resources h2, .sh-solution-product h3) { font-size: 28px; line-height: 36px; }
}
.page-template-page-solutions .sh-solution-videos__poster > span { background: none; padding: 0; }
.page-template-page-solutions .sh-solution-videos__poster .sh-solution-videos__play-disc { position: absolute; inset: -12px -16px -20px; width: 120px; height: 120px; object-fit: contain; }
.page-template-page-solutions .sh-solution-videos__poster .sh-solution-videos__play-glyph { width: 26.928px; height: 29.92px; object-fit: contain; position: relative; margin-left: 9px; }
/* Optional orange CTA between products and resources, from Figma 153:376. */
.page-template-page-solutions .sh-solution-contact--banner { background: linear-gradient(164deg, #f87830, #f34d50 73%); color: #fff; }
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__inner { padding-block: 52px; background: repeating-linear-gradient(90deg, transparent 0 63px, rgb(255 255 255 / 6%) 63px 64px); }
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__card { padding: 0; background: transparent; border: 0; border-radius: 0; }
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__copy { border: 0; padding: 0; }
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-contact--banner h2 { color: #fff !important; line-height: 40px; }
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__copy p { font-size: 18px; line-height: 26px; }
.page-template-page-solutions .sh-solution-contact--banner .sh-btn { background: #fff; color: var(--sh-orange-hover); padding: 14px 28px; }
.page-template-page-solutions .sh-solution-contact--banner a:focus-visible { outline-color: var(--sh-solution-ink); }
@media (prefers-reduced-motion: reduce) {
    html:has(body.page-template-page-solutions) { scroll-behavior: auto; }
}
.page-template-page-solutions .sh-solution-contact__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; flex: none; }
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__actions > .sh-arrow-link { color: #fff; text-decoration: underline; font-size: 15px; }
/* Match the approved desktop section geometry; longer content can still expand. */
@media (min-width: 992px) {
    .page-template-page-solutions .sh-solution-overview__inner { padding-bottom: 26px; }
}
@media (min-width: 1280px) {
    .page-template-page-solutions .sh-solution-resources__inner { padding-right: 86px; }
    .page-template-page-solutions .sh-solution-resources__columns { column-gap: 145px; }
    .page-template-page-solutions .sh-solution-resources__columns--single { column-gap: 0; }
    .page-template-page-solutions .sh-solution-videos__player { aspect-ratio: 687 / 409; }
}
.page-template-page-solutions .sh-solution-papers { position: relative; border-left: 0; padding-left: 0; }
.page-template-page-solutions .sh-solution-papers::before { content: ''; position: absolute; left: -73px; top: 0; bottom: 0; width: 1px; background: rgb(255 255 255 / 14%); }
.page-template-page-solutions .sh-solution-resources__columns--single .sh-solution-papers::before { display: none; }
.page-template-page-solutions .sh-solution-videos__thumbnail img { aspect-ratio: 160 / 96; }
@media (min-width: 992px) and (max-width: 1279px) {
    .page-template-page-solutions .sh-solution-papers::before { left: -16px; }
}
@media (max-width: 991px) {
    .page-template-page-solutions .sh-solution-papers::before { display: none; }
}
.page-template-page-solutions .sh-solution-section-label { line-height: 18px; }
.page-template-page-solutions .sh-solution-resources__subhead a { line-height: 17px; }
.page-template-page-solutions .sh-solution-papers__all { display: flex; padding-block: 18px; border-top: 1px solid rgb(255 255 255 / 14%); text-decoration: underline; font-size: 15px; }

/* Solutions: Camila's October 23 button palette and one-page style guide. */
.page-template-page-solutions .sh-solutions-page {
    --sh-solution-action: #cf4a24;
    --sh-solution-link: #bf4012;
    --sh-solution-link-hover: #a5350d;
    --sh-solution-action-hover: #bf4012;
    --sh-solution-action-pressed: #a5350d;
    --sh-solution-focus-dark: #b8e5f5;
    --sh-solution-banner-start: #f05423;
    --sh-solution-banner-end: #f34d50;
    --sh-solution-banner-button-hover: #13202c;
    --sh-solution-banner-button-pressed: #1c3349;
    font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.page-template-page-solutions .sh-solutions-page .sh-btn {
    background: var(--sh-solution-action);
    color: #fff;
    flex: none; /* Override the shared mobile product-button flex growth. */
    height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
}
.page-template-page-solutions .sh-solutions-page .sh-btn:hover {
    background: var(--sh-solution-action-hover);
}
.page-template-page-solutions :is(.sh-solution-recommended__link, .sh-solution-product__datasheet, .sh-solution-product__copy > .sh-eyebrow, .sh-solution-overview__eyebrow, .sh-solution-overview__copy .sh-solution-overview__body a),
.page-template-page-solutions .sh-solution-recommended__table .sh-solution-recommended__arrow {
    color: var(--sh-solution-link);
}
.page-template-page-solutions .sh-solution-recommended { --sh-recommended-number: var(--sh-solution-copy); }
.page-template-page-solutions .sh-solution-product__ideal > span { color: var(--sh-solution-copy); }
.page-template-page-solutions :is(.sh-solution-recommended__link, .sh-solution-product__datasheet, .sh-solution-overview__copy .sh-solution-overview__body a):hover {
    color: var(--sh-solution-link-hover);
}
.page-template-page-solutions .sh-solution-contact--banner {
    background: linear-gradient(120deg, var(--sh-solution-banner-start), var(--sh-solution-banner-end));
}
.page-template-page-solutions .sh-solutions-page .sh-btn:active {
    background: var(--sh-solution-action-pressed);
}
/* The guide reserves a solid dark button for the orange CTA banner. */
.page-template-page-solutions .sh-solutions-page .sh-solution-contact--banner .sh-btn {
    background: var(--sh-solution-ink);
    color: #fff;
}
.page-template-page-solutions .sh-solutions-page .sh-solution-contact--banner .sh-btn:hover {
    background: var(--sh-solution-banner-button-hover);
}
.page-template-page-solutions .sh-solutions-page .sh-solution-contact--banner .sh-btn:active {
    background: var(--sh-solution-banner-button-pressed);
}
/* White banner text uses large bold type to meet 3:1 on the approved gradient. */
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__copy p {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}
.page-template-page-solutions .sh-solution-contact--banner .sh-solution-contact__actions > .sh-arrow-link {
    font-size: 19px;
    font-weight: 700;
    line-height: 26px;
}
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solutions-page :is(.sh-solution-overview__copy, .sh-solution-recommended, .sh-solution-details, .sh-solution-contact:not(.sh-solution-contact--banner)) :is(h1, h2, h3, h4, h5, h6) {
    color: var(--sh-solution-ink) !important;
}
.page-template-page-solutions :is(.sh-solution-recommended, .sh-solution-details) {
    color: var(--sh-solution-copy);
}
[data-bs-theme="dark"] body.page-template-page-solutions .sh-solution-callout__heading {
    color: #fff !important;
}
.page-template-page-solutions :is(.sh-solution-hero, .sh-solution-callout, .sh-solution-resources) a:focus-visible {
    outline: 3px solid var(--sh-solution-focus-dark);
    outline-offset: 5px;
}
@media (max-width: 575.98px) {
    /* Keep the long primary label on one line with a visible browser scrollbar. */
    .page-template-page-solutions .sh-solutions-page .sh-solution-hero__primary { padding-inline: 16px; }
}

/* Included Software with the approved orange-gradient downloads banner. */
.sh-software-page { --sh-software-top: 0px; background: var(--sh-dark); color: var(--sh-light); }
body.admin-bar .sh-software-page { --sh-software-top: 32px; }
/* Match the global important heading reset, including headings in ACF rich text. */
body .sh-software-page :is(h1, h2, h3, h4, h5, h6),
[data-bs-theme="dark"] body .sh-software-page :is(h1, h2, h3, h4, h5, h6) { color: var(--sh-light) !important; line-height: 1.2; }
.sh-software-page :is(.sh-software-copy, .sh-software-resources, .sh-software-gallery, .sh-software-faq) { color: var(--sh-light); }
.sh-software-page h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 24px; }
.sh-software-page h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 24px; }
.sh-software-page h3 { font-size: 1.25rem; margin: 0 0 16px; }
.sh-software-page img { max-width: 100%; height: auto; }
.sh-software-page :is(a, summary):focus-visible { outline: 3px solid var(--sh-grad-start); outline-offset: 4px; }
.sh-software-page section:focus-visible { outline: 2px solid var(--sh-grad-start); outline-offset: 6px; }
.sh-software-page section[id], .sh-software-page .sh-software-fragment { scroll-margin-top: calc(var(--sh-software-top) + 20px); }
.sh-software-hero { padding: 64px 0; background: var(--sh-dark-2); }
.sh-software-hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sh-software-hero__layout--text { grid-template-columns: minmax(0, 1fr); }
.sh-software-hero__copy { min-width: 0; }
.sh-software-hero__logo { display: block; max-width: 220px !important; max-height: 100px; object-fit: contain; object-position: left; margin-bottom: 24px; }
.sh-software-hero__image { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.sh-software-hero .sh-btn { margin-top: 24px; }
.sh-software-copy { overflow-wrap: anywhere; line-height: 1.7; }
.sh-software-copy p { margin: 0 0 16px; }
.sh-software-copy :is(ul, ol) { padding-inline-start: 24px; }
.sh-software-copy li { margin-bottom: 8px; }
.sh-software-copy a, .sh-software-resources a { color: var(--sh-grad-start); text-decoration: underline; }
.sh-software-copy table { display: block; max-width: 100%; overflow-x: auto; }
.sh-software-copy :is(td, th) { padding: 8px; }
/* Camila's downloads banner: shared orange gradient and pale download controls. */
.sh-software-downloads { padding: 48px 0 0; }
.sh-software-downloads__banner {
    --sh-software-banner-start: #f05423;
    --sh-software-banner-end: #f34d50;
    padding: 32px;
    border-radius: 8px;
    background: linear-gradient(120deg, var(--sh-software-banner-start), var(--sh-software-banner-end));
    color: var(--sh-dark);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    gap: 32px;
    align-items: center;
}
.sh-software-downloads__banner--links-only { grid-template-columns: minmax(0, 1fr); }
.sh-software-downloads__intro { min-width: 0; align-self: center; }
body .sh-software-page .sh-software-downloads h2,
[data-bs-theme="dark"] body .sh-software-page .sh-software-downloads h2 { color: var(--sh-light) !important; font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 0; }
.sh-software-downloads__packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sh-software-page :is(.sh-software-downloads__packages, .sh-software-downloads__links, .sh-software-resources, .sh-software-nav ul) { list-style: none; padding: 0; margin: 0; }
.sh-software-downloads__package { min-width: 0; }
.sh-software-page .sh-software-downloads .sh-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 88px;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 8px !important;
    background: var(--sh-light);
    color: var(--sh-text);
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    text-transform: none !important;
    text-decoration: none;
}
.sh-software-page .sh-software-downloads .sh-btn:hover { background: var(--sh-border); color: var(--sh-dark); border-color: var(--sh-text); }
.sh-software-page .sh-software-downloads .sh-btn:active { background: var(--sh-muted-light); color: var(--sh-dark); border-color: var(--sh-dark); }
.sh-software-page .sh-software-downloads a:focus-visible { outline: 3px solid var(--sh-dark); outline-offset: 4px; }
.sh-software-downloads__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; height: 44px; border-radius: 50%; color: var(--sh-orange-hover); background: var(--sh-cream); }
.sh-software-downloads__label { display: block; min-width: 0; overflow-wrap: anywhere; }
.sh-software-downloads__title { display: block; }
.sh-software-downloads__metadata { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.sh-software-downloads__metadata > span:not(:last-child)::after { content: " · "; white-space: pre-wrap; }
.sh-software-downloads__notes { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; }
.sh-software-downloads__related { margin: 6px 0 0; font-weight: 700; }
.sh-software-downloads__related-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; min-width: 0; }
.sh-software-downloads__links { display: flex; flex-wrap: wrap; gap: 4px 20px; min-width: 0; }
.sh-software-downloads__links li { max-width: 100%; }
.sh-software-downloads__links a { display: inline-block; padding-block: 6px; color: var(--sh-dark); text-decoration: none; font-size: 14px; font-weight: 700; }
.sh-software-downloads__links a:hover { color: #000; text-decoration: underline; font-weight: 700; }
.sh-software-downloads__links a:focus-visible { text-decoration: underline; outline: 2px solid currentColor; outline-offset: 2px; }
.sh-software-downloads__links p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
@media (max-width: 991.98px) {
    .sh-software-downloads__banner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 575.98px) {
    .sh-software-downloads { padding-top: 32px; }
    .sh-software-downloads__banner { padding: 24px; }
    .sh-software-downloads__packages { grid-template-columns: minmax(0, 1fr); }
    .sh-software-downloads__related-row { display: block; }
    .sh-software-downloads__links { gap: 4px 16px; }
}
.sh-software-details { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-block: 56px; align-items: start; }
.sh-software-details--single { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.sh-software-nav { background: var(--sh-light); color: var(--sh-text); position: sticky; top: calc(var(--sh-software-top) + 20px); max-height: calc(100vh - var(--sh-software-top) - 40px); overflow-y: auto; padding: 4px; }
.sh-software-page .sh-software-nav__link { display: block; min-height: 44px; padding: 12px 8px; border-inline-start: 3px solid transparent; color: var(--sh-text); text-decoration: none; line-height: 1.4; }
.sh-software-page .sh-software-nav__link:hover,
.sh-software-page .sh-software-nav__link[aria-current="location"] { border-inline-start-color: var(--sh-orange); background: var(--sh-dark); color: var(--sh-light); }
.sh-software-page .sh-software-nav__link[aria-current="location"] { font-weight: 700; }
.sh-software-page .sh-software-nav__link:focus-visible { outline: 3px solid var(--sh-text); outline-offset: -3px; background: var(--sh-light); color: var(--sh-text); text-decoration: underline; }
/* Featured software uses the product sidebar treatment on a dark surface. */
.sh-software-page--featured .sh-software-nav { background: transparent; padding: 0; }
.sh-software-page.sh-software-page--featured .sh-software-nav__link {
    padding: 12px 0; border: 0; border-bottom: 2px solid transparent;
    background: transparent; color: #a6cbd9; font-size: 1.08rem; font-weight: 600;
}
.sh-software-page.sh-software-page--featured .sh-software-nav__link:hover { color: #fff; }
.sh-software-page.sh-software-page--featured .sh-software-nav__link[aria-current="location"] {
    border-bottom-color: #b8e5f5; color: #b8e5f5; font-weight: 700;
}
.sh-software-page.sh-software-page--featured .sh-software-nav__link:focus-visible {
    outline: 2px solid #b8e5f5; outline-offset: -2px; background: transparent; color: #fff;
}

.sh-software-sections { min-width: 0; }
.sh-software-section { position: relative; margin-bottom: 56px; }
.sh-software-section:last-child { margin-bottom: 0; }
/* Panels are hidden only after JS confirms a complete multi-section navigation. */
.sh-software-page .sh-software-section[hidden] { display: none !important; }
.sh-software-page--panels .sh-software-section { margin-bottom: 0; }
.sh-software-fragment { position: absolute; top: 0; width: 1px; height: 1px; pointer-events: none; }
.sh-software-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-block: 32px; }
.sh-software-feature--text { grid-template-columns: minmax(0, 1fr); }
.sh-software-feature__image { display: block; }
.sh-software-feature__image img { display: block; width: 100%; border-radius: 6px; }
.sh-software-video { margin-bottom: 32px; }
.sh-software-resources li { display: flex; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--sh-muted); }
.sh-software-resources li > img { width: 100px; max-height: 160px; object-fit: contain; align-self: flex-start; }
.sh-software-resources li > div { min-width: 0; overflow-wrap: anywhere; }
.sh-software-resources p { line-height: 1.6; }
.sh-software-resources a { display: inline-block; padding-block: 12px; }
.sh-software-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sh-software-gallery figure { margin: 0; min-width: 0; }
.sh-software-gallery a { display: block; }
.sh-software-gallery img { display: block; width: 100%; }
.sh-software-gallery figcaption { margin-top: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.sh-software-faq { border-bottom: 1px solid var(--sh-muted); }
.sh-software-faq summary { padding: 20px 8px; cursor: pointer; font-weight: 700; line-height: 1.5; }
.sh-software-faq > div { padding: 8px 24px 20px; }
@media (max-width: 991.98px) {
    .sh-software-hero__layout { gap: 24px; }
    .sh-software-details { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sh-software-nav { position: static; max-height: none; overflow: visible; }
    .sh-software-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
    body.admin-bar .sh-software-page { --sh-software-top: 46px; }
}
@media (max-width: 767.98px) {
    .sh-software-hero { padding-block: 40px; }
    .sh-software-hero__layout, .sh-software-feature, .sh-software-gallery { grid-template-columns: minmax(0, 1fr); }
    .sh-software-details { padding-block: 32px; }
    .sh-software-section { margin-bottom: 40px; }
    .sh-software-page #software-additional > .row > .col-6 { width: 100%; }
    .sh-software-nav ul { grid-template-columns: minmax(0, 1fr); }
    .sh-software-resources li { gap: 16px; }
    .sh-software-resources li > img { width: 72px; }
}
@media (max-width: 600px) {
    body.admin-bar .sh-software-page { --sh-software-top: 0px; }
}

/* Grouped site search. Keep form styles local to search controls. */
.sh-search__hero { background-image: url("../img/shbanner.png") !important; }
.sh-search { background: var(--sh-light); color: var(--sh-text); padding-block: 48px 64px; }
.sh-search__filters, .sh-search__group { margin-block: 24px; padding: 24px; border: 1px solid var(--sh-border); border-radius: 8px; }
.sh-search__filters > label { display: block; font-weight: 700; margin-bottom: 8px; }
.sh-search-form__controls { display: flex; gap: 8px; }
.sh-search-form__controls input[type="search"] { min-width: 0; flex: 1; width: 100%; padding: 10px; border: 1px solid var(--sh-muted); border-radius: 4px; background: var(--sh-light); color: var(--sh-text); }
.sh-search-form__controls .sh-btn { flex-shrink: 0; }
/* Darker orange retains white labels at AA contrast in every search button state. */
.sh-search .sh-btn, .sh-search-form .sh-btn { background: #c7441b; }
.sh-search .sh-btn:hover, .sh-search-form .sh-btn:hover { background: #b83e19; }
.sh-search__filters fieldset { margin: 20px 0 0; padding: 0; border: 0; }
.sh-search__filters legend { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.sh-search__check { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 8px 0; cursor: pointer; }
.sh-search__check input { width: 20px; height: 20px; accent-color: var(--sh-dark); }
.sh-search__result { padding-block: 20px; border-bottom: 1px solid var(--sh-border); overflow-wrap: anywhere; }
.sh-search__result h3 { font-size: 1.25rem; margin: 0 0 8px; }
.sh-search__pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; background-color: var(--sh-light); }
.sh-search__pagination .page-numbers { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--sh-muted); border-radius: 4px; }
.sh-search__pagination .current { background: var(--sh-dark); color: var(--sh-light); font-weight: 700; }
.sh-search__pagination .dots { border: 0; padding-inline: 0; }
.sh-search__page-size { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 16px; }
.sh-search__page-size select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--sh-muted); border-radius: 4px; background: var(--sh-light); color: var(--sh-text); }
.sh-search a { color: var(--sh-text); text-decoration: underline; text-underline-offset: 3px; }
.sh-search a:hover { text-decoration-thickness: 2px; }
.sh-search :focus-visible, .sh-search-form :focus-visible { outline: 3px solid var(--sh-orange); outline-offset: 3px; }
[data-bs-theme="dark"] body .sh-search h1,
[data-bs-theme="dark"] body .sh-search h2,
[data-bs-theme="dark"] body .sh-search h3 { color: var(--sh-text); }
@media (max-width: 575px) {
    .sh-search { padding-block: 24px 40px; }
    .sh-search__filters, .sh-search__group { padding: 16px; }
    .sh-search-form__controls { flex-wrap: wrap; }
    .sh-search-form__controls input[type="search"] { flex-basis: 100%; }
}

/* Featured software hero, based on SPIKE frame 87:280. */
.sh-software-page--featured > .sh-software-hero {
    position: relative;
    overflow: hidden;
    padding: 0 0 83px;
    background: var(--sh-dark);
}
.sh-software-page--featured > .sh-software-hero::before,
.sh-software-page--featured > .sh-software-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sh-software-page--featured > .sh-software-hero::before {
    background: url('../img/spike/hero-background.jpg') center / cover no-repeat;
    filter: blur(2.5px);
}
.sh-software-page--featured > .sh-software-hero::after {
    background: linear-gradient(183.4deg, rgb(0 0 0 / 25%) 33.4%, rgb(0 0 0 / 62%) 64.8%, rgb(0 0 0 / 68%) 83.2%);
}
.sh-software-page--featured > .sh-software-hero .sh-wrap,
.sh-software-page--spike > .sh-software-downloads .sh-wrap {
    max-width: 1152px;
}
.sh-software-page--featured .sh-software-hero__layout {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 517px) minmax(0, 461px);
    justify-content: space-between;
    gap: 48px;
}
.sh-software-page--featured .sh-software-hero__layout--text { grid-template-columns: minmax(0, 517px); }
.sh-software-page--featured .sh-software-hero__copy {
    --sh-software-hero-link: #932e0e;
    position: relative;
    min-height: 534px;
    padding: 57px 58px 24px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(rgb(255 255 255 / 85%), rgb(242 242 242 / 83%));
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}
.sh-software-page--featured .sh-software-hero__layout--text .sh-software-hero__copy { min-height: 0; }
.sh-software-page--featured .sh-software-hero__logo {
    width: 379px;
    max-width: 100% !important;
    max-height: none;
    height: auto;
    margin: 0 0 29px;
}
.sh-software-page--featured .sh-software-hero__logo--on-dark {
    width: auto;
    max-height: 100px;
    padding: 12px 16px;
    background: var(--sh-dark);
    border-radius: 5px;
}
.sh-software-page--spike .sh-software-hero__logo {
    width: auto;
    max-width: min(100%, 379px) !important;
    background: transparent;
}
.sh-software-page--featured .sh-software-hero__copy .sh-software-copy :is(h2, h3, h4, h5, h6),
[data-bs-theme="dark"] body .sh-software-page--featured .sh-software-hero__copy .sh-software-copy :is(h2, h3, h4, h5, h6) {
    color: #393939 !important;
}
.sh-software-page--featured .sh-software-hero__copy h1,
[data-bs-theme="dark"] body .sh-software-page--featured .sh-software-hero__copy h1 {
    color: #393939 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px !important;
    margin: 0 0 15px;
}
.sh-software-page--featured .sh-software-hero__copy .sh-software-copy {
    color: #393939;
    font-size: 18px;
    line-height: 27px;
}
.sh-software-page--featured .sh-software-hero__copy .sh-software-copy a { color: var(--sh-software-hero-link); }
.sh-software-page--featured .sh-software-hero__copy a:focus-visible { outline-color: currentColor; }
.sh-software-page--featured .sh-software-hero__copy .sh-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 0;
    color: var(--sh-software-hero-link);
    background: transparent;
    text-decoration: underline;
    box-shadow: none;
}
.sh-software-page--featured .sh-software-hero__artwork { min-width: 0; align-self: start; margin-top: 146px; }
.sh-software-page--featured .sh-software-hero__artwork :is(.sh-pd-embed, .sh-software-hero__image) {
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}
.sh-software-page--featured .sh-software-hero__artwork .sh-pd-embed {
    padding: 0;
    height: auto;
    aspect-ratio: 461 / 273;
}
.sh-software-page--featured .sh-software-hero__artwork .sh-software-copy {
    margin: 12px 0 0;
    font-size: 14px;
}
.sh-software-page--spike > .sh-software-downloads { padding-top: 95px; }
/* Keep the legacy announcement content and URL, in the reference's bottom callout. */
.sh-software-page--spike .sh-spike-announcement { padding: 44px 0; background: #fff; }
.sh-software-page--spike .sh-spike-announcement__card {
    display: grid;
    grid-template-columns: 6px minmax(0, 1fr) auto;
    gap: 64px;
    align-items: center;
    padding: 19px 64px 16px;
    border: 1px solid #d8e0e6;
    border-radius: 8px;
    color: #4b4949;
}
.sh-software-page--spike .sh-spike-announcement__card::before {
    content: "";
    align-self: stretch;
    background: #f05423;
}
.sh-software-page--spike .sh-spike-announcement__copy { min-width: 0; }
.sh-software-page--spike .sh-spike-announcement__copy > div {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #4b4949 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 17px;
    line-height: 27px;
}
.sh-software-page--spike .sh-spike-announcement h4,
[data-bs-theme="dark"] body .sh-software-page--spike .sh-spike-announcement h4 {
    color: #13191f !important;
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
}
.sh-software-page--spike .sh-spike-announcement p { margin: 0 0 12px; }
.sh-software-page--spike .sh-spike-announcement strong { font-size: 20px; line-height: 42px; }
.sh-software-page--spike .sh-spike-announcement__copy a {
    color: #bf4012;
    padding: 0 !important;
    background: transparent !important;
    text-decoration: underline;
}
.sh-software-page--spike .sh-spike-announcement .sh-btn {
    padding: 18px 36px;
    background: #c05537;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.sh-software-page--spike .sh-spike-announcement .sh-btn:hover { background: #bf4012; }
@media (max-width: 991.98px) {
    .sh-software-page--featured .sh-software-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sh-software-page--featured .sh-software-hero__copy { width: 100%; max-width: 517px; margin-inline: auto; }
    .sh-software-page--featured .sh-software-hero__artwork { width: 100%; max-width: 461px; margin: 0 auto; }
    .sh-software-page--spike .sh-spike-announcement__card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; border-left: 6px solid #f05423; }
    .sh-software-page--spike .sh-spike-announcement__card::before { display: none; }
    .sh-software-page--spike .sh-spike-announcement .sh-btn { justify-self: start; }
}
@media (max-width: 575.98px) {
    .sh-software-page--featured > .sh-software-hero { padding-bottom: 40px; }
    .sh-software-page--featured .sh-software-hero__copy { min-height: 0; padding: 32px 24px 24px; }
    .sh-software-page--featured .sh-software-hero__logo { margin-bottom: 24px; }
    .sh-software-page--spike > .sh-software-downloads { padding-top: 40px; }
    .sh-software-page--spike .sh-spike-announcement h4,
    [data-bs-theme="dark"] body .sh-software-page--spike .sh-spike-announcement h4 { font-size: 28px; line-height: 36px; }
}

@media (min-width: 992px) {
    /* Retain the existing download shortcut without enlarging the Figma copy card. */
    .sh-software-page--featured .sh-software-hero__copy .sh-btn {
        position: absolute;
        top: calc(100% + 16px);
        left: 58px;
        margin-top: 0;
        color: #fff;
    }
}

/* Product Reviews form only: retain WooCommerce markup, rating glyphs and handlers. */
body.single-product #review_form {
    --sh-review-action: #cf4a24;
    --sh-review-action-hover: #bf4012;
    max-width: 720px;
    color: #fff;
}
body.single-product #review_form .comment-reply-title {
    display: block;
    padding-block: 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}
body.single-product #review_form #commentform {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
body.single-product #review_form #commentform > * { grid-column: 1 / -1; min-width: 0; }
body.single-product #review_form #commentform > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
body.single-product #review_form p { margin: 0; font-size: 14px; line-height: 20px; }
body.single-product #review_form :is(.comment-form-rating, .comment-form-comment, .comment-form-author, .comment-form-email) {
    display: grid;
    gap: 6px;
}
body.single-product #review_form label { font-size: 14px; font-weight: 600; line-height: 20px; }
body.single-product #review_form :is(#comment, #author, #email) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--sh-muted);
    border-radius: 4px;
    background: #fff;
    color: var(--sh-text);
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    color-scheme: light;
}
body.single-product #review_form :is(#author, #email) { height: 50px; }
body.single-product #review_form #comment { height: 144px; min-height: 120px; resize: vertical; }
body.single-product #review_form p.stars > span { display: inline-flex; flex-wrap: nowrap; gap: 4px; }
body.single-product #review_form p.stars a {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #f5a623;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}
body.single-product #review_form p.stars a::before { top: 9px; left: 9px; }
body.single-product #review_form p.stars a:hover { color: #f5a623; text-decoration: none; }
body.single-product #review_form #submit {
    width: auto;
    max-width: 100%;
    min-height: 40px;
    padding: 10px 20px;
    border: 0;
    border-radius: 4px;
    background: var(--sh-review-action);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    box-shadow: none;
}
body.single-product #review_form #submit:is(:hover, :focus-visible) {
    background: var(--sh-review-action-hover);
    color: #fff;
    box-shadow: none;
}
body.single-product #review_form :is(#comment, #author, #email):focus { border-color: var(--sh-orange); }
body.single-product #review_form :is(#comment, #author, #email, #submit, p.stars a):focus-visible {
    outline: 3px solid var(--sh-orange);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    body.single-product #review_form #commentform { grid-template-columns: minmax(0, 1fr); }
}

/* Keep software icons fully visible inside the existing hero image area. */
.sh-product-hero--software .sh-product-hero__image {
    height: 218px;
    padding: 16px;
}
.sh-product-hero--software .sh-product-hero__image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: none;
}

/* Ensure catalog contact heading is readable on the dark background. */
.sh-catalog-contact h2.text-white {
    color: #fff !important;
}

/* WooCommerce cart: remove unwanted underline from remove-item links. */
.woocommerce-cart a.remove,
.woocommerce-cart a.remove:hover,
.woocommerce-cart a.remove:focus {
    text-decoration: none !important;
}
