:root { --ksg-primary:#1E3A5F; --ksg-primary-hover:#162d47; --ksg-secondary:#2d5a8f; --ksg-accent:#F59E0B; --ksg-bg:#F8FAFC; --ksg-surface:#fff; --ksg-text:#1e293b; --ksg-muted:#64748b; --ksg-border:#e2e8f0; --ksg-success:#10b981; --ksg-danger:#ef4444; }
* { box-sizing:border-box; }
body { background:var(--ksg-bg); color:var(--ksg-text); font-family:Arial, Helvetica, sans-serif; line-height:1.6; }
a { color:var(--ksg-primary); text-decoration:none; } a:hover { color:var(--ksg-primary-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid rgba(245,158,11,.55); outline-offset:2px; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }.screen-reader-text:focus { clip:auto; width:auto; height:auto; margin:1rem; padding:.5rem .75rem; background:#fff; z-index:1000; }
.ksg-site-header { background:var(--ksg-surface); border-bottom:1px solid var(--ksg-border); }.ksg-header-top { background:var(--ksg-primary); color:#fff; font-size:.75rem; padding:.42rem 0; }.ksg-header-top a { color:#fff; }
.ksg-header-main { padding:1rem 0; }.ksg-brand-row { display:flex; gap:1rem; align-items:center; justify-content:space-between; }.custom-logo { max-height:54px; width:auto; }.ksg-wordmark { color:var(--ksg-primary); font-size:1.35rem; font-weight:800; letter-spacing:.02em; }.ksg-header-actions { display:flex; align-items:center; gap:.5rem; }.ksg-icon-link { position:relative; display:inline-grid; place-items:center; width:2.5rem; height:2.5rem; color:var(--ksg-primary); font-size:1.35rem; border-radius:50%; }.ksg-icon-link:hover { background:#eef3f8; }.ksg-cart-count { position:absolute; top:.1rem; right:.05rem; min-width:1.15rem; height:1.15rem; padding:0 .2rem; border-radius:50rem; background:var(--ksg-accent); color:#182432; font-size:.68rem; font-weight:700; line-height:1.15rem; text-align:center; }.ksg-menu-toggle { border-color:var(--ksg-border); }.ksg-menu-toggle .navbar-toggler-icon { width:1.25em; height:1.25em; background-image:var(--bs-navbar-toggler-icon-bg); }
.ksg-search-wrap { margin-top:.85rem; }.ksg-search-form, .ksg-search-wrap .woocommerce-product-search { display:flex; width:100%; max-width:750px; margin:0; }.ksg-search-form input, .ksg-search-wrap .search-field { min-width:0; flex:1 1 auto; height:44px; border:1px solid var(--ksg-border); border-radius:.4rem 0 0 .4rem; padding:.68rem .85rem; font-size:14px; }.ksg-search-form button, .ksg-search-wrap button[type="submit"] { flex:0 0 auto; min-width:96px; height:44px; border:0; border-radius:0 .4rem .4rem 0!important; padding:.68rem 1.1rem; background:var(--ksg-primary); color:#fff; font-size:14px; }.ksg-search-form button:hover, .ksg-search-wrap button[type="submit"]:hover { background:var(--ksg-primary-hover); }
.ksg-nav { background:#fff; border-top:1px solid var(--ksg-border); }.ksg-nav .navbar-nav { gap:.15rem; }.ksg-nav a { display:block; padding:.75rem 1rem; font-weight:600; color:var(--ksg-text); }.ksg-nav a:hover, .ksg-nav .current-menu-item > a { color:var(--ksg-primary); box-shadow:inset 0 -3px 0 var(--ksg-accent); }
.ksg-hero { position:relative; overflow:hidden; background:linear-gradient(115deg,#092944,var(--ksg-primary) 58%,#163f65); color:#fff; padding:3.8rem 0 0; }.ksg-hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(135deg,transparent 0 52%,rgba(255,255,255,.06) 52% 57%,transparent 57%); }.ksg-hero .container { position:relative; z-index:1; }.ksg-hero h1 { max-width:650px; margin:0 0 1rem; font-weight:800; font-size:clamp(2.3rem,5vw,4.3rem); line-height:1.07; color:#fff; }.ksg-hero h1 span { color:var(--ksg-accent); }.ksg-hero p:not(.ksg-eyebrow) { max-width:580px; font-size:1.05rem; color:#dce8f4; }.ksg-hero-visual { position:relative; min-height:260px; overflow:hidden; border:1px solid rgba(255,255,255,.15); background:radial-gradient(circle at 50% 47%,rgba(218,231,239,.58) 0 7%,rgba(100,136,163,.42) 8% 14%,transparent 15%),linear-gradient(135deg,rgba(255,255,255,.1),transparent 50%),#0b2d4b; }.ksg-hero-visual i { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:#cddbe4; font-size:clamp(9rem,22vw,17rem); opacity:.9; filter:drop-shadow(0 .65rem 1.1rem rgba(0,0,0,.42)); }.ksg-hero-visual span { position:absolute; width:12rem; height:12rem; border:18px solid rgba(245,158,11,.75); border-radius:50%; }.ksg-hero-visual span:first-of-type { top:-5rem; right:-4rem; }.ksg-hero-visual span:last-of-type { bottom:-7rem; left:-5rem; border-color:rgba(255,255,255,.15); }.ksg-eyebrow { font-weight:700; letter-spacing:.12em; font-size:.76rem; color:var(--ksg-accent); }.ksg-button-accent { background:var(--ksg-accent)!important; color:#1e293b!important; border-color:var(--ksg-accent)!important; font-weight:700; }.ksg-value-props { display:grid; grid-template-columns:1fr; gap:1rem; padding:2.2rem 0 1.45rem; }.ksg-value-props > div { display:flex; gap:.7rem; align-items:center; }.ksg-value-props i { color:var(--ksg-accent); font-size:1.65rem; }.ksg-value-props p { margin:0; line-height:1.2; }.ksg-value-props strong, .ksg-value-props small { display:block; }.ksg-value-props small { color:#c6d9e8; font-size:.75rem; }.ksg-home-section { padding-top:3.4rem; padding-bottom:3.4rem; }.ksg-section-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; }.ksg-section-heading h2 { margin:0; font-weight:800; }.ksg-section-heading p:not(.ksg-eyebrow) { margin:.2rem 0 0; color:var(--ksg-muted); }.ksg-section-heading > a { flex:0 0 auto; font-weight:700; }.ksg-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }.ksg-category-card { min-width:0; border:1px solid var(--ksg-border); border-radius:.5rem; background:#fff; box-shadow:0 3px 10px rgba(30,58,95,.04); transition:transform .18s ease,box-shadow .18s ease; }.ksg-category-card:hover { transform:translateY(-2px); box-shadow:0 8px 18px rgba(30,58,95,.1); }.ksg-category-card a { display:block; padding:.75rem; color:var(--ksg-text); }.ksg-category-image { display:block; aspect-ratio:1.5/1; margin-bottom:.5rem; }.ksg-category-image img { width:100%; height:100%; object-fit:contain; }.ksg-category-name, .ksg-category-count { display:block; }.ksg-category-name { color:var(--ksg-primary); font-size:.88rem; font-weight:800; line-height:1.3; }.ksg-category-count { color:var(--ksg-muted); font-size:.76rem; }.ksg-featured-section { background:#eef3f8; }.ksg-trust-strip { background:#fff; border-top:1px solid var(--ksg-border); }.ksg-trust-strip .container { display:grid; gap:1rem; padding:1.5rem .75rem; }.ksg-trust-strip .container > div { display:flex; align-items:center; gap:.75rem; }.ksg-trust-strip i { color:var(--ksg-primary); font-size:1.7rem; }.ksg-trust-strip strong, .ksg-trust-strip small { display:block; line-height:1.25; }.ksg-trust-strip strong { color:var(--ksg-primary); font-size:.9rem; }.ksg-trust-strip small { color:var(--ksg-muted); font-size:.76rem; }.ksg-page-title, .ksg-entry h1, h1, h2, h3 { color:var(--ksg-primary); }.button, button, input[type=submit], .wp-element-button { border-radius:.35rem!important; background:var(--ksg-primary); border:1px solid var(--ksg-primary); color:#fff; padding:.65rem 1rem; font-weight:700; }.button:hover, button:hover, input[type=submit]:hover { background:var(--ksg-primary-hover); border-color:var(--ksg-primary-hover); color:#fff; }
.ksg-site-footer { background:linear-gradient(135deg,#0c2943,var(--ksg-primary)); color:#dce8f4; }.ksg-site-footer h2 { color:#fff; font-weight:700; }.ksg-site-footer a { color:#fff; }.ksg-site-footer li { margin:.35rem 0; }.ksg-footer-bottom { border-top:1px solid rgba(255,255,255,.2); padding:1rem 0; color:#b9cbdd; font-size:.9rem; }
.ksg-entry-content { max-width:860px; color:var(--ksg-text); font-size:1rem; line-height:1.75; }.ksg-entry-content > p { margin:0 0 1.15rem; }.ksg-entry-content h2 { margin:2.25rem 0 .75rem; color:var(--ksg-primary); font-size:1.35rem; font-weight:800; line-height:1.3; }.ksg-entry-content a { text-decoration:underline; text-underline-offset:.14em; }
@media (min-width:576px) { .ksg-value-props { grid-template-columns:repeat(3,1fr); }.ksg-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.ksg-trust-strip .container { grid-template-columns:repeat(3,1fr); } }
@media (min-width:992px) { .ksg-header-main { display:flex; gap:2rem; align-items:center; }.ksg-brand-row { flex:0 0 auto; }.ksg-search-wrap { flex:1; margin:0; }.ksg-search-form { margin-left:auto; }.ksg-menu-toggle { display:none; }.ksg-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:991.98px) { .ksg-nav .navbar-nav { padding:.5rem 0; }.ksg-nav a { border-bottom:1px solid var(--ksg-border); }.ksg-header-top span { display:none; } }
@media (max-width:575.98px) { .ksg-hero { padding-top:2.75rem; }.ksg-hero-visual { min-height:190px; }.ksg-section-heading { align-items:flex-start; flex-direction:column; gap:.55rem; }.ksg-home-section { padding-top:2.5rem; padding-bottom:2.5rem; } }
@media (max-width:380px) { .ksg-header-top { display:none; }.ksg-wordmark { font-size:1.05rem; }.ksg-icon-link { width:2rem; }.ksg-category-grid { grid-template-columns:1fr; } }

/* Original project hero image: keeps the hero visual responsive and subordinate to live HTML copy. */
.ksg-hero-visual { background:#0b2d4b; }
.ksg-hero-visual img { display:block; width:100%; height:100%; min-height:260px; object-fit:cover; object-position:center; }
@media (max-width:575.98px) { .ksg-hero-visual img { min-height:190px; } }

/* Standalone layout fallback: the theme remains legible if the Bootstrap CDN is unavailable. */
.container { width:100%; max-width:1320px; margin-right:auto; margin-left:auto; padding-right:24px; padding-left:24px; }
.ksg-header-top .container { display:flex; align-items:center; justify-content:space-between; min-height:28px; }
.ksg-header-main { display:flex; align-items:center; gap:34px; min-height:86px; }.ksg-brand-row { flex:0 0 auto; min-width:190px; }.ksg-search-wrap { flex:1 1 auto; max-width:620px; margin:0; }.ksg-search-form, .ksg-search-wrap .woocommerce-product-search { max-width:none; }.ksg-header-actions { margin-left:auto; }.ksg-icon-link { width:38px; height:38px; }
.ksg-nav .navbar-nav { display:flex; align-items:center; gap:6px; margin:0; padding:0; list-style:none; }.ksg-nav .navbar-collapse { display:block; }.ksg-nav a { padding:16px 16px; font-size:14px; }
.ksg-hero { padding:0; }.ksg-hero .row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:48px; min-height:390px; }.ksg-hero .col-lg-6 { width:auto!important; max-width:none!important; min-width:0; padding:0!important; }.ksg-hero h1 { max-width:650px; font-size:clamp(42px,4vw,62px); }.ksg-hero p:not(.ksg-eyebrow) { font-size:17px; line-height:1.55; }.ksg-hero-visual { width:100%; min-height:330px; }.ksg-hero-visual img { min-height:330px; object-position:right center; }.ksg-value-props { grid-template-columns:repeat(3,minmax(0,1fr)); padding:23px 0; }.ksg-value-props strong { font-size:14px; }.ksg-value-props small { margin-top:3px; font-size:12px; }
.ksg-home-section { padding-top:42px; padding-bottom:42px; }.ksg-section-heading { margin-bottom:22px; }.ksg-section-heading h2 { font-size:28px; }.ksg-section-heading p:not(.ksg-eyebrow) { font-size:15px; }.ksg-category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }.ksg-category-card a { padding:14px; }.ksg-category-name { font-size:14px; }.ksg-category-count { font-size:12px; }.ksg-trust-strip .container { grid-template-columns:repeat(3,minmax(0,1fr)); padding:24px; }
.ksg-site-footer .row { display:grid; grid-template-columns:2fr 1fr 1fr 1.35fr; gap:28px; padding:46px 0; }.ksg-site-footer .py-5 { padding-top:0!important; padding-bottom:0!important; }.ksg-site-footer .col-6, .ksg-site-footer .col-md-2, .ksg-site-footer .col-md-3, .ksg-site-footer .col-md-5, .ksg-site-footer .col-12 { width:auto; }
@media (min-width:576px) { .container { max-width:540px; } }
@media (min-width:768px) { .container { max-width:720px; } }
@media (min-width:992px) { .container { max-width:960px; } }
@media (min-width:1200px) { .container { max-width:1140px; } }
@media (min-width:1400px) { .container { max-width:1320px; } }
@media (max-width:991.98px) { .ksg-header-main { flex-wrap:wrap; gap:12px; padding-top:14px; padding-bottom:14px; }.ksg-search-wrap { order:3; flex-basis:100%; }.ksg-menu-toggle { display:inline-flex; }.ksg-nav .navbar-collapse { display:none; }.ksg-nav .navbar-collapse.show { display:block; }.ksg-nav .navbar-nav { display:block; }.ksg-hero .row { grid-template-columns:1fr; gap:24px; padding:42px 0 20px; }.ksg-hero-visual, .ksg-hero-visual img { min-height:300px; }.ksg-value-props { grid-template-columns:1fr; padding-top:12px; }.ksg-site-footer .row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:575.98px) { .container { padding-right:18px; padding-left:18px; }.ksg-header-top { display:block; }.ksg-header-main { min-height:auto; }.ksg-brand-row { min-width:0; flex:1; }.ksg-hero .row { padding-top:34px; }.ksg-hero h1 { font-size:39px; }.ksg-hero p:not(.ksg-eyebrow) { font-size:15px; }.ksg-hero-visual, .ksg-hero-visual img { min-height:210px; }.ksg-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.ksg-trust-strip .container, .ksg-site-footer .row { grid-template-columns:1fr; }.ksg-nav a { font-size:15px; } }
.ksg-trust-strip .container > div { justify-content:center; text-align:left; }
.ksg-trust-strip .container { align-items:center; padding-top:24px; padding-bottom:24px; }
.ksg-trust-strip .container > div { transform:translateY(-10px); }
.ksg-site-footer .widget_archive, .ksg-site-footer .widget_categories { display:none; }

/* Full-bleed hero background: integrates product imagery into the KSG navy surface. */
.ksg-hero { min-height:430px; background-image:linear-gradient(90deg,rgba(8,37,61,.18) 0%,rgba(8,37,61,.06) 48%,rgba(8,37,61,.04) 100%),url('../img/hero-parts-background.webp'); background-position:center; background-repeat:no-repeat; background-size:cover; }
.ksg-hero::after { display:none; }.ksg-hero .container { display:flex; min-height:430px; flex-direction:column; justify-content:space-between; padding-top:54px; }.ksg-hero-copy { max-width:600px; }.ksg-hero-copy h1 { max-width:600px; }.ksg-hero .row, .ksg-hero-visual { display:none; }
@media (max-width:991.98px) { .ksg-hero { min-height:520px; background-position:62% center; }.ksg-hero .container { min-height:520px; padding-top:42px; } }
@media (max-width:575.98px) { .ksg-hero { min-height:500px; background-position:68% center; }.ksg-hero .container { min-height:500px; padding-top:34px; }.ksg-hero-copy { max-width:92%; }.ksg-hero-copy h1 { font-size:39px; } }

/* Floating customer support contact. */
.ksg-support { position:fixed; right:max(20px,env(safe-area-inset-right)); bottom:calc(20px + env(safe-area-inset-bottom)); z-index:1030; }
.ksg-support-toggle { display:flex; align-items:center; justify-content:center; width:60px; height:60px; margin-left:auto; padding:0; border-radius:50%!important; box-shadow:0 6px 24px rgba(30,58,95,.25); cursor:pointer; }
.ksg-support-toggle i { font-size:28px; }
.ksg-support-panel { width:min(320px,calc(100vw - 40px)); max-height:calc(100dvh - 120px - env(safe-area-inset-bottom)); overflow:auto; margin-bottom:12px; border:1px solid var(--ksg-border); border-radius:16px; background:var(--ksg-surface); box-shadow:0 8px 32px rgba(30,58,95,.18); }
.ksg-support-panel[hidden] { display:none; }
.ksg-support-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; background:var(--ksg-primary); color:#fff; }
.ksg-support-heading h2 { margin:0; color:inherit; font-size:16px; font-weight:700; }
.ksg-support-close { flex-shrink:0; width:44px; height:44px; padding:0; border:0; font-size:26px; cursor:pointer; }
.ksg-support-body { padding:20px; }
.ksg-support-body p { margin:0 0 12px; color:var(--ksg-text); }
.ksg-support-body a { display:flex; align-items:center; gap:10px; min-height:44px; color:var(--ksg-primary); font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.ksg-support button:focus-visible, .ksg-support a:focus-visible { outline:3px solid var(--ksg-accent); outline-offset:3px; }
.ksg-support-body a + a { margin-top:8px; font-size:14px; }
.ksg-support-body a span { min-width:0; overflow-wrap:anywhere; }
.ksg-support-body a i { flex-shrink:0; }
