/*
Theme Name: Fitco Theme
Theme URI: https://www.fitcoindia.com/
Author: FITCO
Author URI: https://www.fitcoindia.com/
Description: Custom WordPress theme for Federal India Trading Company.
Version: 50.0.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitco-theme
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ==========================================================================
FITCO MINIMAL THEME v31.0.0
    - Minimal shared accent variables for theme chrome
   - No color enforcement
   - Full-width pages by default
   - Works on all screen sizes
   ========================================================================== */

:root {
     --fitco-accent-700: #1f4c70;
     --fitco-accent-600: #5e8fbd;
     --fitco-accent-500: #9ebbd4;
     --fitco-accent-500-rgb: 158, 187, 212;
     --fitco-accent-600-rgb: 94, 143, 189;
     --fitco-accent-700-rgb: 31, 76, 112;
}

/* ==========================================================================
   1. BASIC RESET
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

/* ==========================================================================
   2. FITCO ISOLATED CONTENT
   Wrap custom HTML pages in class="fitco-isolated"
   Theme styles will NOT interfere with isolated content
   ========================================================================== */

.fitco-isolated {
    all: initial !important;
    display: block !important;
    width: 100% !important;
    font-family: inherit;
}

.fitco-isolated *,
.fitco-isolated *::before,
.fitco-isolated *::after {
    box-sizing: border-box;
}

/* Custom page islands.
   Use one of these roots for custom HTML experiences whose own CSS/JS should
   control layout and anchor behavior instead of the shared theme defaults. */
:where(.fitco-custom-page, .page-shell, [data-fitco-page-root], [data-fitco-css-root]) {
    width: 100%;
    max-width: none;
    margin: 0;
}

:where(.fitco-custom-page, .page-shell, [data-fitco-page-root], [data-fitco-css-root]) *,
:where(.fitco-custom-page, .page-shell, [data-fitco-page-root], [data-fitco-css-root]) *::before,
:where(.fitco-custom-page, .page-shell, [data-fitco-page-root], [data-fitco-css-root]) *::after {
    box-sizing: border-box;
}

:where(.fitco-custom-page, .page-shell, [data-fitco-page-root], [data-fitco-css-root]) :where(section[id], [id]) {
    scroll-margin-top: 84px;
}

/* ==========================================================================
   3. FULL-WIDTH CONTENT
   ========================================================================== */

.site-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

article {
    width: 100%;
    max-width: 100%;
}

.entry-content,
.page-content {
    width: 100%;
    max-width: 100%;
}

/* Testometric detail pages are pasted into WPBakery rows. WPBakery's default
   negative row margins can add a 15px horizontal scroll on mobile. */
body.testometric-page {
    overflow-x: hidden;
}

body.testometric-page :is(.entry-content, .page-content, .vc_row, .wpb_column, .vc_column-inner) {
    max-width: 100%;
}

body.testometric-page .vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@supports selector(body:has(#testometric-x100-page)) {
    body:has(:is(#testometric-floor-standing-models-page, #testometric-x100-page, #testometric-x250-page, #testometric-x350-page, #testometric-x500-page, #testometric-xfs-100kn-page, #testometric-xfs-150kn-page, #testometric-xfs-300kn-page, #testometric-xfs-500kn-page, #testometric-xfs-600kn-page, #testometric-xfs-1000kn-page)) {
        overflow-x: hidden;
    }

    body:has(:is(#testometric-floor-standing-models-page, #testometric-x100-page, #testometric-x250-page, #testometric-x350-page, #testometric-x500-page, #testometric-xfs-100kn-page, #testometric-xfs-150kn-page, #testometric-xfs-300kn-page, #testometric-xfs-500kn-page, #testometric-xfs-600kn-page, #testometric-xfs-1000kn-page)) :is(.entry-content, .page-content, .vc_row, .wpb_column, .vc_column-inner) {
        max-width: 100%;
    }

    body:has(:is(#testometric-floor-standing-models-page, #testometric-x100-page, #testometric-x250-page, #testometric-x350-page, #testometric-x500-page, #testometric-xfs-100kn-page, #testometric-xfs-150kn-page, #testometric-xfs-300kn-page, #testometric-xfs-500kn-page, #testometric-xfs-600kn-page, #testometric-xfs-1000kn-page)) .vc_row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   4. BASIC TYPOGRAPHY - Minimal defaults only
   ========================================================================== */

:where(a):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    color: #1a73e8;
    text-decoration: none;
}

:where(a:hover):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    text-decoration: underline;
}

:where(img):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    max-width: 100%;
    height: auto;
}

:where(h1, h2, h3, h4, h5, h6):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

:where(p):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    margin: 0 0 1rem 0;
}

:where(ul, ol):not(:where(.fitco-isolated *, .fitco-custom-page *, .page-shell *, [data-fitco-page-root] *, [data-fitco-css-root] *)) {
    padding-left: 1.5rem;
    margin: 0 0 1rem 0;
}

/* ==========================================================================
   5. HEADER - Light theme
   ========================================================================== */

/* ---- SITE HEADER WRAPPER ---- */
.site-header {
    --fitco-header-surface: #ffffff;
    --fitco-header-surface-soft: #f4f7fb;
    --fitco-header-ink: #071226;
    --fitco-header-muted: #5d6978;
    --fitco-header-border: #d8e2ee;
    --fitco-header-accent: #1f4c70;
    --fitco-header-accent-dark: #071226;
    --fitco-header-accent-rgb: 31, 76, 112;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 26px rgba(32, 39, 44, 0.08);
}

/* Single-row header - 70px */
body {
    padding-top: 70px;
}

/* ---- SINGLE ROW HEADER ---- */
.header-main {
    background: var(--fitco-header-surface);
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--fitco-header-border);
    position: relative;
}

.header-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(var(--fitco-header-accent-rgb), 0.28);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.site-header.scrolled .header-main::after {
    opacity: 1;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1rem;
}

/* ---- LEFT: LOGO + COMPANY LOCKUP ---- */
.header-brand-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

#site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

#site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#site-logo img {
    height: 60px;
    width: auto;
    transition: opacity 0.2s ease;
}

