/* Site-wide industrial visual system for catalog, content, and inquiry pages. */
:root { --kl-navy: #102e46; --kl-deep: #0a2336; --kl-steel: #527084; --kl-surface: #f3f7f9; --kl-yellow: #f2c300; }
body { background: var(--kl-surface); }
.site-content, .ast-separate-container #primary, .ast-separate-container .ast-article-post { background: #fff; }
.site-header .ast-primary-header-bar { border-bottom: 1px solid rgb(16 46 70 / 10%); box-shadow: 0 7px 18px rgb(16 46 70 / 6%); }
.main-header-menu .menu-link, .ast-header-break-point .main-header-menu .menu-link { position: relative; font-weight: 600; letter-spacing: .01em; }
.main-header-menu .menu-link::after { content: ''; position: absolute; right: 18px; bottom: 15px; left: 18px; height: 2px; background: var(--kl-yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-header-menu .menu-item:hover > .menu-link::after, .main-header-menu .current-menu-item > .menu-link::after { transform: scaleX(1); }
.site-footer { position: relative; overflow: hidden; border-top: 4px solid var(--kl-yellow); background: var(--kl-deep); color: #d9e4e9; }
.site-footer::before { content: ''; position: absolute; width: 320px; height: 320px; right: -100px; bottom: -190px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 50%; box-shadow: 0 0 0 44px rgb(255 255 255 / 4%), 0 0 0 88px rgb(255 255 255 / 3%); }
.site-footer a { color: #fff; }

/* Product listing: a tighter, procurement-oriented catalog experience. */
.woocommerce .woocommerce-products-header { position: relative; isolation: isolate; overflow: hidden; padding: 56px clamp(24px, 5vw, 72px) 48px; margin: 0 -40px 32px; background: linear-gradient(115deg, var(--kl-deep), var(--kl-navy)); color: #fff; }
.woocommerce .woocommerce-products-header::after { content: 'PARTS CATALOG'; position: absolute; z-index: -1; top: -38px; right: -12px; color: rgb(255 255 255 / 6%); font: 800 clamp(74px, 13vw, 180px)/1 Arial, sans-serif; letter-spacing: -.07em; }
.woocommerce .woocommerce-products-header .page-title { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.04em; }
.woocommerce .woocommerce-products-header .term-description { max-width: 680px; color: #d9e7ee; }
.woocommerce .kl-catalog-filters { position: relative; overflow: hidden; padding: 26px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #e8f0f4, #f8fbfc); box-shadow: 0 12px 28px rgb(16 46 70 / 10%); }
.woocommerce .kl-catalog-filters::before { content: 'PARTS FINDER'; position: absolute; top: 8px; right: 18px; color: rgb(16 46 70 / 10%); font: 800 32px/1 Arial, sans-serif; letter-spacing: -.04em; }
.kl-catalog-filters label { position: relative; color: var(--kl-navy); letter-spacing: .06em; text-transform: uppercase; }
.kl-catalog-filters input[type="search"], .kl-catalog-filters select { position: relative; border-color: #cedbe2; box-shadow: inset 0 1px 1px rgb(16 46 70 / 4%); }
.woocommerce ul.products { gap: 24px 18px; }
.woocommerce ul.products li.product { position: relative; overflow: hidden; padding: 16px 16px 20px; border: 1px solid #e0e8ed; border-radius: 8px; background: #fff; box-shadow: 0 9px 18px rgb(16 46 70 / 5%); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.woocommerce ul.products li.product::before { content: ''; position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--kl-yellow), #ffdc4a); transform: scaleX(.22); transform-origin: left; transition: transform .22s ease; }
.woocommerce ul.products li.product > * { position: relative; z-index: 1; }
.woocommerce ul.products li.product a img { padding: 12px; border-radius: 5px; background: #f5f8fa; mix-blend-mode: multiply; transition: transform .25s ease; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.9em; color: var(--kl-navy); font-size: 17px; line-height: 1.38; }
.woocommerce ul.products li.product .kl-card-part-number { display: inline-block; padding: 4px 7px; border-radius: 2px; background: #e6eff4; color: #1a5578; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.woocommerce ul.products li.product .kl-card-summary { display: -webkit-box; overflow: hidden; min-height: 3.2em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.woocommerce ul.products li.product:hover { transform: translateY(-6px); border-color: #99b6c6; box-shadow: 0 18px 32px rgb(16 46 70 / 15%); }
.woocommerce ul.products li.product:hover::before { transform: scaleX(1); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }

/* Detail pages make key procurement information easier to scan. */
.single-product .product { position: relative; }
.single-product .product .product_title { color: var(--kl-navy); font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.single-product .woocommerce-product-gallery__wrapper { overflow: hidden; border-radius: 9px; background: #f3f7f9; }
.single-product .woocommerce-product-gallery__wrapper img { mix-blend-mode: multiply; }
.kl-product-identity { padding: 18px; border: 0; border-left: 4px solid var(--kl-yellow); border-radius: 0 6px 6px 0; background: #f3f7f9; }
.kl-product-identity > div { grid-template-columns: 112px minmax(0, 1fr); padding: 8px 0; }
.kl-quote-button, .woocommerce .button { border-radius: 3px; box-shadow: 0 6px 12px rgb(16 46 70 / 12%); transition: transform .18s ease, box-shadow .18s ease; }
.kl-quote-button:hover, .woocommerce .button:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgb(16 46 70 / 18%); }
.woocommerce div.product .woocommerce-tabs { margin-top: 52px; padding: 28px; border-radius: 8px; background: #f4f8fa; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--kl-steel); font-weight: 700; }

/* News and directory pages borrow a concise industry-journal hierarchy. */
.kl-news-page { max-width: 1320px; }
.kl-news-page > header { position: relative; overflow: hidden; max-width: none; padding: 58px; margin: -64px -28px 44px; background: linear-gradient(120deg, var(--kl-deep), var(--kl-navy)); color: #fff; }
.kl-news-page > header::after { content: 'FIELD NOTES'; position: absolute; top: -23px; right: 24px; color: rgb(255 255 255 / 7%); font: 800 clamp(50px, 11vw, 150px)/1 Arial, sans-serif; letter-spacing: -.07em; }
.kl-news-page > header h1 { position: relative; z-index: 1; color: #fff; }
.kl-news-page > header p:not(.kl-eyebrow) { position: relative; z-index: 1; max-width: 620px; color: #dbe7ed; }
.kl-news-page .kl-term-card { position: relative; padding: 0; overflow: hidden; border: 1px solid #dde7ed; border-radius: 7px; box-shadow: 0 10px 22px rgb(16 46 70 / 6%); transition: transform .2s ease, box-shadow .2s ease; }
.kl-news-page .kl-term-card > a:not(.kl-text-link), .kl-news-page .kl-term-card > time, .kl-news-page .kl-term-card > p, .kl-news-page .kl-term-card > a:last-child { display: block; margin-right: 24px; margin-left: 24px; }
.kl-news-page .kl-term-card > a:first-child { margin: 0; }
.kl-news-page .kl-term-card img { margin: 0; border-radius: 0; }
.kl-news-page .kl-term-card h2 { margin-top: 22px; font-size: 21px; }
.kl-news-page .kl-term-card time { margin-top: 14px; color: #28678f; font-weight: 700; }
.kl-news-page .kl-term-card > a:last-child { margin-top: 18px; margin-bottom: 24px; color: #1d648d; font-weight: 700; }
.kl-news-page .kl-term-card:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgb(16 46 70 / 14%); }

@media (max-width: 921px) {
    .woocommerce .woocommerce-products-header { margin-right: -20px; margin-left: -20px; }
    .woocommerce ul.products { gap: 16px; }
}
@media (max-width: 767px) {
    .main-header-menu .menu-link::after { display: none; }
    .woocommerce .woocommerce-products-header { padding: 44px 22px; margin-right: -14px; margin-left: -14px; }
    .woocommerce .kl-catalog-filters { padding: 18px; }
    .woocommerce .kl-catalog-filters::before { display: none; }
    .woocommerce ul.products li.product { padding: 12px; }
    .kl-news-page > header { padding: 42px 22px; margin: -40px -22px 30px; }
    .kl-news-page > header::after { display: none; }
    .woocommerce div.product .woocommerce-tabs { padding: 18px; }
}