#site-logo a:hover img {
    opacity: 0.8;
}

/* "76 Â· Est. 1950" subtle pill */
.header-legacy-pill {
    display: none;
}

.header-brand-divider {
    display: block;
    width: 1px;
    height: 52px;
    background: var(--fitco-header-border);
    flex: 0 0 1px;
}

.header-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    color: #526071;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
}

.header-brand-copy:hover,
.header-brand-copy:focus {
    color: var(--fitco-header-accent);
    text-decoration: none;
}

.header-brand-primary,
.header-brand-secondary {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

/* ---- NAVIGATION ---- */
.main-navigation {
    display: flex;
    align-items: center;
    flex: none;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
    height: 70px;
}

.main-navigation .menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Top-level nav links */
.main-navigation .menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.9rem !important;
    height: 70px;
    color: var(--fitco-header-ink);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    position: relative;
    transition: color 0.18s ease;
}

/* Hover underline effect */
.main-navigation .menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--fitco-header-accent);
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.main-navigation .menu > li > a:hover {
    color: var(--fitco-header-accent);
    text-decoration: none;
}

.main-navigation .menu > li > a:hover::before {
    transform: scaleX(1);
}

/* Active / current page */
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
    color: var(--fitco-header-accent);
}

.main-navigation .menu > li.current-menu-item > a::before,
.main-navigation .menu > li.current-menu-ancestor > a::before {
    transform: scaleX(1);
}

/* Drop chevron for items with children */
.main-navigation .menu > li.menu-item-has-children > a::after {
    content: '' !important;
    display: inline-block !important;
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid var(--fitco-header-muted);
    transition: transform 0.22s ease, border-top-color 0.18s ease;
    flex-shrink: 0;
    margin-left: 2px;
}

.main-navigation .menu > li.menu-item-has-children > a:hover::after {
    border-top-color: var(--fitco-header-accent);
}

.main-navigation .menu > li.menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
    border-top-color: var(--fitco-header-accent);
}

.main-navigation .menu > li:not(.menu-item-has-children) > a::after {
    content: none !important;
    display: none !important;
}

/* CTA nav variant - disabled, use header-cta-btn instead */
.main-navigation .menu > li.nav-cta > a {
    background: none !important;
    color: var(--fitco-header-ink) !important;
    box-shadow: none !important;
    padding: 0 0.9rem !important;
    height: 70px;
    margin-left: 0;
    border-radius: 0;
    font-weight: 500 !important;
}

.main-navigation .menu > li.nav-cta > a:hover {
    color: var(--fitco-header-accent) !important;
    background: none !important;
    transform: none;
}

.main-navigation .menu > li.nav-cta > a::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--fitco-header-accent);
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.main-navigation .menu > li.nav-cta > a:hover::before {
    transform: scaleX(1);
}

.main-navigation .menu > li.nav-cta > a::after {
    display: none !important;
    content: none !important;
}

/* ---- RIGHT: ACTIONS ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Search button */
.header-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease, width 0.3s cubic-bezier(0.4,0,0.2,1);
    width: 38px;
}

.header-search-form.is-open {
    border-color: var(--fitco-header-border);
    background: var(--fitco-header-surface);
    width: 260px;
    box-shadow: 0 10px 24px rgba(32, 39, 44, 0.08);
}

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    color: var(--fitco-header-muted);
    cursor: pointer;
    transition: color 0.18s ease;
    flex-shrink: 0;
    padding: 0;
}

.header-search-btn:hover {
    color: var(--fitco-header-ink);
}

.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--fitco-header-ink);
    padding: 0;
    width: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.header-search-form.is-open .header-search-input {
    width: auto;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0.25rem;
}

.header-search-input::placeholder {
    color: #9aa3a8;
}

.header-search-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: var(--fitco-header-muted);
    cursor: pointer;
    padding: 0;
    margin-right: 4px;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
}

.header-search-form.is-open .header-search-close {
    display: flex;
}

.header-search-close:hover {
    color: var(--fitco-header-ink);
    background: var(--fitco-header-surface-soft);
}

/* Primary CTA button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.2rem;
    background: var(--fitco-header-accent);
    color: #fff;
    border-radius: 7px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(var(--fitco-header-accent-rgb), 0.18);
    border-bottom: none;
    transition: box-shadow 0.2s ease, transform 0.18s ease, background 0.18s ease;
    line-height: 1;
    flex-shrink: 0;
}

.header-cta-btn:hover {
    background: var(--fitco-header-accent-dark);
    box-shadow: 0 10px 24px rgba(var(--fitco-header-accent-rgb), 0.24);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

/* ---- DROPDOWNS ---- */
/* Top-level dropdown: fixed to header bottom */
.main-navigation .menu > li > .sub-menu {
    position: fixed;
    top: 70px;           /* single-row header */
    left: 0;             /* overridden by JS inline style */
    background: var(--fitco-header-surface);
    min-width: 240px;
    max-width: 300px;
    box-shadow:
        0 0 0 1px var(--fitco-header-border),
        0 18px 38px -18px rgba(32, 39, 44, 0.32);
    border-radius: 8px;
    border-top: 1px solid var(--fitco-header-border);
    list-style: none;
    margin: 0;
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    z-index: 1100;
    pointer-events: none;
}

.main-navigation .menu > li.menu-item-has-children.submenu-open > .sub-menu,
.main-navigation .menu > li.menu-item-has-children:hover > .sub-menu,
.main-navigation .menu > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}

/* Nested dropdown */
.main-navigation .sub-menu .sub-menu {
    position: absolute;
    top: -0.375rem;
    left: 100%;
    right: auto;
    min-width: 220px;
    background: var(--fitco-header-surface);
    box-shadow:
        0 0 0 1px var(--fitco-header-border),
        0 16px 34px -18px rgba(32, 39, 44, 0.3);
    border-radius: 8px;
    border-top: 1px solid var(--fitco-header-border);
    list-style: none;
    margin: 0;
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
    z-index: 1101;
    pointer-events: none;
}

.main-navigation .sub-menu .menu-item-has-children.submenu-open > .sub-menu,
.main-navigation .sub-menu .menu-item-has-children:hover > .sub-menu,
.main-navigation .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}

.main-navigation .sub-menu li {
    position: relative;
}

.main-navigation .sub-menu > li > a {
    display: flex !important;
    align-items: center;
    padding: 0.55rem 0.875rem !important;
    color: var(--fitco-header-ink);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 7px;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    gap: 0.5rem;
    line-height: 1.4;
}

.main-navigation .sub-menu > li > a::before {
    display: none !important;
    content: none !important;
}

.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a:focus {
    color: var(--fitco-header-ink);
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.main-navigation .sub-menu a::before {
    display: none !important;
    content: none !important;
}

/* Nested chevron */
.main-navigation .sub-menu .menu-item-has-children > a::after {
    content: '' !important;
    display: inline-block !important;
    width: 0;
    height: 0;
    border-top: 3.5px solid transparent;
    border-bottom: 3.5px solid transparent;
    border-left: 4.5px solid currentColor;
    opacity: 0.4;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.main-navigation .sub-menu .menu-item-has-children:hover > a::after,
.main-navigation .sub-menu .menu-item-has-children.submenu-open > a::after {
    opacity: 0.85;
    transform: translateX(2px);
}

/* ---- MOBILE MENU TOGGLE ---- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--fitco-header-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
    background: var(--fitco-header-surface-soft);
    border-color: #cbd2d5;
}

.menu-toggle:focus {
    outline: 2px solid var(--fitco-header-accent);
    outline-offset: 2px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--fitco-header-ink);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- SEARCH OVERLAY - removed, using inline search now ---- */

/* ---- MOBILE DRAWER ---- */
/* body.mobile-menu-open shows the full-height nav drawer */
body.mobile-menu-open .main-navigation {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 70px;           /* single-row header */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fitco-header-surface);
    z-index: 999;
    overflow-y: auto;
    padding: 1.25rem 0 2rem;
    animation: drawerSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--fitco-header-border);
}

@keyframes drawerSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.mobile-menu-open .main-navigation .menu {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 0;
    padding: 0 1rem;
    align-items: flex-start;
}

body.mobile-menu-open .main-navigation .menu > li {
    height: auto;
    width: 100%;
    border-bottom: 1px solid var(--fitco-header-border);
}

body.mobile-menu-open .main-navigation .menu > li:last-child {
    border-bottom: none;
}

body.mobile-menu-open .main-navigation .menu > li > a {
    padding: 0.875rem 0.5rem !important;
    width: 100%;
    height: auto;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--fitco-header-ink);
}

body.mobile-menu-open .main-navigation .menu > li > a::before {
    display: none !important;
}

body.mobile-menu-open .main-navigation .menu > li > a::after {
    content: '' !important;
    display: inline-block !important;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--fitco-header-muted);
    transition: transform 0.22s ease;
}

body.mobile-menu-open .main-navigation .menu > li:not(.menu-item-has-children) > a::after {
    display: none !important;
    content: none !important;
}

/* Mobile submenu: stack below parent link, indent */
body.mobile-menu-open .main-navigation .sub-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: var(--fitco-header-surface-soft) !important;
    border-radius: 8px !important;
    border-top: none !important;
    pointer-events: auto !important;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0.375rem 0;
}

body.mobile-menu-open .main-navigation .menu > li.submenu-open > .sub-menu {
    display: block;
}

body.mobile-menu-open .main-navigation .sub-menu > li > a {
    color: var(--fitco-header-ink) !important;
    font-size: 0.9rem !important;
    padding: 0.625rem 1rem !important;
    border-radius: 6px !important;
}

body.mobile-menu-open .main-navigation .sub-menu > li > a:hover {
    color: var(--fitco-header-ink) !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

body.mobile-menu-open .main-navigation .menu > li.submenu-open > a::after {
    transform: rotate(180deg) !important;
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    body {
        padding-top: 70px;
    }
}

@media (max-width: 640px) {
    #site-logo img { height: 40px; }
    .header-legacy-pill { display: none; }
    .header-search-btn { display: none; }
    .header-search-wrap { display: none; }
    body { padding-top: 70px; }
    body.mobile-menu-open .main-navigation { top: 70px; }

    .header-main-inner {
        padding: 0 1rem;
    }

    .header-cta-btn {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 6px;
        white-space: nowrap;
    }
}



/* ==========================================================================
   6. FOOTER - Light Theme
   ========================================================================== */

.site-footer {
    background: #ffffff;
    color: #1e293b;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Gold gradient top border - mirrors the brand name treatment */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--fitco-accent-600) 25%, var(--fitco-accent-500) 50%, var(--fitco-accent-600) 75%, transparent 100%);
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* No decorative blobs */
.site-footer::after {
    content: none;
}

.footer-main {
    padding: 2.5rem 0 1.5rem;
    position: relative;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

/* Brand Column */
.footer-brand {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo img {
    height: 44px !important;
    width: auto !important;
    display: block !important;
}

/* WordPress custom logo in footer */
.footer-logo .custom-logo-link img {
    height: 44px !important;
    width: auto !important;
    display: block !important;
}

.footer-tagline {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-shadow: none;
    letter-spacing: 0.3px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 8px;
}

.footer-contact-item:hover {
    color: #0f172a;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-contact-item:focus {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
    color: #0f172a;
}

.footer-contact-item svg {
    flex-shrink: 0;
    stroke: #0f172a;
    filter: none;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.footer-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.footer-social a:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.footer-social a:focus {
    outline: 2px solid #0f172a;
    outline-offset: 4px;
}

/* Widget Columns */
.footer-widget h4 {
    color: #1e293b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

/* Short gold accent bar under each widget heading */
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--fitco-accent-600);
    border-radius: 2px;
}

.footer-widget:hover h4::after {
    width: 40px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.footer-widget ul li {
    margin-bottom: 0.45rem;
}

.footer-widget a {
    color: #64748b;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-widget a::before {
    content: 'â€º';
    position: absolute;
    left: -18px;
    opacity: 0;
    color: #0f172a;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    color: #0f172a;
    text-decoration: none;
    padding-left: 18px;
}

.footer-widget a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-widget a:focus {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
    border-radius: 4px;
    color: #0f172a;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    text-align: left;
}

.footer-info {
    flex: 1;
}

.footer-bottom p {
    margin: 0.4rem 0;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

.footer-brand-name {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-brand-federal {
    color: #1e293b;
}

.footer-brand-trading {
    color: var(--fitco-accent-600);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem 1.75rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-widget,
    .footer-brand,
    .footer-bottom-inner,
    .footer-social {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-main {
        padding: 2rem 0 1rem;
    }

    .footer-inner {
        padding: 0 1.25rem;
    }

    .footer-bottom-inner {
        padding: 0.875rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ==========================================================================
   7. FORMS - Basic styling only
   ========================================================================== */

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.625rem 0.875rem;
    width: 100%;
    background: #fff;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ==========================================================================
   8. WORDPRESS REQUIRED CLASSES
   ========================================================================== */

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background: #f1f1f1;
    clip: auto !important;
    display: block;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Block Editor */
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }

/* ==========================================================================
   9. RESPONSIVE - Mobile First
   ========================================================================== */

/* Tablet and below (< 1024px) */
@media (max-width: 1024px) {
    .main-navigation {
        position: static;
    }

    .main-navigation .menu {
        display: none !important;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile menu open state */
    .mobile-menu-open .main-navigation .menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 88px; /* Below header */
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border-top: 2px solid var(--fitco-accent-600);
        padding: 0.75rem 0.75rem 1.25rem;
        z-index: 999;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        text-align: left;
        align-items: stretch;
        gap: 2px;
    }

    .mobile-menu-open .main-navigation .menu > li {
        width: 100%;
    }

    .mobile-menu-open .main-navigation .menu > li > a {
        padding: 0.65rem 1rem !important;
        border-radius: 8px;
        text-align: left;
        font-size: 0.9rem;
    }

    .mobile-menu-open .main-navigation .menu > li > a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    /* Drop arrows on mobile - hide since submenu is indented below */
    .mobile-menu-open .main-navigation .menu > li.menu-item-has-children > a::after {
        margin-left: auto;
    }

    .mobile-menu-open .main-navigation .sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 0.5rem;
        display: none;
        background: transparent;
        border: none;
        border-left: 2px solid rgba(0, 0, 0, 0.12);
        margin: 0 0 0.25rem 1rem;
        border-radius: 0 8px 8px 0;
        min-width: unset;
        pointer-events: auto;
    }

    .mobile-menu-open .main-navigation .submenu-open > .sub-menu {
        display: block;
    }

    .mobile-menu-open .main-navigation .sub-menu > li > a {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.875rem;
        border-radius: 6px;
        color: #475569;
    }

    .mobile-menu-open .main-navigation .sub-menu > li > a:hover {
        color: #0f172a !important;
        background: rgba(0, 0, 0, 0.05) !important;
    }

    /* Nav CTA on mobile: full width */
    .mobile-menu-open .main-navigation .menu > li.nav-cta > a {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }

    /* Overlay removed; the drawer itself owns the mobile navigation surface. */
}

/* Pagination Styles */
.nav-links,
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span,
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.page-numbers:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.nav-links .current,
.page-numbers.current {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.nav-links .dots,
.page-numbers.dots {
    border: none;
    background: none;
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    /* (Header/Footer styles handled in their respective sections) */
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
}

/* ==========================================================================
   Stability Overrides
   ========================================================================== */

@media (max-width: 1024px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .main-navigation {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        background: #fff !important;
    }

    body.mobile-menu-open .main-navigation .menu {
        display: flex !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border-top: 0 !important;
        padding: 0 1rem 2rem !important;
    }

    body.mobile-menu-open .main-navigation .sub-menu {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    body.mobile-menu-open .main-navigation {
        top: 70px !important;
    }
}

/* ==========================================================================
   10. PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .menu-toggle {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    a {
        color: #000;
    }
}

/* ==========================================================================
   11. PREMIUM B2B POLISH LAYER
   ========================================================================== */

:root {
    --fitco-ink: #101828;
    --fitco-ink-2: #1f2937;
    --fitco-muted: #667085;
    --fitco-line: #e4e7ec;
    --fitco-soft: #f8fafc;
    --fitco-soft-2: #f2f4f7;
    --fitco-surface: #ffffff;
    --fitco-focus: #2563eb;
    --fitco-radius-sm: 6px;
    --fitco-radius-md: 8px;
    --fitco-radius-lg: 10px;
    --fitco-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --fitco-shadow-md: 0 10px 28px rgba(16, 24, 40, 0.10);
    --fitco-shadow-lg: 0 18px 48px rgba(16, 24, 40, 0.14);
}

/* Header refinement */
.site-header {
    z-index: 10000;
}

.header-main {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: rgba(16, 24, 40, 0.08);
}

.site-header.scrolled {
    box-shadow: 0 10px 34px rgba(16, 24, 40, 0.10);
}

.header-main-inner {
    max-width: 1500px;
    gap: 1.25rem;
}

#site-logo img,
.custom-logo-link img {
    max-height: 46px;
    object-fit: contain;
}

.header-legacy-pill {
    background: #fff8f3;
    border-color: rgba(var(--fitco-accent-600-rgb), 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.main-navigation .menu > li > a {
    color: #344054;
    font-size: 0.94rem;
    font-weight: 650;
    letter-spacing: 0;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
    color: var(--fitco-accent-700);
}

.main-navigation .menu > li > .sub-menu,
.main-navigation .sub-menu .sub-menu {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-top: 1px solid var(--fitco-header-border);
    box-shadow: var(--fitco-shadow-lg);
}

.main-navigation .sub-menu > li > a {
    color: #344054;
    font-size: 0.91rem;
}

.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a:focus {
    background: #f9fafb;
    color: var(--fitco-ink);
}

.header-search-form.is-open {
    border-color: var(--fitco-line);
    box-shadow: var(--fitco-shadow-sm);
}

.header-cta-btn {
    min-height: 40px;
    padding: 0.66rem 1rem;
    background: linear-gradient(180deg, var(--fitco-accent-600) 0%, var(--fitco-accent-700) 100%);
    border: 1px solid rgba(var(--fitco-accent-700-rgb), 0.30);
    border-radius: var(--fitco-radius-md);
    font-size: 0.93rem;
    font-weight: 750;
    letter-spacing: 0;
    box-shadow: 0 10px 22px rgba(var(--fitco-accent-700-rgb), 0.22);
}

.header-cta-btn:hover {
    background: linear-gradient(180deg, var(--fitco-accent-700) 0%, #071226 100%);
    box-shadow: 0 14px 30px rgba(var(--fitco-accent-700-rgb), 0.30);
}

/* Keep this layer away from WPBakery/custom HTML blocks.
   Product pages and embedded fragments own their own button, card, form,
   typography, and spacing systems through their page-specific CSS files. */

/* Footer refinement */
.site-footer {
    background: linear-gradient(180deg, #ffffff 0%, var(--fitco-soft) 100%);
    border-top-color: var(--fitco-line);
}

.footer-main {
    padding: 3.25rem 0 2.25rem;
}

.footer-inner {
    gap: 2.5rem;
}

.footer-tagline {
    color: var(--fitco-ink-2);
    font-size: 0.98rem;
}

.footer-contact-item,
.footer-widget a,
.footer-bottom p {
    color: var(--fitco-muted);
}

.footer-widget h4 {
    color: var(--fitco-ink);
    letter-spacing: 0.08em;
}

.footer-widget a::before {
    content: '\203A';
}

.footer-social a {
    background: var(--fitco-header-surface);
    box-shadow: var(--fitco-shadow-sm);
}

/* Mobile header and WPBakery defaults */
@media (max-width: 1200px) {
    .main-navigation .menu > li > a {
        padding-left: 0.62rem !important;
        padding-right: 0.62rem !important;
        font-size: 0.88rem;
    }

    .header-main-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .header-main-inner {
        gap: 0.75rem;
    }

    body.mobile-menu-open .main-navigation {
        box-shadow: var(--fitco-shadow-lg);
    }

    body.mobile-menu-open .main-navigation .menu > li > a {
        font-size: 1rem;
        font-weight: 700;
    }
}

@media (max-width: 640px) {
    .header-cta-btn {
        min-height: 38px;
        padding: 0.5rem 0.78rem;
        font-size: 0.78rem;
    }

    #site-logo img,
    .custom-logo-link img {
        max-height: 38px;
    }

    .footer-main {
        padding-top: 2.5rem;
    }
}

/* ==========================================================================
   FITCO live theme navigation/footer polish pass
   CSS-only refinement: preserves menus, logo, tracking, search, CTA, and footer links.
   ========================================================================== */

:root {
    --fitco-industrial-navy: #071226;
    --fitco-industrial-blue: #1f4c70;
    --fitco-industrial-copper: #5e8fbd;
    --fitco-industrial-line: #d8e2ee;
}

.header-main {
    min-height: 64px;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid var(--fitco-industrial-line);
}

.header-main-inner {
    min-height: 64px;
    max-width: 1440px;
}

.header-brand-left {
    min-width: 255px;
}

#site-logo img,
.custom-logo-link img {
    max-width: 190px;
}

.header-legacy-pill {
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--fitco-industrial-line);
    color: var(--fitco-industrial-navy);
}

.header-legacy-years {
    color: var(--fitco-industrial-copper);
}

.main-navigation .menu {
    gap: 0.05rem;
}

.main-navigation .menu > li > a {
    min-height: 42px;
    border-radius: 6px;
    color: #2f3a46;
    font-size: 0.9rem;
    font-weight: 750;
}

.main-navigation .menu > li > a::before {
    display: none;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
    background: #f4f7f9;
    color: var(--fitco-industrial-navy);
}

.main-navigation .menu > li.menu-item-has-children > a::after {
    border-top-color: #667085;
}

.main-navigation .menu > li > .sub-menu,
.main-navigation .sub-menu .sub-menu {
    border-radius: 8px;
    border: 1px solid var(--fitco-industrial-line);
    border-top: 3px solid var(--fitco-industrial-copper);
    padding: 0.5rem;
    background: var(--fitco-header-surface);
    box-shadow: 0 20px 46px rgba(15, 47, 61, 0.14);
}

.main-navigation .sub-menu > li > a {
    border-radius: 6px;
    color: #364454;
    font-weight: 650;
}

.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a:focus {
    background: #f4f7f9;
    color: var(--fitco-industrial-navy);
}

.header-search-btn {
    border-radius: 6px;
    border-color: var(--fitco-industrial-line);
    background: var(--fitco-header-surface);
    color: var(--fitco-industrial-navy);
}

.header-search-btn:hover {
    background: #f4f7f9;
}

.header-cta-btn {
    border-radius: 6px;
    background: linear-gradient(135deg, #071226 0%, #0b1d36 58%, #1f4c70 100%);
    border-color: var(--fitco-industrial-blue);
    box-shadow: 0 10px 24px rgba(15, 47, 61, 0.18);
}

.header-cta-btn:hover {
    background: linear-gradient(135deg, #050c19 0%, #071226 58%, #173d5c 100%);
    border-color: var(--fitco-industrial-navy);
    box-shadow: 0 14px 30px rgba(15, 47, 61, 0.22);
}

.site-footer {
    background: linear-gradient(135deg, #071226 0%, #0b1d36 58%, #1f4c70 100%);
    color: #eef5fb;
    border-top: 1px solid rgba(158, 187, 212, 0.32);
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-inner {
    align-items: start;
}

.footer-brand {
    padding: 1.25rem;
    border: 1px solid rgba(216, 226, 238, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-widget {
    padding-top: 0.25rem;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
    border-bottom-color: rgba(216, 226, 238, 0.16);
}

.footer-widget h4::after {
    background: var(--fitco-industrial-copper);
}

.footer-tagline,
.footer-bottom p,
.footer-contact-item,
.footer-widget a {
    color: #d5e3ef;
}

.footer-contact-item svg {
    stroke: #9ebbd4;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(216, 226, 238, 0.18);
    color: #eef5fb;
}

.footer-social a:hover {
    background: #eef5fb;
    border-color: #eef5fb;
    color: #071226;
}

.footer-widget a:hover,
.footer-contact-item:hover,
.footer-widget a:hover::before,
.footer-brand-federal,
.footer-brand-trading {
    color: #ffffff;
}

.footer-bottom {
    background: rgba(7, 18, 38, 0.72);
    border-top: 1px solid rgba(216, 226, 238, 0.16);
}

@media (max-width: 1200px) {
    .header-brand-left {
        min-width: 220px;
    }

    .main-navigation .menu > li > a {
        font-size: 0.82rem;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (max-width: 1024px) {
    .header-main,
    .header-main-inner {
        min-height: 70px;
    }

    .header-brand-left {
        min-width: 0;
    }

    body.mobile-menu-open .main-navigation {
        top: 70px;
        border-top: 1px solid var(--fitco-industrial-line);
        background: #fff;
    }

    body.mobile-menu-open .main-navigation .menu {
        padding: 0.75rem;
    }

    body.mobile-menu-open .main-navigation .menu > li > a {
        border-radius: 6px;
    }
}

@media (max-width: 640px) {
    .header-main-inner {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .header-legacy-pill {
        display: none;
    }

    .header-cta-btn {
        max-width: 116px;
        white-space: nowrap;
    }

    .footer-brand {
        padding: 1rem;
    }
}

/* WordPress mobile header final correction. */
@media (max-width: 1024px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        z-index: 10000;
    }

    body {
        padding-top: 68px;
    }

    .header-main,
    .header-main-inner {
        height: 68px;
        min-height: 68px;
    }

    .header-main-inner {
        width: 100%;
        max-width: none;
        padding-left: clamp(0.75rem, 3vw, 1.25rem);
        padding-right: clamp(0.75rem, 3vw, 1.25rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.6rem;
        overflow: visible;
        box-sizing: border-box;
    }

    .header-brand-left {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        gap: 0.5rem;
    }

    #site-logo,
    #site-logo a,
    .custom-logo-link {
        display: flex;
        align-items: center;
        min-width: 0;
        max-width: 100%;
    }

    #site-logo img,
    .custom-logo-link img {
        width: auto;
        height: auto;
        max-width: min(42vw, 168px);
        max-height: 38px;
        object-fit: contain;
    }

    .main-navigation {
        display: block;
        flex: 0 0 auto;
        width: 0;
        min-width: 0;
        overflow: visible;
        order: 3;
    }

    .main-navigation .menu {
        display: none !important;
    }

    .header-actions {
        flex: 0 0 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.45rem;
        order: 2;
    }

    .header-search-wrap {
        display: none;
    }

    .header-cta-btn {
        flex: 0 0 auto;
        max-width: none;
        min-height: 38px;
        padding: 0.52rem 0.82rem;
        border-radius: 7px;
        font-size: 0.78rem;
        line-height: 1;
        white-space: nowrap;
    }

    .header-cta-btn svg {
        display: none;
    }

    .menu-toggle {
        display: inline-flex !important;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin: 0;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--fitco-industrial-line);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .main-navigation {
        display: block !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: calc(100vh - 68px) !important;
        height: calc(100dvh - 68px) !important;
        max-height: calc(100dvh - 68px);
        width: 100% !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        background: #fff !important;
        border-top: 1px solid var(--fitco-industrial-line);
        box-shadow: 0 18px 42px rgba(16, 24, 40, 0.14);
    }

    body.mobile-menu-open .main-navigation .menu {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0.8rem 0.9rem 2rem !important;
        gap: 0.25rem;
        position: static !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    body.mobile-menu-open .main-navigation .menu > li {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid #eef2f6;
    }

    body.mobile-menu-open .main-navigation .menu > li > a {
        width: 100%;
        min-height: 46px;
        padding: 0.78rem 0.85rem !important;
        border-radius: 8px;
        justify-content: space-between;
        color: var(--fitco-industrial-navy);
        font-size: 0.96rem;
        font-weight: 750;
        line-height: 1.25;
    }

    body.mobile-menu-open .main-navigation .sub-menu {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 0.5rem 0.8rem !important;
        padding: 0.25rem 0 0.25rem 0.65rem !important;
        border: 0 !important;
        border-left: 2px solid var(--fitco-industrial-line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none;
    }

    body.mobile-menu-open .main-navigation .submenu-open > .sub-menu {
        display: block !important;
    }

    body.mobile-menu-open .main-navigation .sub-menu > li > a {
        min-height: 40px;
        padding: 0.58rem 0.7rem !important;
        border-radius: 7px;
        font-size: 0.88rem;
        font-weight: 650;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 64px;
    }

    .header-main,
    .header-main-inner {
        height: 64px;
        min-height: 64px;
    }

    #site-logo img,
    .custom-logo-link img {
        max-width: min(39vw, 138px);
        max-height: 34px;
    }

    .header-cta-btn {
        min-height: 36px;
        padding: 0.48rem 0.68rem;
        font-size: 0.74rem;
    }

    .menu-toggle {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    body.mobile-menu-open .main-navigation {
        top: 64px !important;
        height: calc(100vh - 64px) !important;
        height: calc(100dvh - 64px) !important;
        max-height: calc(100dvh - 64px);
    }
}

@media (max-width: 360px) {
    .header-main-inner {
        gap: 0.42rem;
        padding-left: 0.62rem;
        padding-right: 0.62rem;
    }

    #site-logo img,
    .custom-logo-link img {
        max-width: 118px;
    }

    .header-cta-btn {
        padding-left: 0.58rem;
        padding-right: 0.58rem;
        font-size: 0.68rem;
    }
}

/* Header final minimal color correction. Keeps later brand/footer gold rules out of the header. */
.site-header .header-legacy-pill {
    background: var(--fitco-header-surface-soft);
    border-color: var(--fitco-header-border);
}

.site-header .header-legacy-years {
    color: var(--fitco-header-accent);
}

.site-header .main-navigation .menu > li > a,
body.mobile-menu-open .site-header .main-navigation .menu > li > a {
    color: var(--fitco-header-ink);
    background: transparent;
}

.site-header .main-navigation .menu > li > a:hover,
body.mobile-menu-open .site-header .main-navigation .menu > li > a:hover {
    color: var(--fitco-header-accent);
    background: var(--fitco-header-surface-soft);
}

.site-header .main-navigation .menu > li.current-menu-item > a,
.site-header .main-navigation .menu > li.current-menu-ancestor > a,
body.mobile-menu-open .site-header .main-navigation .menu > li.current-menu-item > a,
body.mobile-menu-open .site-header .main-navigation .menu > li.current-menu-ancestor > a {
    color: var(--fitco-header-ink);
    background: transparent;
}

.site-header .main-navigation .menu > li > .sub-menu,
.site-header .main-navigation .sub-menu .sub-menu {
    border-color: var(--fitco-header-border);
    border-top-color: var(--fitco-header-border);
}

.site-header .header-cta-btn {
    background: linear-gradient(135deg, #071226 0%, #0b1d36 58%, #1f4c70 100%);
    border-color: var(--fitco-header-accent);
    box-shadow: 0 8px 18px rgba(var(--fitco-header-accent-rgb), 0.18);
}

.site-header .header-cta-btn:hover {
    background: linear-gradient(135deg, #050c19 0%, #071226 58%, #173d5c 100%);
    border-color: var(--fitco-header-accent-dark);
    box-shadow: 0 10px 24px rgba(var(--fitco-header-accent-rgb), 0.24);
}

@media (min-width: 1025px) {
    .site-header .main-navigation .menu > li > a {
        font-size: 1rem;
    }

    .site-header .header-cta-btn {
        font-size: 1rem;
    }
}

/* Header/footer typography final decision. */
.site-header,
.site-footer {
    font-family: "IBM Plex Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header .main-navigation .menu > li > a {
    font-size: 1.04rem;
    font-weight: 600;
}

.site-header .main-navigation .sub-menu > li > a {
    font-size: 0.95rem;
    font-weight: 500;
}

.site-header .header-cta-btn {
    font-size: 0.98rem;
    font-weight: 700;
}

.site-footer .footer-tagline {
    font-size: 0.98rem;
    font-weight: 500;
}

.site-footer .footer-contact-item {
    font-size: 0.92rem;
    font-weight: 500;
}

.site-footer .footer-widget h4 {
    font-size: 0.84rem;
    font-weight: 700;
}

.site-footer .footer-widget a {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    body.mobile-menu-open .site-header .main-navigation .menu > li > a {
        font-size: 1rem;
    }

    body.mobile-menu-open .site-header .main-navigation .sub-menu > li > a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-header .header-cta-btn::before {
        font-size: 0.72rem;
    }
}

/* Header brand lockup final layer. */
.site-header .header-brand-left {
    flex: 0 0 auto;
    min-width: 430px;
    gap: 1rem;
}

.site-header #site-logo img,
.site-header .custom-logo-link img {
    width: auto !important;
    height: 60px !important;
    max-width: 90px;
    max-height: 60px;
    object-fit: contain;
}

.site-header .header-brand-divider {
    display: block;
    width: 1px;
    height: 52px;
    background: var(--fitco-header-border);
    flex: 0 0 1px;
}

.site-header .header-brand-copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #526071;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}

.site-header .header-brand-copy:hover,
.site-header .header-brand-copy:focus {
    color: var(--fitco-header-accent);
    text-decoration: none;
}

.site-header .header-brand-primary {
    display: block;
    color: #071226;
    font-size: 1.24rem;
    font-weight: 950;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-header .header-brand-secondary {
    display: none;
}

.site-header .header-legacy-pill,
.site-header .header-legacy-years,
.site-header .header-legacy-label {
    display: none;
}

@media (max-width: 1320px) {
    .site-header .header-brand-left {
        min-width: 360px;
        gap: 0.78rem;
    }

    .site-header #site-logo img,
    .site-header .custom-logo-link img {
        height: 54px !important;
        max-width: 82px;
        max-height: 54px;
    }

    .site-header .header-brand-divider {
        height: 46px;
    }

    .site-header .header-brand-primary {
        font-size: 1.04rem;
    }
}

@media (max-width: 1024px) {
    .site-header .header-brand-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.65rem;
    }

    .site-header #site-logo img,
    .site-header .custom-logo-link img {
        height: 44px !important;
        max-width: 68px;
        max-height: 44px;
    }

    .site-header .header-brand-divider {
        height: 38px;
    }

    .site-header .header-brand-primary {
        font-size: 0.9rem;
        line-height: 1.15;
    }
}

@media (max-width: 640px) {
    .site-header .header-brand-left {
        gap: 0.5rem;
    }

    .site-header #site-logo img,
    .site-header .custom-logo-link img {
        height: 40px !important;
        max-width: 62px;
        max-height: 40px;
    }

    .site-header .header-brand-divider {
        height: 34px;
    }

    .site-header .header-brand-copy {
        max-width: 150px;
    }

    .site-header .header-brand-primary {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.74rem;
    }
}

@media (max-width: 480px) {
    .site-header .header-brand-divider,
    .site-header .header-brand-copy {
        display: none;
    }
}

/* Mobile footer final layer. */
@media (max-width: 768px) {
    .site-footer {
        overflow: hidden;
    }

    .site-footer::before {
        height: 2px;
        background: linear-gradient(90deg, #5e8fbd 0%, #9ebbd4 52%, #1f4c70 100%);
    }

    .site-footer .footer-main {
        padding: 1.65rem 0 1.1rem;
    }

    .site-footer .footer-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 0.85rem;
        padding: 0 1rem;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.07);
    }

    .site-footer .footer-logo {
        margin-bottom: 0.72rem;
    }

    .site-footer .footer-logo img,
    .site-footer .footer-logo .custom-logo-link img {
        max-width: 138px !important;
        height: auto !important;
        max-height: 42px !important;
    }

    .site-footer .footer-tagline {
        max-width: 24rem;
        margin-bottom: 0.9rem;
        font-size: 0.9rem;
        line-height: 1.42;
    }

    .site-footer .footer-contact {
        gap: 0.45rem;
        margin-bottom: 0.85rem;
    }

    .site-footer .footer-contact-item {
        min-height: 42px;
        width: 100%;
        gap: 0.65rem;
        padding: 0.58rem 0.7rem;
        border: 1px solid rgba(216, 226, 238, 0.14);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.055);
        font-size: 0.88rem;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .site-footer .footer-contact-item:hover {
        transform: none;
    }

    .site-footer .footer-contact-item svg {
        width: 17px;
        height: 17px;
    }

    .site-footer .footer-social {
        gap: 0.55rem;
        margin-top: 0.75rem;
    }

    .site-footer .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .site-footer .footer-widget {
        min-width: 0;
        padding-top: 0;
    }

    .site-footer .footer-widget h4 {
        min-height: 32px;
        margin: 0 0 0.52rem;
        padding-bottom: 0.45rem;
        font-size: 0.74rem;
        line-height: 1.2;
    }

    .site-footer .footer-widget h4::after {
        width: 26px;
    }

    .site-footer .footer-widget ul li {
        margin: 0;
    }

    .site-footer .footer-widget a {
        display: block;
        min-height: 34px;
        padding: 0.34rem 0;
        color: #dbe8f3;
        font-size: 0.84rem;
        line-height: 1.32;
        overflow-wrap: anywhere;
    }

    .site-footer .footer-widget a::before {
        content: none;
    }

    .site-footer .footer-widget a:hover {
        padding-left: 0;
    }

    .site-footer .footer-bottom-inner {
        padding: 0.9rem 1rem 1rem;
        justify-content: flex-start;
        text-align: left;
    }

    .site-footer .footer-bottom p {
        width: 100%;
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.45;
    }
}

@media (max-width: 420px) {
    .site-footer .footer-inner {
        gap: 1rem 0.72rem;
        padding-inline: 0.85rem;
    }

    .site-footer .footer-brand {
        padding: 0.9rem;
    }

    .site-footer .footer-widget h4 {
        font-size: 0.68rem;
    }

    .site-footer .footer-widget a {
        font-size: 0.8rem;
    }

    .site-footer .footer-bottom-inner {
        padding-inline: 0.85rem;
    }
}

/* ==========================================================================
   END OF THEME STYLES
   ========================================================================== */
